/* ============================================================
   MAYU INFRA — Design System
   Bold & Cinematic  |  Charcoal + Amber Gold
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Surfaces */
  --ink:        #0A0C0E;
  --ink-rgb:    10, 12, 14;     /* --ink as RGB, for scrims/overlays */
  --ink-2:      #101418;
  --surface:    #161B21;
  --surface-2:  #1D242B;
  --line:       rgba(255, 255, 255, .10);
  --line-soft:  rgba(255, 255, 255, .06);

  /* Light surfaces */
  --cream:      #F6F3ED;

  /* Brand */
  --gold:       #D9A441;
  --gold-2:     #F0C46A;
  --gold-deep:  #A87A28;
  --gold-glow:  rgba(217, 164, 65, .28);

  /* Text */
  --text:       #F2F4F6;
  --text-dim:   #A6B0BA;
  --text-dark:  #14181C;
  --text-dark-dim: #55606B;

  /* Type */
  --f-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --f-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --r-sm: 6px;
  --r-md: 14px;

  /* Motion */
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io:  cubic-bezier(.65, 0, .35, 1);

  /* Elevation */
  --sh-2: 0 18px 44px rgba(0,0,0,.34);
  --sh-3: 0 34px 80px rgba(0,0,0,.48);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
  /* Reveal animations offset elements by up to 34px before they animate in.
     body's overflow-x alone does not stop that widening the document, which
     stretched the fixed header past the viewport on narrow screens.
     clip contains it without creating a scroll container; hidden is the
     fallback for Safari < 16 (safe here - the header is fixed, not sticky). */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: #2C353E; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.h-xl { font-size: clamp(2.9rem, 7.2vw, 6.2rem); font-weight: 800; letter-spacing: -.04em; }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.h-md { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: '';
  width: 34px; height: 2px;
  background: linear-gradient(270deg, var(--gold), transparent);
}

.lead { font-size: clamp(1.02rem, 1.5vw, 1.14rem); color: var(--text-dim); }

.gold-line {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 4. LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-bottom: 18px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.bg-ink2   { background: var(--ink-2); }

/* Subtle blueprint grid texture */
.texture::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.texture > * { position: relative; z-index: 1; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .93rem;
  letter-spacing: .01em;
  border-radius: var(--r-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--e-out), box-shadow .4s var(--e-out), color .3s;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  transform: translateY(101%);
  transition: transform .45s var(--e-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px var(--gold-glow); }
.btn:hover::after { transform: translateY(0); }
.btn svg { transition: transform .4s var(--e-out); }
.btn:hover svg { transform: translateX(4px); }

.btn.ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px);
}
.btn.ghost::after { background: var(--cream); }
.btn.ghost:hover { color: var(--text-dark); border-color: var(--cream); box-shadow: var(--sh-2); }

.btn.sm { padding: 11px 22px; font-size: .86rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .9rem; color: var(--gold);
  transition: gap .35s var(--e-out);
}
.link-arrow:hover { gap: 15px; }

/* ---------- 6. HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 900;
  transition: background .45s var(--e-io), box-shadow .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
.header.solid {
  background: rgba(10, 12, 14, .88);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 34px rgba(0,0,0,.32);
}

/* Top utility strip */
.topbar {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--line-soft);
  font-size: .8rem;
  color: var(--text-dim);
  transition: max-height .45s var(--e-io), opacity .3s;
  max-height: 46px; overflow: hidden;
}
.header.solid .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 45px; gap: 20px; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb-item svg { color: var(--gold); flex: none; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; height: 78px;
}
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-icon { height: 32px; width: auto; display: block; flex: none; }
.brand-txt { line-height: 1.06; }
.brand-txt b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.28rem; font-weight: 800; letter-spacing: -.03em;
}
.brand-txt span {
  display: block;
  font-size: .58rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 9px 15px;
  font-size: .93rem; font-weight: 500;
  color: var(--text-dim);
  border-radius: var(--r-sm);
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--e-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  place-items: center;
}
.burger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .4s var(--e-out), opacity .25s;
}
.burger span + span { margin-top: 5px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  z-index: 890;
  background: rgba(var(--ink-rgb),.97);
  backdrop-filter: blur(18px);
  padding: 120px var(--gut) 48px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .4s var(--e-io), transform .5s var(--e-out), visibility .4s;
  overflow-y: auto;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a.d-link {
  font-family: var(--f-display);
  font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-dim);
  transition: color .3s, padding-left .35s var(--e-out);
}
.drawer a.d-link:hover, .drawer a.d-link.active { color: var(--gold); padding-left: 12px; }
.drawer .d-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--e-io);
}
.hero-slide.on { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  filter: saturate(.82) contrast(1.05);
}
.hero-slide.on img {
  animation: kenburns 9s linear forwards;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to   { transform: scale(1.16) translate3d(-1.4%, -1.4%, 0); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--ink-rgb),.90) 0%, rgba(var(--ink-rgb),.42) 34%, rgba(var(--ink-rgb),.80) 78%, var(--ink) 100%),
    linear-gradient(96deg, rgba(var(--ink-rgb),.92) 4%, rgba(var(--ink-rgb),.34) 58%, rgba(var(--ink-rgb),.12) 100%);
}
.hero-scrim::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 92px 100%;
  opacity: .6;
}

