/* ==========================================================================
   Travelify design system
   Tokens → base → layout → components → pages → responsive
   ========================================================================== */

:root {
  --ink: #0b2530;
  --ink-soft: #3d5663;
  --ink-mute: #6b8290;
  --ocean-900: #052c3b;
  --ocean-800: #073b4c;
  --ocean-700: #0a5470;
  --ocean-600: #0b6e8a;
  --ocean-500: #0f86a8;
  --ocean-100: #dcedf3;
  --ocean-50: #f0f7fa;
  --sun: #ff9f1c;
  --sun-600: #e68900;
  --sun-100: #fff1d9;
  --sand: #faf7f1;
  --white: #fff;
  --line: #dde7ec;
  --ok: #138a5b;
  --ok-bg: #e6f6ee;
  --err: #c0392b;
  --err-bg: #fdecea;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(7, 59, 76, 0.06), 0 2px 8px rgba(7, 59, 76, 0.05);
  --shadow: 0 6px 24px rgba(7, 59, 76, 0.1);
  --shadow-lg: 0 18px 48px rgba(7, 59, 76, 0.18);

  --container: 1180px;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--ocean-600); text-underline-offset: 3px; }
a:hover { color: var(--ocean-800); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--ocean-900); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ocean-900); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tint { background: var(--ocean-50); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ocean-900); color: #d8e8ee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-600); margin-bottom: 10px; }
.section--dark .eyebrow { color: var(--sun); }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.section--dark .lead { color: #b8d0da; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--sun); color: var(--ocean-900); box-shadow: 0 4px 14px rgba(255, 159, 28, .35); }
.btn--primary:hover { background: var(--sun-600); color: var(--ocean-900); }
.btn--dark { background: var(--ocean-800); color: #fff; }
.btn--dark:hover { background: var(--ocean-700); color: #fff; }
.btn--outline { border-color: var(--ocean-600); color: var(--ocean-700); background: transparent; }
.btn--outline:hover { background: var(--ocean-600); color: #fff; }
.btn--light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--ocean-800); }
.btn--wa { background: #1faa59; color: #fff; }
.btn--wa:hover { background: #178a47; color: #fff; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); height: var(--header-h); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ocean-900); }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; }
.brand span b { color: var(--ocean-500); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--ocean-50); color: var(--ocean-700); }
.nav a[aria-current="page"]:not(.btn) { background: var(--ocean-100); color: var(--ocean-800); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--ocean-900); }
.nav-toggle:hover { background: var(--ocean-50); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; color: #fff; background: var(--ocean-900) center / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,44,59,.55) 0%, rgba(5,44,59,.35) 40%, rgba(5,44,59,.85) 100%); }
.hero--home { min-height: min(86vh, 780px); display: flex; align-items: center; padding-block: 72px 96px; }
.hero--home h1 { color: #fff; max-width: 14ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero--home h1 em { font-style: italic; color: var(--sun); }
.hero--home .lead { color: #e4f0f4; max-width: 52ch; font-size: 1.2rem; margin-bottom: 28px; }
.hero--page { padding-block: clamp(56px, 10vw, 110px) clamp(48px, 8vw, 84px); }
.hero--page h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.hero--page p { max-width: 60ch; color: #e4f0f4; font-size: 1.1rem; margin: 0; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .86rem; margin-bottom: 18px; color: #cfe3ea; }
.crumbs a { color: #fff; text-decoration: none; opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }

/* Stats strip ------------------------------------------------------------ */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 28px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--ocean-700); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--ink-soft); font-size: .92rem; font-weight: 600; }

/* Cards ------------------------------------------------------------------ */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ocean-100); color: var(--ocean-600); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico .icon { width: 26px; height: 26px; }
.feature p { color: var(--ink-soft); margin: 0; }

.tour-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.tour-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.tour-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ocean-100); display: block; }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tour-card:hover .tour-card__media img { transform: scale(1.05); }
.tour-card__chip { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.95); color: var(--ocean-800); font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.tour-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tour-card__title { font-size: 1.25rem; margin-bottom: 8px; }
.tour-card__title a { color: inherit; text-decoration: none; }
.tour-card__title a:hover { color: var(--ocean-600); }
.tour-card__desc { color: var(--ink-soft); font-size: .93rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card__foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ocean-700); line-height: 1; }
.price small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); margin-bottom: 4px; }

