/* ==========================================================================
   Baku Legend Travel — styles.css (v2)
   Palette taken from the logo: deep night teal, gold, a touch of sky blue.
   Type: Outfit (display) + DM Sans (body)
   ========================================================================== */
:root {
  --night: #071219;
  --night-2: #0c1f2a;
  --night-3: #12303d;
  --paper: #f5f2eb;
  --paper-2: #ebe6da;
  --gold: #f0c76b;
  --gold-2: #d9a94a;
  --sky: #2fb4e6;
  --text: #f3efe6;
  --text-dim: #a7b7bf;
  --ink: #0b1a22;
  --ink-dim: #5a6b73;
  --line: rgba(243, 239, 230, .14);
  --line-dark: rgba(11, 26, 34, .12);

  --font-display: "Outfit", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --r: 18px;
  --gutter: 1.1rem;
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); background: var(--night); }
html.is-intro { overflow: hidden; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, address { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--night); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: .6rem 1rem; background: var(--gold); color: var(--night); border-radius: 999px; font-weight: 700; }
.skip:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
@media (min-width: 768px) { :root { --gutter: 2.5rem; } }
@media (min-width: 1920px) { .container { width: min(100% - 2 * var(--gutter), 1400px); } }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .8vw, 1.8rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.tag { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem; }
.tag::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-head { margin-bottom: 2.5rem; }
.section-head__text { color: var(--text-dim); max-width: 44ch; margin-top: 1rem; font-size: 1.05rem; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
@media (min-width: 768px) { .section-head { margin-bottom: 3.5rem; } }

/* reveal states: only when JS + motion allowed */
.motion .reveal { opacity: 0; transform: translateY(28px); }
.reveal-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.reveal-line > span { display: block; }
.motion .reveal-line > span { transform: translateY(105%); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: #ffd77f; }
.btn--line { border-color: rgba(243, 239, 230, .45); color: var(--text); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }

/* ---------- Intro flyover ---------- */
.intro { position: fixed; inset: 0; z-index: 100; overflow: hidden; display: none; }
.is-intro .intro { display: block; }
.intro__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #06243a 0%, #0f5a86 38%, #3aa5dc 72%, #9fd8f3 100%); }
.intro__sun { position: absolute; right: 12%; top: 14%; width: 26vmin; height: 26vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 190, .95), rgba(255, 220, 150, .25) 55%, transparent 70%); filter: blur(6px); }
.intro__cloud { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .22); filter: blur(28px); animation: cloud-drift 18s linear infinite; }
.intro__cloud--1 { width: 60vw; height: 22vh; left: -10vw; top: 30%; }
.intro__cloud--2 { width: 45vw; height: 18vh; left: 40vw; top: 60%; animation-duration: 26s; animation-delay: -8s; }
.intro__cloud--3 { width: 70vw; height: 16vh; left: 10vw; top: 82%; animation-duration: 32s; animation-delay: -15s; background: rgba(255, 255, 255, .3); }
@keyframes cloud-drift { to { transform: translateX(-18vw); } }
.intro__plane { position: absolute; left: 50%; top: 50%; width: min(190vw, 2400px); fill: #04111a; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); will-change: transform; }
.intro__trail { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 10; stroke-linecap: round; }
.intro__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(160px, 24vw, 240px); opacity: 0; }
.intro__skip { position: absolute; right: 1.2rem; bottom: 1.2rem; padding: .55rem 1.1rem; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; color: #fff; font-weight: 700; font-size: .85rem; backdrop-filter: none; }
.intro__skip:hover { background: rgba(255, 255, 255, .15); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--text); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 18, 25, .92); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .35s var(--ease); }
.header.is-scrolled::before, .header.is-open::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; }
.brand img { width: auto; height: 44px; }
.nav__list { display: none; gap: 2rem; }
.nav__list a { font-weight: 500; font-size: .95rem; color: var(--text-dim); transition: color .2s; }
.nav__list a:hover { color: var(--gold); }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__phone { display: none; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; }
.header__phone svg { width: 18px; height: 18px; fill: var(--gold); }
.header__phone:hover { color: var(--gold); }
.burger { width: 44px; height: 44px; display: grid; place-items: center; position: relative; }
.burger span { width: 24px; height: 2px; background: currentColor; position: absolute; transition: transform .3s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.is-open .burger span:first-child { transform: rotate(45deg); }
.is-open .burger span:last-child { transform: rotate(-45deg); }
@media (max-width: 1023px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: rgba(7, 18, 25, .97); padding: 1.5rem var(--gutter) 2rem; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s; }
  .is-open .nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__list { display: grid; gap: .9rem; }
  .nav__list a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--text); }
}
@media (min-width: 1024px) { .nav__list { display: flex; } .header__phone { display: inline-flex; } .burger { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 25, .55) 0%, rgba(7, 18, 25, .2) 40%, rgba(7, 18, 25, .9) 100%); }
.hero__grid { position: relative; padding: calc(var(--header-h) + 4rem) 0 4rem; display: grid; gap: 2.5rem; width: min(100% - 2 * var(--gutter), 1240px); }
.hero__title { font-size: clamp(2.8rem, 1rem + 6vw, 6.4rem); margin: 0 0 1.4rem; line-height: 1.04; }
.hero__title b { color: var(--gold); font-weight: 800; }
.hero__sub { max-width: 46ch; font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); color: var(--text-dim); margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__facts { display: flex; gap: 1.5rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.hero__facts li { display: grid; gap: .1rem; }
.hero__facts strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.hero__facts span { font-size: .82rem; color: var(--text-dim); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; width: 24px; height: 38px; border: 2px solid rgba(243, 239, 230, .4); border-radius: 14px; transform: translateX(-50%); display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 6px; width: 3px; height: 8px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translate(-50%, 0); opacity: 1; } 70% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.55fr .45fr; align-items: end; padding-bottom: 5.5rem; }
  .hero__facts { flex-direction: column; border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 1.8rem; gap: 1.4rem; }
  .hero__scroll { display: block; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; display: flex; background: var(--gold); color: var(--night); padding: .85rem 0; }
