:root {
  --ink: #101716;
  --ink-soft: #34413f;
  --forest: #153d35;
  --forest-light: #1f584c;
  --gold: #c59a54;
  --gold-light: #e2c48f;
  --cream: #f7f2e9;
  --paper: #fffdf9;
  --line: rgba(21, 61, 53, 0.14);
  --shadow: 0 24px 70px rgba(12, 36, 31, 0.13);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tint { background: var(--cream); }
.section-dark { color: white; background: var(--forest); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.display, h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.13;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.7rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.lead { color: var(--ink-soft); font-size: clamp(1.03rem, 2vw, 1.18rem); }
.section-dark .lead { color: rgba(255,255,255,.72); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.section-heading h2 { max-width: 720px; margin-bottom: 0; }
.section-heading p { max-width: 440px; margin: 0; }

.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 10px 16px; color: white; background: var(--forest); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(12, 30, 27, .92); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--forest); background: var(--gold-light); border-radius: 50%; font-family: Georgia, serif; font-weight: 700; }
.brand-copy strong { display: block; font-family: Georgia, serif; font-size: 1.06rem; line-height: 1.1; }
.brand-copy small { display: block; margin-top: 3px; color: rgba(255,255,255,.6); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 650; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--gold-light); }
.menu-toggle { display: none; width: 44px; height: 44px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #102b25; background: var(--gold-light); }
.btn-primary:hover { background: #edcf97; }
.btn-dark { color: white; background: var(--forest); }
.btn-dark:hover { background: var(--forest-light); }
.btn-outline { color: var(--forest); border-color: rgba(21,61,53,.35); background: transparent; }
.btn-outline:hover { border-color: var(--forest); }
.btn-light-outline { color: white; border-color: rgba(255,255,255,.35); }
.btn-whatsapp { color: white; background: #168c4d; }
.btn-whatsapp:hover { background: #117a42; }
.text-link { color: var(--forest); font-weight: 800; }
.text-link::after { content: " \2192"; }

.hero { position: relative; height: calc(100vh - 76px); height: calc(100dvh - 76px); min-height: 0; display: grid; align-items: center; overflow: hidden; color: white; background: #0d2924; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 77% 35%, rgba(197,154,84,.26), transparent 32%), linear-gradient(90deg, rgba(9,29,25,.98) 0%, rgba(9,29,25,.86) 47%, rgba(9,29,25,.35) 100%); }
.hero::after { content: ""; position: absolute; right: -8%; bottom: -23%; width: 65%; height: 88%; background: url("../images/hero-car.svg") center/contain no-repeat; filter: drop-shadow(0 35px 45px rgba(0,0,0,.3)); }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 800px; padding: clamp(28px, 6vh, 72px) 0 clamp(105px, 14vh, 135px); }
.hero h1 { margin-bottom: 24px; font-size: clamp(3rem, min(6vw, 8.5vh), 5.7rem); }
.hero .lead { max-width: 620px; color: rgba(255,255,255,.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-row { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.13); background: rgba(7,25,21,.4); backdrop-filter: blur(12px); }
.trust-grid { min-height: 88px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-item { padding: 0 28px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--gold-light); font-family: Georgia, serif; font-size: 1.1rem; }
.trust-item span { color: rgba(255,255,255,.65); font-size: .8rem; }

.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.car-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(21,61,53,.06); transition: transform .25s, box-shadow .25s; }
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.car-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e9eee9; }
.car-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.car-card:hover .car-image img { transform: scale(1.035); }
.tag { position: absolute; top: 16px; left: 16px; padding: 7px 11px; color: white; background: rgba(15,43,37,.9); border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.car-body { padding: 24px; }
.car-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.car-head h3 { margin-bottom: 5px; }
.price { color: var(--forest); text-align: right; white-space: nowrap; }
.price strong { display: block; font-family: Georgia, serif; font-size: 1.22rem; }
.price small { color: #75817e; }
.car-subtitle { color: #6b7774; font-size: .86rem; }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.spec { padding: 7px 10px; color: var(--ink-soft); background: var(--cream); border-radius: 8px; font-size: .75rem; font-weight: 700; }
.card-actions { display: flex; gap: 9px; }
.card-actions .btn { flex: 1; }
.status { grid-column: 1 / -1; padding: 30px; text-align: center; background: var(--cream); border-radius: var(--radius); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.feature-card .number { display: inline-grid; width: 38px; height: 38px; margin-bottom: 25px; place-items: center; color: var(--gold-light); background: var(--forest); border-radius: 50%; font-family: Georgia, serif; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: .92rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.service { min-height: 230px; padding: 34px; background: var(--forest); }
.service h3 { color: var(--gold-light); }
.service p { color: rgba(255,255,255,.65); }

.page-hero { padding: 92px 0 76px; color: white; background: linear-gradient(135deg, #102f29, #1c4a40); }
.page-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(2.7rem, 6vw, 4.8rem); }
.page-hero .lead { max-width: 720px; color: rgba(255,255,255,.72); }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 26px; color: rgba(255,255,255,.58); font-size: .8rem; }
.breadcrumbs a:hover { color: white; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.filter-btn { padding: 9px 16px; color: var(--ink-soft); background: white; border: 1px solid var(--line); border-radius: 999px; font-weight: 750; }
.filter-btn.active, .filter-btn:hover { color: white; background: var(--forest); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 48px; align-items: start; }
.detail-media { overflow: hidden; background: var(--cream); border-radius: var(--radius); }
.detail-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.detail-card { position: sticky; top: 100px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.detail-card h1 { margin-bottom: 8px; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.detail-price { margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.detail-price strong { color: var(--forest); font-family: Georgia, serif; font-size: 1.8rem; }
.detail-card .btn { width: 100%; margin-top: 10px; }
.detail-section { margin-top: 42px; }
.detail-section h2 { font-size: 2rem; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.spec-box { padding: 18px; background: var(--cream); border-radius: 13px; }
.spec-box small { display: block; color: #6f7c79; }
.spec-box strong { color: var(--forest); }
.check-list, .plain-list { padding: 0; margin: 0; list-style: none; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 25px; }
.check-list li::before { content: "\2713"; display: inline-grid; width: 22px; height: 22px; margin-right: 9px; place-items: center; color: white; background: var(--forest); border-radius: 50%; font-size: .7rem; }
.plain-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.visual-panel { min-height: 480px; display: grid; align-content: end; padding: 40px; color: white; background: radial-gradient(circle at 70% 20%, rgba(226,196,143,.38), transparent 28%), linear-gradient(145deg, #1f584c, #0e2d27); border-radius: 30px; }
.visual-panel blockquote { max-width: 430px; margin: 0; font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.35; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; }
.contact-list { display: grid; gap: 13px; margin-top: 30px; }
.contact-item { padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.contact-item small { display: block; color: #71807c; }
.contact-item strong { color: var(--forest); }
.form-card { padding: 34px; background: var(--cream); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field-full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-size: .79rem; font-weight: 800; }
input, select, textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: white; border: 1px solid rgba(21,61,53,.22); border-radius: 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--forest-light); box-shadow: 0 0 0 3px rgba(31,88,76,.1); }
textarea { min-height: 120px; resize: vertical; }
.form-note { margin-top: 13px; color: #6d7976; font-size: .78rem; }
.map-placeholder { min-height: 310px; display: grid; place-items: center; margin-top: 50px; color: white; background: linear-gradient(rgba(16,47,41,.82), rgba(16,47,41,.82)), repeating-linear-gradient(35deg, #d7ddd8 0 2px, transparent 2px 36px); border-radius: var(--radius); text-align: center; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: 70px; align-items: start; }
.legal-nav { position: sticky; top: 110px; padding: 20px; background: var(--cream); border-radius: 15px; }
.legal-nav a { display: block; padding: 9px 10px; color: var(--ink-soft); border-radius: 8px; font-size: .86rem; font-weight: 700; }
.legal-nav a:hover, .legal-nav a.active { color: white; background: var(--forest); }
.legal-content h2 { margin: 42px 0 13px; font-size: 1.8rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content li { margin-bottom: 9px; }
.notice { padding: 18px 20px; color: var(--ink-soft); background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; }

.cta-band { padding: 58px 0; color: white; background: var(--forest); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3rem); }
.cta-inner p { margin: 0; color: rgba(255,255,255,.65); }
.site-footer { padding: 68px 0 24px; color: rgba(255,255,255,.68); background: #091f1b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 45px; }
.footer-brand { max-width: 320px; }
.footer-brand p { margin-top: 20px; }
.footer-col h3 { margin-bottom: 20px; color: white; font-family: inherit; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; }
.footer-bottom a { color: var(--gold-light); font-weight: 700; }
.footer-bottom a:hover { color: white; }
.floating-wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; color: white; background: #168c4d; border: 4px solid white; border-radius: 50%; box-shadow: 0 12px 35px rgba(0,0,0,.25); font-size: 1.35rem; font-weight: 900; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 76px 0 auto; display: none; align-items: stretch; padding: 28px 20px; background: #0b2923; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
  .nav-links.open { display: grid; gap: 18px; }
  .nav-links .btn { justify-self: start; }
  .hero::after { opacity: .42; width: 90%; }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout, .contact-grid { grid-template-columns: 1fr; }
  .detail-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .section-heading, .cta-inner { align-items: start; flex-direction: column; }
  .hero { height: calc(100vh - 76px); height: calc(100dvh - 76px); min-height: 0; }
  .hero-content { padding: clamp(22px, 4vh, 40px) 0 120px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(2.15rem, min(10vw, 6.5vh), 3rem); }
  .hero .lead { font-size: clamp(.88rem, 2.5vh, 1rem); line-height: 1.5; }
  .hero-actions { margin-top: 20px; }
  .hero::after { right: -25%; bottom: 60px; width: 115%; height: 38%; opacity: .22; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 12px 0; }
  .trust-item { padding: 8px 12px; border: 0; }
  .car-grid, .service-grid, .content-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .check-list, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .legal-layout { grid-template-columns: 1fr; gap: 35px; }
  .legal-nav { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
