/* =====================================================================
   Chhaya Mehndi & Arts  |  style.css
   Theme: cream + deep green + earthy brown/gold
   Colours ko badalna ho to sirf neeche :root ke variables badlo.
   ===================================================================== */

:root {
  --cream: #f5edda;
  --paper: #faf5e8;
  --sand: #ebdfc4;
  --green: #17362b;
  --green-2: #204636;
  --green-3: #2d5844;
  --green-deep: #0f261d;
  --brown: #5a3418;
  --brown-2: #3d2410;
  --gold: #b98a3e;
  --gold-lt: #dcbb75;
  --ink: #2a1b0f;
  --muted: #6d5a45;
  --line: rgba(90, 52, 24, .22);

  --display: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Hind', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --nav-h: 76px;
  --brand-vein: var(--green);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold-lt); color: var(--green); padding: .6rem 1rem; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.012em;
  font-variation-settings: "opsz" 120;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-top: 1rem; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid transparent;
  font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold-lt); color: var(--green-deep); }
.btn--gold:hover { background: #e8ca86; box-shadow: 0 10px 26px -10px rgba(220, 187, 117, .8); }
.btn--line { border-color: rgba(245, 237, 218, .55); color: var(--cream); }
.btn--line:hover { background: rgba(245, 237, 218, .1); border-color: var(--cream); }
.btn--dark { background: var(--green); color: var(--cream); }
.btn--dark:hover { background: var(--green-3); box-shadow: 0 10px 26px -12px rgba(23, 54, 43, .8); }
.btn--line-dark { border-color: var(--brown); color: var(--brown); }
.btn--line-dark:hover { background: rgba(90, 52, 24, .08); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: .95rem; }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  color: var(--cream);
  transition: color .35s;
  --brand-vein: var(--green);
}
/* blur/background lives on a pseudo-element so the mobile menu (position: fixed) is not trapped inside the header */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 237, 218, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .35s;
}
.nav.is-solid { color: var(--green); --brand-vein: var(--cream); }
.nav.is-solid::before { opacity: 1; }
.nav-inner { height: 100%; width: min(1200px, 100% - 2.5rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; color: var(--gold-lt); transition: color .35s; }
.nav.is-solid .brand-mark { color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 1.5rem; font-weight: 500; font-style: italic; letter-spacing: -.01em; }
.brand-sub { font-size: .8rem; opacity: .8; letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-links a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 1rem; padding: .3rem 0; position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { padding: .6rem 1.15rem; font-size: .95rem; }
.nav.is-solid .nav-cta { background: var(--green); color: var(--cream); }

.burger { display: none; width: 46px; height: 46px; background: none; border: 0; position: relative; z-index: 120; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.1rem;
    padding: 6rem 2rem 3rem;
    background: var(--green); color: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s, transform .45s var(--ease), visibility .35s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { font-family: var(--display); font-size: 2rem; font-weight: 400; }
  .nav-links .nav-cta { margin-top: 1rem; font-size: 1.05rem; padding: .85rem 1.5rem; background: var(--gold-lt); color: var(--green-deep); }
  body.menu-open .burger { color: var(--cream); }
  body.menu-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 40%, rgba(45, 88, 68, .55), transparent 70%),
    var(--green);
  color: var(--cream);
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}
.hero-mandala {
  position: absolute; width: min(900px, 120vw); right: -14%; top: 50%; transform: translateY(-50%);
  fill: none; stroke: var(--gold-lt); stroke-width: .6; opacity: .22; pointer-events: none;
}
.hero-mandala .petals path { fill: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.7rem, 6.4vw, 5.3rem); line-height: 1.02; letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.hero-lead { margin-top: 1.5rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(245, 237, 218, .82); max-width: 30rem; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-art { position: relative; width: min(560px, 100%); margin-left: auto; aspect-ratio: 560 / 590; }
.arch {
  position: absolute; overflow: visible;
  aspect-ratio: 3 / 4.25; width: 55%;
}
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 10px 10px; }
.arch::after {
  content: ""; position: absolute; inset: -9px; border: 1px solid rgba(220, 187, 117, .55);
  border-radius: 999px 999px 16px 16px; pointer-events: none;
}
.arch--mehndi { left: 0; bottom: 0; z-index: 1; }
.arch--art { right: 0; top: 0; z-index: 2; }
.chip {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: var(--cream); color: var(--green); font-size: .9rem; font-weight: 500;
  padding: .25rem .95rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.hero-vine { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; overflow: visible; pointer-events: none; }
.hero-vine path#vinePath { fill: none; stroke: var(--gold-lt); stroke-width: 3.2; stroke-linecap: round; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
.hero-vine .leaf { fill: var(--gold-lt); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); transform-box: fill-box; transform-origin: 0 50%; animation: grow .6s var(--ease) both; }
.hero-vine .bud { fill: var(--gold-lt); animation: fadeIn .5s ease both; }
@keyframes grow { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 920px) {
  .hero { min-height: auto; padding-bottom: 5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { margin: 1rem auto 0; width: min(430px, 92%); }
}

/* ---------------------------------------------------------------- gallery */
.gallery { background: var(--cream); }
.filters { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }
.filter {
  padding: .6rem 1.3rem; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--brown); color: var(--brown);
  font-weight: 500; transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.filter:hover { background: rgba(90, 52, 24, .08); }
.filter.is-active { background: var(--green); border-color: var(--green); color: var(--cream); }
.count { opacity: .65; font-weight: 400; margin-left: .25rem; font-size: .92em; }

.masonry { columns: 4; column-gap: 1.1rem; }
@media (max-width: 1100px) { .masonry { columns: 3; } }
@media (max-width: 760px) { .masonry { columns: 2; column-gap: .7rem; } }

.tile {
  position: relative; display: block; width: 100%;
  margin: 0 0 1.1rem; padding: 0; border: 0;
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  overflow: hidden; border-radius: 6px; background: var(--sand);
  cursor: zoom-in; text-align: left;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 0 rgba(90, 52, 24, .1);
}
@media (max-width: 760px) { .tile { margin-bottom: .7rem; } }
.tile--arch { border-radius: 999px 999px 6px 6px; }
.tile.is-loading { aspect-ratio: 4 / 5; }
.tile img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .5s; }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(15, 38, 29, .88) 0%, rgba(15, 38, 29, .1) 55%, transparent 100%);
  opacity: 0; transition: opacity .4s;
}
.tile-cat {
  position: absolute; z-index: 2; top: .8rem; left: .8rem;
  font-size: .82rem; font-weight: 500; padding: .15rem .7rem; border-radius: 999px;
  background: var(--cream); color: var(--green);
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .4s var(--ease);
}
.tile[data-cat="mehndi"] .tile-cat { background: var(--gold-lt); color: var(--brown-2); }
.tile--arch .tile-cat { top: auto; bottom: 3.2rem; left: 50%; translate: -50% 0; }
.tile-zoom {
  position: absolute; z-index: 2; top: .8rem; right: .8rem; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(245, 237, 218, .92); display: grid; place-items: center;
  opacity: 0; transform: scale(.8); transition: opacity .35s, transform .4s var(--ease);
}
.tile--arch .tile-zoom { display: none; }
.tile-zoom svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }
.tile-cap {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1rem 1rem 1.05rem;
  font-family: var(--display); font-size: 1.15rem; line-height: 1.2; color: var(--cream);
  opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease);
}
.tile--arch .tile-cap { text-align: center; padding-inline: 1.5rem; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile:hover .tile-cat, .tile:focus-visible .tile-cat,
.tile:hover .tile-zoom, .tile:focus-visible .tile-zoom { opacity: 1; transform: none; }
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; transform: none; }

