*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: #000;
  color: #fff;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  background: #0b0b0b;
  border-top: 6px solid #0a0a0a;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo img {
  height: 92px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-call {
  background: #e74b3c;
}

.btn-whatsapp {
  background: #5fc668;
}

.btn-cta {
  background: #d43a2f;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 700;
  justify-content: center;
}

.hero {
  position: relative;
  min-height: 60vh;
  padding: 60px 24px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.6)),
    var(--hero-bg,
      url("images/4695dc94-mejores-elevadores-de-autos-para-taller-4_11hc0u000000000000001o.jpg"));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  grid-template-areas:
    "title badge"
    "copy form"
    "services form"
    "cta form";
  gap: 32px;
  align-items: center;
}

.hero-pane {
  display: contents;
}

.hero-title {
  grid-area: title;
  text-align: center;
  justify-self: center;
  width: 100%;
}

.hero-copy {
  grid-area: copy;
}

.hero-services {
  grid-area: services;
}

.hero-cta {
  grid-area: cta;
}

.hero-badge {
  grid-area: badge;
}

.form-card {
  grid-area: form;
}

.hero-desc {
  margin: 0 0 12px;
  text-align: center;
  color: #f0f0f0;
  font-size: 19px;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-services {
  margin: 0;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-badge {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  padding: 12px 14px;
  border-radius: 14px;
  max-width: 420px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  justify-self: center;
}

.hero-badge img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.hero-badge p {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}

.hero-form {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 14px;
}

.form-card {
  background: rgba(220, 220, 220, 0.9);
  color: #111;
  padding: 18px;
  border-radius: 8px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  justify-self: center;
}

.form-card__lead {
  margin: 0 0 12px;
  font-size: 16px;
  text-align: center;
}

.form-card__lead span {
  display: block;
  font-weight: 700;
  margin-top: 4px;
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form input {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #d2d2d2;
  font-size: 15px;
}

.lead-form .btn-cta {
  width: 100%;
}

.lead-form__status {
  margin: 4px 0 0;
  font-size: 12px;
  min-height: 18px;
}

.lead-form__status[data-state="success"] {
  color: #137333;
}

.lead-form__status[data-state="error"] {
  color: #b42318;
}

.lead-form__status[data-state="loading"] {
  color: #4b5563;
}

.promo-strip {
  background: #d43a2f;
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 18px;
}

.why-section {
  background: #3d3d3d;
  border-top: 6px solid #d43a2f;
  padding: 48px 24px 56px;
}

.why-title {
  margin: 0 0 34px;
  text-align: center;
  color: #fff;
  font-size: 26px;
  letter-spacing: 0.6px;
}

.why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 36px 40px;
}

.why-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: start;
  color: #f2f2f2;
}

.why-icon img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.why-card h3 {
  margin: 0 0 8px;
  color: #e04437;
  font-size: 20px;
  text-align: center;
}

.why-card p {
  margin: 0;
  text-align: center;
  line-height: 1.5;
  font-size: 16px;
}

.services-section {
  background: #ffffff;
  padding: 44px 24px 56px;
}

.services-title {
  margin: 0 0 26px;
  text-align: center;
  color: #d43a2f;
  font-size: 26px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 20px 22px;
}

.service-card {
  display: grid;
  gap: 10px;
  text-align: center;
  color: #8b8f97;
  font-weight: 500;
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.service-card p {
  margin: 0;
  font-size: 16px;
}

.steps-section {
  background: #0a0a0a;
  color: #fff;
  padding: 52px 24px 64px;
  text-align: center;
}

.steps-title {
  margin: 0 0 6px;
  font-size: 26px;
  text-transform: uppercase;
}

.steps-subtitle {
  margin: 0 0 32px;
  color: #d43a2f;
  font-size: 16px;
}

.steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 26px;
}

.step-card {
  position: relative;
  display: grid;
  gap: 12px;
  align-items: start;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.step-card:last-child::after {
  display: none;
}

.step-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-card h3 {
  margin: 0;
  color: #d43a2f;
  font-size: 17px;
  letter-spacing: 0.4px;
}

.step-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #f1f1f1;
}

.payment-section {
  background: #d43a2f;
  padding: 28px 24px 36px;
  display: flex;
  justify-content: center;
}

.payment-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 920px;
  width: 100%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.payment-card img {
  width: 310px;
  max-width: 40%;
  height: auto;
  object-fit: contain;
}

.payment-card p {
  margin: 0;
  color: #d43a2f;
  font-size: 24px;
  font-weight: 600;
  margin-left: auto;
  text-align: right;
}

.brands-section {
  background: #ffffff;
  padding: 46px 24px 36px;
  text-align: center;
}

.brands-title {
  margin: 0 0 28px;
  color: #d43a2f;
  font-size: 22px;
  letter-spacing: 0.6px;
}

.brands-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, auto));
  gap: 20px 60px;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

