/* =========================================================================
   WedWedding — design system
   Palette: warm cream canvas · warm charcoal ink · sand · bronze-clay accent
   Type:    Cormorant Garamond (display) · Mulish (body) — self-hosted
   ========================================================================= */

/* Fonts are declared in fonts.css (loaded before this file). */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* surfaces (tonal layering — no 1px section borders) */
  --cream:      #F6F1EA;
  --cream-2:    #EFE7DB;
  --sand:       #E7DCCB;
  --sand-deep:  #D9C7AE;
  --ink:        #1C1A17;
  --ink-2:      #26221D;
  --ink-soft:   #3A342C;

  /* accents */
  --bronze:     #9C6B3F;   /* 4.07:1 on cream — large text / decorative only */
  --bronze-deep:#8A5A30;   /* 5.2:1 on cream — safe for small body links */
  --bronze-lo:  #B0824F;
  --gold:       #C9A46B;
  --gold-soft:  #E4D2AC;
  --paper:      #FBF7F0;   /* warm near-white — replaces pure #fff */

  /* text roles */
  --text:       #26221D;
  --text-mut:   #6E6558;
  --text-inv:   #F3EBDE;
  --text-inv-mut:#C7BBA6;

  /* semantic */
  --bg:         var(--cream);
  --hair:       color-mix(in srgb, var(--bronze) 30%, transparent);

  /* type */
  --f-display: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body:    'Mulish', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* fluid type scale */
  --fs-hero:  clamp(2.9rem, 1.6rem + 6.2vw, 7.5rem);
  --fs-h1:    clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem);
  --fs-h2:    clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem);
  --fs-h3:    clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  --fs-lead:  clamp(1.06rem, 0.98rem + 0.5vw, 1.32rem);
  --fs-body:  clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --fs-sm:    0.86rem;
  --fs-eyebrow: 0.78rem;

  /* rhythm */
  --sp-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --container:  1240px;
  --gutter:     clamp(1.15rem, 0.6rem + 2.4vw, 2.6rem);
  --radius:     14px;
  --radius-lg:  22px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.7s;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 3px; }

/* film-grain / paper texture — breaks the sterility (tactile maximalism) */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* fixed-header offset + solid header for non-hero pages */
.page--solid { padding-top: 74px; }
.page--solid .site-header {
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 var(--hair);
}

/* image placeholder (shown until a real photo is dropped into the path) */
.imgph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, color-mix(in srgb,var(--gold-soft) 55%, transparent), transparent 60%),
    linear-gradient(135deg, var(--sand) 0%, var(--sand-deep) 55%, var(--cream-2) 100%);
  color: color-mix(in srgb, var(--ink) 45%, transparent);
}
.imgph::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.imgph span {
  position: relative; z-index: 1; font-family: var(--f-display); font-style: italic;
  font-size: clamp(.9rem, .8rem + .4vw, 1.15rem); letter-spacing: .02em;
  padding: .4em 1em; text-transform: capitalize; text-align:center;
}

/* ---- Layout primitives -------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sp-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.surface-cream  { background: var(--cream); }
.surface-cream2 { background: var(--cream-2); }
.surface-sand   { background: var(--sand); }
.surface-ink    { background: var(--ink); color: var(--text-inv); }
.surface-ink .eyebrow { color: var(--gold); }
.surface-ink .lead, .surface-ink p { color: var(--text-inv-mut); }

/* ---- Typography helpers ------------------------------------------------- */
.display { font-family: var(--f-display); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; }
.display em { font-style: italic; color: var(--bronze); }
.surface-ink .display em { color: var(--gold); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.06; letter-spacing: -0.005em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.eyebrow {
  font-family: var(--f-body); font-weight: 700;
  font-size: var(--fs-eyebrow); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze-deep); display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before { content: ''; width: 2.2rem; height: 1px; background: currentColor; opacity: 0.7; }

.lead { font-size: var(--fs-lead); color: var(--text-mut); max-width: 62ch; line-height: 1.55; text-wrap: pretty; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.6rem); }
.section-head h2 { margin-top: 0.7rem; }
.section-head .lead { margin-top: 1.1rem; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.95em 1.7em; border-radius: 100px;
  font-weight: 700; font-size: 0.94rem; letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--text-inv); box-shadow: 0 10px 30px -12px rgba(28,26,23,0.6); }