/* Custom-tour CTA ---------------------------------------------------------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; padding: clamp(36px, 7vw, 72px); background: var(--ocean-800) center / cover; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5,44,59,.92), rgba(7,59,76,.55)); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { max-width: 52ch; color: #dcecf2; }

/* Destinations mosaic ---------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.mosaic a { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--ocean-100); }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(4), .mosaic a:nth-child(n+5) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaic a:hover img { transform: scale(1.06); }
.mosaic span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(5,44,59,.82)); }

/* About split ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media .badge { position: absolute; right: -10px; bottom: -18px; background: var(--sun); color: var(--ocean-900); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow); font-weight: 700; line-height: 1.2; }
.split__media .badge strong { display: block; font-family: var(--font-display); font-size: 1.9rem; }
.checks { list-style: none; display: grid; gap: 10px; margin: 20px 0 28px; }
.checks li { display: flex; gap: 10px; align-items: start; }
.checks .icon { color: var(--ok); margin-top: 3px; }
.founder { width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid #fff; box-shadow: var(--shadow-lg); margin-inline: auto; }

/* Testimonials ----------------------------------------------------------- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote .stars { display: flex; gap: 2px; color: var(--sun); margin-bottom: 12px; }
.quote .stars .icon { fill: currentColor; width: 18px; height: 18px; }
.quote p { color: var(--ink-soft); flex: 1; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ocean-100); color: var(--ocean-700); display: grid; place-items: center; font-weight: 800; }
.quote footer strong { display: block; line-height: 1.2; }
.quote footer span { font-size: .85rem; color: var(--ink-mute); }
.carousel__nav { display: flex; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ocean-700); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--ocean-600); color: #fff; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--ocean-600); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--ocean-100); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }

/* Tools bar (packages filter) ------------------------------------------- */
.toolbar { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 12px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.toolbar .results { font-weight: 600; color: var(--ink-soft); align-self: center; white-space: nowrap; }
.empty { text-align: center; padding: 56px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); }
.empty .icon { width: 40px; height: 40px; color: var(--ocean-500); margin: 0 auto 12px; }

/* Forms ------------------------------------------------------------------ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
label, .label { font-weight: 700; font-size: .9rem; color: var(--ocean-900); }
label .req { color: var(--err); }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c5d5dc; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ocean-500); box-shadow: 0 0 0 4px rgba(15,134,168,.15); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-size: .84rem; min-height: 1.1em; margin: 0; }
.hint { font-size: .84rem; color: var(--ink-mute); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; font-weight: 600; margin-top: 16px; }
.form-status.is-error { display: block; background: var(--err-bg); color: var(--err); }
.form-status.is-ok { display: block; background: var(--ok-bg); color: var(--ok); }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(7,59,76,.25); border-top-color: var(--ocean-900); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Transport -------------------------------------------------------------- */
.vehicle { display: grid; grid-template-columns: 280px 1fr auto; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.vehicle + .vehicle { margin-top: 20px; }
.vehicle img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.vehicle h3 { margin-bottom: 4px; font-size: 1.4rem; }
.vehicle .type { color: var(--ink-mute); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; padding: 4px 12px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.tags li.no { background: var(--err-bg); color: var(--err); }
.tags .icon { width: 14px; height: 14px; stroke-width: 3; }
.vehicle__side { text-align: center; min-width: 200px; display: grid; gap: 10px; }
.vehicle__side .persons { display: flex; justify-content: center; gap: 6px; align-items: center; color: var(--ink-soft); font-weight: 600; }

/* Package detail --------------------------------------------------------- */
.detail { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.detail__hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; box-shadow: var(--shadow); }
.detail__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 32px; }
.fact { background: var(--ocean-50); border-radius: var(--radius); padding: 16px 18px; }
.fact span { display: flex; gap: 6px; align-items: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.fact strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 1.15rem; color: var(--ocean-800); }
.detail h2 { font-size: 1.6rem; margin-top: 32px; }
.rules { list-style: none; display: grid; gap: 10px; }
.rules li { display: flex; gap: 10px; align-items: start; background: var(--sand); padding: 12px 16px; border-radius: 10px; }
.rules .icon { color: var(--sun-600); margin-top: 3px; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); background: var(--ocean-100); }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); }

