:root{
  --bg: #fbfaf7;
  --card: #ffffff;
  --ink: #1b1b1b;
  --muted: #5a5a5a;
  --line: rgba(0,0,0,.08);
  --accent: #8934eb; /* deep green */
  --accent2:#c86a7a; /* blush */
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --max: 1100px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: radial-gradient(1200px 700px at 25% -10%, rgba(200,106,122,.12), transparent 55%),
              radial-gradient(1200px 700px at 85% 0%, rgba(31,75,58,.10), transparent 55%),
              var(--bg);
  line-height:1.5;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(251,250,247,.75);
  border-bottom:1px solid var(--line);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}
.brand{display:flex; align-items:center; gap:10px; font-weight:700}
.brand .mark{
  width:34px; height:34px; border-radius:12px;
  background: conic-gradient(from 200deg, rgba(31,75,58,.95), rgba(200,106,122,.95), rgba(31,75,58,.95));
  box-shadow: 0 8px 20px rgba(31,75,58,.18);
}
.nav-links{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.nav-links a:not(.btn){padding:8px 10px; border-radius:12px; color:rgba(0,0,0,.78)}
.nav-links a:not(.btn):hover{background:rgba(0,0,0,.04)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: var(--card);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  font-weight:600;
  gap:10px;
}
.btn:hover{transform: translateY(-1px)}
.btn-primary{
  color:white;
  background: linear-gradient(180deg, rgba(137,52,235,0.98), rgba(137,52,235,0.86));
  border:1px solid rgba(137,52,235,0.55);
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}
.btn-primary:hover{filter:brightness(1.04)}
.btn-primary:hover{filter: brightness(1.05)}
.btn-outline{ color: var(--accent); background: rgba(137,52,235,0.10); border:1px solid rgba(137,52,235,0.30); }
.btn-outline:hover{ background: rgba(137,52,235,0.16); }
.btn-soft{
  color: var(--accent);
  background: rgba(137,52,235,0.10);
  border:1px solid rgba(137,52,235,0.28);
}
.hero{
  position: relative;
  padding: 34px 0 18px;
}

.hero-copy .btn-outline{background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.26); color:#fff}
.hero-copy .btn-soft{background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.28); color:#fff}
.hero-grid{
  display:grid;
  grid-template-columns: 1.4fr .6fr;
  gap:18px;
  align-items:stretch;
}
.hero-grid > .hero-card:first-child{display:flex; flex-direction:column}
.hero-grid > .hero-card:first-child .hero-card{
  color: var(--ink);

  border:1px solid var(--line);
  background: rgba(255,255,255,.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
/* Hotfix: keep overlay behind hero content (prevents buttons from being blocked) */
.hero-media > *{position:relative; z-index:1;}

.hero-media{
  flex:1 1 auto;
  position:relative;
  overflow:hidden;
  min-height: clamp(560px, 76vh, 860px);
  background:
    linear-gradient(120deg, rgba(137,52,235,0.10), rgba(200,106,122,0.12)),
    url("/assets/img/hero_desktop.jpg") center/cover no-repeat;
}

@media (max-width: 820px){
  .hero-media{
    min-height: clamp(420px, 54vh, 680px);
    background:
      linear-gradient(120deg, rgba(137,52,235,0.10), rgba(200,106,122,0.12)),
      url("/assets/img/hero_mobile.jpg") center/cover no-repeat;
  }
}

.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.35), transparent 60%);
  pointer-events:none;
  z-index:0;
}
.hero-copy{
  position:absolute; left:18px; right:18px; bottom:16px;
  color:white;

  z-index:1;
  pointer-events:auto;
}
.kicker{font-size:13px; letter-spacing:.12em; text-transform:uppercase; opacity:.95}
h1{
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  margin:6px 0 6px;
  line-height:1.1;
}
.lede{font-size:16px; opacity:.95; max-width:58ch; margin:0}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.card-pad{padding:18px}
.section{padding: 18px 0}
.section h2{
  font-family:"Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.5vw, 32px);
  margin:0 0 10px;
}
.muted{color:var(--muted)}
.note{color:var(--muted); font-size:14px; padding:10px 0;}
.grid-3{display:grid; grid-template-columns: repeat(3,1fr); gap:12px}
.grid-2{display:grid; grid-template-columns: repeat(2,1fr); gap:12px}
.tile{
  border:1px solid var(--line);
  background: rgba(255,255,255,.72);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
  overflow:hidden;
}
.tile .thumb{height:150px; background: linear-gradient(120deg, rgba(31,75,58,.10), rgba(200,106,122,.14));
  background-size: cover;
  background-position: center;
}
.tile .content{padding:14px}
.badge{
  display:inline-flex; align-items:center;
  padding:6px 10px; border-radius:999px;
  background: rgba(31,75,58,.08);
  border:1px solid rgba(31,75,58,.16);
  color: var(--accent);
  font-size:12px; font-weight:600;
}
.form{
  display:grid; gap:10px;
}
.field{
  display:grid; gap:6px;
}
label{font-size:13px; color:rgba(0,0,0,.72); font-weight:600}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  font: inherit;
}
textarea{min-height:120px; resize:vertical}
.help{font-size:12px; color:rgba(0,0,0,.58)}
.split{
  display:grid; grid-template-columns: 1fr 1fr; gap:10px;
}
.hr{height:1px; background:var(--line); margin:16px 0}
.footer{
  padding: 26px 0 80px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.45);
}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:14px}
.small{font-size:13px}
.pills{display:flex; flex-wrap:wrap; gap:8px; margin-top:8px}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.7);
  color: var(--ink);
}
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0;
  background: rgba(251,250,247,.92);
  backdrop-filter: blur(10px);
  border-top:1px solid var(--line);
  padding:10px 12px;
  z-index:60;
}
.sticky-cta .row{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px; max-width:var(--max); margin:0 auto}
.icon{width:18px; height:18px; display:inline-block}
.notice{
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.75);
  color: var(--ink);
  border-radius: var(--radius);
  padding:12px 14px;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
}/* Language switcher */
.lang{display:flex; gap:6px; align-items:center; margin-left:6px}
.lang a{
  font-size:12px;
  padding:6px 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.65);
  color: rgba(0,0,0,.75);
}
/* --- v37: Language active contrast fix --- */
.lang a.active{
  background: rgba(137,52,235,.16) !important;
  border-color: rgba(137,52,235,.42) !important;
  color: rgba(0,0,0,.88) !important;
}
.lang a.active:hover{
  background: rgba(137,52,235,.20) !important;
  border-color: rgba(137,52,235,.52) !important;
  color: rgba(0,0,0,.88) !important;
}
@media (max-width: 720px){
  }