.marquee__track { display: flex; flex-shrink: 0; min-width: 100%; justify-content: space-around; animation: marquee 34s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, .9rem + .6vw, 1.35rem); padding: 0 1.4rem; white-space: nowrap; display: flex; align-items: center; gap: 1.4rem; letter-spacing: -.01em; }
.marquee__track span::after { content: "✦"; font-size: .8em; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Destinations: stacking cards ---------- */
.dest { padding: 6rem 0 0; }
.stack { padding-bottom: 4rem; }
/* each item is a full-height sticky "slot"; the card is centered inside it */
.stack__item { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: grid; place-items: center; }
.stack__card {
  position: relative; width: min(100% - 2 * var(--gutter), 1240px);
  height: min(78vh, 760px); border-radius: var(--r); overflow: hidden; background: var(--night-2);
  transform-origin: center center; will-change: transform;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .35);
}
.stack__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 25, .05) 30%, rgba(7, 18, 25, .9) 100%); }
.stack__card::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--night); opacity: var(--dim, 0); pointer-events: none; }
.stack__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.6rem; display: grid; gap: .5rem; }
.stack__num { font-family: var(--font-display); font-weight: 600; color: var(--gold); font-size: .9rem; letter-spacing: .1em; }
.stack__body h3 { font-size: clamp(2rem, 1.2rem + 4vw, 4rem); font-weight: 700; line-height: 1.05; }
.stack__body p { color: var(--text-dim); }
.stack__body .btn { justify-self: start; margin-top: .6rem; }
@media (min-width: 768px) {
  .stack__body { padding: 2.5rem; grid-template-columns: 1fr auto; align-items: end; column-gap: 2rem; }
  .stack__num { grid-column: 1 / -1; }
  .stack__body h3 { grid-column: 1; }
  .stack__body p { grid-column: 1; }
  .stack__body .btn { grid-column: 2; grid-row: 2 / 4; margin: 0; }
}