.hero-inner {
  position: relative; z-index: 3;
  width: 100%;
  padding-top: 130px; padding-bottom: 40px;
}
.hero-copy { max-width: 810px; }
.hero-copy h1 { margin-bottom: 10px; }
.hero-copy h1 span { display: block; }
.hero-tag {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 500; color: var(--gold);
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero-copy p { max-width: 620px; margin-bottom: 34px; font-size: clamp(1rem, 1.35vw, 1.1rem); color: #CBD3DA; }

.hero-quote {
  max-width: 640px;
  margin-bottom: 34px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  transition: opacity .42s var(--e-io), transform .42s var(--e-io);
}
.hero-quote blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.5;
  color: #EDEFF1;
}
.hero-quote .hq-cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-2);
  opacity: .85;
}
.hero-quote.swap { opacity: 0; transform: translateY(8px); }

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px;
  background: rgba(217,164,65,.12);
  border: 1px solid rgba(217,164,65,.34);
  border-radius: 100px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-2);
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-badge i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 var(--gold-glow);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,196,106,.6); }
  70%  { box-shadow: 0 0 0 11px rgba(240,196,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,196,106,0); }
}

/* Hero footer bar: dots + scroll cue */
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 4;
}
.hero-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dots { display: flex; gap: 9px; }
.dots button {
  /* Visible bar stays 3px; transparent borders grow the touch target to
     34x27 without changing the look (background is clipped to padding-box). */
  width: 34px; height: 27px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  background: rgba(255,255,255,.22);
  background-clip: padding-box;
  border-radius: 3px; overflow: hidden;
  position: relative;
  transition: background .3s;
}
.dots button.on { background: rgba(255,255,255,.3); }
.dots button.on::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  transform-origin: left;
  animation: fill 9s linear forwards;
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.scroll-cue {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-cue i {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 12px;
  position: relative;
}
.scroll-cue i::after {
  content: '';
  position: absolute; left: 50%; top: 7px;
  width: 3px; height: 6px; margin-left: -1.5px;
  background: var(--gold); border-radius: 3px;
  animation: wheel 1.9s var(--e-io) infinite;
}
@keyframes wheel { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(11px);opacity:0} 100%{opacity:0} }

