/* =========================================================
   Viyaas Swarna Diwar – Premium Titanium Plated Gold Vasakal
   ========================================================= */
:root {
  --gold: #C49A3A;
  --gold-dark: #9C7627;
  --gold-light: #E3C77E;
  --black: #3A0A06;        /* deep brown from the logo */
  --maroon: #610101;       /* logo band colour */
  --brown-grad: linear-gradient(180deg, #4A0D08 0%, #2C0603 100%);
  --cream: #F8F1E3;
  --cream-2: #F1E6CE;
  --white: #FFFFFF;
  --brown: #5C1A10;
  --text: #3E1C14;
  --muted: #7A5446;

  --f-display: 'Cinzel', 'Times New Roman', serif;
  --f-head: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Jost', 'Segoe UI', system-ui, sans-serif;

  --metal: linear-gradient(135deg, #9C7627 0%, #E3C77E 28%, #C49A3A 50%, #F1DC9E 72%, #9C7627 100%);
  --radius: 4px;
  --shadow: 0 18px 40px -18px rgba(58, 10, 6, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); }
html.no-js { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-body); font-weight: 300; font-size: 17px; line-height: 1.75;
  color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; color: var(--black); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 0; height: 0; overflow: hidden; }
.gold-text { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

.eyebrow {
  font-family: var(--f-display); font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: .9rem; font-weight: 600;
}
.divider { width: 220px; height: 22px; color: var(--gold); fill: var(--gold); display: block; margin: .4rem auto 1.4rem; overflow: visible; }
.divider-left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--black); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--f-display); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn::after { /* sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(156, 118, 39, .8); }
.btn:hover::after { transform: translateX(120%); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: var(--metal); background-size: 200% 100%; color: var(--black); border-color: var(--gold-dark); }
.btn-gold:hover { background-position: 100% 0; }
.btn-dark { --bg: var(--black); --fg: var(--gold-light); border-color: var(--black); }
.btn-outline { background: transparent; color: var(--brown); border-color: var(--gold); }
.btn-outline:hover { background: var(--black); color: var(--gold-light); border-color: var(--black); }
.btn-outline-light { background: transparent; color: var(--gold-light); border-color: var(--gold); }
.btn-outline-light:hover { background: var(--gold); color: var(--black); }
.btn-sm { padding: .6rem 1.1rem; font-size: .72rem; }
.btn-lg { padding: 1.1rem 2.4rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(248, 241, 227, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 154, 58, .25); transition: background .4s, box-shadow .4s, height .3s;
}
.site-header.scrolled { background: rgba(58, 10, 6, .97); box-shadow: 0 6px 24px rgba(0,0,0,.25); border-color: rgba(196,154,58,.35); --header-h: 78px; height: 78px; }
.nav { height: 100%; display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; margin-right: auto; position: relative; height: 80px; }
.logo img { height: 100%; width: auto; transition: opacity .4s, height .3s; }
.logo .logo-on-dark { position: absolute; left: 0; top: 0; opacity: 0; }
.scrolled .logo { height: 66px; }
.scrolled .logo .logo-on-light { opacity: 0; }
.scrolled .logo .logo-on-dark { opacity: 1; }
.nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav-links a { position: relative; font-family: var(--f-display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--brown); padding: .4rem 0; transition: color .3s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold); transition: left .35s var(--ease), right .35s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { left: 0; right: 0; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }
.scrolled .nav-links a:not(.btn) { color: var(--cream); }
.scrolled .nav-links a:not(.btn):hover, .scrolled .nav-links a.active { color: var(--gold-light); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--gold); background: transparent; border-radius: var(--radius); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--gold-dark); transition: transform .3s, opacity .3s; }
.scrolled .nav-toggle span { background: var(--gold-light); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem; overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 40%, rgba(196,154,58,.26), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(196,154,58,.14), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero-pattern { /* subtle mandala lattice */
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23C49A3A' stroke-opacity='.22' stroke-width='1'%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3Cpath d='M60 38c7 8 7 16 0 22-7-6-7-14 0-22zM60 82c7-8 7-16 0-22-7 6-7 14 0 22zM38 60c8-7 16-7 22 0-6 7-14 7-22 0zM82 60c-8-7-16-7-22 0 6 7 14 7 22 0z'/%3E%3Ccircle cx='0' cy='0' r='10'/%3E%3Ccircle cx='120' cy='0' r='10'/%3E%3Ccircle cx='0' cy='120' r='10'/%3E%3Ccircle cx='120' cy='120' r='10'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 60%, transparent);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.25) 60%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 600; letter-spacing: -.01em; margin-bottom: .2em; }
.hero .divider { margin-left: 0; }
.hero-sub { font-size: 1.2rem; color: var(--brown); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .9rem; color: var(--muted); }
.hero-points li::before { content: "✦"; color: var(--gold); margin-right: .5rem; font-size: .75rem; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 500px); }
.arch-frame { /* temple-entrance arch */
  position: relative; aspect-ratio: 4 / 5; border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius);
  padding: 12px; background: var(--metal); box-shadow: var(--shadow), 0 0 0 1px var(--gold-dark);
}
.arch-frame::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.6); border-radius: inherit; z-index: 2; pointer-events: none; }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; border-radius: inherit; }
.hero-lotus { position: absolute; width: 120px; height: 75px; fill: var(--gold); bottom: -34px; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(156,118,39,.35)); }
.hero-visual::before, .hero-visual::after { /* pillar lines */
  content: ""; position: absolute; top: 18%; bottom: -10px; width: 1px; background: linear-gradient(transparent, var(--gold));
}
.hero-visual::before { left: -22px; }
.hero-visual::after { right: -22px; }