.btn--primary:hover { background: var(--bronze); box-shadow: 0 16px 38px -12px rgba(156,107,63,0.55); }
.btn--accent { background: var(--bronze); color: var(--paper); }
.btn--accent:hover { background: var(--ink); }
.btn--ghost { border: 1.5px solid var(--hair); color: inherit; }
.btn--ghost:hover { border-color: var(--bronze); color: var(--bronze); }
.btn--wa { background: #1f8f57; color: var(--paper); }
.btn--wa:hover { background: #17734a; }
.surface-ink .btn--ghost { border-color: color-mix(in srgb, var(--gold) 45%, transparent); color: var(--text-inv); }
.surface-ink .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 1.1em 2.1em; font-size: 1rem; }

.link-underline { position: relative; font-weight: 700; color: var(--bronze-deep); }
.link-underline::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1.5px; background: currentColor; transform: scaleX(0.35); transform-origin: left; opacity: .5; transition: transform .4s var(--ease), opacity .4s; }
.link-underline:hover::after { transform: scaleX(1); opacity: 1; }

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem var(--gutter);
  transition: background-color .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  padding-block: 0.65rem;
  box-shadow: 0 1px 0 var(--hair), 0 12px 30px -22px rgba(28,26,23,.4);
}
.brand { font-family: var(--f-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.brand span { color: var(--bronze); }
.site-header.is-light .brand { color: var(--text-inv); }
.site-header.is-light .brand span { color: var(--gold); }
.site-header.is-light .nav-links a,
.site-header.is-light .lang-current { color: var(--text-inv); }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 0.4rem + 1.4vw, 2.1rem); }
.nav-links a { font-size: 0.93rem; font-weight: 600; color: var(--ink); position: relative; padding-block: 4px; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-close, .nav-extra { display: none; }   /* mobile-menu-only elements */

/* language switcher */
.lang { position: relative; }
.lang-current { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; padding: 0.5em 0.7em; border-radius: 100px; border: 1.5px solid var(--hair); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--cream); border: 1px solid var(--hair); border-radius: 12px; padding: 0.4rem; min-width: 140px; box-shadow: 0 20px 40px -20px rgba(28,26,23,.4); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .3s var(--ease); }
.lang:hover .lang-menu, .lang:focus-within .lang-menu, .lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: block; padding: 0.55em 0.8em; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--sand); color: var(--bronze); }

/* burger (mobile) */
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: flex-end; }
.burger span { width: 24px; height: 2px; background: currentColor; transition: .35s var(--ease); }
.site-header.is-light .burger { color: var(--text-inv); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .8rem 1.2rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: var(--text-inv); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero__media .imgph { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media .imgph span { display: none; }   /* hero already has its own title */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,17,14,.86) 0%, rgba(20,17,14,.35) 42%, rgba(20,17,14,.28) 100%),
    linear-gradient(105deg, rgba(28,26,23,.5), transparent 55%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 var(--gutter) clamp(3rem, 2rem + 5vw, 6rem); }
.hero .eyebrow { color: var(--gold-soft); }
.hero__title { font-size: var(--fs-hero); font-family: var(--f-display); font-weight: 500; line-height: 0.98; letter-spacing: -0.015em; margin: 1rem 0 0; max-width: 16ch; text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub { margin-top: 1.5rem; font-size: var(--fs-lead); color: var(--text-inv-mut); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.3rem; }
.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 1; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-inv-mut); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.hero__scroll::after { content: ''; width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: scrolldrop 2.2s var(--ease) infinite; }
@keyframes scrolldrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =========================================================================
   Trust strip
   ========================================================================= */
