/* ============================================
   IL MIO VIAGGIO A MARRAKECH — Design System
   Base: clean modern minimal
   Accent: warm Moroccan (terracotta / saffron)
   ============================================ */



:root{
  --ink:#20211f;
  --ink-soft:#4b4a45;
  --muted:#7a766d;
  --bg:#faf8f4;
  --surface:#ffffff;
  --border:#e8e2d6;
  --terracotta:#c4551f;
  --terracotta-dark:#9c4118;
  --saffron:#d99a3d;
  --sage:#6b7a6a;
  --cream:#f4ecdd;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1180px;
  --radius: 6px;

  /* Type scale — fluid, with real contrast between display and body sizes */
  --fs-hero: clamp(2.6rem, 3.2vw + 1.6rem, 4.2rem);
  --fs-h2: clamp(1.8rem, 1.4vw + 1.4rem, 2.6rem);
  --fs-h3: clamp(1.15rem, 0.4vw + 1rem, 1.3rem);
  --fs-stat: clamp(2.6rem, 2.6vw + 1.4rem, 3.6rem);
  --fs-num: clamp(1.6rem, 1.2vw + 1.2rem, 2.1rem);
}

*{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  font-size:16px;
  opacity:0;
  transition:opacity .45s ease;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100dvh;
}
main{flex:1 0 auto;}
body.page-loaded{opacity:1;}
@media (prefers-reduced-motion: reduce){
  body{opacity:1; transition:none;}
}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:500;
  line-height:1.08;
  letter-spacing:-0.01em;
  color:var(--ink);
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; right:0; height:3px;
  z-index:200;
  background:transparent;
  pointer-events:none;
}
.scroll-progress-bar{
  height:100%; width:0%;
  background:linear-gradient(90deg, var(--terracotta), var(--saffron));
  transition:width .08s linear;
}
@media (prefers-reduced-motion: reduce){
  .scroll-progress-bar{transition:none;}
}

/* ---------- Header (floating glass pill) ---------- */
header.site-header{
  position:sticky; top:0; z-index:100;
  padding:18px 20px 0;
  background:transparent;
}

.login-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}


.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
  max-width:1180px;
  margin:0 auto;
  padding:10px 14px 10px 22px;
  border-radius:999px;
  background:rgba(255,255,255,0.68);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border:1px solid rgba(255,255,255,0.7);
  box-shadow:0 8px 30px rgba(30,20,10,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
  transition:box-shadow .35s cubic-bezier(.22,1,.36,1), background .35s ease;
}
header.site-header.scrolled .header-inner{
  background:rgba(255,255,255,0.85);
  box-shadow:0 12px 34px rgba(30,20,10,0.13), inset 0 1px 0 rgba(255,255,255,0.6);
}

.logo{display:flex; align-items:center;}
.logo-img{height:32px; width:auto; display:block;}

.desktop-nav{display:flex; align-items:center; gap:26px;}
.desktop-nav a{
  position:relative;
  font-size:13.5px; font-weight:500; color:var(--ink-soft);
  transition:color .2s ease;
  padding-bottom:3px;
  white-space:nowrap;
}
.desktop-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0; width:100%; height:1px;
  background:var(--terracotta);
  transform:scaleX(0); transform-origin:right;
  transition:transform .3s cubic-bezier(.22,1,.36,1);
}
.desktop-nav a:hover{color:var(--terracotta);}
.desktop-nav a:hover::after{transform:scaleX(1); transform-origin:left;}
.desktop-nav a.active{color:var(--terracotta);}
.desktop-nav a.active::after{transform:scaleX(1);}
/* nav.main-nav is the mobile bottom-sheet ONLY — it lives outside <header>
   in the DOM (see partials/header.php) so it's never a descendant of
   .header-inner's backdrop-filter, which would otherwise break its
   position:fixed behavior. Hidden entirely on desktop. */
nav.main-nav{display:none;}
.mobile-nav-divider{display:none;}
.mobile-cta-link{display:none;}
.nav-backdrop{display:none;}
.nav-sheet{display:none;}
.nav-sheet-handle{display:none;}
.nav-sheet-close{display:none;}

.nav-actions{display:flex; align-items:center; gap:14px; flex-shrink:0;}
.btn{
  display:inline-block;
  padding:11px 22px;
  border-radius:999px;
  font-size:13.5px;
  font-weight:600;
  cursor:pointer;
  border:1px solid transparent;
  transition:background .25s cubic-bezier(.22,1,.36,1), color .25s ease, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn:active{transform:translateY(0); transition-duration:.08s;}
.btn-primary{background:var(--ink); color:#fff;}
.btn-primary:hover{background:var(--terracotta-dark); box-shadow:0 10px 22px rgba(196,85,31,0.28);}
.btn-outline{border-color:var(--border); color:var(--ink); background:rgba(255,255,255,0.5);}
.btn-outline:hover{background:var(--ink); color:#fff; box-shadow:0 10px 22px rgba(30,20,10,0.14);}
.btn-light{background:#fff; color:var(--ink); border-radius:3px;}
.btn-light:hover{box-shadow:0 10px 22px rgba(0,0,0,0.14);}
/* Buttons used inline in page content (not the nav pill) keep sharper corners */
section .btn, .cta-band .btn, .price-box .btn, .contact-form .btn{border-radius:3px;}

.mobile-toggle{display:none; background:none; border:none; font-size:20px; cursor:pointer; color:var(--ink);}

/* ---------- Hero ----------
   Same "pull the section up behind the floating nav pill" pattern
   already used by .contact-hero: the sticky header reserves ~90px
   of flow height (desktop) / ~78px (mobile) above this section, so
   without this negative margin the hero's own background/pattern/
   glow would only start *below* the nav instead of running full
   height behind it. Extra top padding pushes the actual copy back
   down clear of the pill. */
.hero{
  margin-top:-90px;
  padding:168px 0 0;
  position:relative;
  overflow:hidden;
}

/* ---------- Hero background pattern ---------- */
.hero-pattern{
  position:absolute;
  inset:0;
  z-index:0;
  background-image:url('pattern-motif.svg');
  background-size:120px 120px;
  opacity:0.11;
  -webkit-mask-image:radial-gradient(ellipse 85% 75% at 50% 25%, #000 0%, transparent 85%);
  mask-image:radial-gradient(ellipse 85% 75% at 50% 25%, #000 0%, transparent 85%);
  pointer-events:none;
}

/* Soft drifting light behind the copy — gives the hero depth/motion
   without competing with the headline for attention. */
.hero-glow{
  position:absolute; top:-120px; right:-100px; z-index:0;
  width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(196,85,31,0.16), rgba(217,154,61,0.10) 45%, transparent 72%);
  filter:blur(10px);
  pointer-events:none;
  animation:hero-glow-drift 16s ease-in-out infinite;
}
@keyframes hero-glow-drift{
  0%, 100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(-26px, 20px) scale(1.06);}
}

/* ---------- Hero layout: asymmetric copy + visual collage ---------- */
.hero-grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  align-items:center;
  gap:52px;
  padding-bottom:56px;
}
.hero-copy{max-width:560px;}

/* ---------- Hero eyebrow (location pin) ---------- */
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:7px;
}
.hero-eyebrow svg{width:13px; height:13px; flex-shrink:0;}
.pulse-dot{
  position:relative;
  width:6px; height:6px; border-radius:50%;
  background:var(--terracotta);
  flex-shrink:0;
}
.pulse-dot::after{
  content:"";
  position:absolute; inset:-4px;
  border-radius:50%;
  border:1.5px solid var(--terracotta);
  animation:pulse-ring 2.2s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes pulse-ring{
  0%{transform:scale(0.6); opacity:0.8;}
  100%{transform:scale(1.8); opacity:0;}
}

/* ---------- Scroll-to-discover hint ---------- */
.scroll-hint{
  display:flex; flex-direction:column; align-items:center; gap:6px;
  margin:0 0 28px;
  font-size:11.5px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--muted);
  opacity:1;
  transition:opacity .4s ease;
  position:relative; z-index:1;
}
.scroll-hint svg{width:16px; height:16px; animation:scroll-hint-bounce 1.8s ease-in-out infinite;}
.scroll-hint.hidden{opacity:0; pointer-events:none;}
@keyframes scroll-hint-bounce{
  0%, 100%{transform:translateY(0);}
  50%{transform:translateY(6px);}
}
@media (prefers-reduced-motion: reduce){
  .scroll-hint svg{animation:none;}
  .pulse-dot::after{animation:none; display:none;}
  .hero-glow{animation:none;}
}
@media (max-width:680px){
  .scroll-hint{display:none;}
  .hero-pattern{opacity:0.09; background-size:90px 90px;}
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--cream); color:var(--terracotta-dark);
  font-size:11.5px; font-weight:700; letter-spacing:0.09em; text-transform:uppercase;
  padding:6px 14px; border-radius:20px; margin-bottom:22px;
}
.hero-title{font-size:var(--fs-hero); letter-spacing:-0.015em; margin-bottom:22px; line-height:1.04;}
.hero-title .hero-line{display:block;}
.hero-title em{font-style:italic; color:var(--terracotta);}
.hero-copy .lead{font-size:17.5px; color:var(--ink-soft); max-width:480px; margin:0 0 32px; line-height:1.65;}
.hero-copy .hero-cta{display:flex; gap:14px; margin-bottom:36px; justify-content:flex-start;}
.hero-copy .hero-trust{display:flex; gap:28px; flex-wrap:wrap; margin-bottom:0; justify-content:flex-start;}
.trust-item{font-size:13px; color:var(--muted); display:flex; align-items:center; gap:6px;}
.trust-item strong{color:var(--ink);}

/* ---------- Hero entrance: staggered fade/slide-in as soon as the
   page has settled (keyed off body.page-loaded, already toggled by
   the existing DOMContentLoaded handler) rather than scroll — the
   hero is already in view on load, so IntersectionObserver never fires
   for it, and we want the reveal the instant the visitor lands. ---------- */
.hero [data-hero-in]{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  transition-delay:calc(var(--d, 0) * 90ms);
}
body.page-loaded .hero [data-hero-in]{
  opacity:1;
  transform:translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .hero [data-hero-in]{transition:opacity .3s ease; transform:none;}
}

/* ---------- Hero visual collage ---------- */
.hero-visual{position:relative; z-index:1;}
.hero-visual-stack{
  position:relative;
  width:100%; max-width:420px;
  margin:0 auto;
  aspect-ratio:4/4.6;
}
.hero-visual-card{
  position:absolute;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 30px 60px rgba(30,20,10,0.22);
  background:var(--cream);
}
.hero-visual-card img{width:100%; height:100%; object-fit:cover; display:block;}
.hero-visual-card-main{top:0; right:0; width:82%; height:88%; z-index:1;}
.hero-visual-card-float{
  left:0; bottom:0; width:50%; height:44%; z-index:2;
  border:5px solid var(--bg);
  animation:hero-float 5.5s ease-in-out infinite;
}
@keyframes hero-float{
  0%, 100%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
}

.hero-badge{
  position:absolute; z-index:3;
  display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,0.7);
  border-radius:16px;
  padding:10px 14px;
  box-shadow:0 14px 32px rgba(30,20,10,0.16);
  font-size:12.5px;
  animation:hero-float 6.5s ease-in-out infinite;
}
.hero-badge-guide{top:6%; right:-4%; animation-delay:.3s;}
.hero-badge-guide .hero-badge-avatar{
  width:34px; height:34px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg, var(--terracotta), var(--saffron));
  color:#fff; font-family:var(--font-display); font-weight:600; font-size:14px;
  display:flex; align-items:center; justify-content:center;
}
.hero-badge-guide strong{display:block; font-size:13px; color:var(--ink);}
.hero-badge-guide span{color:var(--muted); font-size:11px;}
.hero-badge-trust{
  bottom:5%; left:-4%;
  font-weight:700; color:var(--ink);
  animation-delay:1s;
}
.hero-badge-trust svg{width:16px; height:16px; color:#2f9e58; flex-shrink:0;}

@media (prefers-reduced-motion: reduce){
  .hero-visual-card-float, .hero-badge{animation:none;}
}

@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr; gap:40px; padding-bottom:40px;}
  .hero-copy{max-width:600px; margin:0 auto; text-align:center;}
  .hero-copy .lead{margin-left:auto; margin-right:auto;}
  .hero-copy .hero-cta{justify-content:center;}
  .hero-copy .hero-trust{justify-content:center;}
  .hero-visual-stack{max-width:340px;}
  .hero-badge-guide{right:0;}
  .hero-badge-trust{left:0;}
}
@media (max-width:680px){
  .hero-title{font-size:30px;}
  .hero-copy .lead{font-size:15.5px; margin-bottom:24px;}
  .hero-copy .hero-cta{flex-direction:column; align-items:stretch; gap:10px; margin-bottom:26px;}
  .hero-copy .hero-cta .btn{text-align:center; padding:14px 22px; font-size:13.5px;}
  .hero-copy .hero-trust{gap:10px 18px;}
  .trust-item{font-size:12px;}
  .hero{margin-top:-78px; padding:112px 0 0;}
  .hero-grid{gap:28px; padding-bottom:30px;}
  .hero-visual-stack{max-width:230px;}
  .hero-badge{padding:7px 10px; font-size:10.5px; gap:6px;}
  .hero-badge-guide .hero-badge-avatar{width:26px; height:26px; font-size:11px;}
  .eyebrow{margin-bottom:16px; padding:5px 12px; font-size:10.5px;}
}
@media (max-width:400px){
  .hero{padding-top:104px;}
  .hero-title{font-size:27px;}
  .hero-visual-stack{max-width:200px;}
  .hero-badge-trust span{display:none;}
  .hero-badge-trust svg{margin:0;}
}