.kolam-border { /* dotted kolam band */
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background:
    radial-gradient(circle, var(--gold) 2px, transparent 2.5px) 0 50% / 22px 22px repeat-x,
    linear-gradient(var(--gold), var(--gold)) 0 3px / 100% 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 3px) / 100% 1px no-repeat;
  opacity: .6;
}
.kolam-dark { position: static; opacity: .5; }

/* entrance animation */
.anim-in { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.anim-scale { transform: translateY(20px) scale(.96); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section-lead { color: var(--muted); }

/* About */
.about { background: var(--white); }
.about::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(196,154,58,.25); pointer-events: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.about-copy p { color: var(--text); }
.about-copy .btn { margin-top: 1rem; }
.about-visual { position: relative; }
.framed { margin: 0; position: relative; padding: 10px; background: var(--cream); border: 1px solid var(--gold); box-shadow: var(--shadow); }
.framed::after { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); z-index: -1; }
.framed img { aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }
.about-badge {
  position: absolute; right: -18px; bottom: -26px; width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: var(--black); color: var(--cream);
  font-family: var(--f-display); font-size: .72rem; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase;
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--gold), var(--shadow);
}
.about-badge span { display: block; font-size: 1.35rem; letter-spacing: .08em; color: var(--gold-light); }

/* Featured */
.featured { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.featured-gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.2rem; height: clamp(440px, 52vw, 640px); }
.fg-1 { grid-row: 1 / 3; }
.fg-item, .g-item, .v-item {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--black);
  box-shadow: 0 0 0 1px rgba(196,154,58,.55), var(--shadow);
}
.fg-item img, .g-item img, .v-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .4s; }
.fg-item:hover img, .g-item:hover img, .v-item:hover img { transform: scale(1.08); }
.fg-item::after, .g-item::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(227,199,126,0); transition: border-color .5s, inset .5s var(--ease); pointer-events: none;
}
.fg-item:hover::after, .g-item:hover::after { border-color: rgba(227,199,126,.85); inset: 14px; }
.zoom-hint {
  position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(58,10,6,.78); color: var(--gold-light); font-size: 1.5rem; line-height: 1; border: 1px solid var(--gold);
  opacity: 0; transform: scale(.7); transition: .4s var(--ease);
}
.fg-item:hover .zoom-hint, .g-item:hover .zoom-hint { opacity: 1; transform: none; }

.highlights { list-style: none; padding: 0; margin: 3rem 0 2.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.highlights li {
  display: flex; align-items: center; gap: .9rem; padding: 1.05rem 1.3rem; background: var(--white);
  border: 1px solid rgba(196,154,58,.35); border-left: 3px solid var(--gold); font-weight: 400; color: var(--brown);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.highlights li:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(74,48,32,.55); }
.highlights svg { width: 34px; height: 22px; fill: var(--gold); flex: none; }

/* Why choose */
.why { background: var(--brown-grad); color: var(--cream); overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(196,154,58,.18), transparent 60%); }
.why h2 { color: var(--cream); }
.why .eyebrow { color: var(--gold); }
.why-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why-card {
  position: relative; text-align: center; padding: 2.6rem 1.6rem 2.2rem; border: 1px solid rgba(196,154,58,.35);
  background: linear-gradient(180deg, rgba(196,154,58,.07), transparent); border-radius: 120px 120px var(--radius) var(--radius);
  transition: transform .45s var(--ease), border-color .45s, background .45s;
}
.why-card:hover { transform: translateY(-8px); border-color: var(--gold); background: linear-gradient(180deg, rgba(196,154,58,.16), transparent); }
.why-card h3 { color: var(--gold-light); font-size: 1.45rem; }
.why-card p { color: rgba(248,241,227,.78); font-size: .97rem; margin: 0; }
.why-icon {
  width: 84px; height: 84px; margin: 0 auto 1.4rem; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--gold); box-shadow: inset 0 0 0 6px var(--black), inset 0 0 0 7px rgba(196,154,58,.45);
}
.why-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.why-icon svg.fill { fill: var(--gold-light); stroke: none; width: 48px; height: 30px; }
.why-card:hover .why-icon svg { transform: rotate(-8deg) scale(1.12); }
.why-card.visible .why-icon { animation: glow 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes glow { 50% { box-shadow: inset 0 0 0 6px var(--black), inset 0 0 0 7px rgba(196,154,58,.45), 0 0 26px rgba(196,154,58,.35); } }

/* Gallery */
.gallery {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(160deg, #EAD7A8 0%, #F4E6C4 45%, #E2C88E 100%);
}
.gallery::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(156,118,39,.35); pointer-events: none; }
.gallery .section-lead { color: var(--brown); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 1rem; }
/* desktop mosaic: 4 cols x 3 rows, no gaps */
.g-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.g-5 { grid-column: 3; grid-row: 1 / 3; }
.g-2 { grid-column: 4; grid-row: 1; }
.g-7 { grid-column: 4; grid-row: 2 / 4; }
.g-3 { grid-column: 1; grid-row: 3; }
.g-4 { grid-column: 2; grid-row: 3; }
.g-6 { grid-column: 3; grid-row: 3; }
.g-item { border: 4px solid var(--white); }
.video-title { text-align: center; margin: 3.5rem 0 1.4rem; font-size: 1.8rem; }
.video-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.v-item { aspect-ratio: 9 / 16; border: 4px solid var(--white); }
.play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(58,10,6,.72); border: 1px solid var(--gold-light); transition: transform .4s var(--ease), background .4s;
}
.play::after { content: ""; position: absolute; left: 25px; top: 19px; border: 12px solid transparent; border-left: 18px solid var(--gold-light); border-right: 0; }
.v-item:hover .play { transform: scale(1.1); background: var(--gold-dark); }

