/* Valores de overlay, corte diagonal y escala tipográfica: estimación visual del artboard de 1366px. */

:root {
  --color-primary: #004dc1;
  --color-primary-dark: #003da0;
  --color-text: #1c1c1c;
  --color-text-soft: #3d4450;
  --color-heading: #111111;
  --color-nav: #1b2430;
  --color-muted: #5c6570;
  --color-white: #ffffff;
  --color-footer: #000d1b;
  --color-hero: #07080c;
  --color-fleet: #04284d;
  --color-surface: #f4f7fb;
  --color-line: #e3e7ee;
  --color-band: #e7eef8;
  --font: "Open Sans", sans-serif;
  --container: 1160px;
  --header-h: 98px;
  --fs-hero: 52px;
  --fs-h2: 34px;
  --fs-body: 16px;
  --fs-nav: 13px;
  --fs-btn: 13px;
  --fs-small: 14px;
  --shadow-card: 0 10px 28px rgba(16, 24, 40, 0.08);
  --radius-card: 16px;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--color-heading);
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.accent {
  color: var(--color-primary);
}

.icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  color: var(--color-primary);
  flex: 0 0 auto;
}

.rule {
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 250px;
  padding: 14px 18px 14px 22px;
  border-radius: 4px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--fs-btn);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: background 0.2s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  color: var(--color-white);
}

.btn:hover {
  background: var(--color-primary-dark);
}

.btn:focus-visible,
.site-nav a:focus-visible,
.logo:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: var(--color-white);
}

.site-header.is-stuck {
  box-shadow: 0 8px 24px rgba(0, 13, 27, 0.06);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 64px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  color: var(--color-nav);
  font-size: var(--fs-nav);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 0;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--color-nav);
}

.hero {
  position: relative;
  min-height: 520px;
  color: var(--color-white);
  background: var(--color-hero);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  position: absolute;
  top: 50%;
  left: 18%;
  width: auto;
  max-width: none;
  height: 155%;
  transform: translateY(-50%);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #07080c 0%, #07080c 28%, rgba(7, 8, 12, 0.82) 46%, rgba(7, 8, 12, 0.28) 64%, rgba(7, 8, 12, 0.05) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 64px 0;
}

.hero h1 {
  color: var(--color-white);
  font-size: var(--fs-hero);
  margin-bottom: 18px;
}

.hero h1 > span {
  display: block;
}

.hero h1 .accent {
  color: var(--color-primary);
}

.hero p {
  max-width: 460px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.about {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: var(--color-white);
  min-height: 360px;
}

.about-copy {
  width: min(540px, 50%);
  margin: 0;
}

.about .rule {
  margin-bottom: 22px;
}

.about h2 {
  font-size: var(--fs-h2);
  margin-bottom: 18px;
}

.about h2 span,
.fleet h2 span,
.closing h2 span,
.llantas-hero h1 span {
  display: block;
}

.about p {
  max-width: 520px;
  color: var(--color-text-soft);
  margin-bottom: 26px;
}

.about-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.speedlines {
  position: absolute;
  left: -8px;
  top: 42%;
  width: 210px;
  height: auto;
  transform: translateY(-50%);
}

.vehicles {
  padding: 10px 0 88px;
  background: var(--color-white);
}

.vehicles h2 {
  text-align: center;
  font-size: var(--fs-h2);
  margin-bottom: 36px;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.vehicle-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px 16px 26px;
  text-align: center;
}

.vehicle-card img {
  width: 100%;
  height: 148px;
  object-fit: contain;
  margin-bottom: 8px;
}

.vehicle-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.vehicle-label .icon {
  width: 28px;
  height: 28px;
}

.vehicle-card h3 {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.vehicle-card p {
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.fleet {
  position: relative;
  color: var(--color-white);
  background: var(--color-fleet);
  overflow: hidden;
}

.fleet-media {
  position: absolute;
  inset: 0;
}

.fleet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.fleet-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 28, 58, 0.94) 0%, rgba(6, 45, 92, 0.88) 38%, rgba(8, 52, 110, 0.55) 68%, rgba(8, 40, 80, 0.4) 100%);
}