/* Gallery ---------------------------------------------------------------- */
.gallery { columns: 3; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--ocean-100); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .5s, filter .3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left; color: #fff; font-weight: 700; font-size: .92rem; background: linear-gradient(transparent, rgba(5,44,59,.8)); opacity: 0; transition: opacity .25s; }
.gallery button:hover span, .gallery button:focus-visible span { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(3,22,30,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #fff; margin-top: 14px; font-weight: 600; }
.lightbox .icon-btn { position: absolute; background: rgba(255,255,255,.14); border-color: transparent; color: #fff; }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev .icon { transform: rotate(180deg); }

/* Contact info cards ----------------------------------------------------- */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: start; }
.info-card .ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--ocean-100); color: var(--ocean-600); display: grid; place-items: center; }
.info-card h3 { margin-bottom: 2px; font-size: 1.1rem; }
.info-card p { margin: 0; color: var(--ink-soft); }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 28px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--sun); color: var(--ocean-900); font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.steps p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ocean-900); color: #b8d0da; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h2 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer a { color: #b8d0da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand span b { color: #6cc4dc; }
.site-footer li { display: flex; gap: 10px; align-items: start; }
.site-footer li .icon { margin-top: 4px; color: var(--sun); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: .9rem; }

/* Floating actions ------------------------------------------------------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 10px; justify-items: end; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .2s, opacity .2s; }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab .fab-wa { background: #1faa59; color: #fff; }
.fab .fab-wa .icon { width: 28px; height: 28px; }
.fab .fab-top { background: #fff; color: var(--ocean-700); width: 46px; height: 46px; opacity: 0; pointer-events: none; }
.fab .fab-top.is-visible { opacity: 1; pointer-events: auto; }

/* 404 / thanks ----------------------------------------------------------- */
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 72px; }
.center-page .big { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); line-height: 1; color: var(--ocean-600); }
.success-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.success-ico .icon { width: 42px; height: 42px; stroke-width: 2.5; }

/* Reveal on scroll (enhancement only) ----------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
  .quote { flex-basis: calc((100% - 20px) / 2); }
  .vehicle { grid-template-columns: 220px 1fr; }
  .vehicle__side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; text-align: left; min-width: 0; }
  .vehicle__side .persons, .vehicle__side .price { grid-column: 1 / -1; justify-content: flex-start; }
  .vehicle__side .actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: 2px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 16px; border-radius: 10px; font-size: 1.02rem; }
  .nav .btn { margin: 12px 0 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__media .badge { right: 12px; }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar .results { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .gallery { columns: 2; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .mosaic a:nth-child(4), .mosaic a:nth-child(n+5) { grid-column: span 1; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 1.35rem; }
  .hero--home { min-height: 0; padding-block: 56px 88px; }
  .stats { margin-top: -44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 12px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .quote { flex-basis: 88%; }
  .vehicle { grid-template-columns: 1fr; padding: 14px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .btn-row .btn { flex: 1 1 auto; }
  .section-head--row { align-items: start; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; }
  .lightbox .lb-prev { left: calc(50% - 56px); }
  .lightbox .lb-next { right: calc(50% - 56px); }
  .lightbox .lb-prev .icon { transform: rotate(180deg); }
}
@media print { .site-header, .fab, .site-footer .footer-grid { display: none; } }
[data-prev] .icon { transform: rotate(180deg); }