.trust { background: var(--sand); overflow: hidden; padding-block: clamp(.9rem,.7rem + .6vw,1.4rem); position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trust__track { display: flex; width: max-content; align-items: center; animation: marquee 34s linear infinite; }
.trust:hover .trust__track { animation-play-state: paused; }
.trust__item { display: inline-flex; align-items: center; white-space: nowrap; padding-inline: clamp(1.4rem,1rem + 2vw,3rem); font-family: var(--f-display); font-weight: 500; font-size: clamp(1.05rem,.9rem + .6vw,1.55rem); color: var(--ink); letter-spacing: -.01em; }
.trust__item::after { content: '✦'; color: var(--bronze); font-size: .62em; margin-inline-start: clamp(1.4rem,1rem + 2vw,3rem); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .trust__track { animation: none; } }

/* =========================================================================
   Story journey (asymmetric)
   ========================================================================= */
.story__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.story__steps { display: grid; gap: 0; }
.story__step { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.6rem 0; border-top: 1px solid var(--hair); }
.story__step:last-child { border-bottom: 1px solid var(--hair); }
.story__no { font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; color: var(--bronze); line-height: 1; }
.surface-ink .story__no { color: var(--gold); }
.story__step h3 { margin-bottom: 0.35rem; }
.story__step p { color: var(--text-mut); font-size: 0.98rem; }
.surface-ink .story__step p { color: var(--text-inv-mut); }
.surface-ink .story__step, .surface-ink .story__step:last-child { border-color: color-mix(in srgb, var(--gold) 22%, transparent); }
.story__figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--sand-deep); }
.story__figure img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   Services — asymmetric bento
   ========================================================================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius-lg); overflow: hidden; }
.svc { background: var(--cream); padding: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); position: relative; transition: background-color .4s var(--ease); }
.svc:hover { background: var(--sand); }
.svc__idx { font-family: var(--f-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; color: var(--bronze-deep); font-variant-numeric: tabular-nums; }
.svc h3 { margin: 0.8rem 0 0.55rem; font-size: var(--fs-h3); text-wrap: balance; }
.svc p { color: var(--text-mut); font-size: 0.96rem; text-wrap: pretty; max-width: 34ch; }
@media (max-width: 760px){
  /* mobile: premium swipe carousel instead of a flat stack */
  .services__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    border: 0; background: none; border-radius: 0; padding-block: 2px .7rem;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: var(--gutter); }
  .services__grid::-webkit-scrollbar { display: none; }
  .svc { scroll-snap-align: start; flex: 0 0 80%; border: 1px solid var(--hair); border-radius: 16px;
    background: var(--cream); box-shadow: 0 8px 34px -22px rgba(28,26,23,.55); }
}

/* =========================================================================
   Venues — editorial bento (Beach = hero tile, unequal composition)
   ========================================================================= */
.venues__bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(138px, 17vw, 196px); gap: 12px; }
.vtile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand-deep); display: block; }
.vtile__img, .vtile .imgph, .vtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vtile__img, .vtile img { transition: transform .8s var(--ease); }
.vtile .imgph span { display: none; }                 /* no double label under the overlay */
.vtile:hover .vtile__img, .vtile:hover img { transform: scale(1.05); }
.vtile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 32%, rgba(20,17,14,.82)); }
.vtile__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(1.35rem,1rem + 1.4vw,2.1rem); color: var(--paper); display: flex; flex-direction: column; gap: .35rem; }
.vtile__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.3rem,1rem + 1vw,2rem); line-height: 1.04; text-wrap: balance; }
.vtile__cap { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; font-variant-numeric: tabular-nums; }
.vtile--beach  { grid-column: span 4; grid-row: span 2; }
.vtile--beach .vtile__name { font-size: clamp(1.9rem,1.3rem + 2.2vw,3.2rem); }
.vtile--garden { grid-column: span 2; }
.vtile--hotel  { grid-column: span 2; }
.vtile--villa  { grid-column: span 3; }
.vtile--yacht  { grid-column: span 3; }
@media (max-width: 820px){
  .venues__bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .vtile--beach { grid-column: span 2; grid-row: span 2; }
  .vtile--garden, .vtile--hotel, .vtile--villa, .vtile--yacht { grid-column: span 1; grid-row: span 1; }
}

/* =========================================================================
   Packages — 3 tiers (asymmetric, featured lifted)
   ========================================================================= */