/* touch screens: no hover, so keep the title visible */
@media (hover: none) {
  .tile::after { opacity: 1; background: linear-gradient(to top, rgba(15, 38, 29, .75) 0%, transparent 42%); }
  .tile-cap { opacity: 1; transform: none; font-size: 1rem; padding: .7rem .8rem; }
  .tile-cat, .tile-zoom { display: none; }
}

.tile.pop { animation: pop .6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.tile.is-hidden { display: none; }

.tile.missing { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; padding: 1rem; border: 1.5px dashed var(--gold); background: var(--paper); }
.tile.missing img { display: none; }
.tile.missing::before { content: attr(data-missing); font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------- featured (shared) */
.feat-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feat-grid--rev { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); }
.feat-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.feat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.6rem); }

.fcard { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.fcard .fimg { display: block; position: relative; overflow: hidden; }
.fcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fcard:hover img, .fcard:focus-visible img { transform: scale(1.06); }
.fcard .ftitle { display: block; margin-top: .9rem; font-family: var(--display); font-size: 1.15rem; line-height: 1.25; }

/* mehndi: arch-topped (mehrab) cards on deep green */
.feat--mehndi { background: var(--green); color: var(--cream); position: relative; overflow: hidden; }
.feat--mehndi .lead { color: rgba(245, 237, 218, .78); }
.feat--mehndi .fimg { aspect-ratio: 3 / 4.5; border-radius: 999px 999px 8px 8px; box-shadow: 0 0 0 1px rgba(220, 187, 117, .0), 0 24px 40px -24px rgba(0, 0, 0, .6); }
.feat--mehndi .fcard { position: relative; }
.feat--mehndi .fcard .fimg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(220, 187, 117, .4); pointer-events: none; }
.feat--mehndi .fcard:nth-child(2) { transform: translateY(2.4rem); }
.feat--mehndi .ftitle { text-align: center; color: var(--cream); }
.feat--mehndi .feat-cards { padding-bottom: 2.6rem; }