/* CTA */
.cta {
  position: relative; padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--brown-grad); color: var(--cream); text-align: center; overflow: hidden;
  border-top: 3px double var(--gold); border-bottom: 3px double var(--gold);
}
.cta::before, .cta::after { /* corner ornaments */
  content: ""; position: absolute; width: 140px; height: 140px; border: 1px solid var(--gold); opacity: .55;
}
.cta::before { top: 22px; left: 22px; border-right: 0; border-bottom: 0; }
.cta::after { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }
.cta-inner { position: relative; max-width: 760px; }
.cta-inner::before { content: ""; position: absolute; inset: -40% -30%; background: radial-gradient(circle, rgba(196,154,58,.22), transparent 60%); z-index: -1; }
.cta h2 { color: var(--gold-light); font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta p { color: rgba(248,241,227,.85); font-size: 1.1rem; }
.cta-lotus { width: 110px; height: 68px; fill: var(--gold); margin: 0 auto 1rem; display: block; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.4rem; }
.cta-phone a { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: .18em; color: var(--gold); }

/* Contact & form */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: 2.4rem; align-items: start; }
.contact-card { background: var(--black); color: var(--cream); padding: 2.4rem; border: 1px solid var(--gold); position: relative; }
.contact-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(196,154,58,.35); pointer-events: none; }
.contact-card h3 { color: var(--gold-light); font-size: 1.8rem; margin-bottom: .2rem; }
.contact-card .muted { color: rgba(248,241,227,.7); margin-bottom: 1.8rem; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(196,154,58,.25); font-size: 1.1rem; transition: color .3s; position: relative; }
.contact-line:hover { color: var(--gold-light); }
.contact-line small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ci { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--metal); flex: none; }
.ci svg { width: 20px; height: 20px; fill: var(--black); }
.contact-photo { margin: 1.4rem 0 0; position: relative; }
.contact-photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border: 1px solid var(--gold); }