.fleet-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 72px 0 36px;
}

.fleet h2 {
  color: var(--color-white);
  font-size: 40px;
  margin-bottom: 16px;
}

.fleet h2 .accent {
  color: #2f7cf6;
  font-size: 46px;
}

.fleet-copy p {
  max-width: 500px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.94);
}

.fleet-copy .btn {
  margin-top: 16px;
}

.fleet-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 22px 0 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fleet-points article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.fleet-points article:first-child {
  border-left: 0;
}

.fleet-points .icon {
  color: var(--color-white);
  width: 30px;
  height: 30px;
}

.fleet-points h3 {
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  max-width: 160px;
}

.offer {
  padding: 78px 0 36px;
  background: var(--color-white);
}

.offer-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.offer h2 {
  font-size: 40px;
}

.offer-head .btn {
  flex: 0 0 auto;
  min-width: 0;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 10px;
}

.offer-copy > p {
  max-width: 520px;
  color: var(--color-text-soft);
  margin-bottom: 28px;
}

.offer-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.offer-points article {
  text-align: center;
  padding: 8px;
  border-left: 1px solid var(--color-line);
}

.offer-points article:first-child {
  border-left: 0;
}

.offer-points .icon {
  margin: 0 auto 10px;
}

.offer-points h3 {
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.offer-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.closing {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
  background: #071018;
}

.closing-media {
  position: absolute;
  inset: 0;
}

.closing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.closing-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 12, 24, 0.82) 0%, rgba(4, 12, 24, 0.55) 42%, rgba(4, 12, 24, 0.12) 70%);
}

.closing-copy {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  max-width: 560px;
}

.closing h2 {
  color: var(--color-white);
  font-size: 32px;
  margin-bottom: 12px;
}

.closing p {
  margin-bottom: 20px;
}

.site-footer {
  background: var(--color-footer);
  color: var(--color-white);
  padding: 28px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.45fr 1.35fr 0.7fr;
  gap: 18px;
  align-items: center;
}

.footer-logo {
  height: 58px;
  width: auto;
}

.footer-reach,
.footer-address {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.45;
}

.footer-reach {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.footer-reach a,
.footer-address {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-reach .icon,
.footer-address .icon {
  width: 18px;
  height: 18px;
  color: var(--color-white);
}

.footer-address {
  align-items: flex-start;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 22px;
  min-height: 72px;
  justify-content: center;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.llantas-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 20px;
  background: var(--color-white);
}

.llantas-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: center;
}

.llantas-hero .eyebrow {
  color: var(--color-muted);
  font-size: 18px;
  margin-bottom: 14px;
}

.llantas-hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.llantas-hero .rule {
  margin: 8px 0 22px;
}

.llantas-hero p {
  max-width: 520px;
  color: var(--color-text-soft);
}

.llantas-visual {
  position: relative;
  min-height: 420px;
}

.llantas-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(15, 23, 42, 0.28));
}

.band,
.band-b {
  position: absolute;
  background: var(--color-band);
  transform: rotate(32deg);
  z-index: 0;
}

.band {
  width: 180px;
  height: 140%;
  right: 8%;
  top: -18%;
}

.band-b {
  width: 70px;
  right: -2%;
  top: -10%;
  height: 130%;
  background: #d7e4f6;
}

.points {
  padding: 28px 0 10px;
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.point {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 22px;
  border-left: 1px solid var(--color-line);
  color: var(--color-heading);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
}

.point:first-child {
  border-left: 0;
  padding-left: 0;
}

.point:hover {
  color: var(--color-primary);
}

.measures {
  padding: 28px 0 20px;
}

.measure-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 22px;
}

.size-card {
  background: var(--color-surface);
  border-radius: 18px;
  overflow: hidden;
}

