*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  background-color: #050505;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  padding: 24px 48px 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: -24px -48px 0;
  padding: 16px 48px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)),
    url('https://firebasestorage.googleapis.com/v0/b/rccars-562f1.firebasestorage.app/o/images%2F1ad5c370-fondo-3d-textura-fibra-carbono-realista-1017-33439_100000000000000000001o.jpg?alt=media')
      center/cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 40px;
  letter-spacing: 3px;
  color: #4ba3ff;
  text-shadow: 0 0 12px rgba(0, 140, 255, 0.6);
}

.top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn img {
  width: 18px;
  height: 18px;
}

.btn-repuestos img {
  width: 24px;
  height: 24px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary {
  background: #1d6cff;
}

.top-actions .btn-primary {
  padding: 12px 14px;
}

.btn-whatsapp {
  background: #1ebd58;
}

.btn-repuestos {
  background: #1264ff;
  padding: 10px 22px;
}

.hero {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 28px 24px 34px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.4)),
    url('https://firebasestorage.googleapis.com/v0/b/rccars-562f1.firebasestorage.app/o/images%2F41eb19bd-imagenes-pagina-web-mesa-de-trabajo-1-copia_11hc0tz00000000000001o.jpg?alt=media')
      center/cover no-repeat;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 360px);
  grid-template-areas:
    "copy-top card"
    "services card"
    "copy-bottom card";
  gap: 40px;
  align-items: center;
}

.hero-copy-top {
  grid-area: copy-top;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-copy-bottom {
  grid-area: copy-bottom;
}

.services-bar-mobile {
  grid-area: services;
  display: none;
}

.services-bar-desktop {
  display: block;
}

.hero-copy h1 {
  font-size: 40px;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-logos {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.hero-logos img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.services-bar {
  margin: 0 -48px;
  background: rgba(255, 255, 255, 0.72);
  color: #111;
  text-align: center;
  padding: 12px 48px;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
}

.services-bar p {
  margin: 0;
}

.hero-card {
  background: rgba(230, 230, 230, 0.95);
  color: #1b1b1b;
  border-radius: 8px;
  padding: 18px 20px 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  grid-area: card;
}

.card-header p {
  margin: 0;
  font-size: 13px;
  text-align: center;
}

.card-header h2 {
  margin: 10px 0 16px;
  text-align: center;
  font-size: 16px;
  text-transform: uppercase;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.lead-form input {
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-status {
  min-height: 18px;
  text-align: center;
  font-size: 12px;
  margin: 0;
}

.form-status[data-state='error'] {
  color: #d93025;
}

.form-status[data-state='success'] {
  color: #188038;
}

.btn-secondary {
  background: #1a5aff;
  padding: 12px 26px;
}

.info-bar {
  margin: 0 -48px;
  background: #0e63ff;
  color: #ffffff;
  padding: 16px 48px;
  border-radius: 0;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 20px;
}

.info-bar p {
  margin: 0;
}

.services {
  background: #ffffff;
  color: #1b1b1b;
  margin: 28px -48px 0;
  padding: 36px 48px 48px;
  text-align: center;
}

.services h2 {
  margin: 0 0 28px;
  text-transform: uppercase;
  color: #1b63ff;
  font-size: 20px;
  letter-spacing: 0.6px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 24px;
}

.service-card {
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.service-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.service-card span {
  display: inline-block;
  background: #0b0b0b;
  color: #ffffff;
  padding: 6px 10px;
  border: 2px solid #1560ff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps {
  margin: 0 -48px;
  padding: 46px 48px 60px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85)),
    url('https://firebasestorage.googleapis.com/v0/b/rccars-562f1.firebasestorage.app/o/images%2F1ad5c370-fondo-3d-textura-fibra-carbono-realista-1017-33439_100000000000000000001o.jpg?alt=media')
      center/cover no-repeat;
  color: #ffffff;
}

.steps-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.steps h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: 0.6px;
}

.steps-subtitle {
  margin: 8px 0 34px;
  color: #d7d7d7;
  font-size: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 26px;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.step-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 132, 255, 0.2);
  border: 2px solid rgba(0, 132, 255, 0.6);
}

.step-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.step-card h3 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  color: #4ba3ff;
}

.step-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #e4e4e4;
}

.brands {
  background: #ffffff;
  color: #1b1b1b;
  margin: 0 -48px;
  padding: 42px 48px 56px;
  text-align: center;
}

.brands h2 {
  margin: 0 0 32px;
  text-transform: uppercase;
  color: #1b63ff;
  font-size: 20px;
  letter-spacing: 0.6px;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 20px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.brand-item {
  height: 70px;
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.brand-item img {
  max-height: 110px;
  max-width: 180px;
  object-fit: contain;
}


.why-us {
  margin: 0 -48px;
  padding: 48px 48px 60px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
    url('https://firebasestorage.googleapis.com/v0/b/rccars-562f1.firebasestorage.app/o/images%2F1ad5c370-fondo-3d-textura-fibra-carbono-realista-1017-33439_10000000he01m00004501o.jpg?alt=media')
      center/cover no-repeat;
  color: #ffffff;
}

.why-us-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.why-us h2 {
  margin: 0 0 34px;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.6px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 36px 40px;
}

.why-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  text-align: left;
}

.why-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
  grid-area: icon;
}

