/* ==========================================================================
   SHREE PRODUCTION — public site styles
   ========================================================================== */
:root {
  --accent: #c08b6b;
  --brand-dark: #0b0b0e;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --bg: #0a0a0c;
  --bg-2: #101014;
  --surface: #15151a;
  --surface-2: #1c1c22;
  --line: rgba(255, 255, 255, .09);
  --text: #f3f1ed;
  --muted: #a4a2ab;
  --on-accent: #111;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 78px;
  --container: 1240px;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f6f4ef; --bg-2: #eeebe4; --surface: #ffffff; --surface-2: #f3f1ec;
  --line: rgba(20, 20, 25, .1); --text: #16161a; --muted: #5d5b64; --shadow: 0 30px 60px -35px rgba(30, 25, 10, .25);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  html[data-theme="auto"] {
    --bg: #f6f4ef; --bg-2: #eeebe4; --surface: #ffffff; --surface-2: #f3f1ec;
    --line: rgba(20, 20, 25, .1); --text: #16161a; --muted: #5d5b64; --shadow: 0 30px 60px -35px rgba(30, 25, 10, .25);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }
.icon { flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  border: 1px solid transparent; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent:hover { box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-link { padding-left: 6px; padding-right: 6px; color: #fff; }
.btn-link:hover { color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: background .4s, border-color .4s, backdrop-filter .4s, height .4s;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.is-home .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; color: #fff; }
.site-header.scrolled { --header-h: 66px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 42px; width: auto; }
.brand-mark { color: var(--accent); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand-text strong { font-size: 20px; letter-spacing: .14em; font-weight: 800; }
.brand-text span { font-size: 10.5px; letter-spacing: .42em; opacity: .75; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav ul a { position: relative; display: block; padding: 8px 14px; font-size: 14.5px; font-weight: 600; opacity: .82; transition: opacity .2s, color .2s; }
.main-nav ul a:hover, .main-nav ul a.active { opacity: 1; }
.main-nav ul a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px;
    background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; color: var(--text);
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 6px; }
  .main-nav ul a { font-family: var(--font-head); font-size: 28px; padding: 8px 16px; }
  .main-nav ul a.active::after { display: none; }
  .main-nav ul a.active { color: var(--accent); }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { color: var(--text) !important; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .22em;
  font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(30px, 4.2vw, 52px); }
.section-sub { color: var(--muted); max-width: 420px; margin: 0; }
.sub-title { font-size: 26px; margin: 40px 0 20px; }
.prose { color: var(--muted); font-size: 17px; }
.prose strong { color: var(--text); }
.lead-prose { font-size: 18.5px; line-height: 1.75; }
.lead-prose p:first-child { color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-tight { padding-top: 48px; }
.section-dark { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 54px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-head .section-title { margin: 0; max-width: 680px; }
.center-cta { text-align: center; margin-top: 56px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: #000; }
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img, .hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-embed { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.9) 100%), radial-gradient(ellipse at 20% 80%, rgba(0,0,0,.5), transparent 60%); }
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: 40px; }
.hero-eyebrow { color: var(--accent); }
.hero-title { font-size: clamp(42px, 7.4vw, 104px); line-height: .98; max-width: 1050px; margin-bottom: 28px; letter-spacing: -.035em; text-wrap: balance; }
.hero-text { font-size: clamp(17px, 1.6vw, 20px); max-width: 620px; color: rgba(255,255,255,.82); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; }
.hero-tagline { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.3); border-radius: 3px; transition: background .3s, width .3s; }
.hero-dots button.is-active { background: var(--accent); width: 54px; }
.scroll-hint { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; position: relative; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 3px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero .hero-title, .hero .hero-text, .hero .hero-actions, .hero .hero-eyebrow { animation: rise 1.1s var(--ease) both; }
.hero .hero-title { animation-delay: .12s; } .hero .hero-text { animation-delay: .26s; } .hero .hero-actions { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .hero-tagline { display: none; } .hero-actions .btn { flex: 1 1 auto; } .hero-actions .btn-link { flex-basis: 100%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(60px, 7vw, 96px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-bg { position: absolute; inset: 0; opacity: .32; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 40%, var(--bg) 100%); }
.page-hero-inner { position: relative; }
.page-title { font-size: clamp(40px, 6.4vw, 84px); max-width: 980px; letter-spacing: -.035em; text-wrap: balance; }
.page-intro { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0; }
.page-hero-inner.center .page-title, .page-hero-inner.center .page-intro { margin-left: auto; margin-right: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--accent); }
.not-found { min-height: 80vh; display: flex; align-items: center; }

/* ---------- Split layout / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-media { position: relative; }
.frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame-badge { position: absolute; right: -18px; bottom: 40px; background: var(--accent); color: var(--on-accent); padding: 22px 26px; border-radius: var(--radius-sm); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.frame-badge strong { font-family: var(--font-head); font-size: 40px; line-height: 1; }
.frame-badge span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.split-body .btn { margin-top: 12px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .frame { aspect-ratio: 4 / 3; } .frame-badge { right: 16px; bottom: 16px; } }

/* ---------- Stats ---------- */
.stats-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(40px, 5vw, 66px); font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.stat-label { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card { position: relative; background: var(--bg); padding: 40px 34px 36px; display: flex; flex-direction: column; min-height: 300px; transition: background .4s; overflow: hidden; }
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); opacity: 0; transition: opacity .5s; }
.service-card:hover { background: var(--surface); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; }
.service-num { position: absolute; top: 30px; right: 30px; font-family: var(--font-head); font-size: 14px; color: var(--muted); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); margin-bottom: 26px; }
.service-card h3 { font-size: 22px; }
.service-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--accent); }
.card-more .icon { transition: transform .3s; }
a:hover .card-more .icon, .card-more:hover .icon { transform: translateX(5px); }
@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } .service-card { min-height: 0; padding: 32px 24px; } }

.service-list { display: grid; gap: 28px; }
.service-row { display: grid; grid-template-columns: 5fr 6fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { overflow: hidden; aspect-ratio: 16 / 11; }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-row:hover .service-row-media img { transform: scale(1.05); }
.service-row-body { position: relative; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.service-row-body h2 { font-size: clamp(24px, 2.6vw, 34px); }
.service-row-body h2 a:hover { color: var(--accent); }
.service-row-body p { color: var(--muted); }
@media (max-width: 800px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .service-row-media { order: 0; } }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-grid.featured .project-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.project-grid.featured .project-card:nth-child(1) .project-media { aspect-ratio: auto; height: 100%; }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.project-link { display: block; height: 100%; position: relative; }
.project-media { aspect-ratio: 4 / 3; overflow: hidden; height: 100%; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.project-card:hover .project-media img { transform: scale(1.07); filter: brightness(.75); }
.project-link::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.project-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; color: #fff; transform: translateY(10px); transition: transform .5s var(--ease); }
.project-card:hover .project-info { transform: none; }
.project-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); font-weight: 700; }
.project-title { font-size: clamp(19px, 1.7vw, 24px); margin: 6px 0 4px; }
.project-grid.featured .project-card:nth-child(1) .project-title { font-size: clamp(24px, 2.8vw, 38px); }
.project-client { font-size: 14px; color: rgba(255,255,255,.7); }
.project-arrow { position: absolute; top: 20px; right: 20px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; transform: scale(0) rotate(-45deg); transition: transform .45s var(--ease); }
.project-card:hover .project-arrow { transform: scale(1) rotate(-45deg); }
.play-badge { position: absolute; top: 20px; left: 20px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); }
@media (max-width: 960px) { .project-grid { grid-template-columns: 1fr 1fr; } .project-grid.featured .project-card:nth-child(1) { grid-column: span 2; grid-row: auto; } .project-grid.featured .project-card:nth-child(1) .project-media { aspect-ratio: 16 / 9; } }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } .project-grid.featured .project-card:nth-child(1) { grid-column: auto; } .project-info { transform: none; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: all .25s; }
.filter sup { font-size: 10px; opacity: .7; margin-left: 2px; }
.filter:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.filter.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-weight: 700; }
.pagination a.is-active, .pagination a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- Project / service detail ---------- */
.project-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 60px) 0 70px; color: #fff; overflow: hidden; background: #000; }
.project-hero-bg { position: absolute; inset: 0; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.project-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 40%, rgba(0,0,0,.9) 100%); }
.project-hero-inner { position: relative; }
.project-hero .crumbs, .project-hero .page-intro { color: rgba(255,255,255,.75); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 70px); align-items: start; }
.detail-video { margin-bottom: 40px; }
.detail-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side-card h3 { font-size: 19px; margin-bottom: 16px; }
.side-card p { color: var(--muted); font-size: 15px; }
.side-link { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 16px; color: var(--muted); font-weight: 600; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; transition: color .2s; }
.side-list li:last-child a { border: 0; }
.side-list a:hover { color: var(--accent); }
.info-list { margin: 0; display: grid; gap: 0; }
.info-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list div:last-child { border-bottom: 0; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; font-weight: 600; text-align: right; }
.share { display: flex; gap: 10px; flex-wrap: wrap; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: all .25s; }
.share a:hover, .share button:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.share button.copied { background: #2fbf71; border-color: #2fbf71; color: #fff; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; display: block; cursor: zoom-in; background: var(--surface); }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.project-nav { display: flex; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 80px; }
.pn { display: flex; flex-direction: column; gap: 6px; max-width: 46%; }
.pn small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; }
.pn span { font-family: var(--font-head); font-size: clamp(18px, 2.4vw, 28px); font-weight: 700; transition: color .2s; }
.pn:hover span { color: var(--accent); }
.pn.next { text-align: right; align-items: flex-end; margin-left: auto; }
@media (max-width: 960px) { .detail-layout { grid-template-columns: 1fr; } .detail-side { position: static; } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; }
.lightbox .lb-close { top: 20px; right: 20px; } .lightbox .lb-prev { left: 20px; top: 50%; } .lightbox .lb-next { right: 20px; top: 50%; }