.form-wrap { background: var(--white); padding: clamp(1.6rem, 4vw, 2.8rem); border: 1px solid rgba(196,154,58,.45); position: relative; box-shadow: var(--shadow); }
.form-wrap::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--metal); }
.form-title { font-size: 2rem; text-align: center; margin-bottom: 1.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); margin-bottom: .4rem; }
.field label span { color: var(--gold-dark); }
.field label em { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 300; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-weight: 400; font-size: 1rem; color: var(--black);
  background: var(--cream); border: 1px solid rgba(156,118,39,.35); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(196,154,58,.2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B3412E; background: #FFF6F3; }
.err { display: block; min-height: 0; color: #B3412E; font-size: .82rem; margin-top: .3rem; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(58,10,6,.3); border-top-color: var(--black); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-alert, .form-result:not(:empty) { padding: 1rem 1.2rem; border-radius: var(--radius); margin: 1rem 0; font-size: .97rem; line-height: 1.6; }
.form-alert.success, .form-result.success { background: #F1F7EA; border: 1px solid #8DAE6B; color: #2F4A1C; }
.form-alert.error, .form-result.error { background: #FFF1EC; border: 1px solid #D59A86; color: #7A2B1A; }
.form-result a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.form-result .btn { margin-top: .7rem; text-decoration: none; }

/* Footer */
.site-footer { background: #2C0603; color: rgba(248,241,227,.75); padding: 0 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3.6rem 0 2.4rem; }
.footer-logo { width: 240px; max-width: 100%; height: auto; }
.footer-tag { font-family: var(--f-head); font-style: italic; font-size: 1.2rem; color: var(--gold); margin-top: 1rem; }
.site-footer h4 { font-family: var(--f-display); font-size: .85rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { transition: color .3s, padding .3s; }
.site-footer nav a:hover { color: var(--gold-light); padding-left: 6px; }
.site-footer p a:hover { color: var(--gold-light); }
.copyright { text-align: center; font-size: .85rem; border-top: 1px solid rgba(196,154,58,.25); padding-top: 1.4rem; margin: 0 auto; width: min(1180px, 92%); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(34,5,2,.95); padding: 4rem 4.5rem; opacity: 0; transition: opacity .35s; }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-stage { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-media img, .lb-media video { max-width: min(1200px, 90vw); max-height: 78vh; width: auto; height: auto; border: 1px solid var(--gold); box-shadow: 0 30px 60px rgba(0,0,0,.6); animation: lbIn .45s var(--ease); background: #000; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-caption { color: var(--cream); text-align: center; margin-top: 1rem; font-size: .95rem; max-width: 70ch; }
.lightbox button { position: absolute; background: rgba(58,10,6,.65); border: 1px solid var(--gold); color: var(--gold-light); cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .3s, color .3s; }
.lightbox button:hover { background: var(--gold); color: var(--black); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-right { transform: translateX(40px); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* gold line draw on dividers */
.divider path:first-child { stroke-dasharray: 240; stroke-dashoffset: 240; }
.anim-in.divider path:first-child, .visible .divider path:first-child { animation: draw 1.6s var(--ease) .3s forwards; }
.no-js .divider path:first-child { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.2rem; }
  .nav-links { gap: 1.3rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .video-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 80px; }
  .logo { height: 66px; }
  .scrolled .logo { height: 58px; }
  .site-header.scrolled { height: 70px; --header-h: 70px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: center; gap: 0;
    background: var(--black); padding: 1rem 0 2rem; border-bottom: 2px solid var(--gold);
    transform: translateY(-120%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a:not(.btn) { display: block; padding: 1rem; color: var(--cream) !important; border-bottom: 1px solid rgba(196,154,58,.15); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a.active { color: var(--gold-light) !important; }
  .nav-cta-mobile { display: block; padding-top: 1.2rem; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy { text-align: center; }
  .hero .divider { margin-left: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { width: min(88%, 420px); }
  .about-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .about-badge { right: 0; }
  .featured-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 260px; height: auto; }
  .fg-1 { grid-column: 1 / 3; grid-row: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-1 { grid-column: 1 / 3; grid-row: 1; }
  .g-5 { grid-column: 1; grid-row: 2 / 4; }
  .g-2 { grid-column: 2; grid-row: 2; }
  .g-3 { grid-column: 2; grid-row: 3; }
  .g-4 { grid-column: 1; grid-row: 4; }
  .g-7 { grid-column: 2; grid-row: 4 / 6; }
  .g-6 { grid-column: 1; grid-row: 5; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .why-grid, .highlights, .field-row { grid-template-columns: 1fr; }
  .why-card { border-radius: 90px 90px var(--radius) var(--radius); }
  .featured-gallery { grid-template-rows: 260px 200px; gap: .7rem; }
  .gallery-grid { gap: .6rem; grid-auto-rows: 160px; }
  .video-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .7rem; padding-bottom: .6rem; -webkit-overflow-scrolling: touch; }
  .v-item { flex: 0 0 46%; scroll-snap-align: start; }
  .about::before, .gallery::before { inset: 8px; }
  .cta::before, .cta::after { width: 70px; height: 70px; }
  .lightbox { padding: 4rem .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin-inline: auto; }
  .about-badge { width: 104px; height: 104px; bottom: -30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .anim-in { opacity: 1; transform: none; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #5A100A 0%, #3A0A06 45%, #1F0402 100%);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.pl-inner { position: relative; width: min(360px, 72vw); text-align: center; }
.pl-logo { position: relative; overflow: hidden; animation: plIn 1s var(--ease) both; }
.pl-logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(196,154,58,.25)); }
.pl-logo::after { /* gold sheen sweeping across the logo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,248,220,.7) 50%, transparent 60%) 0 0 / 300% 100% no-repeat;
  background-position: 100% 0; animation: plShine 1.8s ease-in-out .5s infinite;
  -webkit-mask: url("../images/logo-light.png") center / 100% 100% no-repeat; mask: url("../images/logo-light.png") center / 100% 100% no-repeat;
}
.pl-bar { height: 2px; width: 70%; margin: 1.8rem auto 0; background: rgba(196,154,58,.2); overflow: hidden; border-radius: 2px; }
.pl-bar span { display: block; height: 100%; width: 40%; background: var(--metal); animation: plBar 1.3s ease-in-out infinite; }
.pl-text { margin-top: 1rem; font-family: var(--f-display); font-size: .7rem; letter-spacing: .4em; color: var(--gold); text-transform: uppercase; opacity: .85; }
@keyframes plIn { from { opacity: 0; transform: scale(.92); } }
@keyframes plShine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes plBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
body.loading { overflow: hidden; }
.loading .anim-in { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .preloader { display: none; } body.loading { overflow: auto; } }

/* =========================================================
   v3 – extra animation & interaction
   ========================================================= */
/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 150; background: var(--metal); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Gold shimmer on hero word */
.hero h1 .gold-text { background-size: 220% 100%; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* Hero image: gentle float + 3D tilt */
.hero-visual { transform-style: preserve-3d; }
.hero-visual .arch-frame { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.arch-frame[data-tilt] { transition: transform .5s var(--ease); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.why-card.visible[data-tilt] { transition: transform .5s var(--ease), opacity .9s var(--ease), border-color .45s, background .45s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.why-card.visible[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px); }

/* Sparkles */
.sparkle { position: absolute; z-index: 3; width: 14px; height: 14px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #FFF6D6 0 15%, transparent 16%), conic-gradient(from 45deg, transparent 0 20%, #F1DC9E 25%, transparent 30% 45%, #F1DC9E 50%, transparent 55% 70%, #F1DC9E 75%, transparent 80% 95%, #F1DC9E);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: twinkle 3.2s ease-in-out infinite; }
.s1 { top: 12%; left: 8%; animation-delay: .2s; }
.s2 { top: 30%; right: 4%; width: 18px; height: 18px; animation-delay: 1.1s; }
.s3 { bottom: 22%; left: -2%; width: 10px; height: 10px; animation-delay: 1.9s; }
.s4 { bottom: 8%; right: 12%; animation-delay: 2.6s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(90deg); } }

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 42px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--gold); border-radius: 14px; opacity: .8; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Gold ribbon marquee */
.ribbon { overflow: hidden; background: var(--brown-grad); border-block: 1px solid var(--gold); padding: .95rem 0; position: relative; }
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.ribbon::before { left: 0; background: linear-gradient(90deg, #3A0A06, transparent); }
.ribbon::after { right: 0; background: linear-gradient(-90deg, #3A0A06, transparent); }
.ribbon-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: marquee 38s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon span { font-family: var(--f-display); font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.ribbon i { font-style: normal; color: var(--gold); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Richer reveals */
.g-item.reveal, .fg-item.reveal, .v-item.reveal { clip-path: inset(12% 0 0 0); }
.g-item.reveal.visible, .fg-item.reveal.visible, .v-item.reveal.visible { clip-path: inset(0 0 0 0); transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path 1.1s var(--ease); transition-delay: var(--d, 0s); }
.section-head.reveal h2 { transition: letter-spacing 1.2s var(--ease); letter-spacing: .04em; }
.section-head.reveal.visible h2 { letter-spacing: 0; }
.highlights li.reveal { transform: translateX(-24px); }
.highlights li.reveal.visible { transform: none; }
.highlights li:hover svg { animation: bloom .7s var(--ease); }
@keyframes bloom { 50% { transform: scale(1.25) rotate(-8deg); } }

/* Button ripple */
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,.45); animation: ripple .65s ease-out; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }

/* Message counter */
.counter { display: block; text-align: right; font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.counter.near { color: #B3412E; }

/* Lightbox counter */
.lb-count { font-family: var(--f-display); letter-spacing: .2em; font-size: .78rem; color: var(--gold); margin-top: .4rem; }

/* Footer extras */
.social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(196,154,58,.5); transition: background .3s, transform .3s var(--ease); }
.social a:hover { background: var(--gold); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: var(--gold-light); }
.social a:hover svg { fill: var(--black); }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; }
.copyright p { margin: 0; }
.credit span { color: var(--gold-light); font-weight: 500; letter-spacing: .04em; }
@media (max-width: 600px) { .copyright { justify-content: center; text-align: center; } .social { justify-content: center; } }

/* Floating buttons */
.float-stack { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.fl-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.28), 0 0 0 2px var(--gold); transition: transform .35s var(--ease), opacity .35s, visibility .35s; }
.fl-btn .ic { width: 28px; height: 28px; fill: #fff; position: relative; }
.fl-btn:hover { transform: translateY(-3px) scale(1.06); }
.fl-wa { background: #25D366; }
.fl-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s ease-out infinite; }
.fl-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fl-btn[data-label]::after { content: attr(data-label); position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%; white-space: nowrap;
  background: var(--black); color: var(--gold-light); font-family: var(--f-display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .45rem .8rem; border-radius: 3px; border: 1px solid var(--gold); opacity: 0; transform: translateX(8px); transition: .3s var(--ease); pointer-events: none; }
.fl-btn[data-label]:hover::after { opacity: 1; transform: none; }
.fl-top { width: 46px; height: 46px; background: var(--black); box-shadow: 0 8px 18px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(12px); }
.fl-top.show { opacity: 1; visibility: visible; transform: none; }
.fl-top .ic { width: 20px; height: 20px; fill: var(--gold-light); }
.fl-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fl-top .ring circle { fill: none; stroke: rgba(196,154,58,.25); stroke-width: 2.5; }
.fl-top .ring .ring-fill { stroke: var(--gold); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; stroke-linecap: round; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@media (hover: none) { .fl-btn[data-label]::after { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
  [data-tilt] { transform: none !important; }
}

@media (max-width: 600px) {
  .float-stack { right: 12px; bottom: 14px; gap: .55rem; }
  .fl-btn { width: 48px; height: 48px; }
  .fl-btn .ic { width: 23px; height: 23px; }
  .fl-top { width: 40px; height: 40px; }
  .fl-top .ic { width: 17px; height: 17px; }
}

/* =========================================================
   v4 – Mobile app structure (tab bar, swipe cards, PWA)
   ========================================================= */
.app-nav, .carousel-dots { display: none; }
.install-bar[hidden] { display: none !important; }

@media (max-width: 768px) {
  html { -webkit-tap-highlight-color: transparent; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .site-header { padding-top: env(safe-area-inset-top); height: calc(var(--header-h) + env(safe-area-inset-top)); }
  .scroll-cue { display: none; }

  /* --- bottom tab bar --- */
  .app-nav {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(46, 7, 4, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(196,154,58,.55); box-shadow: 0 -8px 24px rgba(0,0,0,.25);
    transition: transform .35s var(--ease);
  }
  .app-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0 2px;
    color: rgba(248,241,227,.66); font-size: .66rem; font-weight: 500; letter-spacing: .03em; }
  .app-nav svg { width: 22px; height: 22px; fill: currentColor; transition: transform .3s var(--ease); }
  .app-nav a.active { color: var(--gold-light); }
  .app-nav a.active:not(.app-fab)::before { content: ""; position: absolute; top: -7px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--metal); }
  .app-nav a:active svg { transform: scale(.88); }
  .app-fab b { display: grid; place-items: center; width: 56px; height: 56px; margin-top: -30px; border-radius: 50%;
    background: var(--metal); border: 4px solid #2E0704; box-shadow: 0 6px 16px rgba(0,0,0,.4), 0 0 0 1px var(--gold); }
  .app-fab svg { width: 32px; height: 20px; fill: #3A0A06; }
  .app-fab span { color: var(--gold-light); }
  .app-fab.active b { animation: fabPulse 2.4s ease-in-out infinite; }
  @keyframes fabPulse { 50% { box-shadow: 0 6px 16px rgba(0,0,0,.4), 0 0 0 1px var(--gold), 0 0 0 8px rgba(196,154,58,.18); } }
  body.typing .app-nav, body.typing .float-stack { transform: translateY(150%); }

  /* floating buttons sit above the tab bar; WhatsApp lives in the tab bar */
  .float-stack { bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; transition: transform .35s var(--ease); }
  .fl-wa { display: none; }
  .fl-btn { width: 46px; height: 46px; }
  .fl-btn .ic { width: 22px; height: 22px; }
  .fl-top { width: 40px; height: 40px; }

  /* --- app-like hero: image card first --- */
  .hero { padding: calc(var(--header-h) + env(safe-area-inset-top) + 1.4rem) 0 3.2rem; }
  .hero-grid { gap: 1.8rem; }
  .hero-visual { order: -1; width: min(72%, 300px); }
  .hero-visual::before, .hero-visual::after { display: none; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .hero-sub { font-size: 1.05rem; }
  .hero-actions { margin: 1.4rem 0 1.4rem; }

  /* --- tighter app spacing & rounded cards --- */
  .section { padding: 3.4rem 0; }
  .section-head { margin-bottom: 1.8rem; }
  .about::before, .gallery::before { display: none; }
  .framed, .fg-item, .g-item, .v-item, .form-wrap, .contact-card, .highlights li { border-radius: 16px; }
  .framed img, .fg-item img, .g-item img { border-radius: 12px; }
  .g-item, .v-item { border-width: 3px; }
  .contact-card::before { border-radius: 12px; }
  .contact-card { padding: 1.6rem 1.3rem; }
  .form-wrap { overflow: hidden; }
  .field input, .field select, .field textarea { border-radius: 12px; font-size: 16px; } /* 16px stops iOS zoom */
  .btn { border-radius: 12px; }
  .cta { padding: 3.6rem 0; }
  .cta::before, .cta::after { display: none; }

  /* --- swipe carousels --- */
  [data-carousel] {
    display: flex !important; height: auto !important; gap: .9rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -4vw; padding: .3rem 4vw .6rem; scroll-padding-inline: 4vw;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { flex: 0 0 84%; scroll-snap-align: start; }
  .featured-gallery > .fg-item { height: 320px; grid-row: auto; grid-column: auto; }
  .why-grid > .why-card { flex-basis: 76%; padding: 2.2rem 1.3rem 1.8rem; }
  .carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: .4rem; }
  .carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 6px; background: rgba(156,118,39,.35); transition: width .3s var(--ease), background .3s; cursor: pointer; }
  .carousel-dots button.on { width: 22px; background: var(--gold); }
  .why .carousel-dots button { background: rgba(227,199,126,.3); }
  .why .carousel-dots button.on { background: var(--gold-light); }

  /* --- highlights as compact chips --- */
  .highlights { grid-template-columns: 1fr 1fr !important; gap: .6rem; margin: 2rem 0 1.8rem; }
  .highlights li { padding: .75rem .8rem; font-size: .84rem; line-height: 1.3; gap: .55rem; border-left-width: 1px; }
  .highlights svg { width: 24px; height: 16px; }

  /* --- footer clears the tab bar --- */
  .site-footer { padding-bottom: 1.2rem; }

  /* --- install banner --- */
  .install-bar { position: fixed; left: 12px; right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 96;
    display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 16px;
    background: var(--cream); border: 1px solid var(--gold); box-shadow: 0 12px 30px rgba(0,0,0,.3); animation: rise .5s var(--ease); }
  .install-bar img { border-radius: 10px; }
  .install-bar div { flex: 1; line-height: 1.25; }
  .install-bar strong { display: block; font-size: .9rem; color: var(--black); }
  .install-bar small { font-size: .78rem; color: var(--muted); }
  .install-btn { border: 0; border-radius: 10px; padding: .55rem .9rem; background: var(--black); color: var(--gold-light); font: 600 .8rem var(--f-body); cursor: pointer; }
  .install-x { border: 0; background: none; font-size: 1.4rem; color: var(--muted); cursor: pointer; padding: 0 .2rem; }
}

/* Installed app (standalone): no browser chrome, so keep things snug */
@media (display-mode: standalone) {
  .install-bar { display: none !important; }
}

/* never let anything widen the page sideways on phones */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 768px) {
  .reveal-right { transform: translateY(34px); }
  .highlights li.reveal { transform: translateY(20px); }
}
@media (max-width: 768px) { .hero-copy { margin-top: .9rem; } }

/* Floating Call button */
.fl-call { background: var(--metal); background-size: 200% 100%; box-shadow: 0 10px 24px rgba(0,0,0,.28), 0 0 0 2px var(--black); }
.fl-call .ic { fill: var(--black); animation: ring 3.5s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(14deg); } 82% { transform: rotate(-10deg); } 86% { transform: rotate(8deg); } 90% { transform: rotate(0); } }
@media (max-width: 768px) { .fl-call { display: none; } }   /* phones: Call is in the bottom tab bar */
@media (prefers-reduced-motion: reduce) { .fl-call .ic { animation: none; } }

/* WhatsApp send sheet (after form submit) */
.btn-wa { background: #25D366; color: #fff; border-color: #1EB955; font-size: .9rem; }
.btn-wa:hover { background: #1EB955; box-shadow: 0 12px 24px -12px rgba(30,185,85,.8); }
.wa-sheet { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; background: rgba(34,5,2,.6);
  backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.wa-sheet[hidden] { display: none; }
.wa-sheet.open { opacity: 1; }
.wa-card { position: relative; width: min(420px, 100%); background: var(--cream); border-radius: 18px; border-top: 4px solid var(--gold);
  padding: 2rem 1.6rem 1.4rem; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: translateY(20px); transition: transform .4s var(--ease); }
.wa-sheet.open .wa-card { transform: none; }
.wa-tick { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--metal); position: relative; box-shadow: 0 0 0 6px rgba(196,154,58,.18); }
.wa-tick::after { content: ""; position: absolute; left: 24px; top: 15px; width: 14px; height: 26px; border: solid var(--black); border-width: 0 4px 4px 0; transform: rotate(45deg); }
.wa-title { font-size: 1.7rem; margin-bottom: .3rem; }
.wa-note { color: var(--muted); font-size: .98rem; margin-bottom: 1.3rem; }
.wa-go { padding: 1.05rem 1rem; font-size: .95rem; animation: waPulse 2s ease-in-out infinite; }
@keyframes waPulse { 50% { box-shadow: 0 0 0 8px rgba(37,211,102,.2); } }
.wa-call { display: inline-block; margin-top: 1rem; font-size: .92rem; color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.wa-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; }
@media (max-width: 768px) {
  .wa-sheet { place-items: end center; padding: 0; }
  .wa-card { width: 100%; border-radius: 22px 22px 0 0; padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); transform: translateY(100%); }
}

/* Header: always brown (logo colour) */
.site-header { background: rgba(58, 10, 6, .97); border-bottom-color: rgba(196,154,58,.45); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.site-header .logo .logo-on-light { opacity: 0; }
.site-header .logo .logo-on-dark { opacity: 1; }
.site-header .nav-links a:not(.btn) { color: var(--cream); }
.site-header .nav-links a:not(.btn):hover, .site-header .nav-links a.active { color: var(--gold-light); }
.site-header .nav-toggle span { background: var(--gold-light); }

/* =========================================================
   v6 – Hero "Golden Threshold": mandala, 3D arch cards, doorstep strip
   ========================================================= */
.hero.hero-gt {
  display: block; position: relative; padding: calc(var(--header-h) + 2.5rem) 0 0; min-height: 100vh; min-height: 100svh;
  overflow: hidden; isolation: isolate; color: var(--cream);
  background:
    radial-gradient(ellipse 60% 70% at 72% 45%, rgba(196,154,58,.22) 0%, rgba(196,154,58,0) 60%),
    radial-gradient(ellipse at 20% 100%, #5A100A 0%, rgba(90,16,10,0) 55%),
    linear-gradient(160deg, #4A0D08 0%, #2E0704 55%, #1F0402 100%);
  display: flex; flex-direction: column;
}
/* background art */
.gt-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.gt-bg::before { /* fine kolam dot lattice */
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(circle, var(--gold) 1px, transparent 1.6px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 70%);
}
.gt-mandala { position: absolute; width: min(1100px, 95vw); aspect-ratio: 1; right: -12%; top: 50%; translate: 0 -54%; color: var(--gold); opacity: .22; animation: spin 140s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.gt-glow { position: absolute; right: 18%; top: 44%; width: 520px; height: 520px; translate: 50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(241,220,158,.35), rgba(196,154,58,.08) 45%, transparent 70%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.gt-dust { position: absolute; left: var(--x); bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold); opacity: 0; animation: dust 9s linear infinite; animation-delay: var(--d); }
@keyframes dust { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-85vh) translateX(30px); } }

.gt-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: center; padding-bottom: 2.5rem; }

/* text slides */
.gt-copy { position: relative; display: grid; }
.gt-text { grid-area: 1 / 1; align-self: center; visibility: hidden; }
.gt-text.is-active { visibility: visible; }
.gt-text .eyebrow { color: var(--gold-light); display: flex; align-items: center; gap: .9rem; }
.gt-rule { width: 46px; height: 1px; background: var(--gold); display: inline-block; }
.hero-gt .gt-title { font-size: clamp(2.5rem, 4.9vw, 4.4rem); line-height: 1.05; color: #FFF8EA; margin: 0 0 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.hero-gt .gt-title .gt-l { display: inline; }
.hero-gt .gt-title .gold-text { display: block; background-size: 220% 100%; animation: shimmer 6s ease-in-out infinite; padding-bottom: .06em; }
.gt-sub { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: rgba(248,241,227,.86); max-width: 33rem; margin-bottom: 2rem; }
.gt-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-glass { background: rgba(255,248,234,.07); color: var(--cream); border-color: rgba(227,199,126,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,248,234,.16); color: #fff; }
.gt-l { opacity: 0; transform: translateY(28px); }
.gt-text.is-active .gt-l { animation: gtRise .9s cubic-bezier(.22,.8,.24,1) both; animation-delay: calc(.15s + var(--i) * .1s); }
.gt-title .gt-l { display: inline-block; }
.gt-text.is-leaving { visibility: visible; }
.gt-text.is-leaving .gt-l { opacity: 1; transform: none; animation: gtOut .45s ease both; animation-delay: calc(var(--i) * .04s); }
@keyframes gtRise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes gtOut { to { opacity: 0; transform: translateY(-16px); filter: blur(4px); } }
.loading .gt-l, .loading .gt-card { animation-play-state: paused !important; }

/* navigation */
.gt-nav { grid-area: 2 / 1; display: flex; align-items: center; gap: 1rem; margin-top: 2.6rem; }
.gt-arrow { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(227,199,126,.55);
  background: rgba(31,4,2,.35); transition: background .3s, transform .3s var(--ease), border-color .3s; }
.gt-arrow svg { width: 24px; height: 24px; fill: var(--gold-light); }
.gt-arrow:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.07); }
.gt-arrow:hover svg { fill: var(--black); }
.gt-count { font-family: var(--f-display); line-height: 1; white-space: nowrap; }
.gt-count b { font-size: 1.9rem; color: var(--gold-light); font-weight: 600; }
.gt-count span { font-size: .85rem; opacity: .65; margin-left: .3rem; letter-spacing: .1em; }
.gt-progress { flex: 1; max-width: 220px; height: 2px; background: rgba(248,241,227,.18); border-radius: 2px; overflow: hidden; }
.gt-progress b { display: block; height: 100%; background: var(--metal); transform-origin: 0 50%; transform: scaleX(0); }

/* 3D arch-card stage */
.gt-stage { position: relative; height: min(64vh, 560px); min-height: 400px; perspective: 1400px; perspective-origin: 50% 40%; }
.gt-ring { position: absolute; left: 50%; bottom: -4%; width: 78%; height: 70px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(241,220,158,.4), rgba(196,154,58,.08) 55%, transparent 72%); filter: blur(6px); }
.gt-card { --off: 0; position: absolute; left: 50%; top: 50%; width: min(340px, 30vw); aspect-ratio: 3 / 4; margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  translate: -50% -50%; transform-style: preserve-3d; -webkit-tap-highlight-color: transparent;
  transform: translateX(calc(var(--off) * 52%)) translateZ(calc(var(--abs) * -170px)) rotateY(calc(var(--off) * -32deg));
  opacity: calc(1 - var(--abs) * .28); z-index: calc(10 - var(--abs));
  transition: transform 1s cubic-bezier(.22,.8,.24,1), opacity .8s ease, filter .8s ease; filter: brightness(calc(1 - var(--abs) * .28)) saturate(calc(1 - var(--abs) * .15)); }
.gt-card[data-hidden="1"] { opacity: 0; pointer-events: none; }
.gt-card-in { position: absolute; inset: 0; display: block; padding: 7px; border-radius: 50% 50% 14px 14px / 34% 34% 14px 14px;
  background: var(--metal); background-size: 200% 200%; box-shadow: 0 40px 60px -25px rgba(0,0,0,.75), 0 0 0 1px rgba(255,236,180,.5) inset;
  -webkit-box-reflect: below 14px linear-gradient(transparent 72%, rgba(255,255,255,.22)); overflow: visible; }
.gt-card-in img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.gt-card-in::after { /* inner gold hairline */ content: ""; position: absolute; inset: 16px; border-radius: 50% 50% 8px 8px / 32% 32% 8px 8px; border: 1px solid rgba(255,240,200,.55); pointer-events: none; }
.gt-shine { position: absolute; inset: 7px; border-radius: 50% 50% 10px 10px / 34% 34% 10px 10px; overflow: hidden; pointer-events: none; }
.gt-shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,250,230,.45), transparent); transform: skewX(-12deg); }
.gt-card.is-active .gt-shine::before { animation: sweep 1.6s ease .6s; }
@keyframes sweep { to { left: 120%; } }
.gt-card.is-active .gt-card-in { animation: cardGlow 3s ease-in-out infinite; }
@keyframes cardGlow { 50% { box-shadow: 0 40px 70px -25px rgba(0,0,0,.75), 0 0 40px rgba(241,220,158,.35), 0 0 0 1px rgba(255,236,180,.5) inset; } }
.gt-tag { position: absolute; left: 50%; bottom: -46px; translate: -50% 0; white-space: nowrap; font-family: var(--f-display); font-size: .72rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-light); opacity: 0; transition: opacity .5s; }
.gt-card.is-active .gt-tag { opacity: 1; transition-delay: .5s; }
.gt-card:not(.is-active):hover { filter: brightness(1); }
.gt-card:focus-visible { outline: none; }
.gt-card:focus-visible .gt-card-in { box-shadow: 0 0 0 3px var(--gold-light); }

/* the golden doorstep */
.gt-threshold { position: relative; z-index: 2; margin-top: auto; perspective: 700px; filter: drop-shadow(0 -12px 24px rgba(0,0,0,.35)); }
.gt-rail { height: 7px; background: linear-gradient(180deg, #F6E3A6 0%, #C49A3A 45%, #8C6420 100%); box-shadow: 0 1px 0 rgba(0,0,0,.4); }
.gt-strip { height: 104px; overflow: hidden; background: #2A0603; }
.gt-strip-track { display: flex; height: 100%; width: max-content; animation: doorstep 70s linear infinite; }
.gt-strip-track img { height: 100%; width: auto; display: block; flex: none; }
.hero-gt:hover .gt-strip-track { animation-play-state: paused; }
@keyframes doorstep { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .gt-grid { grid-template-columns: 1fr 1fr; }
  .gt-card { width: min(300px, 34vw); }
}
/* phones & small tablets: cards on top, text below */
@media (max-width: 768px) {
  .hero.hero-gt { padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 1.2rem); min-height: calc(100svh - 70px - env(safe-area-inset-bottom)); }
  .gt-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding-bottom: 1.6rem; }
  .gt-stage { order: -1; height: 300px; min-height: 0; perspective: 900px; }
  .gt-card { width: 196px; transform: translateX(calc(var(--off) * 64%)) translateZ(calc(var(--abs) * -150px)) rotateY(calc(var(--off) * -30deg)); }
  .gt-tag { display: none; }
  .gt-card-in { -webkit-box-reflect: below 8px linear-gradient(transparent 82%, rgba(255,255,255,.18)); }
  .gt-mandala { width: 150vw; right: -25%; top: 26%; opacity: .16; }
  .gt-glow { right: 50%; top: 28%; width: 340px; height: 340px; }
  .gt-copy { text-align: center; }
  .gt-text .eyebrow { justify-content: center; }
  .gt-rule { display: none; }
  .hero-gt .gt-title { font-size: clamp(1.95rem, 8.4vw, 2.5rem); margin-bottom: .7rem; }
  .gt-sub { font-size: .98rem; margin: 0 auto 1.3rem; }
  .gt-actions { justify-content: center; gap: .6rem; }
  .gt-actions .btn { flex: 1 1 auto; padding: .85rem 1rem; font-size: .7rem; }
  .gt-nav { justify-content: center; margin-top: 1.4rem; gap: .8rem; }
  .gt-arrow { width: 40px; height: 40px; }
  .gt-count b { font-size: 1.4rem; }
  .gt-progress { max-width: 110px; }
  .gt-strip { height: 64px; }
  .gt-rail { height: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .gt-mandala, .gt-glow, .gt-dust, .gt-strip-track { animation: none !important; }
  .gt-l { opacity: 1 !important; transform: none !important; }
}

/* compact hero on phones so the golden doorstep shows on the first screen */
@media (max-width: 768px) {
  .gt-stage { height: 250px; }
  .gt-card { width: 168px; }
  .hero-gt .gt-title { font-size: clamp(1.75rem, 7.4vw, 2.15rem); }
  .gt-text .eyebrow { margin-bottom: .6rem; font-size: .68rem; }
  .gt-sub { font-size: .93rem; line-height: 1.55; margin-bottom: 1.1rem; }
  .gt-actions { flex-wrap: nowrap; }
  .gt-actions .btn { flex: 1 1 0; min-width: 0; padding: .8rem .45rem; font-size: .62rem; letter-spacing: .07em; white-space: nowrap; }
  .gt-actions .btn .ico { width: 15px; height: 15px; }
  .gt-nav { margin-top: 1.1rem; }
  .gt-grid { padding-bottom: 1.2rem; gap: 1rem; }
  .gt-strip { height: 56px; }
}