/* ---------- Globe ---------- */
.globe { padding: 6rem 0; background: var(--night); position: relative; overflow: hidden; }
.globe::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 75% 50%, rgba(47, 180, 230, .12), transparent 70%); pointer-events: none; }
.globe__grid { position: relative; display: grid; gap: 3rem; }
.globe__copy h2 { max-width: 14ch; }
.globe__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.globe__chips button { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text-dim); font-weight: 500; font-size: .9rem; transition: color .25s, border-color .25s, background .25s; }
.globe__chips button:hover { color: var(--gold); border-color: var(--gold); }
.globe__chips button.is-active { background: var(--gold); border-color: var(--gold); color: var(--night); }
.globe__stage { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.globe__stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe__stage canvas.is-dragging { cursor: grabbing; }
.globe__label { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 14px)); background: rgba(7, 18, 25, .92); border: 1px solid rgba(240, 199, 107, .5); border-radius: 12px; padding: .5rem .8rem; display: grid; line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .25s; }
.globe__label.is-on { opacity: 1; }
.globe__label strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.globe__label span { font-size: .78rem; color: var(--gold); }
.globe__label::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: inherit; border-right: 1px solid rgba(240, 199, 107, .5); border-bottom: 1px solid rgba(240, 199, 107, .5); transform: translateX(-50%) rotate(45deg); }
.globe__hint { position: absolute; left: 50%; bottom: -1.6rem; transform: translateX(-50%); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
@media (min-width: 900px) { .globe__grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 4rem; } }

/* ---------- Packages (light) ---------- */
.packages { background: var(--paper); color: var(--ink); padding: 6rem 0; }
.packages .tag { color: #a3762a; }
.packages .section-head__text { color: var(--ink-dim); }
.row-nav { display: flex; gap: .6rem; }
.arrow { width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; transition: background .25s, color .25s; }
.arrow svg { width: 20px; height: 20px; }
.arrow:hover { background: var(--ink); color: var(--paper); }
.row { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem var(--gutter) 1.5rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.pk { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line-dark); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pk:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(11, 26, 34, .35); }
.pk__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.pk__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pk:hover .pk__media img { transform: scale(1.06); }
.pk__badge { position: absolute; left: .9rem; top: .9rem; background: var(--gold); color: var(--night); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; }
.pk__body { padding: 1.3rem 1.3rem 1.4rem; display: grid; gap: .45rem; flex: 1; }
.pk__meta { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: #a3762a; font-weight: 700; }
.pk__text { color: var(--ink-dim); font-size: .95rem; }
.pk__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.pk__price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; display: flex; align-items: baseline; gap: .3rem; flex-direction: row-reverse; }
.pk__price small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--ink-dim); }
.pk__link { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: .1rem; }
.pk__link:hover { color: #a3762a; }
@media (min-width: 1280px) { .row { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; padding-inline: 0; } }

/* ---------- Why / stats ---------- */
.why { padding: 6rem 0; background: var(--night-2); position: relative; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 10%, rgba(47, 180, 230, .14), transparent 70%); pointer-events: none; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3.5rem; }
.stat { border-top: 2px solid var(--gold); padding-top: 1.1rem; display: grid; gap: .3rem; }
.stat strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 3.5vw, 4.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat > span:last-child { color: var(--text-dim); font-size: .92rem; }
.perks { display: grid; gap: 1.2rem; }
.perk { border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; display: grid; gap: .6rem; background: rgba(7, 18, 25, .4); }
.perk svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: .4rem; }
.perk p { color: var(--text-dim); font-size: .95rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } .perks { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Reviews (light) ---------- */
.reviews { background: var(--paper-2); color: var(--ink); padding: 6rem 0; }
.reviews .tag { color: #a3762a; }
.tsl { position: relative; margin-top: 2.5rem; min-height: 300px; }
.tsl__item { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; display: grid; gap: 1.6rem; }
.tsl__item.is-active { opacity: 1; visibility: visible; position: relative; }
.tsl__item blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 1rem + 1.8vw, 2.4rem); line-height: 1.25; letter-spacing: -.02em; max-width: 24ch; }
.tsl__item blockquote::before { content: "“"; color: var(--gold-2); }
.tsl__item figcaption { display: grid; gap: .15rem; }
.tsl__item figcaption span { color: var(--ink-dim); font-size: .9rem; }
.tsl__dots { display: flex; gap: .5rem; margin-top: 2rem; }
.tsl__dots button { width: 12px; height: 12px; border-radius: 50%; background: rgba(11, 26, 34, .2); transition: background .25s, transform .25s; }
.tsl__dots button[aria-selected="true"] { background: var(--ink); transform: scale(1.15); }