/* ---------- Why / process / values ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card, .mv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; transition: transform .45s var(--ease), border-color .3s; }
.why-card:hover, .mv-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.why-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); margin-bottom: 22px; }
.why-card h3, .mv-card h3 { font-size: 20px; }
.why-card p, .mv-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 44px 40px; }
.mv-card h3 { font-size: 28px; }
.mv-card p { font-size: 17.5px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid, .mv-grid { grid-template-columns: 1fr; } .mv-card { padding: 32px 26px; } }

.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 34px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num { position: relative; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-bottom: 24px; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .process-steps { grid-template-columns: 1fr 1fr; row-gap: 44px; } .process-steps::before { display: none; } }
@media (max-width: 520px) { .process-steps { grid-template-columns: 1fr; } }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--bg-2); padding: 38px 30px; }
.value-num { font-family: var(--font-head); color: var(--accent); font-weight: 800; font-size: 15px; display: block; margin-bottom: 18px; }
.value h3 { font-size: 22px; }
.value p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Clients ---------- */
.clients-band { padding: 60px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients-title { text-align: center; text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 30px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marquee 32s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-logo { display: flex; align-items: center; height: 48px; opacity: .55; transition: opacity .3s; font-family: var(--font-head); font-size: 22px; font-weight: 700; white-space: nowrap; }
.client-logo:hover { opacity: 1; }
.client-logo img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
html[data-theme="light"] .client-logo img[src$=".svg"] { filter: invert(1); }
@media (prefers-color-scheme: light) { html[data-theme="auto"] .client-logo img[src$=".svg"] { filter: invert(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.testimonial-slider { position: relative; max-width: 880px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform .7s var(--ease); }
.testimonial { flex: 0 0 100%; margin: 0; text-align: center; padding: 0 10px; }
.stars { display: inline-flex; gap: 4px; margin-bottom: 26px; color: var(--line); }
.stars .on { color: var(--accent); }
.stars .on svg { fill: currentColor; }
.testimonial blockquote { margin: 0 0 34px; font-family: var(--font-head); font-size: clamp(21px, 2.6vw, 32px); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.testimonial blockquote::before { content: '“'; } .testimonial blockquote::after { content: '”'; }
.testimonial figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.testimonial figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption small { color: var(--muted); font-size: 14px; }
.avatar-initial { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.avatar-initial.big { width: 100%; height: 100%; border-radius: 0; font-size: 64px; }
.slider-nav { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.slider-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: all .25s; }
.slider-btn:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--surface); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: grayscale(.25); }
.team-card:hover .team-photo img { transform: scale(1.05); filter: none; }
.team-social { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; opacity: 0; transform: translateY(10px); transition: all .4s var(--ease); }
.team-card:hover .team-social, .team-card:focus-within .team-social { opacity: 1; transform: none; }
.team-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); color: #fff; display: grid; place-items: center; }
.team-social a:hover { background: var(--accent); color: var(--on-accent); }
.team-card h3 { font-size: 21px; margin-bottom: 4px; }
.team-role { color: var(--accent); font-size: 14px; font-weight: 600; }
.team-bio { color: var(--muted); font-size: 15px; margin-top: 10px; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .team-grid { gap: 16px; } .team-card h3 { font-size: 17px; } .team-social { opacity: 1; transform: none; } }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(90px, 13vw, 170px) 0; overflow: hidden; color: #fff; background: #000; text-align: center; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.3), rgba(0,0,0,.85)); }
.cta-inner { position: relative; }
.cta-title { font-size: clamp(34px, 5.4vw, 72px); max-width: 940px; margin: 0 auto 22px; letter-spacing: -.03em; text-wrap: balance; }
.cta p { color: rgba(255,255,255,.8); font-size: 18px; max-width: 560px; margin: 0 auto 38px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info .sub-title { margin-top: 0; }
.contact-cards { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.contact-cards a, .contact-cards li > div { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s, transform .3s var(--ease); }
.contact-cards a:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-cards small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: 2px; }
.contact-cards span { font-weight: 600; }
.ci-icon { width: 44px; height: 44px; border-radius: 12px; display: grid !important; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 48px); scroll-margin-top: calc(var(--header-h) + 20px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 15.5px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.invalid input, .field.invalid textarea { border-color: #ff6b6b; }
.field .err-msg { color: #ff8a8a; font-size: 13px; margin-top: 6px; display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: 13px; margin: 16px 0 0; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 15px; }
.alert-error { background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.35); color: #ff9d9d; }
html[data-theme="light"] .alert-error { color: #b42318; }
.form-success { text-align: center; padding: 30px 10px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent); color: var(--on-accent); margin-bottom: 22px; }
.form-success h2 { font-size: 32px; }
.form-success p { color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .25s; }
.socials.big a { width: 48px; height: 48px; }
.socials a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-3px); }
.map-wrap { height: 440px; border-top: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.1) brightness(.85); }
html[data-theme="light"] .map-wrap iframe { filter: grayscale(.6); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .map-wrap { height: 320px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 60px; }
.footer-tagline { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin: 22px 0 10px; }
.footer-brand .muted { font-size: 15px; max-width: 340px; }
.footer-title { font-size: 13px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); margin-bottom: 20px; font-family: var(--font-body); font-weight: 800; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { color: var(--muted); font-size: 15px; transition: color .2s, padding .3s; }
.footer-links a:hover { color: var(--text); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 4px; }
.footer-contact a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.to-top:hover { color: var(--accent); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
[hidden] { display: none !important; }
@media (max-width: 600px) { .scroll-hint { display: none; } }

/* Brand logo */
.brand-emblem { height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.site-header.scrolled .brand-emblem { height: 40px; }
.brand-text strong { font-family: 'Cinzel', Georgia, serif; font-weight: 600; letter-spacing: .2em; font-size: 21px; background: linear-gradient(180deg, #ffffff 0%, #c9c9cf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text span { font-family: 'Cinzel', Georgia, serif; color: var(--accent); opacity: 1; letter-spacing: .5em; font-size: 9.5px; }
html[data-theme="light"] .site-header.scrolled .brand-text strong, html[data-theme="light"] body:not(.is-home) .brand-text strong { background: none; color: #222; }
.footer-logo { width: 170px; height: auto; }
html[data-theme="light"] .footer-logo, html[data-theme="light"] .brand-emblem { filter: drop-shadow(0 0 1px rgba(0,0,0,.6)); }