/* Gallery */
.gallery-grid{gap:14px}
.gallery-tile{display:block; overflow:hidden}
.gallery-tile .thumb{height:240px}
.gallery-tile .thumb img{width:100%; height:100%; object-fit:cover}
.gallery-empty{padding:14px; border:1px dashed var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55)}
@media (max-width: 860px){
  .gallery-tile .thumb{height:220px}
}


.hero-card{height:100%;}
/* Premium button feel (accent purple) */
.btn-primary{
  background: var(--accent);
  border-color: rgba(0,0,0,.0);
  box-shadow: 0 12px 26px rgba(137,52,235,.22);
}
.btn-primary:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.btn-primary:active{ transform: translateY(0); }
.btn-outline{ border-color: rgba(137,52,235,.35); color: var(--accent); background: rgba(255,255,255,.55); }
.btn-outline:hover{ background: rgba(137,52,235,.10); }
.btn-soft{ color: var(--accent); background: rgba(137,52,235,0.10); border:1px solid rgba(137,52,235,0.28); }
.btn-soft:hover{ background: rgba(137,52,235,0.16); }

/* Lightbox (gallery carousel) */
.no-scroll{ overflow: hidden; }
.lightbox{
  position:fixed; inset:0;
  display:none;
  z-index:9999;
}
.lightbox.open{ display:block; }
.lightbox-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.72);
}
.lightbox-inner{
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 16px;
}
.lightbox-figure{
  max-width: min(980px, 96vw);
  max-height: 86vh;
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.lightbox-img{
  max-width: 100%;
  max-height: 76vh;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  background: rgba(255,255,255,.05);
}
.lightbox-caption{
  color: rgba(255,255,255,.88);
  font-size: 13px;
}
.lightbox-close{
  position:absolute;
  top: 14px;
  right: 14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.28);
  color:#fff;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
}
.lightbox-nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.28);
  color:#fff;
  font-size: 26px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lightbox-nav.prev{ left: 14px; }
