:root {
  --ink: #101820;
  --graphite: #17212b;
  --graphite-2: #222f3b;
  --paper: #f5f3ef;
  --white: #ffffff;
  --muted: #66717c;
  --line: #d8dde1;
  --accent: #f28c28;
  --accent-dark: #c8660f;
  --whatsapp: #20b65a;
  --radius: 16px;
  --shadow: 0 18px 50px rgb(16 24 32 / 12%);
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1c78d0; outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
}
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--white { background: var(--white); }
.section--dark { color: var(--white); background: var(--graphite); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .82rem;
}
.section--dark .eyebrow { color: #ffb25d; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 850px; font-size: clamp(2.65rem, 6.5vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0; }
.lead { max-width: 700px; margin-top: 22px; color: #d8e0e6; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.section-heading { display: grid; gap: 16px; max-width: 760px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-heading p { color: #c5cfd7; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgb(16 24 32 / 10%);
  background: rgb(245 243 239 / 94%);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; white-space: nowrap; }
.brand img { width: 86px; height: 58px; object-fit: contain; }
.brand span { font-size: 1.12rem; }
.navigation { justify-self: center; display: flex; align-items: center; gap: 28px; }
.navigation a { padding: 12px 0; text-decoration: none; font-weight: 700; }
.navigation a[aria-current="page"] { color: var(--accent-dark); }
.navigation-language { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-link { padding: 10px; font-weight: 800; text-decoration: none; }
.menu-button { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 850;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--ink); background: var(--accent); }
.button--primary:hover { background: #ffa03d; }
.button--whatsapp { color: var(--white); background: var(--whatsapp); }
.button--ghost { color: var(--white); border-color: rgb(255 255 255 / 48%); background: rgb(255 255 255 / 8%); }
.button--dark { color: var(--white); background: var(--graphite); }

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--graphite);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgb(10 18 26 / 92%) 0%, rgb(10 18 26 / 68%) 52%, rgb(10 18 26 / 24%) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
}
.hero-content { position: relative; z-index: 1; padding: 82px 0 154px; }
.hero .eyebrow { color: #ffb25d; }
.trust-bar { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; background: rgb(10 18 26 / 88%); backdrop-filter: blur(12px); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 24px; border-left: 1px solid rgb(255 255 255 / 14%); }
.trust-item:first-child { border-left: 0; }
.trust-item strong { display: block; color: var(--white); font-size: 1rem; }
.trust-item span { color: #c5cfd7; font-size: .91rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 24px rgb(16 24 32 / 5%); }
.card-number { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; color: var(--ink); background: var(--accent); font-weight: 900; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card a { display: inline-block; margin-top: 18px; color: var(--accent-dark); font-weight: 800; text-decoration-thickness: 2px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.media-card { min-height: 480px; border-radius: 18px; background: center / cover no-repeat var(--media-image); box-shadow: var(--shadow); }
.feature-list { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 34px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 950; }

.vehicle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vehicle-item { padding: 22px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 12px; background: var(--graphite-2); }
.vehicle-item strong { display: block; margin-bottom: 6px; }
.vehicle-item span { color: #c5cfd7; font-size: .94rem; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 28px 28px 28px 74px; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-weight: 900; }

.area-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.area-panel--single { grid-template-columns: 1fr; }
.area-block { padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 24px rgb(16 24 32 / 5%); }
.area-block h3 { margin-bottom: 10px; }
.area-block p { color: var(--muted); }

.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: clip; }
.faq-item summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; cursor: pointer; font-weight: 850; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent-dark); font-size: 1.5rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 20px 20px; color: var(--muted); }

.page-hero {
  padding: clamp(84px, 12vw, 156px) 0 clamp(70px, 9vw, 112px);
  color: var(--white);
  background-color: var(--graphite);
  background-image: linear-gradient(90deg, rgb(10 18 26 / 92%) 0%, rgb(10 18 26 / 68%) 52%, rgb(10 18 26 / 28%) 100%), url('/assets/images/hero.jpg');
  background-position: center;
  background-size: cover;
}
.page-hero p { max-width: 700px; margin-top: 22px; color: #c5cfd7; font-size: 1.15rem; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contact-card { padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.contact-card h2, .contact-card h3 { margin-bottom: 18px; }
.contact-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact-list strong { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a { font-weight: 800; }

.final-cta { padding: 54px 0; color: var(--white); background: var(--accent-dark); }
.final-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.final-cta p { margin-top: 8px; color: #fff3e7; }
.site-footer { color: #d5dde3; background: #0d141b; }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 34px; padding: 54px 0 38px; }
.footer-main h2 { color: var(--white); font-size: 1.35rem; }
.footer-main h3 { margin-bottom: 12px; color: var(--white); font-size: .94rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-main p, .footer-main a { color: #aebac3; }
.footer-main a { display: block; margin: 7px 0; text-decoration: none; }
.footer-main a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 26px; border-top: 1px solid rgb(255 255 255 / 11%); color: #8f9aa3; font-size: .9rem; }
@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-button { display: block; }
  .header-actions .button { display: none; }
  .navigation {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: 100%;
    justify-self: stretch;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px max(20px, calc((100vw - var(--content)) / 2));
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .navigation[data-open] { display: grid; }
  .navigation a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    text-align: left;
  }
  .navigation a:last-child { border-bottom: 0; }
  .navigation a:hover { color: var(--accent-dark); background: transparent; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid rgb(255 255 255 / 14%); }
  .trust-item:nth-child(4) { border-top: 1px solid rgb(255 255 255 / 14%); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .vehicle-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1.4fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 30px), var(--content)); }
  .site-header { position: relative; }
  .header-inner { min-height: 72px; }
  .brand img { width: 66px; height: 46px; }
  .brand span { font-size: 1rem; }
  .language-link { display: none; }
  .navigation-language { display: flex; }
  .hero { min-height: auto; }
  .hero::before { background-image: linear-gradient(180deg, rgb(10 18 26 / 74%) 0%, rgb(10 18 26 / 90%) 80%), var(--hero-image); background-position: 58% center; }
  .page-hero { background-image: linear-gradient(180deg, rgb(10 18 26 / 72%) 0%, rgb(10 18 26 / 92%) 88%), url('/assets/images/hero.jpg'); background-position: 58% center; }
  .hero-content { padding: 82px 0 340px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .trust-bar { position: relative; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-top: 1px solid rgb(255 255 255 / 14%); border-left: 0; }
  .grid-3, .vehicle-grid, .steps, .area-panel, .faq-list, .footer-main { grid-template-columns: 1fr; }
  .media-card { min-height: 340px; }
  .step { padding-left: 70px; }
  .final-cta .container, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main { gap: 26px; padding: 44px 0 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
