:root {
      --ink: #101820;
      --muted: #5c6673;
      --paper: #ffffff;
      --soft: #f5f7fa;
      --line: #d8dee7;
      --blue: #075f9d;
      --blue-dark: #064b7c;
      --red: #b8202e;
      --green: #128c4a;
      --black: #0b1118;
      --shadow: 0 18px 44px rgba(16, 24, 32, .14);
      --radius: 8px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: Arial, Helvetica, sans-serif;
      line-height: 1.5;
    }

    img {
      display: block;
      max-width: 100%;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .wrap {
      width: min(1120px, calc(100% - 32px));
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, .96);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(12px);
    }

    .nav {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      min-width: 144px;
    }

    .brand img {
      width: clamp(132px, 18vw, 182px);
      height: auto;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 20px;
      color: #344051;
      font-size: 14px;
      font-weight: 800;
      white-space: nowrap;
    }

    .nav-links a:hover {
      color: var(--blue);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .button,
    .nav-action {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 1px solid transparent;
      border-radius: var(--radius);
      padding: 13px 18px;
      font-size: 15px;
      font-weight: 900;
      line-height: 1;
      text-align: center;
      transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
    }

    .button:hover,
    .nav-action:hover {
      transform: translateY(-1px);
    }

    .button.whatsapp,
    .nav-action.whatsapp-link {
      color: #fff;
      background: var(--green);
    }

    .button.whatsapp:hover,
    .nav-action.whatsapp-link:hover {
      background: #0f733f;
    }

    .button.phone,
    .nav-action.phone-link {
      color: #fff;
      background: var(--blue);
    }

    .button.phone:hover,
    .nav-action.phone-link:hover {
      background: var(--blue-dark);
    }

    .menu-toggle {
      width: 46px;
      height: 46px;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      cursor: pointer;
    }

    .menu-toggle span {
      width: 20px;
      height: 2px;
      display: block;
      border-radius: 999px;
      background: var(--ink);
      transition: transform .18s ease, opacity .18s ease;
    }

    .menu-toggle.is-open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .button.map {
      color: #fff;
      background: rgba(11, 17, 24, .88);
      border-color: rgba(255, 255, 255, .22);
    }

    .button.map:hover {
      background: var(--black);
    }

    .button.light {
      color: var(--ink);
      background: #fff;
      border-color: var(--line);
    }

    .button.light:hover {
      color: var(--blue);
      border-color: #b8c8d8;
    }

    .hero {
      min-height: clamp(560px, calc(100svh - 118px), 720px);
      display: grid;
      align-items: center;
      color: #fff;
      background:
        linear-gradient(90deg, rgba(8, 12, 18, .9) 0%, rgba(8, 12, 18, .72) 44%, rgba(8, 12, 18, .2) 100%),
        url("../hp-motos-assets/fotos-web/hp-motos-inicio-taller-yamaha.jpg") center / cover no-repeat;
    }

    .hero-inner {
      width: min(1120px, calc(100% - 32px));
      margin: 0 auto;
      padding: 56px 0 48px;
    }

    .eyebrow,
    .kicker {
      margin: 0 0 14px;
      color: var(--red);
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .kicker {
      width: fit-content;
      max-width: 100%;
      border-left: 5px solid var(--red);
      padding: 8px 12px;
      color: #f7fafc;
      background: rgba(255, 255, 255, .12);
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1 {
      max-width: 780px;
      margin-bottom: 16px;
      font-size: clamp(38px, 7vw, 74px);
      line-height: .98;
      letter-spacing: 0;
    }

    h2 {
      max-width: 790px;
      margin-bottom: 14px;
      font-size: clamp(30px, 4vw, 46px);
      line-height: 1.08;
      letter-spacing: 0;
    }

    h3 {
      margin-bottom: 8px;
      font-size: 20px;
      line-height: 1.2;
      letter-spacing: 0;
    }

    .hero-copy {
      max-width: 720px;
      margin-bottom: 24px;
      color: #eef3f7;
      font-size: clamp(18px, 2.4vw, 23px);
      line-height: 1.45;
    }

    .hero-actions,
    .contact-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .hero-benefits {
      max-width: 880px;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-top: 28px;
    }

    .benefit {
      min-height: 78px;
      display: flex;
      align-items: center;
      gap: 10px;
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: var(--radius);
      padding: 12px;
      background: rgba(255, 255, 255, .12);
      color: #f8fbff;
      font-size: 14px;
      font-weight: 800;
    }

    .check {
      flex: 0 0 auto;
      width: 22px;
      height: 22px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      color: #fff;
      background: var(--green);
      font-size: 14px;
      font-weight: 900;
    }

    section {
      padding: 78px 0;
    }

    .hero {
      padding: 0;
    }

    .section-soft {
      background: var(--soft);
    }

    .section-head {
      max-width: 850px;
      margin-bottom: 30px;
    }

    .lead {
      max-width: 760px;
      color: var(--muted);
      font-size: 19px;
      line-height: 1.65;
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
    }

    .service-card,
    .info-card,
    .faq-card,
    .step-card {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: 0 10px 28px rgba(16, 24, 32, .06);
    }

    .service-card {
      min-height: 224px;
      padding: 22px;
    }

    .service-card strong {
      display: block;
      margin-bottom: 10px;
      color: var(--blue);
      font-size: 19px;
      line-height: 1.2;
    }

    .service-card p {
      margin-bottom: 0;
      color: var(--muted);
    }

    .service-card .button {
      margin-top: 16px;
    }

    .service-entry-head {
      margin-top: 44px;
    }

    .two-col {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
      gap: 40px;
      align-items: center;
    }

    .content-list {
      display: grid;
      gap: 12px;
      margin: 24px 0 0;
      padding: 0;
      list-style: none;
    }

    .content-list li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      color: #2d3744;
      font-weight: 700;
    }

    .photo-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .photo-grid img {
      width: 100%;
      height: 100%;
      min-height: 220px;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .photo-grid img:first-child {
      grid-column: span 2;
      aspect-ratio: 16 / 8;
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 14px;
    }

    .step-card {
      min-height: 178px;
      padding: 20px;
    }

    .step-number {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      margin-bottom: 16px;
      border-radius: 50%;
      color: #fff;
      background: var(--blue);
      font-weight: 900;
    }

    .step-card p {
      margin-bottom: 0;
      color: var(--muted);
      font-size: 15px;
    }

    .trust-band {
      color: #fff;
      background:
        linear-gradient(90deg, rgba(7, 95, 157, .96), rgba(11, 17, 24, .94)),
        url("../hp-motos-assets/hp-real-motor-web.jpg") center / cover no-repeat;
    }

    .trust-band .eyebrow,
    .trust-band .lead {
      color: #eef6fb;
    }

    .trust-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 28px;
    }

    .trust-item {
      min-height: 124px;
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: var(--radius);
      padding: 20px;
      background: rgba(255, 255, 255, .1);
    }

    .trust-item strong {
      display: block;
      margin-bottom: 8px;
      font-size: 18px;
    }

    .trust-item span {
      color: #eaf2f8;
    }

    .models-strip {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: #fff;
      padding: 38px 0;
    }

    .models-inner {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
      gap: 28px;
      align-items: center;
    }

    .model-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-end;
    }

    .model-tags span {
      border: 1px solid #cbd5e1;
      border-radius: 999px;
      padding: 9px 13px;
      color: #233142;
      background: #f8fafc;
      font-size: 14px;
      font-weight: 800;
    }

    .local-seo-grid {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
      gap: 18px;
      align-items: stretch;
    }

    .tag-card {
      min-height: 100%;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px;
      background: #fff;
      box-shadow: 0 10px 28px rgba(16, 24, 32, .06);
    }

    .tag-card h3 {
      color: var(--blue);
    }

    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 14px 0 0;
      padding: 0;
      list-style: none;
    }

    .tag-list li {
      border: 1px solid #cbd5e1;
      border-radius: 999px;
      padding: 9px 13px;
      color: #233142;
      background: #f8fafc;
      font-size: 14px;
      font-weight: 800;
    }

    .work-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .work-card {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: 0 10px 28px rgba(16, 24, 32, .06);
    }

    .work-card img {
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: cover;
      background: #e8eef5;
    }

    .work-card-body {
      padding: 18px;
    }

    .work-card-body h3 {
      color: var(--blue);
      font-size: 19px;
    }

    .work-card-body p {
      margin-bottom: 0;
      color: var(--muted);
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .gallery-item {
      overflow: hidden;
      border-radius: var(--radius);
      background: #111827;
      box-shadow: var(--shadow);
    }

    .gallery-item img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }

    .gallery-caption {
      padding: 14px 16px;
      color: #fff;
      font-weight: 800;
    }

    .location-grid {
      display: grid;
      grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
      gap: 28px;
      align-items: stretch;
    }

    .info-card {
      padding: 24px;
    }

    .info-card p:last-child {
      margin-bottom: 0;
    }

    .info-card strong {
      color: var(--ink);
    }

    .map-frame {
      min-height: 390px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #dbe2ea;
      box-shadow: var(--shadow);
    }

    .map-frame iframe {
      width: 100%;
      height: 100%;
      min-height: 390px;
      border: 0;
      display: block;
    }

    .hours-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .faq-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .faq-card {
      min-height: 142px;
      padding: 22px;
    }

    .faq-card p {
      margin-bottom: 0;
      color: var(--muted);
    }

    .final-cta {
      color: #fff;
      background:
        linear-gradient(90deg, rgba(11, 17, 24, .94), rgba(184, 32, 46, .88)),
        url("../hp-motos-assets/hp-real-frente-sin-telefono-web.jpg") center / cover no-repeat;
    }

    .final-inner {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 26px;
      align-items: center;
    }

    .final-inner h2 {
      margin-bottom: 10px;
    }

    .final-inner p {
      max-width: 720px;
      margin-bottom: 0;
      color: #f2f6f9;
      font-size: 18px;
    }

    .footer {
      padding: 28px 0;
      color: #dce5ee;
      background: var(--black);
    }

    .footer-inner {
      width: min(1120px, calc(100% - 32px));
      display: flex;
      justify-content: space-between;
      gap: 18px;
      margin: 0 auto;
      font-size: 14px;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      font-weight: 800;
    }

    .mobile-contact-bar {
      position: fixed;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 80;
      display: none;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
      background: rgba(255, 255, 255, .96);
      border-top: 1px solid var(--line);
      backdrop-filter: blur(12px);
      box-shadow: 0 -10px 24px rgba(16, 24, 32, .12);
    }

    .mobile-contact-bar .button {
      min-height: 48px;
      padding: 12px 10px;
      font-size: 14px;
    }

    @media (max-width: 1040px) {
      .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 860px) {
      .nav {
        position: relative;
        min-height: 66px;
      }

      .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        display: none;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow);
        white-space: normal;
      }

      .nav-links.is-open {
        display: grid;
      }

      .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #edf1f5;
        padding: 10px;
      }

      .nav-links a:last-child {
        border-bottom: 0;
      }

      .menu-toggle {
        display: inline-flex;
      }

      .hero {
        min-height: auto;
        background:
          linear-gradient(180deg, rgba(8, 12, 18, .94) 0%, rgba(8, 12, 18, .78) 55%, rgba(8, 12, 18, .48) 100%),
          url("../hp-motos-assets/fotos-web/hp-motos-inicio-taller-yamaha.jpg") center / cover no-repeat;
      }

      .hero-inner {
        padding: 46px 0 38px;
      }

      .hero-actions .button {
        flex: 1 1 156px;
      }

      section {
        padding: 58px 0;
      }

      .two-col,
      .local-seo-grid,
      .models-inner,
      .location-grid,
      .final-inner {
        grid-template-columns: 1fr;
      }

      .model-tags {
        justify-content: flex-start;
      }

      .trust-grid,
      .gallery-grid,
      .work-grid,
      .hours-grid {
        grid-template-columns: 1fr;
      }

      .footer-inner {
        flex-direction: column;
      }
    }

    @media (max-width: 640px) {
      body {
        padding-bottom: 76px;
      }

      .brand img {
        width: 112px;
      }

      .nav-action {
        min-height: 40px;
        padding: 10px 9px;
        font-size: 12px;
      }

      .header-actions {
        gap: 6px;
      }

      .menu-toggle {
        width: 40px;
        height: 40px;
      }

      h1 {
        font-size: clamp(34px, 11vw, 48px);
      }

      h2 {
        font-size: clamp(28px, 8vw, 38px);
      }

      .hero-copy,
      .lead {
        font-size: 17px;
      }

      .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
      }

      .hero-benefits,
      .service-grid,
      .steps-grid,
      .faq-grid {
        grid-template-columns: 1fr;
      }

      .benefit {
        min-height: 60px;
      }

      .service-card {
        min-height: 0;
      }

      .photo-grid {
        grid-template-columns: 1fr;
      }

      .photo-grid img:first-child {
        grid-column: auto;
        aspect-ratio: 4 / 3;
      }

      .mobile-contact-bar {
        display: grid;
      }
    }