/* ---------- Hero marquee: infinite auto-scrolling image band ---------- */
.hero-marquee{
  width:100%;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  padding-bottom:76px;
}
.marquee-track{
  display:flex;
  gap:18px;
  width:max-content;
  animation:marquee-scroll 46s linear infinite;
}
.hero-marquee:hover .marquee-track{animation-play-state:paused;}
.marquee-item{
  position:relative;
  flex-shrink:0;
  width:250px;
  aspect-ratio:4/3.2;
  border-radius:16px;
  overflow:hidden;
  background:var(--cream);
}
.marquee-item img{width:100%; height:100%; object-fit:cover; display:block;}
.marquee-item span{
  position:absolute; left:12px; bottom:12px;
  background:rgba(255,255,255,0.92);
  padding:6px 12px; border-radius:20px;
  font-size:12px; font-weight:700; color:var(--ink);
}
@keyframes marquee-scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{animation:none;}
  .hero-marquee{overflow-x:auto;}
}

/* ---------- Sections ---------- */
section{padding:72px 0;}
.section-head{max-width:600px; margin:0 auto 44px; text-align:center;}
.section-head .eyebrow{margin-bottom:14px;}
.section-head h2{font-size:var(--fs-h2); margin-bottom:14px;}
.section-head p{color:var(--muted); font-size:15.5px; line-height:1.6;}
.section-alt{background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.section-dark{background:var(--ink); color:#f4ecdd;}
.section-dark h2, .section-dark h3{color:#fff;}
.section-dark .muted{color:#b7b3a8;}

/* ---------- Category cards ----------
   Bento grid: one big square (spans both rows), two small squares
   stacked beside it top-right, one wide rectangle bottom-right.
   Each card gets its own explicit grid-area — no nth-of-type / auto
   "span" placement, which is what silently overlapped two cards into
   the same cell before (a real, pre-existing bug in this file, not
   something new). Explicit placement can't drift out of sync with
   the markup the way position-based selectors can. */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-template-rows:220px 220px;
  grid-template-areas:
    "feature feature s1 s2"
    "feature feature wide wide";
  gap:18px;
}
.cat-card-feature{grid-area:feature;}
.cat-card-small-1{grid-area:s1;}
.cat-card-small-2{grid-area:s2;}
.cat-card-wide{grid-area:wide;}

.cat-card{
  border-radius:18px; overflow:hidden; position:relative;
  background:var(--cream);
  box-shadow:0 1px 3px rgba(30,20,10,0.06);
  transition:box-shadow .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1);
}
.cat-card:hover{
  box-shadow:0 24px 48px rgba(30,20,10,0.22);
}
.cat-card img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .7s cubic-bezier(.22,1,.36,1), filter .45s ease;
  filter:saturate(0.96);
}
.cat-card:hover img{transform:scale(1.09); filter:saturate(1.08);}

.cat-icon{
  position:absolute; top:16px; left:16px; z-index:2;
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,0.22);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.35);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  transition:background .3s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.cat-icon svg{width:18px; height:18px;}
.cat-card-feature .cat-icon{width:46px; height:46px; top:20px; left:20px;}
.cat-card-feature .cat-icon svg{width:21px; height:21px;}
.cat-card:hover .cat-icon{background:var(--terracotta); transform:scale(1.08) rotate(-6deg); border-color:var(--terracotta);}