/* art: framed canvases on a warm wall */
.feat--art { background: var(--sand); }
.feat--art .feat-cards { grid-template-columns: 1.15fr 1fr 1fr; align-items: end; }
.feat--art .fimg {
  border: 9px solid var(--brown); outline: 1px solid rgba(61, 36, 16, .5); outline-offset: -1px;
  box-shadow: inset 0 0 0 6px var(--paper), 0 26px 34px -22px rgba(61, 36, 16, .6);
  background: var(--paper);
}
.feat--art .fimg img { padding: 0; }
.feat--art .fcard:nth-child(1) .fimg { aspect-ratio: 4 / 5.4; }
.feat--art .fcard:nth-child(2) .fimg { aspect-ratio: 1 / 1.05; }
.feat--art .fcard:nth-child(3) .fimg { aspect-ratio: 3 / 4.2; }
.feat--art .ftitle { font-style: italic; font-size: 1.02rem; color: var(--brown); }

@media (max-width: 920px) {
  .feat-grid, .feat-grid--rev { grid-template-columns: 1fr; }
  .feat-grid--rev .feat-text { order: -1; }
  .feat-cards {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 1rem;
    margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: none;
  }
  .feat-cards::-webkit-scrollbar { display: none; }
  .feat--art .feat-cards { grid-template-columns: none; }
  .fcard { scroll-snap-align: center; }
  .feat--mehndi .fcard:nth-child(2) { transform: none; }
  .feat--mehndi .feat-cards { padding-bottom: 1rem; }
}
@media (max-width: 520px) { .feat-cards { grid-auto-columns: 78%; } }

/* ---------------------------------------------------------------- about */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-photo { display: grid; place-items: center; }
.arch--about { position: relative; width: min(420px, 88%); aspect-ratio: 3 / 3.9; }
.arch--about img { box-shadow: 0 30px 50px -30px rgba(23, 54, 43, .7); }
.arch--about::after { border-color: var(--gold); inset: -12px; }
.arch--about::before {
  content: ""; position: absolute; inset: 0; transform: translate(16px, 16px); z-index: -1;
  border-radius: 999px 999px 10px 10px; background: var(--sand);
}
.about-text p { color: var(--muted); margin-top: 1.1rem; max-width: 38rem; }
.about-text .h2 { margin-bottom: .6rem; }
.about-list { margin-top: 2rem; border-top: 1px solid var(--line); max-width: 38rem; }
.about-list > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.about-list dt { font-family: var(--display); font-size: 1.2rem; color: var(--green); }
.about-list dd { color: var(--muted); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-list > div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------------------------------------------------------------- services */
.services { background: var(--cream); }
.service-list { border-bottom: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) auto; gap: .6rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding: 1.7rem 1rem 1.7rem 1.2rem;
  border-top: 1px solid var(--line); position: relative;
  transition: background-color .35s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.service:hover { background: rgba(235, 223, 196, .5); }
.service:hover::before { transform: scaleY(1); }
.svc-kind { display: block; font-size: .95rem; font-style: italic; color: #8a6420; font-family: var(--display); }
.svc-title h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; color: var(--green); }
.service p { color: var(--muted); max-width: 34rem; }
.svc-link {
  text-decoration: none; font-weight: 500; color: var(--brown); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; white-space: nowrap; cursor: pointer;
  transition: color .25s, border-color .25s;
}
.svc-link:hover { color: var(--green); border-color: var(--green); }
@media (max-width: 820px) {
  .service { grid-template-columns: 1fr; gap: .7rem; padding: 1.5rem .5rem 1.5rem 1rem; }
  .svc-link { justify-self: start; }
}

/* ---------------------------------------------------------------- custom */
.custom {
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(185, 138, 62, .16), transparent 70%),
    var(--green-2);
  color: var(--cream);
}
.custom .lead { color: rgba(245, 237, 218, .78); }
.custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.steps { margin-top: 2.2rem; counter-reset: step; position: relative; }
.steps li { position: relative; padding: 0 0 1.7rem 3.6rem; counter-increment: step; color: rgba(245, 237, 218, .82); }
.steps li strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--cream); margin-bottom: .15rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-size: 1.1rem;
  background: var(--gold-lt); color: var(--green-deep);
}
.steps li::after { content: ""; position: absolute; left: 1.25rem; top: 2.7rem; bottom: .2rem; width: 1px; background: rgba(220, 187, 117, .45); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }

.card { background: var(--paper); color: var(--ink); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.card-title { font-family: var(--display); font-weight: 500; font-size: 1.6rem; color: var(--green); margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: .3rem; color: var(--brown-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(90, 52, 24, .28); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(185, 138, 62, .22); }
.card-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.fine { font-size: .88rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 860px) { .custom-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- contact */
.contact { background: var(--cream); }
.contact-card {
  position: relative; text-align: center; color: var(--cream);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(185, 138, 62, .28), transparent 70%),
    var(--brown-2);
  border-radius: 22px; padding: clamp(2.6rem, 7vw, 5rem) clamp(1.4rem, 5vw, 4rem);
}
.contact-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(220, 187, 117, .4); border-radius: 14px; pointer-events: none; }
.contact-card .h2 { max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.contact-card .lead { color: rgba(245, 237, 218, .8); margin-inline: auto; }
.contact-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.contact-meta { margin-top: 1.6rem; color: rgba(245, 237, 218, .7); font-size: .98rem; }
.contact-meta a { color: var(--gold-lt); }
.contact-meta span:not(:empty) { margin-left: 1.2rem; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--green-deep); color: rgba(245, 237, 218, .8); padding: 3rem 0 2.2rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: start; }
.footer-brand { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--cream); }
.footer-tag { margin-top: .3rem; color: var(--gold-lt); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold-lt); }
.footer-copy { grid-column: 1 / -1; font-size: .9rem; opacity: .65; border-top: 1px solid rgba(245, 237, 218, .14); padding-top: 1.3rem; margin-top: .5rem; }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- floating whatsapp */
.fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-lt); color: var(--green-deep); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease);
}
.fab .ico { width: 28px; height: 28px; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { transform: scale(1.06); }

/* ---------------------------------------------------------------- lightbox */
.lb {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem;
  padding: 1rem clamp(.5rem, 2vw, 2rem);
  background: rgba(10, 24, 18, .94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s;
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb-fig { display: flex; flex-direction: column; align-items: center; gap: .9rem; min-width: 0; max-height: 100%; }
.lb-stage { width: 100%; display: grid; place-items: center; min-height: 0; }
.lb-stage img {
  max-width: 100%; max-height: calc(100vh - 8.5rem); max-height: calc(100dvh - 8.5rem);
  width: auto; height: auto; object-fit: contain; border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  transition: opacity .3s, transform .4s var(--ease);
}
.lb-stage img.is-swapping { opacity: 0; transform: scale(.985); }
.lb-cap { width: min(900px, 100%); display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--cream); flex-wrap: wrap; }
.lb-cat { display: block; font-size: .9rem; color: var(--gold-lt); font-style: italic; font-family: var(--display); }
.lb-title { font-family: var(--display); font-weight: 500; font-size: 1.35rem; }
.lb-right { display: flex; align-items: center; gap: 1rem; }
.lb-count { font-size: .95rem; opacity: .7; }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(245, 237, 218, .3);
  background: rgba(245, 237, 218, .08); display: grid; place-items: center; color: var(--cream);
  transition: background-color .25s, transform .25s var(--ease);
}
.lb-btn:hover { background: rgba(245, 237, 218, .2); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; top: 1rem; right: 1rem; z-index: 3; }
@media (max-width: 720px) {
  .lb { grid-template-columns: minmax(0, 1fr); padding: 3.6rem .6rem .8rem; }
  .lb-nav { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -3rem; background: rgba(10, 24, 18, .55); }
  .lb-prev { left: .5rem; } .lb-next { right: .5rem; }
  .lb-stage img { max-height: calc(100dvh - 12rem); }
  .lb-cap { flex-direction: column; align-items: flex-start; gap: .6rem; }
}
body.lb-open { overflow: hidden; }

/* ---------------------------------------------------------------- reveal (subtle) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