.lightbox-nav.next{ right: 14px; }
.lightbox-nav:disabled{ opacity:.35; cursor:not-allowed; }
@media (max-width: 640px){
  .lightbox-nav.prev{ left: 8px; }
  .lightbox-nav.next{ right: 8px; }
  .lightbox-close{ top: 10px; right: 10px; }
}


/* === WOW polish (v21) =================================================== */
:root{
  --accentGlow: rgba(137,52,235,.32);
  --glass: rgba(255,255,255,.72);
  --glass2: rgba(255,255,255,.56);
  --shadow2: 0 18px 50px rgba(0,0,0,.10);
}

/* Smoothness + premium feel */
body{
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sticky, glassy header */
.header{
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--glass), transparent 25%);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav{padding: 12px 0;}
.nav-links a{opacity:.92}
.nav-links a:hover{opacity:1}
.brand{gap:10px}
.brand-text{font-weight:700; letter-spacing:-.01em}

/* Use real brand mark image */
.mark{
  width:34px;
  height:34px;
  border-radius:12px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(255,255,255,.55), transparent 60%),
    url("/assets/img/brand-mark.jpg") center/cover no-repeat;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.10);
}

/* Buttons: clearer focus + nicer hover */
.btn{
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:focus-visible{
  outline: 3px solid var(--accentGlow);
  outline-offset: 2px;
}
.btn-primary{
  background: linear-gradient(180deg, rgba(137,52,235,1), rgba(137,52,235,.86));
  box-shadow: 0 16px 38px rgba(137,52,235,.22), 0 10px 26px rgba(0,0,0,.12);
}
.btn-primary:hover{
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.btn-outline{
  background: color-mix(in srgb, var(--glass2), transparent 15%);
  border-color: rgba(0,0,0,.10);
}
.btn-outline:hover{transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.08)}
.btn-soft:hover{transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.06)}

/* Hero goes taller + more cinematic */
.hero{padding: 26px 0 18px;}
.hero-media{
  min-height: clamp(640px, 86vh, 980px);
  box-shadow: var(--shadow2);
}
@media (max-width: 820px){
  .hero-media{min-height: clamp(520px, 72vh, 820px);}
}
.hero-media::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(900px 420px at 35% 10%, rgba(255,255,255,.16), transparent 55%),
              radial-gradient(700px 420px at 88% 20%, rgba(137,52,235,.18), transparent 55%);
  mix-blend-mode: overlay;
  pointer-events:none;
  z-index:0;
}
.hero-copy{
  left:20px; right:20px; bottom:18px;
}
.hero .btn-outline, .hero-copy .btn-soft{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Cards feel more premium */
.card, .hero-card, .tile, .step, .panel{
  box-shadow: var(--shadow2);
}
.card:hover, .tile:hover, .step:hover{
  transform: translateY(-2px);
}

/* Reveal animation (JS adds .is-visible) */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce){
  .btn, .card, .tile, .step{transition:none}
  .reveal{opacity:1; transform:none}
}

/* Gallery: reduce layout shift + better hover */
.gallery-grid img{
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
}
.gallery-grid a:hover img{
  transform: scale(1.01);
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
}

/* Footer: more contrast */
.footer{
  background: rgba(15,15,20,.94);
  color: rgba(255,255,255,.90);
}
.footer a{color: inherit}
.footer .muted{color: rgba(255,255,255,.70)}

/* Small button variant (used in 404 header) */
.btn-sm{padding:9px 12px; border-radius:12px; font-size:14px}