.cat-card .overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.02) 30%, rgba(20,15,10,0.86) 100%);
  display:flex; align-items:flex-end; padding:22px;
  transition:background .4s ease;
}
.cat-card:hover .overlay{background:linear-gradient(180deg, rgba(0,0,0,0.08) 20%, rgba(20,15,10,0.92) 100%);}
.cat-card-feature h4{font-size:26px;}
.cat-card h4{color:#fff; font-size:19px; font-weight:500; letter-spacing:-0.01em; transition:transform .4s cubic-bezier(.22,1,.36,1);}
.cat-card .count{color:#e8dfd0; font-size:11.5px; margin-top:3px; letter-spacing:0.03em;}
.cat-card:hover h4{transform:translateY(-2px);}

.cat-cta{
  display:inline-flex; align-items:center; gap:6px;
  color:#fff; font-size:12.5px; font-weight:700; letter-spacing:0.02em;
  margin-top:10px;
  max-height:0; opacity:0; overflow:hidden;
  transition:max-height .4s cubic-bezier(.22,1,.36,1), opacity .35s ease, margin-top .4s ease;
}
.cat-cta svg{width:14px; height:14px; transition:transform .3s cubic-bezier(.22,1,.36,1);}
.cat-card:hover .cat-cta{max-height:24px; opacity:1;}
/* Touch devices have no hover state — keep the CTA permanently visible
   there instead of hiding an interaction cue behind an event that
   will never fire. */
@media (hover:none){
  .cat-cta{max-height:24px; opacity:1; margin-top:8px;}
}
.cat-card:hover .cat-cta svg{transform:translateX(3px);}

/* ---------- Tour cards ---------- */
.tour-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.tour-card{
  background:var(--surface); border:1px solid var(--border); border-radius:10px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:box-shadow .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease;
}
.tour-card:hover{transform:translateY(-5px); box-shadow:0 18px 36px rgba(30,20,10,0.10); border-color:transparent;}
.tour-card .thumb{aspect-ratio:4/3; background:var(--cream); position:relative; overflow:hidden;}
.tour-card .thumb img{width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.22,1,.36,1);}
.tour-card:hover .thumb img{transform:scale(1.05);}
.tour-card .badge{
  position:absolute; top:12px; left:12px;
  background:#fff; font-size:11px; font-weight:700; letter-spacing:0.3px;
  padding:5px 10px; border-radius:20px; color:var(--terracotta-dark);
}
.tour-card .body{padding:20px; display:flex; flex-direction:column; gap:9px; flex:1;}
.tour-card .cat-label{font-size:10.5px; font-weight:700; letter-spacing:0.09em; text-transform:uppercase; color:var(--saffron);}
.tour-card h3{font-size:20px; font-weight:500; letter-spacing:-0.005em; line-height:1.2;}
.tour-card p{font-size:13.5px; color:var(--muted); line-height:1.55; flex:1;}
.tour-card .meta{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:12px; border-top:1px solid var(--border); font-size:13px;
}
.tour-card .price{font-weight:700; color:var(--ink); font-size:16px; letter-spacing:-0.01em;}
.tour-card .price small{font-weight:400; color:var(--muted); font-size:11px;}

/* ---------- Featured tour cards (homepage) ---------- */
.feat-card{
  background:var(--surface); border:1px solid var(--border); border-radius:18px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:box-shadow .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1), border-color .4s ease;
}
.feat-card:hover{
  box-shadow:0 26px 50px rgba(30,20,10,0.18);
  transform:translateY(-5px) scale(1.015);
  border-color:transparent;
}

.feat-carousel{position:relative; aspect-ratio:5/4; overflow:hidden; background:var(--cream);}
.feat-track{display:flex; width:100%; height:100%; transition:transform .5s cubic-bezier(.22,1,.36,1);}
.feat-slide{flex:0 0 100%; width:100%; height:100%; object-fit:cover;}

.feat-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:32px; height:32px; border-radius:50%;
  background:rgba(20,15,10,0.35);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  border:none; color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .3s ease, background .2s ease;
  z-index:3;
}
.feat-nav svg{width:16px; height:16px;}
.feat-nav-prev{left:10px;}
.feat-nav-next{right:10px;}
.feat-carousel:hover .feat-nav{opacity:1;}
.feat-nav:hover{background:rgba(20,15,10,0.6);}

.feat-tags{position:absolute; top:12px; left:12px; z-index:2; display:flex; gap:6px;}
.feat-tag{
  background:rgba(255,255,255,0.85); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  color:var(--ink); font-size:11px; font-weight:700; letter-spacing:0.02em;
  padding:5px 11px; border-radius:20px;
}
.feat-rating{
  position:absolute; top:12px; right:12px; z-index:2;
  display:flex; align-items:center; gap:4px;
  background:rgba(255,255,255,0.85); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  color:var(--ink); font-size:12px; font-weight:700;
  padding:5px 10px; border-radius:20px;
}
.feat-rating svg{width:13px; height:13px; color:var(--saffron);}

.feat-dots{position:absolute; bottom:12px; left:50%; transform:translateX(-50%); z-index:2; display:flex; gap:5px;}
.feat-dot{
  width:6px; height:6px; border-radius:50%; border:none; padding:0; cursor:pointer;
  background:rgba(255,255,255,0.55);
  transition:width .3s ease, background .3s ease;
}
.feat-dot.active{width:16px; border-radius:4px; background:#fff;}

.feat-body{padding:20px; display:flex; flex-direction:column; gap:9px; flex:1;}
.feat-title-row{display:flex; justify-content:space-between; align-items:flex-start; gap:10px;}
.feat-title-row a{color:inherit;}
.feat-title-row h3{font-size:19px; font-weight:500; letter-spacing:-0.005em; transition:color .2s ease;}
.feat-title-row a:hover h3{color:var(--terracotta);}
.feat-top-badge{
  flex-shrink:0; font-size:10.5px; font-weight:700; letter-spacing:0.02em;
  color:var(--terracotta-dark); background:var(--cream);
  border:1px solid var(--saffron); padding:4px 9px; border-radius:20px;
  white-space:nowrap;
}
.feat-meta{font-size:12.5px; color:var(--muted);}
.feat-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  /* Truncate to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Subtle hover effect to show it's clickable */
.feat-desc:hover {
  color: var(--ink-soft);
}

/* Class added by JS to reveal full text */
.feat-desc.expanded {
  -webkit-line-clamp: unset;
}
.feat-footer{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:14px; margin-top:4px; border-top:1px solid var(--border);
}
.feat-price{font-weight:700; color:var(--ink); font-size:16px; letter-spacing:-0.01em;}
.feat-price span{font-weight:400; color:var(--muted); font-size:11px;}
.feat-book-btn{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--ink); color:#fff; font-size:13px; font-weight:600;
  padding:9px 16px; border-radius:999px;
  transition:background .25s ease, transform .25s cubic-bezier(.22,1,.36,1);
}
.feat-book-btn svg{width:14px; height:14px; transition:transform .3s cubic-bezier(.22,1,.36,1);}
.feat-book-btn:hover{background:var(--terracotta-dark);}
.feat-book-btn:hover svg{transform:translateX(3px);}

@media (prefers-reduced-motion: reduce){
  .feat-card, .feat-track, .feat-nav, .feat-dot, .feat-book-btn, .feat-book-btn svg{transition:none;}
}
@media (max-width:680px){
  .feat-nav{opacity:1;}
  .feat-title-row{flex-direction:column; gap:4px;}
}