.pkg__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 0.4rem + 1.5vw, 1.6rem); align-items: stretch; }
.pkg { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(2rem,1.5rem + 1.7vw,2.9rem); display: flex; flex-direction: column; position: relative; transition: transform .4s var(--ease), background-color .4s var(--ease); }
.pkg:hover { transform: translateY(-3px); background: var(--paper); }
.pkg--featured { background: var(--ink); color: var(--text-inv); transform: translateY(-14px); box-shadow: 0 30px 60px -28px rgba(28,26,23,.6); }
.pkg--featured:hover { transform: translateY(-20px); }
.pkg--featured .pkg__name, .pkg--featured .pkg__price b { color: var(--text-inv); }
.pkg--featured .pkg__tag, .pkg--featured .pkg__price span { color: var(--text-inv-mut); }
.pkg--featured .pkg__list li { color: var(--text-inv-mut); }
.pkg--featured .pkg__list li::before { color: var(--gold); }
.pkg__badge { position: absolute; top: clamp(1.4rem,1rem + 1vw,1.9rem); right: clamp(1.4rem,1rem + 1vw,1.9rem); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 0.4em 0.8em; border-radius: 100px; }
.pkg__name { font-family: var(--f-display); font-size: clamp(1.7rem,1.3rem + 1.2vw,2.3rem); font-weight: 600; color: var(--ink); }
.pkg--featured .pkg__name { padding-right: 5.5rem; }  /* clear the badge */
.pkg__tag { color: var(--text-mut); font-size: 0.96rem; margin-top: 0.3rem; margin-bottom: 1.5rem; text-wrap: pretty; }
.pkg__price { margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--hair); }
.pkg--featured .pkg__price { border-color: color-mix(in srgb, var(--gold) 25%, transparent); }
.pkg__price span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mut); font-weight: 700; }
.pkg__price b { display: block; font-family: var(--f-display); font-size: 2.4rem; font-weight: 600; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pkg__list { display: grid; gap: 0.8rem; margin-bottom: 1.9rem; flex: 1; }
.pkg__list li { position: relative; padding-left: 1.7rem; font-size: 0.95rem; color: var(--text-mut); text-wrap: pretty; }
.pkg__list li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--bronze); font-size: 0.85rem; }
.pkg .btn { width: 100%; }
.pkg__note { text-align: center; color: var(--text-mut); font-size: 0.9rem; margin-top: 2rem; }
/* card definition so Basic/Premium read as cards on the cream section */
.pkg { border: 1px solid var(--hair); box-shadow: 0 6px 30px -18px rgba(28,26,23,.4); }
.pkg--featured { border-color: transparent; }
@media (max-width: 900px){ .pkg__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline:auto; } .pkg--featured{ transform:none } .pkg--featured:hover{ transform:translateY(-5px) } }

/* =========================================================================
   Experiences — dense capability grid
   ========================================================================= */
.exp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: color-mix(in srgb, var(--gold) 22%, transparent); border-radius: var(--radius-lg); overflow: hidden; }
.exp { background: var(--ink); padding: clamp(1.6rem,1.2rem + 1.4vw,2.3rem); transition: background-color .4s var(--ease); }
.exp:hover { background: var(--ink-2); }
.exp h3 { font-size: 1.28rem; color: var(--text-inv); margin-bottom: 1.05rem; padding-bottom: 0.8rem; border-bottom: 1px solid color-mix(in srgb, var(--gold) 24%, transparent); text-wrap: balance; }
.exp ul { display: grid; gap: 0.55rem; }
.exp li { font-size: 0.94rem; color: var(--text-inv-mut); position: relative; padding-left: 1.15rem; line-height: 1.45; text-wrap: pretty; }
.exp li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@media (max-width: 900px){ .exp__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .exp__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Gallery — masonry-ish tiles
   ========================================================================= */
.gallery__filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.gallery__filters button { padding: 0.72em 1.25em; border-radius: 100px; border: 1.5px solid var(--hair); font-weight: 700; font-size: 0.85rem; color: var(--text-mut); transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
.gallery__filters button:hover { border-color: var(--bronze); color: var(--bronze-deep); }
.gallery__filters button.is-active { background: var(--ink); border-color: var(--ink); color: var(--text-inv); }
/* Pinterest-style masonry: adapts to each photo's portrait/landscape ratio, no row gaps */
.gallery__grid { column-count: 4; column-gap: 14px; }
.gal { break-inside: avoid; margin: 0 0 14px; position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--sand-deep); }
.gal img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.gal .imgph { width: 100%; }   /* aspect-ratio set inline per tile → varied placeholder heights */
.gal:hover img { transform: scale(1.05); }
.gal__cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 1.1rem 1.2rem; background: linear-gradient(transparent, rgba(20,17,14,.72)); color: var(--paper); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.gal:hover .gal__cap { opacity: 1; transform: none; }
@media (max-width: 1100px){ .gallery__grid { column-count: 3; } }
@media (max-width: 720px){ .gallery__grid { column-count: 2; column-gap: 10px; } .gal { margin-bottom: 10px; } }

/* =========================================================================
   Reviews
   ========================================================================= */
.reviews__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1rem,.6rem + 1.2vw,1.6rem); }
.review:first-child { grid-row: 1 / span 2; background: var(--ink); padding: clamp(2rem,1.5rem + 1.6vw,3rem); }
.review:first-child .review__text { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.2rem); color: var(--text-inv); }
.review:first-child .review__by b { color: var(--text-inv); }
.review:first-child .review__by span { color: var(--text-inv-mut); }
.review:first-child .review__stars { color: var(--gold); }
.review { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.6rem,1.2rem + 1vw,2.2rem); display: flex; flex-direction: column; gap: 1.2rem; }
.review__stars { color: var(--bronze-deep); letter-spacing: 0.15em; font-size: 0.95rem; }
.review__text { font-family: var(--f-display); font-size: 1.32rem; font-weight: 500; line-height: 1.4; font-style: italic; color: var(--ink); text-wrap: pretty; }
.review__by { margin-top: auto; font-size: 0.88rem; }
.review__by b { display: block; font-weight: 700; color: var(--ink); }
.review__by span { color: var(--text-mut); }
@media (max-width: 820px){ .reviews__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline:auto; } .review:first-child { grid-row: auto; } }