:root {
  --ink: #101820;
  --muted: #5c6673;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --line: #d8dee7;
  --blue: #075f9d;
  --blue-dark: #064b7c;
  --red: #b8202e;
  --green: #128c4a;
  --black: #0b1118;
  --shadow: 0 18px 44px rgba(16, 24, 32, .14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 144px;
}

.brand img {
  width: clamp(132px, 18vw, 182px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #344051;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-actions,
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.button,
.nav-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.button:hover,
.nav-action:hover {
  transform: translateY(-1px);
}

.button.whatsapp,
.nav-action.whatsapp-link {
  color: #fff;
  background: var(--green);
}

.button.whatsapp:hover,
.nav-action.whatsapp-link:hover {
  background: #0f733f;
}

.button.phone,
.nav-action.phone-link {
  color: #fff;
  background: var(--blue);
}

.button.phone:hover,
.nav-action.phone-link:hover {
  background: var(--blue-dark);
}

.button.map,
.button.dark {
  color: #fff;
  background: rgba(11, 17, 24, .9);
}

.button.map:hover,
.button.dark:hover {
  background: var(--black);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: clamp(520px, calc(100svh - 118px), 690px);
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, .9), rgba(8, 12, 18, .68), rgba(8, 12, 18, .2)),
    var(--hero-image) center / cover no-repeat;
}

.hero-inner {
  padding: 58px 0 50px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker {
  width: fit-content;
  max-width: 100%;
  border-left: 5px solid var(--red);
  padding: 8px 12px;
  color: #f7fafc;
  background: rgba(255, 255, 255, .12);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 16px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  max-width: 790px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 24px;
  color: #eef3f7;
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.45;
}

.hero-benefits {
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.benefit {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, .12);
  color: #f8fbff;
  font-size: 14px;
  font-weight: 800;
}

.check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 900;
}

section {
  padding: 74px 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  max-width: 850px;
  margin-bottom: 30px;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.grid-3,
.grid-2,
.steps-grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.step-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 32, .06);
}