.brands-grid img {
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.testimonials-section {
  background: #ffffff;
  padding: 20px 24px 60px;
  text-align: center;
}

.testimonials-title {
  margin: 0 0 26px;
  color: #3d3d3d;
  font-size: 26px;
  letter-spacing: 0.6px;
}

.testimonials-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 28px;
  justify-items: center;
}

.testimonial-card {
  background: #3d3d3d;
  color: #ffffff;
  border-radius: 26px;
  padding: 34px 28px 36px;
  max-width: 420px;
  width: 100%;
  display: grid;
  gap: 14px;
  text-align: center;
}

.testimonial-card--red {
  background: #d43a2f;
}

.testimonial-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto;
}

.testimonial-card h3 {
  margin: 0;
  font-size: 20px;
}

.testimonial-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.contact-section {
  position: relative;
  background: #1b1b1b;
  padding: 46px 24px 54px;
  color: #fff;
  overflow: hidden;
  background-image: var(--contact-bg,
      url("images/b6760cea-whatsapp-image-2024-01-19-at-10-18-16-am-1_10000000p10b900000001o.jpeg"));
  background-size: cover;
  background-position: center;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.contact-map {
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-info {
  text-align: center;
  display: grid;
  gap: 14px;
}

.contact-info p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.contact-cta {
  font-size: 22px;
  font-weight: 700;
}

.contact-buttons {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.contact-buttons .btn {
  width: 100%;
  max-width: 360px;
  justify-content: center;
}

.site-footer {
  background: #ffffff;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  padding: 18px 24px 22px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-address {
  font-weight: 600;
}

.footer-credits {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  .header-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .btn {
    justify-content: center;
  }

  .hero-title,
  .hero-desc,
  .hero-services {
    text-align: center;
  }

  .hero-cta {
    margin: 0 auto;
  }

  .hero-inner {
    display: block;
  }

  .hero-pane {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 18px 26px;
  }

  .hero-title,
  .hero-copy,
  .hero-services,
  .hero-cta,
  .hero-badge,
  .form-card {
    grid-column: auto;
    grid-row: auto;
  }

  .hero {
    background-image: none;
    padding: 0;
  }

  .hero-overlay {
    display: none;
  }

  .hero-pane--image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.55)),
      var(--hero-mobile-bg,
        url("images/4695dc94-mejores-elevadores-de-autos-para-taller-4_11hc0u000000000000001o.jpg"));
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
  }

  .hero-pane--image .hero-title {
    margin-top: auto;
    align-self: stretch;
    text-align: center;
    font-size: clamp(22px, 6vw, 28px);
  }

  .hero-pane--white {
    background: #ffffff;
    color: #111111;
  }

  .hero-pane--white .hero-desc,
  .hero-pane--white .hero-services {
    color: #111111;
  }

  .hero-pane--white .hero-services {
    font-weight: 700;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .step-card::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 180px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .payment-card {
    flex-direction: column;
    text-align: center;
  }

  .payment-card img {
    max-width: 80%;
  }

  .payment-card p {
    margin-left: 0;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .brands-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    text-align: center;
  }

  .contact-buttons .btn {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .brands-grid {
    grid-template-columns: 1fr;
  }
}