/* =========================================================================
   About + stats
   ========================================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2rem,1rem + 4vw,5rem); align-items: stretch; }
.about__body { align-self: center; }
.about__body p + p { margin-top: 1.1rem; }
.about__body .lead { color: var(--text-inv); max-width: none; text-wrap: pretty; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: color-mix(in srgb, var(--gold) 25%, transparent); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--ink-2); padding: clamp(1.5rem,1.1rem + 1.6vw,2.4rem); display: flex; flex-direction: column; justify-content: center; min-height: clamp(120px,10vw,160px); }
.stat b { font-family: var(--f-display); font-size: clamp(2.2rem,1.6rem + 2vw,3.4rem); font-weight: 600; color: var(--gold); line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.stat span { color: var(--text-inv-mut); font-size: 0.9rem; margin-top: 0.55rem; display: block; text-wrap: pretty; }

/* =========================================================================
   Contact / quote form
   ========================================================================= */
.contact__grid { display: grid; grid-template-columns: 1.3fr 0.8fr; gap: clamp(2rem,1rem + 4vw,4.5rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; color: var(--text); }
.field label .req { color: var(--bronze); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; padding: 0.85em 1em; border-radius: 12px;
  background: var(--cream); border: 1.5px solid var(--hair); color: var(--text);
  transition: border-color .3s var(--ease), background-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--text-mut) 75%, transparent); }