.size-card-media {
  position: relative;
  height: 210px;
}

.size-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 10%, rgba(0, 0, 0, 0.62) 100%);
}

.size-card-heading {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 18px;
  color: var(--color-white);
}

.size-card-heading .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
}

.size-card-heading p {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.size-card-heading h2 {
  color: var(--color-white);
  font-size: 26px;
  letter-spacing: -0.02em;
  max-width: 280px;
}

.sizes {
  list-style: none;
  margin: 0;
  padding: 8px 0 16px;
  display: grid;
}

.sizes-3 {
  grid-template-columns: repeat(3, 1fr);
}

.sizes-2 {
  grid-template-columns: repeat(2, 1fr);
}

.sizes li {
  padding: 13px 16px;
  color: #3e4654;
  font-size: 14px;
  border-left: 1px solid #e1e6ee;
}

.sizes-3 li:nth-child(3n + 1),
.sizes-2 li:nth-child(2n + 1) {
  border-left: 0;
}

.measure-cta {
  padding: 18px 0 72px;
}

.measure-cta-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #eef3f8;
  border-radius: 16px;
  padding: 26px 28px;
}

.measure-cta-bar .icon {
  width: 42px;
  height: 42px;
}

.measure-cta-bar h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.measure-cta-bar p {
  color: var(--color-text-soft);
  font-size: 14px;
}

.measure-cta-bar .btn {
  margin-left: auto;
  flex: 0 0 auto;
}

section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

@media (max-width: 1024px) {
  :root {
    --fs-hero: 42px;
    --fs-h2: 30px;
    --header-h: 84px;
  }

  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .about-copy {
    width: 100%;
  }

  .about-media {
    position: relative;
    width: auto;
    height: 280px;
    margin: 28px 24px 0;
  }

  .offer-layout,
  .llantas-hero .container {
    grid-template-columns: 1fr;
  }

  .about-media img {
    height: 280px;
    clip-path: none;
    border-radius: 12px;
  }

  .speedlines {
    display: none;
  }

  .vehicle-grid,
  .fleet-points,
  .points-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fleet-points article:nth-child(3),
  .points-grid .point:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .offer-points {
    grid-template-columns: repeat(3, 1fr);
  }

  .llantas-visual {
    min-height: 320px;
  }

  .llantas-visual img {
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-logo {
    height: 52px;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-hero: 34px;
    --fs-h2: 26px;
    --header-h: 74px;
  }

  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 24px 18px;
    background: var(--color-white);
    box-shadow: 0 16px 28px rgba(0, 13, 27, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .logo img {
    height: 48px;
  }

  .hero-media img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: 70% center;
    transform: none;
  }

  .hero {
    min-height: 560px;
    align-items: flex-end;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(7, 8, 12, 0.2) 0%, rgba(7, 8, 12, 0.55) 38%, #07080c 78%);
  }

  .hero-copy {
    padding-bottom: 40px;
  }

  .btn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .offer-head {
    flex-wrap: wrap;
  }

  .offer-head .btn {
    width: auto;
    max-width: none;
  }

  .vehicle-grid,
  .fleet-points,
  .offer-points,
  .points-grid,
  .footer-grid,
  .measure-grid,
  .sizes-3,
  .sizes-2 {
    grid-template-columns: 1fr;
  }

  .fleet-points article,
  .offer-points article,
  .point,
  .sizes li,
  .footer-reach,
  .footer-address,
  .footer-legal {
    border-left: 0;
    padding-left: 0;
  }

  .points-grid .point:nth-child(3) {
    padding-left: 0;
  }

  .fleet h2,
  .offer h2,
  .llantas-hero h1 {
    font-size: 32px;
  }

  .fleet h2 .accent {
    font-size: 34px;
  }

  .size-card-heading h2 {
    font-size: 22px;
  }

  .measure-cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .measure-cta-bar .btn {
    margin-left: 0;
  }

  .footer-reach,
  .footer-address,
  .footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 16px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
