/* ==========================================================================
   FAMGIC INDUSTRIES PRIVATE LIMITED — Premium Glassmorphism Theme
   Palette: Dark Navy Blue + Dark Gold + White  |  Dark & Light modes
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg: #060b1f;
  --bg-2: #0a1433;
  --bg-3: #0f1d4a;
  --ink: #f4f6fb;
  --ink-soft: #d6dcef;
  --muted: #a9b4d3;
  --glass: rgba(255, 255, 255, .055);
  --glass-2: rgba(255, 255, 255, .09);
  --brd: rgba(255, 255, 255, .13);
  --brd-gold: rgba(210, 170, 78, .55);
  --gold-1: #f3dd9c;
  --gold-2: #d2aa4e;
  --gold-3: #9a7418;
  --gold-text: #e3bf66;
  --gold-grad: linear-gradient(135deg, #f6e3a6 0%, #d2aa4e 52%, #9a7418 100%);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-gold: 0 10px 34px rgba(210, 170, 78, .28);
  --field: rgba(255, 255, 255, .06);
  --orb-op: .55;
  --page-bg:
    radial-gradient(1200px 700px at 85% -10%, rgba(43, 79, 208, .30), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(210, 170, 78, .12), transparent 60%),
    linear-gradient(180deg, #060b1f 0%, #081030 55%, #060b1f 100%);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f4f6fc;
  --bg-2: #e9edf8;
  --bg-3: #dde4f5;
  --ink: #0a1438;
  --ink-soft: #1f2a55;
  --muted: #4a5679;
  --glass: rgba(255, 255, 255, .62);
  --glass-2: rgba(255, 255, 255, .85);
  --brd: rgba(10, 20, 56, .12);
  --brd-gold: rgba(154, 116, 24, .55);
  --gold-text: #86600f;
  --shadow: 0 18px 44px rgba(18, 37, 94, .14);
  --shadow-gold: 0 10px 30px rgba(154, 116, 24, .24);
  --field: rgba(255, 255, 255, .8);
  --orb-op: .35;
  --page-bg:
    radial-gradient(1100px 650px at 90% -10%, rgba(43, 79, 208, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 15%, rgba(210, 170, 78, .20), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #eef2fb 55%, #f7f9ff 100%);
  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  background-image: var(--page-bg);
  background-attachment: fixed;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
html[lang="te"] body { font-family: 'Noto Sans Telugu', 'Inter', system-ui, sans-serif; line-height: 1.85; }
html[lang="hi"] body { font-family: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif; line-height: 1.8; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Outfit', 'Inter', sans-serif; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3, html[lang="te"] .btn, html[lang="te"] .eyebrow { font-family: 'Noto Sans Telugu', 'Outfit', sans-serif; letter-spacing: 0; line-height: 1.35; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] .btn, html[lang="hi"] .eyebrow { font-family: 'Noto Sans Devanagari', 'Outfit', sans-serif; letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--gold-2); color: #0a1438; }

.wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold-2); color: #0a1438; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 12px; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ic use { pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ------------------------------------------------------------------ glass */
.glass {
  background: var(--glass);
  border: 1px solid var(--brd);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .12);
  border-radius: 24px;
}
[data-theme="light"] .glass { box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .9); }

.tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.tilt:hover { border-color: var(--brd-gold); box-shadow: var(--shadow), var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .14); }

/* reveal on scroll (progressive: content visible without JS) */
.js .reveal { opacity: 0; }
.js .reveal.in { animation: rise .85s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--dl, 0s); }
.d1 { --dl: .1s; } .d2 { --dl: .2s; } .d3 { --dl: .3s; }
@keyframes rise { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }

/* ------------------------------------------------------------------ animated background shapes */
.shapes { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--orb-op); animation: drift 22s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; left: -140px; top: 8%; background: radial-gradient(circle, #d2aa4e, transparent 68%); }
.o2 { width: 620px; height: 620px; right: -200px; top: 30%; background: radial-gradient(circle, #2b4fd0, transparent 68%); animation-duration: 28s; animation-delay: -6s; }
.o3 { width: 420px; height: 420px; left: 35%; bottom: -160px; background: radial-gradient(circle, #1c3a8c, transparent 68%); animation-duration: 25s; animation-delay: -12s; }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(210, 170, 78, .45); }
.r1 { width: 420px; height: 420px; right: 6%; top: 14%; animation: spin 60s linear infinite; }
.r2 { width: 260px; height: 260px; left: 4%; bottom: 12%; border-style: solid; border-color: rgba(210, 170, 78, .22); animation: spin 90s linear infinite reverse; }
.tri { position: absolute; width: 110px; height: 96px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(160deg, rgba(210, 170, 78, .35), transparent 70%); animation: floaty 12s ease-in-out infinite; }
.t1 { left: 47%; top: 64%; } .t2 { right: 10%; bottom: 20%; transform: rotate(180deg); animation-delay: -5s; }
.diamond { position: absolute; width: 64px; height: 64px; border: 1.5px solid rgba(210, 170, 78, .4); transform: rotate(45deg); animation: floaty 14s ease-in-out infinite; }
.diamond.d1 { left: 52%; top: 8%; } .diamond.d2 { right: 22%; top: 62%; animation-delay: -7s; width: 40px; height: 40px; }
.dots { position: absolute; width: 220px; height: 220px; background-image: radial-gradient(rgba(210, 170, 78, .5) 1.5px, transparent 1.6px); background-size: 22px 22px; opacity: .45; }
.dt1 { right: 4%; bottom: 8%; animation: floaty 16s ease-in-out infinite; }
.orb, .ring { translate: calc(var(--mx, 0) * -30px) calc(var(--my, 0) * -30px); transition: translate .8s ease-out; }
@keyframes drift { to { transform: translate3d(70px, -50px, 0) scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -28px; } }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 12px; z-index: 60; padding: 0; }
.bar { display: flex; align-items: center; gap: 18px; padding: 8px 12px 8px 10px; border-radius: 22px; transition: background .3s, box-shadow .3s; }
.site-header.scrolled .bar { background: var(--glass-2); }
.brand { display: inline-flex; background: #fff; border-radius: 14px; padding: 4px 10px; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); flex: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a { padding: 9px 14px; border-radius: 12px; font-size: .92rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; transition: background .25s, color .25s; }
.nav > a:hover { background: var(--glass-2); color: var(--ink); }
.nav > a.active { color: var(--gold-text); background: var(--glass-2); box-shadow: inset 0 -2px 0 var(--gold-2); }
.nav-mobile-extras { display: none; }
.tools { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 3px; gap: 2px; border-radius: 12px; border: 1px solid var(--brd); background: var(--glass); }
.lang button { border: 0; background: transparent; padding: 6px 10px; border-radius: 9px; font-size: .8rem; font-weight: 600; color: var(--muted); min-width: 34px; }
.lang button.on { background: var(--gold-grad); color: #0a1438; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--brd); background: var(--glass); color: var(--ink); transition: background .25s, border-color .25s, transform .25s; }
.icon-btn:hover { border-color: var(--brd-gold); transform: translateY(-1px); }
.icon-btn .ic { width: 20px; height: 20px; }
#themeToggle .ic-sun { display: none; }
[data-theme="dark"] #themeToggle .ic-moon { display: none; }
[data-theme="dark"] #themeToggle .ic-sun { display: block; }
.burger { display: none; }
.burger .ic-close { display: none; }
.burger[aria-expanded="true"] .ic-open { display: none; }
.burger[aria-expanded="true"] .ic-close { display: block; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border-radius: 14px; border: 1px solid transparent; font-family: 'Outfit', 'Inter', sans-serif; font-weight: 600; font-size: .98rem; line-height: 1.2; cursor: pointer; transition: transform .25s, box-shadow .3s, background .3s, border-color .3s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: .88rem; border-radius: 12px; }
.btn-lg { padding: 15px 30px; font-size: 1.04rem; }
.btn-gold { background: var(--gold-grad); color: #0a1438; box-shadow: var(--shadow-gold); }
.btn-gold:hover { box-shadow: 0 14px 40px rgba(210, 170, 78, .45); filter: brightness(1.05); }
.btn-glass { background: var(--glass-2); border-color: var(--brd); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: var(--brd-gold); }
.btn-wa { background: linear-gradient(135deg, #1ea952, #25d366); color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, .28); }
.btn-wa .ic { fill: currentColor; stroke: none; width: 1.3em; height: 1.3em; }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 70px 0 90px; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: 0; }
.hero-veil { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--bg) 8%, transparent 70%), linear-gradient(0deg, var(--bg), transparent 40%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-family: 'Outfit', 'Inter', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--brd-gold); background: var(--glass); margin-bottom: 22px; line-height: 1.5; }
html[lang="te"] .eyebrow, html[lang="hi"] .eyebrow { letter-spacing: .03em; text-transform: none; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="light"] .gold-text { background-image: linear-gradient(135deg, #b08420 0%, #8c6512 55%, #6b4c0c 100%); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin-bottom: .45em; }
.hero-visual { position: relative; }
.frame { padding: 12px; border-radius: 30px; }
.frame img { border-radius: 20px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--brd-gold); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: .82rem; color: var(--ink); box-shadow: var(--shadow); animation: floaty 7s ease-in-out infinite; }
.chip .ic { color: var(--gold-text); }
.chip.c1 { left: -22px; top: 12%; } .chip.c2 { right: -18px; top: 26%; animation-delay: -2s; } .chip.c3 { left: -10px; bottom: 16%; animation-delay: -4s; } .chip.c4 { right: -14px; bottom: 8%; animation-delay: -1s; }
.emblem-float { position: absolute; right: -26px; top: -40px; width: 92px; height: 92px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45)); animation: floaty 6s ease-in-out infinite; }
.emblem-float.static { position: static; margin: 0 auto 18px; animation: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--brd); border-radius: 16px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold-2); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 14px; } }

/* ------------------------------------------------------------------ sections */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(43, 79, 208, .07), transparent); }
[data-theme="light"] .section-alt { background: linear-gradient(180deg, transparent, rgba(210, 170, 78, .10), transparent); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.media-card { padding: 10px; border-radius: 28px; overflow: hidden; }
.media-card img { border-radius: 20px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.media-badge { position: absolute; left: 20px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 18px; }
.media-badge .ic { width: 28px; height: 28px; color: var(--gold-text); }
.media-badge b { display: block; font-family: 'Outfit', sans-serif; line-height: 1.2; }
.media-badge small { color: var(--muted); }

/* trust */
.trust { padding: 0 0 40px; margin-top: -10px; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.trust-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; }
.trust-card > .ic { width: 34px; height: 34px; padding: 7px; border-radius: 12px; background: var(--gold-grad); color: #0a1438; stroke-width: 2; flex: none; margin-top: 2px; }
.trust-card small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.trust-card strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.02rem; word-break: break-word; line-height: 1.3; margin: 2px 0; }
.trust-card span { font-size: .84rem; color: var(--muted); line-height: 1.45; display: block; }
.trust-nic { text-align: center; color: var(--muted); font-size: .9rem; margin: 22px 0 0; }
.trust-nic b { color: var(--ink); font-weight: 600; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--brd); background: var(--glass); padding: 18px 0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.marquee-track { display: flex; width: max-content; gap: 46px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 46px; font-family: 'Outfit', sans-serif; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.marquee span i { width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold-grad); }
.marquee b { font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* service cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (min-width: 1001px) {
  .card-grid > .svc-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; }
  .card-grid > .svc-card:last-child:nth-child(3n+1) .svc-img { flex: 0 0 46%; aspect-ratio: auto; min-height: 270px; }
  .card-grid > .svc-card:last-child:nth-child(3n+1) .svc-body { justify-content: center; padding: 34px 40px; }
  .card-grid > .svc-card:last-child:nth-child(3n+1) .svc-body p { flex: 0; }
}
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } .card-grid > .svc-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.svc-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.svc-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.svc-card:hover .svc-img img { transform: scale(1.08); }
.svc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 11, 31, .7)); }
.svc-ico { position: absolute; left: 18px; bottom: 16px; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-grad); color: #0a1438; box-shadow: var(--shadow-gold); }
.svc-ico .ic { width: 22px; height: 22px; stroke-width: 2; }
.svc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-text); font-weight: 600; font-size: .92rem; }
.more .ic { transition: transform .3s; }
.svc-card:hover .more .ic { transform: translateX(6px); }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.pillars.three { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pillar, .vm-card { padding: 30px 28px; }
.pillar p, .vm-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.pillar-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--gold-grad); color: #0a1438; margin-bottom: 18px; box-shadow: var(--shadow-gold); }
.pillar-ico .ic { width: 26px; height: 26px; stroke-width: 2; }
.pillar-ico.wa { background: linear-gradient(135deg, #1ea952, #25d366); color: #fff; }
.pillar-ico.wa .ic { fill: currentColor; stroke: none; }

/* poster / slate */
.slate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; margin-bottom: 40px; }
.poster { position: relative; aspect-ratio: 4 / 5; overflow: hidden; padding: 0; isolation: isolate; }
.poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.poster:hover > img { transform: scale(1.07); }
.poster::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(4, 8, 24, .92) 100%); }
.poster-info { position: absolute; inset: auto 0 0 0; padding: 24px; color: #fff; }
.poster-info h3 { color: #fff; margin: 10px 0 6px; font-size: 1.28rem; }
.poster-info p { color: rgba(255, 255, 255, .78); font-size: .9rem; margin: 0; }
.poster-info .cat { display: block; color: var(--gold-1); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .04em; border: 1px solid; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite; }
.b-running { color: #6ff0b0; border-color: rgba(111, 240, 176, .5); background: rgba(16, 120, 70, .35); }
.b-upcoming { color: var(--gold-1); border-color: rgba(246, 227, 166, .5); background: rgba(154, 116, 24, .35); }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
.poster.hide { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip-btn { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--brd); background: var(--glass); color: var(--ink-soft); font-weight: 500; font-size: .92rem; transition: all .25s; }
.chip-btn:hover { border-color: var(--brd-gold); }
.chip-btn.on { background: var(--gold-grad); color: #0a1438; border-color: transparent; box-shadow: var(--shadow-gold); font-weight: 600; }

/* callout */
.callout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; overflow: hidden; border-color: var(--brd-gold); }
.callout-art { position: relative; min-height: 260px; }
.callout-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.callout-copy { padding: 44px 46px; }
.callout-copy p { color: var(--muted); }

/* page hero (inner pages) */
.page-hero { position: relative; padding: 110px 0 70px; overflow: hidden; margin-top: -86px; padding-top: 190px; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .34; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
[data-theme="light"] .page-hero-bg { opacity: .2; }
.page-hero-in { position: relative; max-width: 860px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.page-hero { padding-bottom: 24px; }
.page-hero + .section { padding-top: 48px; }

/* about */
.reg-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.reg-badge { padding: 24px; text-align: center; border-color: var(--brd-gold); }
.reg-badge small { display: block; color: var(--gold-text); letter-spacing: .2em; font-weight: 700; font-size: .72rem; }
.reg-badge strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.1rem; margin: 6px 0; word-break: break-word; }
.reg-badge span { color: var(--muted); font-size: .86rem; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.table-glass { overflow-x: auto; padding: 8px; }
.table-glass table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-glass th, .table-glass td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--brd); vertical-align: top; }
.table-glass tr:last-child > * { border-bottom: 0; }
.table-glass thead th { color: var(--gold-text); font-family: 'Outfit', sans-serif; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.table-glass tbody th { font-family: 'Outfit', sans-serif; font-weight: 600; width: 30%; color: var(--ink); }
.table-glass td { color: var(--ink-soft); }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; counter-reset: tl; }
.tl-item { padding: 52px 22px 24px; position: relative; counter-increment: tl; }
.tl-item p { color: var(--muted); font-size: .92rem; margin: 0; }
.tl-item::after { content: counter(tl, decimal-leading-zero); position: absolute; right: 18px; top: 12px; font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px var(--brd-gold); }
.tl-dot { position: absolute; left: 22px; top: -20px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-grad); color: #0a1438; box-shadow: var(--shadow-gold); }
.tl-dot .ic { width: 22px; height: 22px; stroke-width: 2; }
.timeline { padding-top: 22px; }

/* services tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.tab { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--brd); background: var(--glass); color: var(--ink-soft); font-weight: 500; font-size: .93rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: all .25s; }
.tab:hover { border-color: var(--brd-gold); color: var(--ink); }
.tab.on { background: var(--gold-grad); color: #0a1438; border-color: transparent; box-shadow: var(--shadow-gold); font-weight: 600; }
.panel[hidden] { display: none; }
.panel.on { animation: rise .6s both; }
.panel-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 52px; }
.panel-media { padding: 10px; border-radius: 28px; }
.panel-media img { border-radius: 20px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.specs li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--brd); font-size: .84rem; color: var(--ink); }
.specs .ic { color: var(--gold-text); width: 15px; height: 15px; stroke-width: 2.4; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.item-card { padding: 30px 26px; position: relative; overflow: hidden; }
.item-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.item-card .num { display: block; font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--gold-2); margin-bottom: 14px; }

/* forms */
.field { display: flex; flex-direction: column; gap: 7px; font-size: .86rem; font-weight: 500; color: var(--ink-soft); }
.field.wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 13px; border: 1px solid var(--brd); background: var(--field); color: var(--ink); font: inherit; font-size: .96rem; transition: border-color .25s, box-shadow .25s, background .25s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(210, 170, 78, .18); background: var(--glass-2); }
select option { background: var(--bg-2); color: var(--ink); }
.field.err input, .field.err select, .field.err textarea { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255, 107, 107, .14); }
.field .msg { color: #ff8a8a; font-size: .78rem; font-weight: 500; }
[data-theme="light"] .field .msg { color: #c0392b; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: #d2aa4e; flex: none; }
.check a { color: var(--gold-text); text-decoration: underline; }
.check.err { color: #ff8a8a; }
.form-status { min-height: 0; margin-bottom: 14px; font-weight: 500; font-size: .94rem; }
.form-status:not(:empty) { padding: 14px 18px; border-radius: 14px; border: 1px solid; }
.form-status.ok { color: #6ff0b0; border-color: rgba(111, 240, 176, .45); background: rgba(16, 120, 70, .22); }
.form-status.err { color: #ffb3b3; border-color: rgba(255, 107, 107, .45); background: rgba(160, 30, 30, .22); }
[data-theme="light"] .form-status.ok { color: #0b6b3e; } [data-theme="light"] .form-status.err { color: #a02323; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.enquiry, .book { padding: 38px; }
.enquiry h2 { margin-bottom: 6px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.contact-info { display: grid; gap: 18px; position: sticky; top: 110px; }
.info-card { padding: 24px 26px; display: block; border-radius: 22px; }
.info-card .pillar-ico { width: 46px; height: 46px; margin-bottom: 12px; }
.info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.info-card p, .info-card address { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.6; }
.info-card address strong { color: var(--ink); }
.info-card.link { transition: transform .3s, border-color .3s; }
.info-card.link:hover { transform: translateY(-3px); border-color: var(--brd-gold); }
.handle { color: var(--gold-text) !important; font-weight: 600; margin-bottom: 14px !important; }
.map { padding: 10px; overflow: hidden; border-radius: 28px; }
.map iframe { width: 100%; height: 440px; border: 0; border-radius: 20px; display: block; }
[data-theme="dark"] .map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.95); }

/* social */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--brd); background: var(--glass); color: var(--ink); transition: all .28s; }
.social a .ic { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.social a:hover { background: var(--gold-grad); color: #0a1438; border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.social a.wa:hover { background: linear-gradient(135deg, #1ea952, #25d366); color: #fff; }
.social-lg a { width: 48px; height: 48px; }
.social-rail { position: fixed; left: 14px; top: 50%; translate: 0 -50%; z-index: 40; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 20px; background: var(--glass); border: 1px solid var(--brd); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.social-rail a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--ink-soft); transition: all .25s; }
.social-rail a .ic { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.social-rail a:hover { background: var(--gold-grad); color: #0a1438; transform: scale(1.1); }

/* floating actions */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #1ea952, #25d366); color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform .3s; }
.fab-wa .ic { width: 32px; height: 32px; fill: currentColor; stroke: none; position: relative; z-index: 1; }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: 0; animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
.fab-wa:hover { transform: scale(1.08); }
.fab-tip { position: absolute; right: 72px; white-space: nowrap; padding: 8px 14px; border-radius: 12px; background: var(--bg-2); color: var(--ink); border: 1px solid var(--brd); font-size: .84rem; opacity: 0; translate: 8px 0; pointer-events: none; transition: all .25s; }
.fab-wa:hover .fab-tip { opacity: 1; translate: 0 0; }
@keyframes ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }
.fab-up { position: fixed; right: 30px; bottom: 96px; z-index: 69; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--brd-gold); background: var(--glass-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; translate: 0 12px; pointer-events: none; transition: all .3s; color: var(--gold-text); }
.fab-up.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.fab-up .ic { width: 22px; height: 22px; stroke-width: 2.4; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 520px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; border-radius: 18px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .84rem; color: var(--ink-soft); line-height: 1.55; }
.cookie a { color: var(--gold-text); text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 30px; z-index: 90; padding: 14px 22px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--brd-gold); color: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .35s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; translate: -50% 0; }

/* studio booking */
.book-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; margin-bottom: 30px; }
.cal { padding: 20px; border-radius: 20px; background: var(--field); border: 1px solid var(--brd); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-family: 'Outfit', sans-serif; }
.cal-head .icon-btn { width: 36px; height: 36px; }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-week span { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-days button { aspect-ratio: 1.25; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--ink); font-size: .92rem; transition: all .2s; }
.cal-days button:hover:not(:disabled) { border-color: var(--brd-gold); background: var(--glass-2); }
.cal-days button.today { border-color: var(--brd-gold); color: var(--gold-text); font-weight: 700; }
.cal-days button.sel { background: var(--gold-grad); color: #0a1438; font-weight: 700; border-color: transparent; box-shadow: var(--shadow-gold); }
.cal-days button:disabled { opacity: .28; cursor: not-allowed; }
.cal-days .blank { visibility: hidden; }
.slots h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.slots h3 .ic { color: var(--gold-text); }
.slot-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.slot-chips button { padding: 10px 6px; border-radius: 12px; border: 1px solid var(--brd); background: var(--glass); color: var(--ink-soft); font-size: .86rem; transition: all .2s; }
.slot-chips button:hover { border-color: var(--brd-gold); }
.slot-chips button.on { background: var(--gold-grad); color: #0a1438; font-weight: 600; border-color: transparent; }
.book-summary { margin-top: 18px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--brd-gold); color: var(--ink); font-size: .92rem; background: var(--glass); }

/* CTA band + footer */
.site-footer { position: relative; padding-top: 40px; margin-top: 30px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 40px 46px; border-color: var(--brd-gold); background: linear-gradient(135deg, rgba(210, 170, 78, .16), rgba(43, 79, 208, .12)), var(--glass); margin-bottom: 64px; }
.cta-band h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.cta-band p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr .95fr 1.4fr; gap: 36px; padding-bottom: 40px; }
.foot-brand p { color: var(--muted); font-size: .92rem; margin: 18px 0 0; max-width: 34ch; }
.brand-foot img { height: 62px; }
.site-footer h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { color: var(--ink-soft); font-size: .93rem; transition: color .2s, padding .2s; }
.site-footer li a:hover { color: var(--gold-text); padding-left: 5px; }
.foot-contact p { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: .92rem; margin-bottom: 12px; line-height: 1.55; }
.foot-contact .ic { margin-top: 3px; color: var(--gold-text); width: 18px; height: 18px; }
.foot-contact a:hover { color: var(--gold-text); }
.foot-reg { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0; border-top: 1px solid var(--brd); }
.foot-reg span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--brd); background: var(--glass); font-size: .78rem; color: var(--muted); letter-spacing: .03em; }
.foot-copy { padding: 4px 0 34px; }
.foot-copy p { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; line-height: 1.8; }

/* legal */
.legal { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
.legal-toc { padding: 24px; position: sticky; top: 110px; }
.legal-toc strong { font-family: 'Outfit', sans-serif; color: var(--gold-text); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.legal-toc ol { list-style: decimal; padding-left: 20px; margin: 14px 0 20px; font-size: .9rem; }
.legal-toc li { margin-bottom: 7px; color: var(--muted); }
.legal-toc li a:hover { color: var(--gold-text); }
.legal-links { display: grid; gap: 8px; border-top: 1px solid var(--brd); padding-top: 16px; font-size: .88rem; }
.legal-links a { color: var(--ink-soft); } .legal-links a:hover { color: var(--gold-text); }
.legal-body { padding: 44px 48px; }
.legal-notice { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--brd-gold); background: var(--glass); font-size: .86rem; color: var(--muted); }
.legal-updated { color: var(--muted); font-size: .88rem; margin-bottom: 28px; }
.legal-body section { margin-bottom: 32px; scroll-margin-top: 110px; }
.legal-body h2 { font-size: 1.35rem; color: var(--gold-text); margin-bottom: 12px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: .98rem; }
.legal-body ul { list-style: none; margin: 0 0 1em; padding-left: 0; }
.legal-body ul li { position: relative; padding-left: 24px; margin-bottom: 9px; }
.legal-body ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-grad); }
.legal-body a { color: var(--gold-text); text-decoration: underline; }

/* 404 */
.notfound { padding-top: 40px; }
.nf-card { max-width: 660px; margin-inline: auto; padding: 56px 40px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1360px) { .social-rail { display: none; } }
@media (max-width: 1240px) { .hide-md { display: none; } }
@media (max-width: 1180px) {
  .burger { display: inline-grid; }
  .nav { position: fixed; left: 16px; right: 16px; top: 88px; margin: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--brd-gold); box-shadow: var(--shadow); opacity: 0; pointer-events: none; translate: 0 -12px; transition: all .3s; max-height: calc(100svh - 110px); overflow-y: auto; }
  .nav.open { opacity: 1; pointer-events: auto; translate: 0 0; }
  .nav > a { padding: 14px 16px; font-size: 1rem; }
  .nav-mobile-extras { display: block; padding-top: 8px; } .nav-mobile-extras .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; } .foot-contact { grid-column: span 2; }
}
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 80px; min-height: 0; }
  .hero-grid, .split, .panel-top, .contact-grid, .callout, .vm-grid, .book-grid, .legal { grid-template-columns: 1fr; gap: 40px; }
  .contact-info, .legal-toc { position: static; }
  .callout-art { min-height: 200px; }
  .chip.c1 { left: 8px; } .chip.c2 { right: 8px; } .chip.c3 { left: 8px; } .chip.c4 { right: 8px; }
  .emblem-float { right: 6px; top: -34px; width: 74px; height: 74px; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-contact { grid-column: 1 / -1; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .brand img { height: 42px; }
  .bar { gap: 8px; padding: 7px 8px; }
  .lang button { padding: 6px 8px; min-width: 30px; }
  .tools { gap: 6px; margin-left: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .enquiry, .book { padding: 24px 18px; }
  .callout-copy, .legal-body { padding: 28px 22px; }
  .cta-band { padding: 28px 22px; }
  .hero-cta .btn, .cta-actions .btn, .form-actions .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; } .foot-contact { grid-column: auto; }
  .slot-chips { grid-template-columns: repeat(3, 1fr); }
  .fab-up { right: 20px; bottom: 90px; } .fab-wa { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .cookie { flex-direction: column; align-items: flex-start; right: 16px; bottom: 84px; }
  .page-hero { padding-top: 160px; }
  .media-badge { left: 12px; }
  .table-glass th, .table-glass td { padding: 14px; }
  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; scrollbar-width: thin; }
  .tab { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; }
  .marquee-track { animation: none; }
}
@media print { .shapes, .site-header, .fab-wa, .fab-up, .social-rail, .cookie, .toast { display: none !important; } body { background: #fff; color: #000; } }