.form__consent { grid-column: 1/-1; display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; color: var(--text-mut); }
.form__consent input { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--bronze); }
.form__submit { grid-column: 1/-1; }
.form__error { grid-column:1/-1; background: color-mix(in srgb, #b5442e 12%, var(--cream)); border: 1px solid color-mix(in srgb,#b5442e 40%,transparent); color:#8f3320; padding:.8rem 1rem; border-radius:10px; font-size:.9rem; }
.field--error input, .field--error select, .field--error textarea { border-color:#b5442e; }

.contact__aside { background: var(--ink); color: var(--text-inv); border-radius: var(--radius-lg); padding: clamp(1.6rem,1.2rem + 1.5vw,2.4rem); position: sticky; top: 90px; }
.contact__aside h3 { color: var(--text-inv); font-size: var(--fs-h3); }
.contact__aside p { color: var(--text-inv-mut); margin: 0.8rem 0 1.4rem; font-size: 0.96rem; }
.contact__lines { display: grid; gap: 0.9rem; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid color-mix(in srgb,var(--gold) 22%,transparent); }
.contact__lines a { display: flex; align-items: center; gap: 0.7rem; color: var(--text-inv); font-weight: 600; font-size: 0.95rem; }
.contact__lines a:hover { color: var(--gold); }
@media (max-width: 860px){ .contact__grid { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } .contact__aside{ position: static; } }

/* =========================================================================
   Deposit band
   ========================================================================= */
.deposit { display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: center; background: linear-gradient(120deg, var(--sand), var(--sand-deep)); border-radius: var(--radius-lg); padding: clamp(1.8rem,1.2rem + 2vw,3rem); }
.deposit__soon { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze-deep); font-weight: 700; margin-top: 0.8rem; display: inline-flex; align-items:center; gap:.5rem; }
.deposit__soon::before{ content:'';width:7px;height:7px;border-radius:50%;background:var(--bronze);animation:pulse 1.8s infinite; }
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
@media (max-width:720px){ .deposit{ grid-template-columns:1fr } }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: var(--text-inv); padding-block: clamp(3.5rem,2.5rem + 3vw,5.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid color-mix(in srgb,var(--gold) 20%,transparent); }
.footer__brand { font-family: var(--f-display); font-size: 2rem; font-weight: 600; }
.footer__brand span { color: var(--gold); }
.footer__top p { color: var(--text-inv-mut); margin-top: 1rem; max-width: 34ch; font-size: 0.96rem; }
.footer__col h4 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-family: var(--f-body); font-weight: 700; }
.footer__col a { display: block; color: var(--text-inv-mut); padding: 0.35rem 0; font-size: 0.94rem; }
.footer__col a:hover { color: var(--text-inv); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; padding-top: 1.6rem; padding-bottom: 3rem; color: var(--text-inv-mut); font-size: 0.84rem; }
.footer__sign { color: var(--text-inv-mut); transition: color .3s var(--ease); }
.footer__sign span { color: var(--gold); font-weight: 700; }
.footer__sign:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 780px){ .footer__top { grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   Floating WhatsApp
   ========================================================================= */
.fab-wa { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1f8f57; color: var(--paper); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,143,87,.6); transition: transform .4s var(--ease); }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }

/* =========================================================================
   Scroll-reveal (GSAP toggles .is-in; CSS is the safe default = visible)
   ========================================================================= */
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__scroll::after, .deposit__soon::before { animation: none; }
}

/* custom cursor (desktop, pointer) */
.cursor-dot { position: fixed; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); mix-blend-mode: difference; transition: width .3s, height .3s; display: none; }
.cursor-ring { position: fixed; top: 0; left: 0; width: 38px; height: 38px; border: 1.5px solid color-mix(in srgb,var(--bronze) 60%, transparent); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: transform .18s var(--ease), width .3s, height .3s; display: none; }
@media (hover: hover) and (pointer: fine){ .cursor-dot, .cursor-ring { display: block; } }

/* =========================================================================
   Mobile nav
   ========================================================================= */
@media (max-width: 940px){
  .burger { display: flex; }
  .nav-links {
    position: fixed; inset: 0; z-index: 120; background: var(--ink); color: var(--text-inv);
    flex-direction: column; align-items: center; justify-content: center; gap: 1.3rem; font-size: 1.5rem;
    padding: 4.5rem 1.5rem 2.5rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s;
  }
  .nav-links a { color: var(--text-inv); font-family: var(--f-display); font-weight: 500; }
  .nav-links a::after { display: none; }
  .nav-close { display: grid; place-items: center; position: absolute; top: 1rem; right: 1.1rem;
    width: 48px; height: 48px; font-size: 2.4rem; line-height: 1; color: var(--paper); }
  .nav-extra { display: flex; flex-direction: column; align-items: center; gap: 1.15rem; margin-top: .7rem; }
  .nav-extra .btn { font-size: 1rem; }
  .nav-langs { display: flex; gap: .5rem; }
  .nav-langs a { font-family: var(--f-body); font-size: .9rem; font-weight: 700; color: var(--text-inv-mut);
    border: 1.5px solid color-mix(in srgb, var(--gold) 30%, transparent); border-radius: 100px; padding: .45em 1em; }
  .nav-langs a.is-current { background: var(--gold); color: var(--ink); border-color: var(--gold); }
  body.nav-open .nav-links { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  body.nav-open .burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2){ opacity: 0; }
  body.nav-open .burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 740px){
  .hero__scroll { display: none; }          /* avoid overlap with stacked CTAs */
}
@media (max-width: 460px){
  .btn--nav { padding: 0.7em 1.1em; font-size: 0.82rem; } /* keep header CTA, tighten on small phones */
}
@media (max-width: 620px){
  .story__grid, .about__grid { grid-template-columns: 1fr; }
  .about__grid .stats { order: -1; }
}