.card,
.faq-card {
  padding: 24px;
}

.card {
  display: flex;
  flex-direction: column;
}

.card p:last-child,
.faq-card p:last-child,
.step-card p:last-child {
  margin-bottom: 0;
}

.card .button {
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
}

.card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 19px;
}

.battery-grid {
  grid-auto-rows: 1fr;
}

.battery-grid .card {
  min-height: 236px;
}

.battery-grid .card p {
  margin-bottom: 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.battery-product-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 32, .06);
}

.battery-product-media {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.battery-product-media img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.battery-product-body {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.battery-product-body strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.22;
}

.battery-product-body p {
  margin-bottom: 20px;
  color: var(--muted);
}

.battery-product-body .button {
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
}

.code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.code-list li {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 9px 13px;
  color: #233142;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 800;
}

.local-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.tag-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 32, .06);
}

.tag-card h3 {
  color: var(--blue);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 9px 13px;
  color: #233142;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 800;
}

.step-card {
  min-height: 170px;
  padding: 20px;
}

.step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 38px;
  align-items: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photo-grid img {
  width: 100%;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-grid img:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 8;
}

.service-include-media {
  max-width: 760px;
  margin: 0 auto 28px;
}

.service-include-media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.content-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #2d3744;
  font-weight: 700;
}