.why-card h3 {
  margin: 0;
  font-size: 17px;
  color: #3ea0ff;
  text-transform: uppercase;
  grid-area: title;
  text-align: center;
}

.why-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #e3e3e3;
  grid-area: text;
  text-align: center;
}

.testimonials {
  background: #ffffff;
  color: #1b1b1b;
  margin: 0 -48px;
  padding: 40px 48px 52px;
  text-align: center;
}

.testimonials h2 {
  margin: 0;
  text-transform: uppercase;
  color: #2a2a2a;
  letter-spacing: 0.6px;
  font-size: 24px;
}

.testimonials-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.testimonials-grid h2 {
  font-size: 20px;
}

.testimonial-card {
  background: #0b0b0b;
  color: #ffffff;
  padding: 38px 28px;
  border-radius: 32px;
  max-width: 360px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card h3 {
  margin: 0;
  font-size: 20px;
}

.testimonial-card span {
  font-size: 15px;
  color: #c9c9c9;
}

.testimonial-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.payment-banner {
  margin: 0 -48px;
  padding: 36px 48px;
  background: #0e63ff;
  display: flex;
  justify-content: center;
}

.payment-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  max-width: 860px;
  width: 100%;
}

.payment-image {
  width: 300px;
  max-width: 100%;
  border-radius: 12px;
  background: #ffffff;
  padding: 8px 12px;
}

.payment-card p {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1b63ff;
  text-align: center;
  flex: 1;
}

.location {
  margin: 0 -48px;
  padding: 50px 48px 60px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85)),
    url('https://firebasestorage.googleapis.com/v0/b/rccars-562f1.firebasestorage.app/o/images%2Fd7f9cd9c-letreros-neon-evacuacion-carros-llaves-portapapeles-bote-aceite-1262-19589_10000000he07t00009k01o.jpg?alt=media')
      center/cover no-repeat;
  color: #ffffff;
}

.location-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 1fr);
  gap: 36px;
  align-items: center;
}

.location-map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
  align-items: center;
}

.location-info p {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
}

.location-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.location-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.brand-subtitle {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.location-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.footer {
  background: #ffffff;
  color: #6b6b6b;
  margin: 0 -48px;
  padding: 20px 48px;
  border-top: 1px solid #e6e6e6;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
  font-weight: 600;
}

.footer-inner a {
  color: #6b6b6b;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .page {
    padding: 20px 22px 30px;
  }

  .topbar {
    margin: -20px -22px 0;
    padding: 14px 22px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy-top"
      "services"
      "card"
      "copy-bottom";
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .services-bar {
    margin: 0 -22px;
    padding: 12px 22px;
  }

  .services {
    margin: 24px -22px 0;
    padding: 32px 22px 40px;
  }

  .steps {
    margin: 0 -22px;
    padding: 40px 22px 52px;
  }

  .brands {
    margin: 0 -22px;
    padding: 38px 22px 52px;
  }

  .why-us {
    margin: 0 -22px;
    padding: 42px 22px 52px;
  }

  .testimonials {
    margin: 0 -22px;
    padding: 36px 22px 48px;
  }

  .payment-banner {
    margin: 0 -22px;
    padding: 30px 22px;
  }

  .payment-card {
    flex-direction: column;
    text-align: center;
  }

  .location {
    margin: 0 -22px;
    padding: 42px 22px 52px;
  }

  .location-inner {
    grid-template-columns: 1fr;
  }

  .location-actions {
    align-items: stretch;
  }

  .footer {
    margin: 0 -22px;
    padding: 18px 22px;
  }

  .info-bar {
    margin: 0 -22px;
    padding: 16px 22px;
  }
}

@media (max-width: 620px) {
  .services-bar-desktop {
    display: none;
  }

  .services-bar-mobile {
    display: block;
    margin: 0;
    width: 100%;
  }

  .hero-copy-top,
  .hero-copy-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
  }

  .hero-copy-bottom .hero-actions {
    justify-content: center;
  }

  .top-actions {
    width: 100%;
  }

  .top-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
  }

  .top-actions .btn-primary {
    order: 1;
  }

  .top-actions .btn-whatsapp {
    order: 2;
  }

  .top-actions .btn-repuestos {
    order: 3;
  }

  .hero-logos {
    gap: 12px;
    justify-content: center;
  }

  .hero-logos img {
    height: 32px;
  }

  .page {
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .topbar {
    margin: 0;
    padding: 14px 16px;
  }

  .hero {
    margin-top: 0;
    border-radius: 0;
  }

  .services-bar,
  .info-bar,
  .services,
  .steps,
  .brands,
  .why-us,
  .testimonials,
  .payment-banner,
  .location,
  .footer {
    margin: 0;
  }

  .brand-text {
    font-size: 32px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "icon"
      "text";
    row-gap: 10px;
    text-align: center;
    justify-items: center;
  }

  .why-card img,
  .why-card h3,
  .why-card p {
    text-align: center;
  }

  .why-card h3 {
    font-size: 16px;
  }

  .why-card p {
    font-size: 14px;
    line-height: 1.35;
  }

  .testimonials-grid {
    flex-direction: column;
    gap: 16px;
  }

  .services-bar {
    font-size: 12px;
  }
}