/* --- Contrast fixes (v22) --- */
.hero-copy .btn-soft{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.hero-copy .btn-soft:hover{ background: rgba(255,255,255,.28); }
.hero-copy .btn-outline{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.26);
  color:#fff;
}
.nav-links a.btn-primary{ color:#fff; }


.hero-card .btn-outline{
  background: rgba(137,52,235,0.12);
  border-color: rgba(137,52,235,0.34);
  color: var(--accent);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.hero-card .btn-outline:hover{ background: rgba(137,52,235,0.18); }


.form .btn-outline{
  background: rgba(137,52,235,0.12);
  border-color: rgba(137,52,235,0.34);
  color: var(--accent);
}
.form .btn-outline:hover{ background: rgba(137,52,235,0.18); }


a.btn.btn-primary{ color:#fff !important; }


/* --- v24: WhatsApp button prominence + datepicker --- */
.hero-card .btn-outline[data-send-via="whatsapp"]{
  background: rgba(137,52,235,0.16);
  border-color: rgba(137,52,235,0.45);
  color: #2d145b;
  font-weight: 650;
}
.hero-card .btn-outline[data-send-via="whatsapp"]:hover{
  background: rgba(137,52,235,0.22);
}

/* Pills + notice always readable (even if parent sets color) */
.notice, .pill, .help{ color: var(--ink); }
.help a{ color: var(--accent); font-weight: 650; }

/* Custom datepicker */
.datepick{ cursor:pointer; }
.dp-pop{
  position:fixed; z-index:200;
  width: 320px;
  max-width: calc(100vw - 24px);
  background: rgba(255,255,255,.96);
  border:1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  overflow:hidden;
}
.dp-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 12px;
  background: linear-gradient(135deg, rgba(137,52,235,0.14), rgba(200,106,122,0.10));
  border-bottom:1px solid rgba(0,0,0,.06);
}
.dp-title{ font-weight:750; letter-spacing:-.01em; }
.dp-nav{ display:flex; gap:6px; }
.dp-btn{
  width:34px; height:34px; border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  cursor:pointer;
}
.dp-btn:hover{ background: rgba(255,255,255,.92); }
.dp-week{
  display:grid; grid-template-columns: repeat(7, 1fr);
  padding:10px 12px 6px;
  gap:6px;
  color: rgba(0,0,0,.55);
  font-size: 12px;
  text-align:center;
}
.dp-grid{
  display:grid; grid-template-columns: repeat(7, 1fr);
  padding:6px 12px 12px;
  gap:6px;
}
.dp-day{
  height:38px;
  border-radius: 12px;
  border:1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.75);
  cursor:pointer;
  display:grid; place-items:center;
  font-weight: 650;
  color: rgba(0,0,0,.86);
}
.dp-day:hover{ background: rgba(137,52,235,0.14); border-color: rgba(137,52,235,0.22); }
.dp-day.is-muted{ opacity:.45; font-weight:600; }
.dp-day.is-selected{
  background: rgba(137,52,235,0.22);
  border-color: rgba(137,52,235,0.45);
}
.dp-foot{
  display:flex; justify-content:space-between; gap:10px;
  padding:10px 12px 12px;
  border-top:1px solid rgba(0,0,0,.06);
}
.dp-link{
  border:0; background:transparent; cursor:pointer;
  color: var(--accent); font-weight: 750;
  padding:8px 10px; border-radius: 12px;
}
.dp-link:hover{ background: rgba(137,52,235,0.10); }


/* --- v25: Brand icon + extra WOW polish --- */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-mark{
  width:34px;
  height:34px;
  border-radius:12px;
  object-fit:cover;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
  border:1px solid rgba(255,255,255,.55);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.brand:hover .brand-mark{
  transform: translateY(-1px) rotate(-1deg);
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
  filter: saturate(1.05) contrast(1.02);
}

/* A touch more premium motion in hero */
.hero::before{
  content:"";
  position:absolute;
  inset:-40px -80px auto -80px;
  height: 260px;
  background: radial-gradient(closest-side, rgba(137,52,235,.24), rgba(137,52,235,0));
  filter: blur(6px);
  animation: efGlow 7.5s ease-in-out infinite;
  pointer-events:none;
}
@keyframes efGlow{
  0%,100%{ transform: translateY(0px) translateX(0px); opacity:.78; }
  50%{ transform: translateY(10px) translateX(14px); opacity:.92; }
}

/* Datepicker disabled day */
.dp-day.is-disabled{
  opacity:.28;
  cursor:not-allowed;
  background: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.05);
}
.dp-day.is-disabled:hover{
  background: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.05);
}