.final-cta {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 17, 24, .94), rgba(184, 32, 46, .88)),
    url("../hp-motos-assets/hp-real-frente-sin-telefono-web.jpg") center / cover no-repeat;
}

.final-cta.subpage {
  background:
    linear-gradient(90deg, rgba(11, 17, 24, .94), rgba(184, 32, 46, .88)),
    url("../hp-motos-assets/hp-real-frente-sin-telefono-web.jpg") center / cover no-repeat;
}

.final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.final-inner p {
  max-width: 720px;
  margin-bottom: 0;
  color: #f2f6f9;
  font-size: 18px;
}

.footer {
  padding: 28px 0;
  color: #dce5ee;
  background: var(--black);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.mobile-contact-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 -10px 24px rgba(16, 24, 32, .12);
}

.mobile-contact-bar .button {
  min-height: 48px;
  padding: 12px 10px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    position: relative;
    min-height: 66px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    white-space: normal;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #edf1f5;
    padding: 10px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(8, 12, 18, .94), rgba(8, 12, 18, .78), rgba(8, 12, 18, .48)),
      var(--hero-image) center / cover no-repeat;
  }

  .split,
  .local-seo-grid,
  .grid-2,
  .final-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px;
  }

  .brand img {
    width: 112px;
  }

  .nav-action {
    min-height: 40px;
    padding: 10px 9px;
    font-size: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-copy,
  .lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-benefits,
  .product-grid,
  .grid-3,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid img:first-child {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .mobile-contact-bar {
    display: grid;
  }
}


body.admin-bar .site-header {
  top: 32px;
}

.hero {
  --hero-image: url("../hp-motos-assets/fotos-web/hp-motos-inicio-taller-yamaha.jpg");
  background-color: #0b1118;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}