/* ---------- 8. STAT STRIP ---------- */
.stats {
  position: relative; z-index: 5;
  background: linear-gradient(120deg, var(--surface), var(--ink-2));
  border-block: 1px solid var(--line-soft);
}
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: clamp(26px, 3.6vw, 44px) 22px; text-align: center; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: var(--line);
}
.stat b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(160deg, var(--gold-2), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span {
  display: block; margin-top: 9px;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- 9. SPLIT (about) ---------- */
.split { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(34px, 5vw, 74px); align-items: center; }
.split.rev > *:first-child { order: 2; }

.frame { position: relative; }
.frame img { border-radius: var(--r-md); box-shadow: var(--sh-3); width: 100%; object-fit: cover; }
.frame::before {
  content: '';
  position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid rgba(217,164,65,.42);
  border-radius: var(--r-md);
  z-index: -1;
}
.frame-badge {
  position: absolute; right: -14px; bottom: -22px;
  background: linear-gradient(150deg, var(--gold-2), var(--gold-deep));
  color: var(--ink);
  padding: 20px 26px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  text-align: center;
  min-width: 132px;
}
.frame-badge b { display: block; font-family: var(--f-display); font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.frame-badge span { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; opacity: .82; }

.ticks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 28px 0 34px; }
.tick { display: flex; align-items: flex-start; gap: 11px; font-size: .93rem; }
.tick svg { flex: none; color: var(--gold); margin-top: 4px; }

/* ---------- 10. CARDS ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(26px, 3vw, 36px);
  overflow: hidden;
  transition: transform .5s var(--e-out), border-color .4s, background .4s, box-shadow .5s var(--e-out);
}
.card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-deep));
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--e-out);
}
.card:hover { transform: translateY(-7px); border-color: rgba(217,164,65,.30); background: var(--surface-2); box-shadow: var(--sh-2); }
.card:hover::before { transform: scaleX(1); }

.card-ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(217,164,65,.11);
  border: 1px solid rgba(217,164,65,.24);
  color: var(--gold);
  margin-bottom: 20px;
  transition: background .4s, transform .5s var(--e-out), color .4s;
}
.card:hover .card-ico { background: var(--gold); color: var(--ink); transform: rotate(-6deg) scale(1.06); }
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { font-size: .93rem; color: var(--text-dim); }

.card-list { margin-top: 16px; display: grid; gap: 8px; }
.card-list li {
  position: relative; padding-left: 18px;
  font-size: .87rem; color: var(--text-dim);
}
.card-list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-deep);
}
.card .link-arrow { margin-top: 18px; }

.card-num {
  position: absolute; right: 20px; top: 14px;
  font-family: var(--f-display); font-size: 3.6rem; font-weight: 800;
  color: rgba(255,255,255,.035); line-height: 1;
  transition: color .45s;
}
.card:hover .card-num { color: rgba(217,164,65,.11); }

/* Compact card variant */
.card.mini { padding: 24px; }
.card.mini h3 { font-size: 1.02rem; }
.card.mini p { font-size: .87rem; }

/* Light theme cards */

/* ---------- 11. PROJECT TILES ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  min-height: 340px;
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.tile img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--e-out), filter .6s;
  filter: saturate(.75) brightness(.9);
}
.tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--ink-rgb),0) 28%, rgba(var(--ink-rgb),.86) 100%);
  transition: background .5s;
}
.tile:hover img { transform: scale(1.09); filter: saturate(1) brightness(1); }
.tile:hover::after { background: linear-gradient(180deg, rgba(var(--ink-rgb),.06) 10%, rgba(var(--ink-rgb),.92) 100%); }
.tile-body { padding: 26px; width: 100%; }
.tile-cat {
  display: inline-block;
  padding: 5px 12px; margin-bottom: 12px;
  background: rgba(217,164,65,.9); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 4px;
}
.tile-body h3 { font-size: 1.32rem; margin-bottom: 5px; }
.tile-body p { font-size: .87rem; color: #B9C2CA; }
.tile-body .link-arrow {
  margin-top: 12px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--e-out), opacity .4s;
}
.tile:hover .tile-body .link-arrow { max-height: 40px; opacity: 1; }

/* ---------- 13. FEATURE ROWS ---------- */
.feat { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.feat:last-child { border-bottom: 0; }
.feat-ico {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(217,164,65,.11);
  border: 1px solid rgba(217,164,65,.22);
  color: var(--gold);
}
.feat h3 { font-size: 1.06rem; margin-bottom: 5px; }
.feat p { font-size: .9rem; color: var(--text-dim); }

/* ---------- 14. CTA BANNER ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 130px) 0;
  isolation: isolate;
}
.cta img.cta-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(96deg, rgba(var(--ink-rgb),.95) 10%, rgba(var(--ink-rgb),.72) 55%, rgba(var(--ink-rgb),.42));
}
.cta-in { max-width: 680px; }
.cta-in h2 { margin-bottom: 18px; }
.cta-in p { margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.05);
  border-radius: 100px;
  font-size: .8rem; font-weight: 500;
  backdrop-filter: blur(6px);
}
.chip svg { color: var(--gold); flex: none; }

/* ---------- 15. PAGE HERO (inner pages) ---------- */
.phero {
  position: relative;
  padding: clamp(150px, 20vw, 230px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.phero img.phero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.7);
  animation: kenburns 22s linear infinite alternate;
}
.phero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--ink-rgb),.94) 0%, rgba(var(--ink-rgb),.66) 46%, rgba(var(--ink-rgb),.94) 100%);
}
.phero h1 { margin-bottom: 14px; font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.phero p { max-width: 620px; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: var(--text-dim); margin-top: 20px; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* ---------- 16. CONTACT ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .94rem;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,164,65,.15);
  background: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: #5C6772; }
.form-note { font-size: .82rem; color: var(--text-dim); margin-top: 14px; }
.form-ok {
  display: none;
  margin-top: 16px; padding: 13px 16px;
  background: rgba(217,164,65,.12);
  border: 1px solid rgba(217,164,65,.36);
  border-radius: var(--r-sm);
  font-size: .9rem; color: var(--gold-2);
}
.form-ok.show { display: block; }

.info-item { display: flex; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.info-item:last-child { border: 0; }
.info-item .feat-ico { width: 44px; height: 44px; }
.info-item b { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.info-item p, .info-item a { font-size: .95rem; color: var(--text-dim); }
.info-item a:hover { color: var(--gold); }

.map-wrap { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); filter: grayscale(.4) contrast(1.05); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- 17. AREAS ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); }
.area-col h4 { font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tags a {
  padding: 7px 13px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  font-size: .82rem; color: var(--text-dim);
  transition: all .3s var(--e-out);
}
.area-tags a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-2px); }