/* --- v26: Footer tile + pills readability (dark text on light chips/tiles) --- */
.footer .pills .pill{
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.18);
  color: rgba(0,0,0,.88) !important;
}
.footer .pills .pill:hover{
  background: rgba(255,255,255,1);
}

.footer .tile{
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.20);
  color: rgba(0,0,0,.88);
}
.footer .tile .muted{ color: rgba(0,0,0,.62) !important; }
.footer .tile a:not(.btn){ color: rgba(0,0,0,.88); }

/* Keep button text high contrast inside footer tiles */
.footer .tile .btn.btn-primary{ color:#fff !important; }


/* --- v28: Fix mobile sticky bar overflow + stronger footer readability --- */
.sticky-cta{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.sticky-cta .row{padding:0 2px; box-sizing:border-box;}
.sticky-cta .row > .btn{
  min-width: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html, body{ overflow-x: hidden; }

/* Footer: force dark text on light cards/chips */
.footer .pills .pill,
.footer .pills a.pill,
.footer a.pill{
  color: rgba(0,0,0,.88) !important;
  background: rgba(255,255,255,.92) !important;
}
.footer .tile,
.footer .tile *{
  color: rgba(0,0,0,.88) !important;
}
.footer .tile .muted,
.footer .tile ul.muted,
.footer .tile ul.muted li{
  color: rgba(0,0,0,.62) !important;
}


/* --- v32: Mobile header (hamburger menu) --- */
.nav-toggle{
  display:none;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
  align-items:center;
  justify-content:center;
  gap:4px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:18px;
  height:2px;
  border-radius:2px;
  background: rgba(0,0,0,.72);
}
.nav-toggle:hover{ background: rgba(255,255,255,.88); }

@media (max-width: 820px){
  .nav-inner{ padding:10px 0; }
  .brand span{ font-size: 15px; }
  .nav-toggle{ display:inline-flex; }

  /* Turn the link row into a slide-down menu */
  .nav-links{
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    margin: 0;
    background: rgba(251,250,247,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 60px rgba(0,0,0,.12);
    max-height: calc(100vh - 64px);
    overflow: auto;

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav.nav-open .nav-links{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a:not(.btn){
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(0,0,0,.06);
  }
  .nav-links a:not(.btn):hover{ background: rgba(255,255,255,.92); }

  .nav-links .btn.btn-primary{
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .lang{
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 2px;
  }
}


/* --- v33: Header shadow on scroll + animated hamburger + active nav link --- */
.nav{
  transition: box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.nav.is-scrolled{
  background: rgba(251,250,247,.92);
  box-shadow: 0 18px 48px rgba(0,0,0,.10);
  border-bottom-color: rgba(0,0,0,.08);
}

/* Hamburger -> X transition */
.nav-toggle span{
  transition: transform .18s ease, opacity .18s ease;
  transform-origin: center;
}
.nav.nav-open .nav-toggle span:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}
.nav.nav-open .nav-toggle span:nth-child(2){
  opacity: 0;
}
.nav.nav-open .nav-toggle span:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}

/* Active page highlight */
.nav-links a.is-active:not(.btn){
  border-color: rgba(137,52,235,.28) !important;
  background: rgba(137,52,235,.10) !important;
  color: rgba(0,0,0,.86);
}
@media (max-width: 820px){
  .nav-links a.is-active:not(.btn){
    background: rgba(137,52,235,.14) !important;
    border-color: rgba(137,52,235,.38) !important;
  }
}


/* --- v34: Mobile header layout fix (ensure hamburger is always visible) --- */
@media (max-width: 820px){
  .nav-inner{
    gap: 10px;
  }
  .nav-inner .brand{
    min-width: 0;            /* allow flex shrink */
    flex: 1 1 auto;
  }
  .nav-inner .brand span{
    display:block;
    min-width: 0;
    max-width: 62vw;         /* keep space for hamburger */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-toggle{
    flex: 0 0 auto;
  }
}

@media (max-width: 360px){
  .nav-inner .brand span{
    max-width: 56vw;
  }
  .brand-mark{ width:32px; height:32px; border-radius: 11px; }
}


/* --- v35: Force hamburger visible on mobile (safety) --- */
@media (max-width: 820px){
  .nav-toggle{ display:inline-flex !important; }
}


/* --- v36: Proper hamburger -> X (stacked lines) --- */
.nav-toggle{
  position: relative;
  gap: 0; /* override earlier flex gap */
}
.nav-toggle span{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}
.nav-toggle span:nth-child(1){ transform: translate(-50%,-8px); }
.nav-toggle span:nth-child(2){ transform: translate(-50%,-1px); }
.nav-toggle span:nth-child(3){ transform: translate(-50%, 6px); }

/* Open state */
.nav.nav-open .nav-toggle span:nth-child(1){
  transform: translate(-50%,-50%) rotate(45deg);
}
.nav.nav-open .nav-toggle span:nth-child(2){
  opacity: 0;
}
.nav.nav-open .nav-toggle span:nth-child(3){
  transform: translate(-50%,-50%) rotate(-45deg);
}


/* ef v42 reviews + price anchors + request-style */
.price-anchors{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 14px}
.price-pill{border:1px solid rgba(0,0,0,.10);background:rgba(255,255,255,.72);border-radius:14px;padding:10px 12px;line-height:1.1}
.price-pill .t{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(0,0,0,.6);margin-bottom:6px}
.price-pill .p{font-weight:700;font-size:18px}
.price-pill .s{font-size:12px;color:rgba(0,0,0,.62);margin-top:4px}
@media(max-width:640px){.price-anchors{grid-template-columns:1fr}}

.reviews{position:relative}
.reviews-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}
.reviews-badge{display:flex;align-items:center;gap:10px}
.stars{display:inline-flex;gap:3px;vertical-align:middle}
.star{width:14px;height:14px;display:inline-block;opacity:.92}
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:900px){.reviews-grid{grid-template-columns:1fr}}
.review-card{background:rgba(255,255,255,.92);border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:16px;box-shadow:0 18px 44px rgba(0,0,0,.06)}
.review-card .meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;color:rgba(0,0,0,.62);font-size:13px}
.review-card .who{font-weight:600;color:rgba(0,0,0,.72)}
.review-card p{margin:0;color:rgba(0,0,0,.72);line-height:1.5}

.lightbox-actions{display:flex;justify-content:center;gap:10px;margin-top:10px}
.lightbox .btn-request{min-width:240px}


/* --- v43: Selected style preview on forms --- */
.ef-style-preview{
  display:flex;
  gap:14px;
  align-items:center;
  padding:14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.72);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  margin: 10px 0 14px;
}
.ef-style-preview__imgwrap{
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
}
.ef-style-preview__img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.ef-style-preview__meta{
  min-width: 0;
  flex: 1 1 auto;
}
.ef-style-preview__title{
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 4px;
}
.ef-style-preview__ref{
  font-size: 13px;
  color: rgba(0,0,0,.70);
  line-height: 1.35;
}
.ef-style-preview__ref span{
  color: rgba(0,0,0,.86);
  font-weight: 600;
}
.ef-style-preview__remove{
  margin-top: 10px;
  display: inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(137,52,235,.35);
  background: rgba(137,52,235,.10);
  color: rgba(0,0,0,.84);
  cursor: pointer;
}
.ef-style-preview__remove:hover{
  background: rgba(137,52,235,.16);
  border-color: rgba(137,52,235,.50);
}
@media (max-width: 520px){
  .ef-style-preview{
    align-items: stretch;
  }
  .ef-style-preview__imgwrap{
    width: 92px;
    height: 92px;
  }
}