/* ---------- Contact ---------- */
.contact { padding: 6rem 0; background: var(--night); }
.contact__grid { display: grid; gap: 3rem; }
.contact h2 { max-width: 14ch; }
.contact__info { display: grid; gap: 1.2rem; margin: 2.2rem 0; }
.contact__info p { display: grid; gap: .2rem; }
.contact__info p > span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.contact__info a:hover { color: var(--gold); }

/* Social buttons: wide pill rows (not squares) */
.socials { display: grid; gap: .8rem; }
.social { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 1rem; padding: .7rem .9rem .7rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--night-2); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.social:hover { border-color: var(--gold); background: var(--night-3); transform: translateX(6px); }
.social__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--night); }
.social__icon svg { width: 24px; height: 24px; fill: currentColor; }
.social__text { display: grid; line-height: 1.25; }
.social__text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.social__text span { font-size: .85rem; color: var(--text-dim); }
.social__arrow { font-size: 1.3rem; color: var(--gold); padding-right: .5rem; transition: transform .3s var(--ease); }
.social:hover .social__arrow { transform: translateX(4px); }
.social--wa .social__icon { background: #25d366; }

.map { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.map svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.map:hover svg { transform: scale(1.04); }
.map__label { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; background: rgba(7, 18, 25, .85); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; display: grid; gap: .1rem; font-weight: 700; }
.map__label small { font-weight: 500; color: var(--gold); font-size: .85rem; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: start; } .map { aspect-ratio: 3 / 4; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand img { width: 170px; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 36ch; color: var(--text-dim); font-size: .95rem; }
.footer__title { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1rem; }
.footer__links ul { display: grid; gap: .5rem; }
.footer__links a:hover { color: var(--gold); }
.footer__social ul { display: flex; gap: .7rem; }
.footer__social li a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: background .25s, color .25s, border-color .25s; }
.footer__social li a:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__phone { margin-top: 1.2rem; font-weight: 700; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--text-dim); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
@media (min-width: 768px) { .wa-float { right: 1.8rem; bottom: 1.8rem; } }

/* ---------- Scroll plane ---------- */
.scroll-plane { position: fixed; left: 0; top: 0; z-index: 45; width: 68px; height: 68px; display: none; align-items: center; justify-content: center; pointer-events: none; opacity: 0; will-change: transform; }
.motion .scroll-plane { display: flex; }
.scroll-plane svg { width: 100%; height: 100%; fill: var(--gold); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); }
/* trail sits behind the tail (right side, since the nose points left) */
.scroll-plane__trail { position: absolute; left: 100%; top: 50%; width: 130px; height: 3px; margin: -1.5px 0 0 -6px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), transparent); transform-origin: left center; transform: scaleX(0); opacity: .85; }
@media (max-width: 767px) { .scroll-plane { width: 46px; height: 46px; } .scroll-plane__trail { width: 80px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: flex-start; }
  .marquee__track:last-child { display: none; }
  .hero__scroll span, .intro__cloud { animation: none; }
  .pk, .social, .btn { transition: none; }
}

/* ---------- 404 page ---------- */
.err { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.err img { width: 180px; margin: 0 auto 2rem; }
.err h1 { font-size: clamp(2rem, 6vw, 3.5rem); margin: 0 0 .5rem; }
.err p { color: var(--text-dim); margin: 0 0 2rem; }
.err a { display: inline-block; padding: .9rem 1.6rem; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 700; }