/* ---------- 18. FOOTER ---------- */
.footer { background: var(--ink-2); border-top: 1px solid var(--line-soft); padding-top: clamp(56px, 7vw, 88px); }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: clamp(26px, 3.4vw, 50px); padding-bottom: 50px; }
.f-col h4 {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); margin-bottom: 20px;
  position: relative; padding-bottom: 12px;
}
.f-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold); }
.f-col p, .f-col li a, .f-col address {
  font-size: .9rem; color: var(--text-dim); font-style: normal;
}
.f-col li { margin-bottom: 10px; }
.f-col li a { transition: color .3s, padding-left .3s var(--e-out); display: inline-block; }
.f-col li a:hover { color: var(--gold); padding-left: 5px; }
.f-brand { margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px; color: var(--text-dim);
  transition: all .35s var(--e-out);
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.f-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; }
.f-contact svg { color: var(--gold); flex: none; margin-top: 4px; }
.f-bot {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
  font-size: .84rem; color: var(--text-dim);
}
.f-bot a:hover { color: var(--gold); }
.f-bot nav { display: flex; gap: 20px; }
.f-credit {
  text-align: center;
  padding: 16px 0 26px;
  font-size: .78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
}
.f-credit a {
  position: relative;
  color: var(--gold-2);
  font-weight: 600;
  transition: color .3s var(--e-io);
}
.f-credit a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--e-io);
}
.f-credit a:hover { color: var(--gold); }
.f-credit a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 19. FLOATING ACTIONS ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  display: grid; gap: 11px;
}
.fab a, .fab button {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: var(--sh-2);
  transition: transform .4s var(--e-out), opacity .35s, visibility .35s;
}
.fab .wa { background: #25D366; color: #fff; }
.fab .call { background: var(--gold); color: var(--ink); }
.fab .top {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden;
}
.fab .top.show { opacity: 1; visibility: visible; }
.fab a:hover, .fab button:hover { transform: translateY(-4px) scale(1.06); }

/* ---------- 20. REVEAL ANIMATIONS ---------- */
[data-rv] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--e-out), transform .95s var(--e-out);
  will-change: opacity, transform;
}
[data-rv="left"]  { transform: translateX(-34px); }
[data-rv="right"] { transform: translateX(34px); }
[data-rv="zoom"]  { transform: scale(.94); }
[data-rv].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-rv] { opacity: 1; transform: none; }
}

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: grid; }
  .nav { height: 72px; }
  .split { grid-template-columns: 1fr; }
  .split.rev > *:first-child { order: 0; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: 1fr 1fr; }
  .frame::before { inset: 14px -14px -14px 14px; }
  .topbar .tb-left { display: none; }
  .topbar .wrap { justify-content: center; }
}

@media (max-width: 700px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before, .stat:nth-child(2)::before { }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .hero-foot { bottom: 18px; }
  .scroll-cue { display: none; }
  .frame-badge { right: 10px; bottom: -16px; padding: 15px 20px; min-width: 110px; }
  .frame-badge b { font-size: 1.9rem; }
  .hero-inner { padding-top: 118px; }
  .f-bot { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .hero-btns .btn { width: 100%; justify-content: center; }
  .fab { right: 14px; bottom: 14px; }
}