/* ---------- Filter tabs (tours page) ---------- */
.filter-bar{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; justify-content: center;}
.filter-btn{
  padding:9px 18px; border-radius:20px; border:1px solid var(--border);
  background:#fff; font-size:13px; font-weight:600; color:var(--ink-soft); cursor:pointer;
}
.filter-btn.active{background:var(--ink); color:#fff; border-color:var(--ink);}

/* ---------- Stats / why us ---------- */
.stats-row{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center;}
.stat h3{
  font-size:var(--fs-stat);
  font-style:italic;
  font-weight:500;
  color:var(--terracotta);
  margin-bottom:6px;
  letter-spacing:-0.01em;
}
.stat p{font-size:13px; color:var(--muted); letter-spacing:0.02em;}

/* ---------- Partner strip ---------- */
.partner-strip{
  margin-top:56px; padding-top:44px;
  border-top:1px solid rgba(255,255,255,0.1);
  text-align:center;
}
.partner-label{
  font-size:11px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase;
  color:#948e80; margin-bottom:24px;
}
.partner-logos{display:flex; justify-content:center; align-items:center; gap:56px; flex-wrap:wrap;}
.partner-logo{display:flex; flex-direction:column; align-items:center; gap:10px;}
.partner-logo img{
  width:64px; height:64px; border-radius:50%;
  filter:grayscale(1) brightness(1.6);
  opacity:0.7;
  transition:filter .4s ease, opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.partner-logo:hover img{
  filter:grayscale(0) brightness(1);
  opacity:1;
  transform:scale(1.08);
}
.partner-logo span{
  font-size:12px; color:#b7b3a8; font-weight:500;
  opacity:0; transform:translateY(-4px);
  transition:opacity .3s ease, transform .3s ease;
}
.partner-logo:hover span{color:#fff; opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  .partner-logo img, .partner-logo span{transition:none;}
}
@media (max-width:680px){
  .partner-strip{margin-top:40px; padding-top:32px;}
  .partner-logos{gap:36px;}
  .partner-logo img{width:52px; height:52px;}
  .partner-logo span{opacity:1; transform:none; font-size:11px;}
}

/* ---------- Payment methods ---------- */
.payment-grid{display:flex; flex-wrap:wrap; gap:16px; justify-content:center; text-align:left;}
.payment-chip{
  display:flex; align-items:center; gap:12px;
  background:var(--surface); border:1px solid var(--border); border-radius:14px;
  padding:14px 20px;
  position:relative;
  transition:box-shadow .3s cubic-bezier(.22,1,.36,1), transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}
.payment-chip:hover{
  box-shadow:0 14px 30px rgba(30,20,10,0.1);
  transform:translateY(-3px);
  border-color:transparent;
}
.pay-icon{width:44px; height:44px; border-radius:8px; flex-shrink:0;}
.payment-chip span{font-size:14px; font-weight:600; color:var(--ink);}
.payment-chip-soon{opacity:0.6;}
.payment-chip-soon:hover{transform:none; box-shadow:none; border-color:var(--border);}
.payment-chip-soon em{
  position:absolute; top:-9px; right:12px;
  font-style:normal; font-size:9.5px; font-weight:700; letter-spacing:0.02em;
  background:var(--ink); color:#fff; padding:3px 8px; border-radius:20px;
}
@media (max-width:680px){
  .payment-grid{gap:12px;}
  .payment-chip{padding:12px 16px; flex:1 1 calc(50% - 12px);}
}

/* ---------- How it works (process steps) ---------- */
.process-steps{
  position:relative;
  display:grid; grid-template-columns:repeat(3,1fr); gap:32px;
  margin-top:28px;
}
.process-steps::before{
  content:"";
  position:absolute; top:38px; left:16.6%; right:16.6%; height:0;
  border-top:2px dashed rgba(196,85,31,0.35);
  z-index:0;
}
.process-step{position:relative; text-align:center; padding-top:6px;}
.process-ghost{
  position:absolute; top:-38px; left:50%; transform:translateX(-50%);
  font-family:var(--font-display); font-style:italic; font-weight:500;
  font-size:92px; color:var(--terracotta); opacity:0.07;
  line-height:1; pointer-events:none; z-index:0; user-select:none;
}
.process-icon{
  position:relative; z-index:1;
  width:64px; height:64px; margin:0 auto 20px;
  border-radius:50%; background:var(--surface); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--terracotta);
  box-shadow:0 10px 24px rgba(30,20,10,0.07);
  transition:transform .4s cubic-bezier(.22,1,.36,1), background .3s ease, color .3s ease;
}
.process-icon svg{width:25px; height:25px;}
.process-step:hover .process-icon{
  transform:scale(1.08) translateY(-2px);
  background:var(--terracotta); color:#fff;
}
.process-step h4{font-size:18px; font-weight:500; margin-bottom:8px; letter-spacing:-0.005em;}
.process-step p{font-size:14px; color:var(--muted); line-height:1.6; max-width:270px; margin:0 auto;}

@media (max-width:960px){
  .process-steps{grid-template-columns:1fr; gap:44px; max-width:360px; margin-left:auto; margin-right:auto;}
  .process-steps::before{display:none;}
  .process-ghost{font-size:76px;}
}
@media (max-width:680px){
  .process-ghost{font-size:64px; top:-28px;}
  .process-icon{width:56px; height:56px;}
  .process-icon svg{width:22px; height:22px;}
}


.feature-row{display:grid; grid-template-columns:repeat(3,1fr); gap:32px; text-align:center;}
.feature-item .icon{
  width:44px; height:44px; border-radius:10px; background:var(--cream);
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px; color:var(--terracotta);
  font-size:20px;
}
.feature-item h4{font-size:var(--fs-h3); margin-bottom:9px; font-weight:500; letter-spacing:-0.005em;}
.feature-item p{font-size:14px; color:var(--muted); line-height:1.6;}

/* ---------- Testimonials ---------- */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.testi-card{background:#fff; border:1px solid var(--border); border-radius:10px; padding:28px;}
.stars{color:var(--saffron); font-size:14px; margin-bottom:14px; letter-spacing:0.05em;}
.testi-card p{font-family:var(--font-display); font-style:italic; font-size:15.5px; color:var(--ink-soft); line-height:1.55; margin-bottom:18px;}
.testi-author{display:flex; align-items:center; gap:10px; font-size:13px;}
.testi-author .avatar{width:32px; height:32px; border-radius:50%; background:var(--cream); font-weight:700; display:flex; align-items:center; justify-content:center; color:var(--terracotta-dark); font-size:12px;}

/* ---------- Testimonials: auto-scrolling columns ---------- */
.testi-columns{
  display:flex; justify-content:center; gap:24px; margin-top:44px;
  max-height:640px; overflow:hidden;
  -webkit-mask-image:linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image:linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.testi-col{flex:1 1 0; min-width:0; max-width:360px;}
.testi-photos{display:flex; gap:6px; margin:2px 0 14px;}
.testi-photos img{width:44px; height:44px; border-radius:8px; object-fit:cover; border:1px solid var(--border); flex-shrink:0;}
.testi-col-track{
  display:flex; flex-direction:column; gap:22px;
  animation:testi-scroll var(--testi-duration, 24s) linear infinite;
  will-change:transform;
}
.testi-columns:hover .testi-col-track{animation-play-state:paused;}
@keyframes testi-scroll{
  from{transform:translateY(0);}
  to{transform:translateY(-50%);}
}
.testi-col .testi-card{padding:22px;}
.testi-col .testi-card p{font-size:14.5px; margin-bottom:16px;}
@media (prefers-reduced-motion: reduce){
  .testi-col-track{animation:none;}
}

/* ---------- CTA band ---------- */
.cta-band{
  background:#20211f; color:#fff; border-radius:16px;
  padding:52px 48px; display:flex; justify-content:space-between; align-items:center; gap:24px;
}
.cta-band h2{color:#fff; font-size:clamp(1.6rem, 1.6vw + 1.1rem, 2rem); margin-bottom:9px; letter-spacing:-0.01em;}
.cta-band p{color:#fbe3d2; font-size:14.5px; line-height:1.5;}

/* ---------- Footer ---------- */
footer{background:var(--ink); color:#cfc9bc; padding:56px 0 24px; font-size:13.5px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:40px; text-align:center;}
footer h5{color:#fff; font-size:12px; letter-spacing:0.08em; margin-bottom:16px; text-transform:uppercase;}
footer .flogo{font-family:var(--font-display); font-size:21px; letter-spacing:-0.01em; color:#fff; margin-bottom:12px;}
footer ul{list-style:none;}
footer li{margin-bottom:9px;}
footer a:hover{color:#fff;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12); padding-top:20px;
  display:flex; justify-content:space-between; color:#948e80; font-size:12.5px; flex-wrap:wrap; gap:10px;
}

/* ---------- Page header (inner pages) ---------- */
.page-header .eyebrow{margin-bottom:16px;}
.page-header h1{font-size:clamp(2rem, 2.4vw + 1.2rem, 3.1rem); letter-spacing:-0.015em; text-align: center; margin-top: 47px;}
.page-header p{color:var(--muted); margin-top:14px; font-size:15.5px; line-height:1.6; text-align: center;}

/* ---------- About page ---------- */
.about-split{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.about-visual{border-radius:12px; overflow:hidden; aspect-ratio:4/5;}
.about-visual img{width:100%; height:100%; object-fit:cover;}
.value-list{display:flex; flex-direction:column; gap:24px; margin-top:26px;}
.value-item{display:flex; gap:18px; align-items:flex-start;}
.value-item .num{
  font-family:var(--font-display);
  font-size:var(--fs-num);
  font-style:italic;
  font-weight:500;
  color:var(--terracotta);
  flex-shrink:0;
  line-height:1;
  padding-top:2px;
}

.team-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.team-card{text-align:center;}
.team-card .photo{aspect-ratio:1; border-radius:50%; overflow:hidden; margin:0 auto 16px; width:140px;}
.team-card .photo img{width:100%; height:100%; object-fit:cover;}
.team-card h4{font-size:16px; margin-bottom:2px;}
.team-card p{font-size:13px; color:var(--muted);}

/* ---------- Contact page ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px;}
.contact-info-item{display:flex; gap:16px; margin-bottom:26px;}
.contact-info-item .icon{
  width:42px; height:42px; border-radius:10px; background:var(--cream);
  display:flex; align-items:center; justify-content:center; color:var(--terracotta); flex-shrink:0;
}
.contact-info-item h4{font-size:15px; margin-bottom:3px;}
.contact-info-item p{font-size:13.5px; color:var(--muted);}

form.contact-form{display:flex; flex-direction:column; gap:16px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.contact-form label{font-size:12.5px; font-weight:600; color:var(--ink-soft); display:block; margin-bottom:6px;}
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%; padding:12px 14px; border:1px solid var(--border); border-radius:6px;
  font-family:var(--font-body); font-size:16px; background:#fff; color:var(--ink);
}
.contact-form textarea{min-height:110px; resize:vertical;}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  outline:none; border-color:var(--terracotta);
}
.map-embed{border-radius:10px; overflow:hidden; border:1px solid var(--border); aspect-ratio:16/8;}

/* ---------- Accessibility: skip link + focus states ---------- */
.skip-link{
  position:absolute;
  left:16px; top:-60px;
  background:var(--ink); color:#fff;
  padding:12px 20px;
  border-radius:6px;
  font-size:14px; font-weight:600;
  z-index:1000;
  transition:top .2s ease;
}
.skip-link:focus{top:16px;}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:2px solid var(--terracotta);
  outline-offset:3px;
  border-radius:2px;
}
.btn:focus-visible{outline-offset:3px;}
.tour-card:focus-visible, .cat-card:focus-visible{
  outline:2px solid var(--terracotta);
  outline-offset:2px;
}

/* ---------- Tour detail / booking / price box ---------- */
.tour-hero{aspect-ratio:16/7; border-radius:12px; overflow:hidden; margin-bottom:36px;}
.tour-hero img{width:100%; height:100%; object-fit:cover;}
@media (max-width:680px){
  .tour-hero{aspect-ratio:4/3; margin-bottom:24px;}
}
.tour-detail-grid{display:grid; grid-template-columns:1.6fr 1fr; gap:48px; align-items:start;}
.includes-list{list-style:none; display:flex; flex-direction:column; gap:10px; margin-top:16px;}
.includes-list li{font-size:14px; color:var(--ink-soft); display:flex; gap:10px; align-items:flex-start;}
.includes-list li::before{content:"✓"; color:var(--terracotta); font-weight:700; flex-shrink:0;}
.price-box{border:1px solid var(--border); border-radius:12px; padding:26px; position:sticky; top:100px; background:#fff;}
.price-box .amount{font-family:var(--font-display); font-size:38px; letter-spacing:-0.01em; color:var(--ink);}
.price-box .unit{font-size:13px; color:var(--muted);}
.price-box a {
    color: #ff8c00; /* Replace with your IMVAM brand color */
    font-weight: 600; /* Optional: Makes it stand out a bit more */ }
.breadcrumb{font-size:13px; color:var(--muted); margin-bottom:18px; letter-spacing:0.01em;}
.breadcrumb a{color:var(--muted);}
.breadcrumb a:hover{color:var(--terracotta);}
@media (max-width:900px){ .tour-detail-grid{grid-template-columns:1fr;} .price-box{position:static;} }

/* ---------- Auth pages (login / register) ---------- */
.auth-card{
  max-width:440px; margin:0 auto;
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:36px;
}
.auth-switch{text-align:center; margin-top:20px; font-size:13.5px; color:var(--muted);}
.auth-switch a{color:var(--terracotta); font-weight:600;}

/* ---------- Unified login/signup — liquid glass card ---------- */
.auth-section{position:relative; padding:200px 0 100px; overflow:hidden;}
.auth-orbs{position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none;}
.auth-orb{
  position:absolute; border-radius:50%; filter:blur(60px); opacity:0.45;
  animation:auth-orb-float 16s ease-in-out infinite;
}
.auth-orb-1{width:420px; height:420px; background:var(--terracotta); top:-140px; left:-100px; animation-delay:0s;}
.auth-orb-2{width:360px; height:360px; background:var(--saffron); bottom:-160px; right:-80px; animation-delay:-5s;}
.auth-orb-3{width:280px; height:280px; background:var(--sage); top:40%; left:60%; animation-delay:-10s;}
@keyframes auth-orb-float{
  0%, 100%{transform:translate(0,0) scale(1);}
  50%{transform:translate(30px,-24px) scale(1.08);}
}

.auth-glass{
  position:relative; z-index:1; max-width:460px; margin:0 auto;
  background:rgba(255,255,255,0.55);
  -webkit-backdrop-filter:blur(28px) saturate(180%);
  backdrop-filter:blur(28px) saturate(180%);
  border:1px solid rgba(255,255,255,0.7);
  border-radius:24px;
  padding:36px;
  box-shadow:0 30px 70px rgba(40,24,12,0.16), inset 0 1px 0 rgba(255,255,255,0.85);
}
.auth-glass::before{
  content:""; position:absolute; inset:0; border-radius:24px; pointer-events:none;
  background:linear-gradient(120deg, rgba(255,255,255,0.55), transparent 45%);
}

.auth-toggle{
  position:relative; display:grid; grid-template-columns:1fr 1fr; gap:0;
  background:rgba(255,255,255,0.4); border:1px solid rgba(255,255,255,0.6);
  border-radius:999px; padding:4px; margin-bottom:24px;
}
.auth-toggle-btn{
  position:relative; z-index:1; background:none; border:none; cursor:pointer;
  padding:10px 0; font-family:var(--font-body); font-size:14px; font-weight:600;
  color:var(--ink-soft); border-radius:999px; transition:color .25s ease;
}
.auth-toggle-btn.active{color:var(--ink);}
.auth-toggle-indicator{
  position:absolute; top:4px; left:4px; width:calc(50% - 4px); height:calc(100% - 8px);
  background:#fff; border-radius:999px; box-shadow:0 4px 14px rgba(40,24,12,0.12);
  transition:transform .35s cubic-bezier(.22,1,.36,1);
}
.auth-glass[data-active="register"] .auth-toggle-indicator{transform:translateX(100%);}

.auth-panels{position:relative;}
.auth-panel{display:none;}
.auth-panel.active{display:block; animation:auth-panel-in .35s ease;}
@keyframes auth-panel-in{from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);}}

.auth-panel-lead{font-size:13.5px; color:var(--ink-soft); margin-bottom:20px; text-align:center;}

.auth-form{display:flex; flex-direction:column; gap:16px;}
.auth-field label{font-size:12.5px; font-weight:600; color:var(--ink-soft); display:block; margin-bottom:6px;}
.auth-input-group{position:relative; display:flex; align-items:center;}
.auth-input-icon{
  position:absolute; left:14px; width:17px; height:17px; color:var(--muted); pointer-events:none;
}
.auth-input-group input{
  width:100%; padding:12px 14px 12px 42px; border:1px solid rgba(0,0,0,0.08); border-radius:12px;
  font-family:var(--font-body); font-size:16px; background:rgba(255,255,255,0.7); color:var(--ink);
  transition:border-color .2s ease, background .2s ease;
}
.auth-input-group input:focus{
  outline:none; border-color:var(--terracotta); background:#fff;
}
.auth-input-group input[name="password"],
.auth-input-group input[name="password_confirm"]{padding-right:42px;}
.auth-eye-toggle{
  position:absolute; right:12px; background:none; border:none; cursor:pointer;
  color:var(--muted); padding:4px; display:flex; align-items:center;
}
.auth-eye-toggle svg{width:18px; height:18px;}
.auth-eye-toggle .eye-off{display:none;}
.auth-eye-toggle.is-visible .eye-on{display:none;}
.auth-eye-toggle.is-visible .eye-off{display:block;}
.auth-eye-toggle:hover{color:var(--terracotta);}

.auth-submit{
  width:100%; border:none; cursor:pointer; margin-top:4px;
  padding:13px 0; border-radius:12px; font-family:var(--font-body); font-size:15px; font-weight:700;
  color:#fff; background:linear-gradient(135deg, var(--terracotta), var(--saffron));
  box-shadow:0 12px 26px rgba(196,85,31,0.28);
  transition:transform .2s ease, box-shadow .2s ease;
}
.auth-submit:hover{transform:translateY(-2px); box-shadow:0 16px 32px rgba(196,85,31,0.34);}

@media (prefers-reduced-motion: reduce){
  .auth-orb{animation:none;}
  .auth-panel.active{animation:none;}
}
@media (max-width:680px){
  .auth-section{padding: 160px 0 90px;}
  .auth-glass{padding:26px;}
  .auth-orb{filter:blur(40px);}
}

.form-error-box{
  background:#fbeae2; border:1px solid #e8b39a; color:var(--terracotta-dark);
  border-radius:8px; padding:14px 16px; margin-bottom:20px; font-size:13.5px;
}
.form-error-box p{margin:0;}
.form-error-box p + p{margin-top:6px;}

.info-box{
  background:var(--cream); border-radius:8px; padding:14px 16px;
  margin-bottom:20px; font-size:13.5px; color:var(--ink-soft); line-height:1.5;
}
.info-box a{color:var(--terracotta-dark); font-weight:600;}

/* ---------- Flash banner ---------- */
.flash-banner{padding:14px 0; font-size:14px; font-weight:600; text-align:center;}
.flash-banner.flash-success{background:#eaf3ea; color:#3d6b45;}
.flash-banner.flash-error{background:#fbeae2; color:var(--terracotta-dark);}

/* ---------- Account / booking list ---------- */
.booking-list{display:flex; flex-direction:column; gap:16px;}
.booking-row{
  display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap;
  background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:20px 24px;
}
.booking-row h4{font-size:16px; font-weight:500; margin-bottom:4px;}
.booking-status{text-align:right; display:flex; flex-direction:column; align-items:flex-end;}
.status-pill{
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:0.03em;
  padding:5px 12px; border-radius:20px;
}
.status-pill.status-pending{background:#fbf0dd; color:#9c6f1a;}
.status-pill.status-confirmed{background:#eaf3ea; color:#3d6b45;}
.status-pill.status-cancelled{background:#f1e4e4; color:#8a3d3d;}

.booking-summary{display:flex; flex-direction:column; gap:10px; margin-bottom:20px;}
.booking-summary > div{
  display:flex; justify-content:space-between; align-items:center;
  padding-bottom:10px; border-bottom:1px solid var(--border); font-size:14px;
}
.booking-summary > div span{color:var(--muted);}
.booking-summary > div strong{color:var(--ink); font-weight:600;}

@media (max-width:680px){
  .auth-card{padding:26px;}
  .booking-row{flex-direction:column; align-items:flex-start;}
  .booking-status{align-items:flex-start; text-align:left; width:100%;}
}

/* ---------- Bottom nav (mobile app-style tab bar) ---------- */
.bottom-nav{display:none;}

@media (max-width:680px){
  .bottom-nav{
    display:flex;
    align-items:flex-end;
    justify-content:space-around;
    position:sticky;
    bottom:20px;
    margin:0 18px;
    z-index:140;
    padding:9px 8px calc(9px + env(safe-area-inset-bottom));
    border-radius:30px;
    background:rgba(255,255,255,0.9);
    backdrop-filter:blur(24px) saturate(180%);
    -webkit-backdrop-filter:blur(24px) saturate(180%);
    border:1px solid rgba(255,255,255,0.8);
    box-shadow:0 18px 40px rgba(30,20,10,0.22), 0 4px 12px rgba(30,20,10,0.1), inset 0 1px 0 rgba(255,255,255,0.7);
  }
  .bn-item{
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:3px;
    flex:1;
    padding:7px 2px;
    border-radius:16px;
    background:none; border:none; cursor:pointer;
    color:var(--muted);
    font-family:var(--font-body);
    transition:color .2s ease;
  }
  .bn-item svg{width:22px; height:22px;}
  .bn-item span{font-size:10.5px; font-weight:600; letter-spacing:0.01em;}
  .bn-item.active{color:var(--terracotta);}
  .bn-item.is-active{color:var(--terracotta);}

  .bn-fab{
    flex:0 0 auto;
    width:50px; height:50px;
    margin:-26px 4px 0;
    border-radius:50%;
    background:var(--terracotta);
    color:#fff;
    box-shadow:0 10px 22px rgba(196,85,31,0.4);
    transition:transform .2s cubic-bezier(.22,1,.36,1), background .2s ease;
  }
  .bn-fab svg{width:24px; height:24px;}
  .bn-fab:active{transform:scale(0.92); background:var(--terracotta-dark);}

  /* main no longer needs bottom padding for clearance — .bottom-nav is now
     position:sticky and takes up real space in document flow rather than
     floating over content, so there's nothing to clear. */
}
@media (prefers-reduced-motion: reduce){
  .bn-fab{transition:none;}
}

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.revealed{opacity:1; transform:translateY(0);}

.reveal-scale{
  opacity:0;
  transform:translateY(18px) scale(0.94);
  transition:opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.reveal-scale.revealed{opacity:1; transform:translateY(0) scale(1);}

.reveal-tilt-left{
  opacity:0;
  transform:translateY(20px) rotate(-2.5deg);
  transition:opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal-tilt-left.revealed{opacity:1; transform:translateY(0) rotate(0deg);}

.reveal-tilt-right{
  opacity:0;
  transform:translateY(20px) rotate(2.5deg);
  transition:opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal-tilt-right.revealed{opacity:1; transform:translateY(0) rotate(0deg);}

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-scale, .reveal-tilt-left, .reveal-tilt-right{opacity:1 !important; transform:none !important; transition:none !important;}
  .cat-card, .cat-card img, .tour-card, .tour-card .thumb img, .btn, .desktop-nav a::after, header.site-header{
    transition:none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero-inner{grid-template-columns:1fr;}
  .cat-grid{grid-template-columns:repeat(2,1fr); grid-template-rows:none;}
  .cat-card-feature, .cat-card-small-1, .cat-card-small-2, .cat-card-wide{grid-column:auto; grid-row:auto;}
  .cat-card{aspect-ratio:3/4;}
  .cat-card-wide{grid-column:1 / 3; aspect-ratio:16/9;}
  .tour-grid{grid-template-columns:repeat(2,1fr);}
  .stats-row{grid-template-columns:repeat(2,1fr); gap:28px 20px;}
  .feature-row{grid-template-columns:1fr; gap:24px;}
  .testi-grid{grid-template-columns:1fr;}
  .testi-col-hide-tablet{display:none;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .about-split{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:680px){
  header.site-header{padding:14px 14px 0;}
  .header-inner{
    padding:10px 10px 10px 20px;
    background:#f1f1ef;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    border:none;
    box-shadow:none;
  }
  
  /* Keeps the navbar transparent/glassy on the login page for mobile */
  .login-page .header-inner {
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 30px rgba(30, 20, 10, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  header.site-header.scrolled .header-inner{background:#f1f1ef; box-shadow:0 6px 20px rgba(20,15,10,0.08);}
  .logo-img{height:24px;}
  .desktop-nav{display:none;}
  .nav-actions{display:none;}

  .mobile-toggle{
    display:flex; align-items:center; justify-content:center;
    width:40px; height:40px; border-radius:50%; flex-shrink:0;
  }
  .mobile-toggle svg{width:20px; height:20px;}

  .nav-backdrop{
    display:block; position:fixed; inset:0; z-index:149;
    background:transparent;
    opacity:0; visibility:hidden;
    transition:opacity .3s ease, visibility .3s;
  }
  .nav-backdrop.open{opacity:1; visibility:visible;}

  nav.main-nav{
    display:flex; position:fixed;
    top:14px; left:14px; right:14px; z-index:150;
    flex-direction:column; justify-content:flex-start;
    pointer-events:none;
  }
  nav.main-nav.open{pointer-events:auto;}

  .nav-sheet{
    display:flex; flex-direction:column; align-items:stretch; gap:4px;
    max-height:80vh; max-height:80dvh;
    padding:16px 22px 22px;
    border-radius:28px;
    background:radial-gradient(ellipse 120% 100% at 75% 10%, rgba(196,85,31,0.06), transparent 60%), #f1f1ef;
    box-shadow:0 20px 50px rgba(20,15,10,0.16);
    opacity:0;
    transform:scaleY(0.85) translateY(-6px);
    transform-origin:top;
    transition:opacity .28s cubic-bezier(.22,1,.36,1), transform .32s cubic-bezier(.22,1,.36,1);
    overflow-y:auto; box-sizing:border-box;
  }
  nav.main-nav.open .nav-sheet{opacity:1; transform:scaleY(1) translateY(0);}

  .nav-sheet-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:14px;}
  .nav-sheet-logo .logo-img{height:22px;}
  .nav-sheet-close{
    display:flex; align-items:center; justify-content:center;
    width:32px; height:32px; border-radius:50%;
    background:rgba(30,20,10,0.06); border:none; cursor:pointer; color:var(--ink);
  }
  .nav-sheet-close svg{width:16px; height:16px;}

  nav.main-nav a{
    font-family:var(--font-body);
    font-size:21px; font-weight:700; color:var(--ink);
    padding:10px 4px; width:100%;
    transition:color .2s ease;
  }
  nav.main-nav a:active{color:var(--terracotta);}
  nav.main-nav a.active{color:var(--terracotta-dark);}

  .mobile-nav-divider{display:none;}

  .mobile-cta-link{
    display:block; text-align:center;
    background:var(--ink); color:#fff !important;
    border-radius:999px;
    margin-top:14px; padding:16px 0 !important; font-size:16px !important;
    font-weight:700;
  }

  body.nav-open{overflow:hidden;}
}
@media (prefers-reduced-motion: reduce){
  nav.main-nav, .nav-sheet, .nav-backdrop{transition:none;}
}
@media (max-width:680px){
  .cat-grid{grid-template-columns:1fr; grid-template-rows:none; gap:14px;}
  .cat-card-feature, .cat-card-small-1, .cat-card-small-2, .cat-card-wide{grid-column:auto; grid-row:auto;}
  .cat-card, .cat-card-wide{aspect-ratio:4/3;}
  .tour-grid{grid-template-columns:1fr;}
  .stats-row{grid-template-columns:1fr 1fr; gap:14px;}
  .stat{
    background:var(--surface); border:1px solid var(--border); border-radius:16px;
    padding:16px 10px;
  }
  /* Safety cap so longer values like "4.8/5" never overflow the narrow mobile card */
  .stat h3{font-size:clamp(1.7rem, 7vw, 2.3rem);}
  .cta-band{flex-direction:column; text-align:center; padding:32px 24px;}
  .form-row{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr; gap:28px; text-align:center;}
  .footer-bottom{flex-direction:column; text-align:center; gap:6px;}

  /* Tighten vertical rhythm — desktop spacing feels bloated on small screens */
  section{padding:48px 0;}
  .section-head{margin-bottom:32px;}
  .page-header{padding:36px 0 28px;}
  .cat-card .overlay{padding:14px;}
  .cat-card h4{font-size:16px;}
  .cat-card-feature h4{font-size:19px;}
  .testi-card{padding:16px;}
  .testi-card p{font-size:13px; margin-bottom:12px;}
  .stars{font-size:12px; margin-bottom:10px;}
  .testi-author{font-size:11.5px; gap:8px;}
  .testi-author .avatar{width:26px; height:26px; font-size:10.5px;}
  .testi-photos img{width:34px; height:34px;}
  .testi-columns{gap:10px; max-height:460px;}
  .testi-col-track{gap:14px;}
  .tour-card .body{padding:16px;}
}


/* ---------- Floating WhatsApp chat widget ---------- */
.wa-widget{
  position:fixed; right:20px; bottom:20px; z-index:150;
  display:flex; flex-direction:column; align-items:flex-end; gap:14px;
}

.whatsapp-float{
  width:56px; height:56px; border-radius:50%; flex-shrink:0;
  background:#25D366; color:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(37,211,102,0.4);
  transition:transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
  position:relative;
}
.whatsapp-float:hover{transform:translateY(-3px) scale(1.05); box-shadow:0 14px 32px rgba(37,211,102,0.5);}
.whatsapp-float svg{position:absolute; transition:opacity .2s ease, transform .25s cubic-bezier(.22,1,.36,1);}
.whatsapp-float .wa-icon-close{opacity:0; transform:scale(.5) rotate(-45deg);}
.wa-widget.open .whatsapp-float{background:var(--ink);}
.wa-widget.open .whatsapp-float .wa-icon-chat{opacity:0; transform:scale(.5) rotate(45deg);}
.wa-widget.open .whatsapp-float .wa-icon-close{opacity:1; transform:scale(1) rotate(0);}

/* ---------- Popup card ---------- */
.wa-popup{
  width:320px; max-width:calc(100vw - 40px);
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(22px) saturate(180%); -webkit-backdrop-filter:blur(22px) saturate(180%);
  border:1px solid rgba(255,255,255,0.7);
  border-radius:20px;
  box-shadow:0 24px 60px rgba(30,20,10,0.18), inset 0 1px 0 rgba(255,255,255,0.8);
  overflow:hidden;
  transform-origin:bottom right;
  opacity:0; visibility:hidden; transform:translateY(14px) scale(.94);
  pointer-events:none;
  transition:opacity .28s cubic-bezier(.22,1,.36,1), transform .28s cubic-bezier(.22,1,.36,1), visibility .28s;
}
.wa-widget.open .wa-popup{
  opacity:1; visibility:visible; transform:translateY(0) scale(1); pointer-events:auto;
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float svg, .wa-popup{transition:opacity .15s ease;}
}

.wa-popup-head{
  display:flex; align-items:center; gap:12px;
  padding:16px 16px 14px;
  border-bottom:1px solid var(--border);
}
.wa-popup-avatar{
  width:42px; height:42px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg, var(--terracotta), var(--saffron));
  color:#fff; font-family:var(--font-display); font-weight:600; font-size:17px;
  display:flex; align-items:center; justify-content:center;
}
.wa-popup-headtext{display:flex; flex-direction:column; gap:3px; min-width:0;}
.wa-popup-name{font-weight:700; font-size:14.5px; color:var(--ink);}
.wa-popup-status{display:flex; align-items:center; gap:6px; font-size:11.5px; color:var(--muted);}
.wa-status-dot{width:7px; height:7px; border-radius:50%; background:#25D366; flex-shrink:0; box-shadow:0 0 0 3px rgba(37,211,102,0.18);}
.wa-popup-close{
  margin-left:auto; width:28px; height:28px; border-radius:50%; flex-shrink:0;
  background:transparent; border:none; color:var(--muted); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, color .2s ease;
}
.wa-popup-close:hover{background:var(--cream); color:var(--ink);}
.wa-popup-close svg{width:16px; height:16px;}

.wa-popup-body{padding:16px 16px 4px;}
.wa-bubble{
  background:var(--cream);
  border-radius:14px 14px 14px 4px;
  padding:12px 14px;
  font-size:13.5px; line-height:1.6; color:var(--ink-soft);
}

.wa-popup-actions{display:flex; flex-direction:column; gap:8px; padding:14px 16px 16px;}
.wa-popup-btn{
  display:flex; align-items:center; gap:10px;
  padding:11px 14px; border-radius:12px;
  font-size:13.5px; font-weight:700; color:#fff;
  transition:transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease, opacity .22s ease;
}
.wa-popup-btn:hover{transform:translateY(-2px);}
.wa-popup-btn-whatsapp{background:#25D366; box-shadow:0 8px 20px rgba(37,211,102,0.3);}
.wa-popup-btn-whatsapp:hover{box-shadow:0 12px 26px rgba(37,211,102,0.4);}
.wa-popup-btn-instagram{
  background:linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  box-shadow:0 8px 20px rgba(214,41,118,0.28);
}
.wa-popup-btn-instagram:hover{box-shadow:0 12px 26px rgba(214,41,118,0.38);}

@media (max-width:680px){
  .wa-widget{right:16px; bottom:84px;} /* clears the mobile bottom-nav */
  .whatsapp-float{width:50px; height:50px;}
  .wa-popup{width:288px;}
}

/* ---------- Cookie consent banner ---------- */
.cookie-consent{
  position:fixed; left:0; right:0; bottom:0; z-index:300;
  background:var(--ink); color:#f4ecdd;
  padding:16px 20px;
  box-shadow:0 -8px 30px rgba(0,0,0,0.18);
}
.cookie-consent-inner{
  max-width:var(--container); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.cookie-consent-inner p{font-size:13px; color:#d8d3c6; margin:0; max-width:640px; line-height:1.5;}
.cookie-consent-inner a{color:#fff; text-decoration:underline;}
.cookie-consent-actions{display:flex; gap:10px; flex-shrink:0;}

/* ---------- Legal pages (privacy / terms / cancellation) ---------- */
.legal-content h3{font-size:18px; margin:30px 0 10px;}
.legal-content h3:first-child{margin-top:0;}
.legal-content p{color:var(--ink-soft); font-size:14.5px; line-height:1.7; margin-bottom:6px;}
.legal-content ul{margin:0 0 16px 20px; color:var(--ink-soft); font-size:14.5px; line-height:1.7;}
.legal-content li{margin-bottom:4px;}
.legal-content a{color:var(--terracotta-dark); font-weight:600;}

/* =====================================================================
   CONTACT PAGE — premium glass redesign
   ===================================================================== */

/* ---------- Hero ---------- */
/* The header is sticky (unchanged) so it stays reachable on scroll —
   including on mobile, where losing quick access to the menu/WhatsApp
   link would be a real usability regression. Instead, the hero is pulled
   up behind the header's own (transparent) box with a negative margin,
   so the dot-grid pattern still shows through under the glass nav pill. */
.contact-hero{position:relative; margin-top:-90px; padding:120px 0 50px; overflow:hidden; background:linear-gradient(180deg, var(--cream) 0%, var(--bg) 65%);}
.contact-hero-pattern{
  position:absolute; inset:0; z-index:0;
  background-image:radial-gradient(rgba(32,33,31,0.09) 1px, transparent 1px);
  background-size:26px 26px;
  -webkit-mask-image:radial-gradient(ellipse 70% 65% at 50% 0%, #000 0%, transparent 85%);
  mask-image:radial-gradient(ellipse 70% 65% at 50% 0%, #000 0%, transparent 85%);
  pointer-events:none;
}
.contact-hero-line{
  position:absolute; left:50%; top:0; z-index:0; pointer-events:none;
  width:1px; height:100%;
  background:linear-gradient(180deg, transparent, rgba(196,85,31,0.14) 30%, rgba(196,85,31,0.14) 70%, transparent);
  transform:translateX(-50%);
}

.contact-hero-inner{position:relative; z-index:1; max-width:640px; margin:0 auto; text-align:center;}
.contact-hero-inner h1{font-size:var(--fs-h2); margin:20px 0 16px; line-height:1.08;}
.contact-hero-inner h1 em{font-style:italic; color:var(--terracotta);}
.contact-hero-inner .lead{font-size:16.5px; color:var(--ink-soft); max-width:480px; margin:0 auto; line-height:1.65;}

.contact-trust-row{display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:30px;}
.contact-trust-pill{
  display:inline-flex; align-items:center; gap:7px;
  background:rgba(255,255,255,0.6); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,0.7);
  padding:8px 16px; border-radius:999px;
  font-size:12.5px; font-weight:600; color:var(--ink-soft);
  box-shadow:0 4px 16px rgba(30,20,10,0.05);
}
.contact-trust-pill svg{width:14px; height:14px; color:var(--terracotta); flex-shrink:0;}


/* ---------- Shell / two columns ---------- */
.contact-body{padding-top:20px;}
.contact-shell{display:grid; grid-template-columns:0.85fr 1.15fr; gap:32px; align-items:start;}

/* ---------- Info glass card ---------- */
.contact-info-glass{
  position:sticky; top:110px;
  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(26px) saturate(180%); -webkit-backdrop-filter:blur(26px) saturate(180%);
  border:1px solid rgba(255,255,255,0.7);
  border-radius:22px;
  padding:30px;
  box-shadow:0 24px 60px rgba(40,24,12,0.10), inset 0 1px 0 rgba(255,255,255,0.8);
}
.contact-info-rows{display:flex; flex-direction:column; gap:22px; margin-bottom:24px;}
.contact-info-row{display:flex; gap:14px; align-items:flex-start;}
.contact-icon-chip{
  width:40px; height:40px; border-radius:12px; flex-shrink:0;
  background:rgba(255,255,255,0.7); border:1px solid rgba(255,255,255,0.8);
  display:flex; align-items:center; justify-content:center; color:var(--terracotta-dark);
  box-shadow:0 4px 12px rgba(30,20,10,0.06);
}
.contact-icon-chip svg{width:18px; height:18px;}
.contact-icon-chip-accent{background:#25D366; border-color:#25D366; color:#fff;}
.contact-info-row h4{font-size:13.5px; font-weight:700; margin-bottom:3px; color:var(--ink);}
.contact-info-row p{font-size:13.5px; color:var(--ink-soft); line-height:1.55;}
.contact-info-row a{font-weight:600; color:var(--ink); transition:color .2s ease;}
.contact-info-row a:hover{color:var(--terracotta);}
.muted-inline{color:var(--muted); font-weight:400;}

.contact-whatsapp-cta{
  display:flex; align-items:center; gap:10px;
  background:#25D366; color:#fff;
  padding:14px 18px; border-radius:14px;
  font-size:14px; font-weight:700;
  margin-bottom:22px;
  transition:transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
  box-shadow:0 10px 24px rgba(37,211,102,0.28);
}
.contact-whatsapp-cta:hover{transform:translateY(-2px); box-shadow:0 14px 30px rgba(37,211,102,0.36);}
.contact-whatsapp-cta span{flex:1;}
.contact-whatsapp-cta .cta-arrow{width:16px; height:16px; transition:transform .3s ease;}
.contact-whatsapp-cta:hover .cta-arrow{transform:translateX(3px);}

.contact-map-frame{
  position:relative; aspect-ratio:4/3.1; border-radius:16px; overflow:hidden;
  border:1px solid rgba(255,255,255,0.7);
  box-shadow:0 12px 28px rgba(30,20,10,0.10);
}
.contact-map-frame iframe{display:block;}
.contact-map-tag{
  position:absolute; top:12px; left:12px; z-index:2;
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(255,255,255,0.92); backdrop-filter:blur(8px);
  padding:6px 12px; border-radius:20px;
  font-size:11.5px; font-weight:700; color:var(--ink);
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.contact-map-tag svg{width:13px; height:13px; color:var(--terracotta);}

/* ---------- Form glass card ---------- */
.contact-form-glass{
  position:relative;
  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(26px) saturate(180%); -webkit-backdrop-filter:blur(26px) saturate(180%);
  border:1px solid rgba(255,255,255,0.7);
  border-radius:22px;
  padding:38px;
  box-shadow:0 24px 60px rgba(40,24,12,0.10), inset 0 1px 0 rgba(255,255,255,0.8);
}
.contact-form-title{font-size:22px; margin-bottom:6px;}
.contact-form-sub{font-size:14px; color:var(--muted); margin-bottom:26px; line-height:1.5;}

.field-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.field{margin-bottom:16px;}
.field label{display:block; font-size:12px; font-weight:700; letter-spacing:0.02em; color:var(--ink-soft); margin-bottom:7px;}
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px;
  border:1px solid rgba(30,20,10,0.12);
  background:rgba(255,255,255,0.75);
  border-radius:12px;
  font-family:var(--font-body); font-size:16px; color:var(--ink);
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder{color:#b3ac9d;}
.field textarea{min-height:120px; resize:vertical;}
.field input:hover, .field select:hover, .field textarea:hover{border-color:rgba(30,20,10,0.2);}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--terracotta); background:#fff;
  box-shadow:0 0 0 4px rgba(196,85,31,0.12);
}
.field select{cursor:pointer; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a766d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px; padding-right:40px;
}

.contact-submit-btn{
  position:relative; width:100%;
  background:var(--ink); color:#fff; border:none;
  padding:15px 20px; border-radius:14px;
  font-family:var(--font-body); font-size:15px; font-weight:700; letter-spacing:0.01em;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .25s ease, transform .2s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
  margin-top:6px;
}
.contact-submit-btn:hover{background:var(--terracotta-dark); box-shadow:0 12px 26px rgba(196,85,31,0.28); transform:translateY(-2px);}
.contact-submit-btn:active{transform:translateY(0);}
.contact-submit-btn:disabled{cursor:default; opacity:0.85; transform:none;}
.contact-submit-btn .btn-spinner{
  display:none; width:17px; height:17px; margin-left:10px;
  border:2px solid rgba(255,255,255,0.35); border-top-color:#fff; border-radius:50%;
  animation:contact-spin .7s linear infinite;
}
.contact-submit-btn.is-loading .btn-label{opacity:0.75;}
.contact-submit-btn.is-loading .btn-spinner{display:inline-block;}
@keyframes contact-spin{to{transform:rotate(360deg);}}

.contact-form-privacy{font-size:11.5px; color:var(--muted); text-align:center; margin-top:14px;}
.contact-form-privacy a{color:var(--terracotta-dark); font-weight:600;}

.contact-status{
  display:flex; align-items:center; gap:10px;
  background:#fbeae2; border:1px solid #e8b39a; color:var(--terracotta-dark);
  border-radius:12px; padding:13px 16px; margin-bottom:20px; font-size:13.5px; font-weight:600;
}

/* ---------- Success panel ---------- */
.contact-success-panel{text-align:center; padding:26px 10px 10px;}
.contact-success-check{
  width:64px; height:64px; border-radius:50%; margin:0 auto 20px;
  background:linear-gradient(135deg, var(--terracotta), var(--saffron));
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  animation:contact-success-pop .5s cubic-bezier(.22,1.4,.36,1);
}
.contact-success-check svg{width:30px; height:30px;}
@keyframes contact-success-pop{
  0%{transform:scale(0); opacity:0;}
  70%{transform:scale(1.12); opacity:1;}
  100%{transform:scale(1);}
}
.contact-success-panel h3{font-size:22px; margin-bottom:10px;}
.contact-success-panel p{color:var(--muted); font-size:14.5px; max-width:380px; margin:0 auto 26px; line-height:1.6;}
.contact-success-actions{display:flex; gap:12px; justify-content:center; flex-wrap:wrap;}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .contact-shell{grid-template-columns:1fr;}
  .contact-info-glass{position:static;}
  .contact-form-glass{order:-1;}
}
@media (max-width:680px){
  .contact-hero{margin-top:-78px; padding:98px 0 34px;}
  .contact-page body{overflow-x:hidden; overscroll-behavior-x:none;}
  .contact-hero-inner .lead{font-size:15px;}
  .contact-body{padding-top:8px;}
  .contact-shell{gap:16px;}
  .contact-form-glass{padding:22px;}
  .contact-info-glass{padding:20px;}
  .contact-form-title{font-size:19px;}
  .contact-form-sub{font-size:13.5px; margin-bottom:20px;}
  .field-row{grid-template-columns:1fr; gap:0;}
  .field{margin-bottom:14px;}
  .field input, .field select, .field textarea{padding:12px 14px;}
  .contact-submit-btn{padding:16px 20px; font-size:14.5px;}
  .contact-trust-row{gap:8px;}
  .contact-trust-pill{font-size:11.5px; padding:7px 13px;}
  .contact-whatsapp-cta{padding:13px 16px; font-size:13.5px;}
  .contact-map-frame{aspect-ratio:16/10; min-height:200px;}
  .contact-success-actions{flex-direction:column;}
  .contact-success-actions .btn{width:100%; text-align:center;}
  .contact-info-row h4{font-size:13px;}
  .contact-info-row p{font-size:13px;}
}
@media (max-width:380px){
  .contact-hero-inner h1{font-size:1.6rem;}
  .contact-form-glass{padding:18px;}
  .contact-info-glass{padding:16px;}
  .testi-col-hide-mobile{display:none;}
  .testi-columns{max-height:480px;}
  .testi-card{padding:18px;}
  .testi-card p{font-size:14px;}
  .contact-trust-pill{font-size:11px; padding:6px 11px;}
  .contact-icon-chip{width:36px; height:36px;}
  .contact-icon-chip svg{width:16px; height:16px;}
}

/* The embedded Google Map otherwise grabs a one-finger swipe and pans
   itself instead of letting the page scroll — very easy to get "stuck"
   on it while scrolling with a thumb. This overlay blocks map interaction
   until the person deliberately taps it once. */
.contact-map-frame{touch-action:pan-y;}
.contact-map-tap-guard{
  position:absolute; inset:0; z-index:3; background:transparent; cursor:pointer;
}
@media (min-width:901px){ .contact-map-tap-guard{display:none;} }







/* ---------- Blur-up image loading (prevents pop-in / layout flash) ---------- */
main img:not(.logo-img){
  opacity:0;
  background:linear-gradient(100deg, var(--cream) 8%, #efe6d4 18%, var(--cream) 33%);
  background-size:200% 100%;
  animation:img-shimmer 1.4s ease-in-out infinite;
  transition:opacity .5s ease;
}
main img:not(.logo-img).img-loaded{
  opacity:1; animation:none; background:none;
}
@keyframes img-shimmer{
  0%{background-position:200% 0;}
  100%{background-position:-200% 0;}
}
@media (prefers-reduced-motion: reduce){
  main img:not(.logo-img){animation:none; opacity:1; background:none;}
}

/* ---------- Magnetic primary CTAs ---------- */
.magnetic{
  transition:transform .35s cubic-bezier(.22,1,.36,1), background .25s ease, box-shadow .25s ease;
  will-change:transform;
}

/* ---------- Subtle custom cursor (desktop only) ---------- */
.cursor-dot, .cursor-ring{
  position:fixed; top:0; left:0; border-radius:50%;
  pointer-events:none; z-index:9999; transform:translate(-50%,-50%);
}
.cursor-dot{width:6px; height:6px; background:var(--terracotta);}
.cursor-ring{
  width:34px; height:34px; border:1.5px solid rgba(196,85,31,0.4);
  transition:width .25s cubic-bezier(.22,1,.36,1), height .25s cubic-bezier(.22,1,.36,1), border-color .25s ease, background .25s ease;
}
.cursor-ring.is-active{
  width:52px; height:52px; border-color:var(--terracotta); background:rgba(196,85,31,0.06);
}
body.custom-cursor-on{cursor:none;}
body.custom-cursor-on a, body.custom-cursor-on button{cursor:none;}
@media (hover:none), (pointer:coarse){
  .cursor-dot, .cursor-ring{display:none !important;}
}