/* ============================================================
   MILMAN — DEMO 2 : Editorial Corporate Theme
   Cream paper + deep ink + teal & amber accents
   ============================================================ */

:root {
  --bg: #f6f2ea;
  --bg2: #fffdf7;
  --card: #ffffff;
  --ink: #12283b;
  --ink2: #46596e;
  --teal: #0f766e;
  --teal-soft: rgba(15, 118, 110, .1);
  --amber: #d97706;
  --line: #e4ddd0;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(18, 40, 59, .12);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
html[data-theme="dark"] {
  --bg: #0c1722;
  --bg2: #101f2e;
  --card: #13283a;
  --ink: #ecf3f9;
  --ink2: #9db3c6;
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, .1);
  --amber: #fbbf24;
  --line: #22394e;
  --shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  transition: background .4s, color .4s;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1180px, 90%); margin: 0 auto; }

h1, h2, h3.serif { font-family: var(--serif); font-weight: 700; letter-spacing: -.5px; }

/* subtle paper texture */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(18,40,59,.045) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ============================================================
   TOPBAR (slim, ink)
   ============================================================ */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: .8rem; transition: background .4s; }
html[data-theme="dark"] .topbar { background: #0a1420; color: rgba(236,243,249,.7); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; gap: 1rem; }
.topbar-left, .topbar-right { display: flex; gap: 1.4rem; align-items: center; }
.topbar .ico { font-style: normal; color: var(--amber); margin-right: .3rem; }
.topbar-cta { color: var(--amber); font-weight: 700; letter-spacing: .5px; border-bottom: 1.5px solid var(--amber); padding-bottom: 1px; }
.topbar-cta:hover { color: #fff; border-color: #fff; }

/* ============================================================
   FLOATING PILL NAVBAR
   ============================================================ */
.navbar { position: sticky; top: 12px; z-index: 900; }
.nav-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 60px;
  padding: .55rem .7rem .55rem 1.4rem;
  box-shadow: 0 10px 30px rgba(18,40,59,.1);
  width: min(1180px, 94%); margin: 0 auto;
  transition: background .4s, border-color .4s;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
}
.brand-text { line-height: 1.1; display: flex; flex-direction: column; }
.brand-text strong { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 2px; color: var(--ink); }
.brand-text small { font-size: .62rem; letter-spacing: 3px; text-transform: uppercase; color: var(--ink2); }

.nav-menu > ul { display: flex; align-items: center; gap: .15rem; }
.nav-menu a {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .5rem .75rem; font-size: .9rem; font-weight: 600;
  color: var(--ink2); border-radius: 999px; position: relative;
  transition: color .2s, background .2s;
}
.nav-menu a:hover { color: var(--teal); }
.nav-menu a.active:not(.nav-cta) { color: var(--teal); background: var(--teal-soft); }
.nav-menu a.nav-cta.active { box-shadow: inset 0 0 0 2px var(--amber); }
.nav-cta {
  background: var(--ink); color: var(--bg) !important;
  padding: .55rem 1.3rem !important; border-radius: 999px !important;
}
.nav-cta:hover { background: var(--teal); color: #fff !important; }

.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); display: inline-block; }

/* dropdowns */
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 0;
  min-width: 250px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s;
}
.has-drop:hover > .dropdown, .has-drop:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; width: 100%; font-size: .88rem; }
.dropdown a:hover { background: var(--teal-soft); }

/* mega menu — full width under floating nav */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: .25s;
}
.mega-inner {
  width: min(1180px, 94%); margin: 0 auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.mega-narrow .mega-inner { grid-template-columns: repeat(3, 1fr); }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega-col h5 {
  font-size: .74rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--teal); margin-bottom: .7rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--teal-soft);
}
.mega-col a { display: block; padding: .3rem 0; color: var(--ink2); font-size: .9rem; transition: color .2s, padding-left .2s; }
.mega-col a:hover { color: var(--teal); padding-left: 6px; }
.mega-col .mega-more { color: var(--amber); font-weight: 700; }
.mega-feature a b { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  color: var(--teal); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: .25s;
}
.theme-toggle:hover { border-color: var(--teal); transform: rotate(20deg); }
.theme-toggle .ico-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — editorial split + morphing blob
   ============================================================ */
.hero { position: relative; padding: 5.5rem 0 4.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.4rem;
}
.hero-tag::before { content: ''; width: 34px; height: 2px; background: var(--teal); }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.05; margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p.lead { font-size: 1.1rem; color: var(--ink2); max-width: 540px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.hero-stats b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--teal); }
.hero-stats span { font-size: .82rem; color: var(--ink2); }

/* morphing blob visual */
.blob-stage { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.blob {
  width: 340px; height: 340px;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
  animation: morph 12s ease-in-out infinite alternate, spin-slow 40s linear infinite;
  position: relative; opacity: .9;
}
.blob::after {
  content: ''; position: absolute; inset: 16%;
  background: var(--bg);
  border-radius: 60% 40% 55% 45% / 45% 50% 50% 55%;
  animation: morph 12s ease-in-out infinite alternate-reverse;
}
@keyframes morph {
  0% { border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; }
  50% { border-radius: 42% 58% 45% 55% / 55% 45% 58% 42%; }
  100% { border-radius: 50% 50% 42% 58% / 45% 58% 42% 55%; }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.ring {
  position: absolute; border: 1.5px dashed var(--teal); border-radius: 50%;
  animation: spin-slow 30s linear infinite;
}
.ring.r1 { inset: 6%; opacity: .4; }
.ring.r2 { inset: -4%; border-color: var(--amber); opacity: .35; animation-direction: reverse; animation-duration: 45s; }
.blob-chip {
  position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem 1.1rem; font-size: .82rem; font-weight: 700;
  box-shadow: var(--shadow); color: var(--ink);
  animation: bob 4s ease-in-out infinite;
}
.blob-chip.c1 { top: 12%; left: 0; }
.blob-chip.c2 { bottom: 18%; right: -2%; animation-delay: -1.6s; }
.blob-chip.c3 { bottom: 4%; left: 8%; animation-delay: -2.8s; color: var(--teal); }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.9rem; border-radius: 10px;
  font-weight: 700; font-size: .92rem; cursor: pointer; border: 0;
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15,118,110,.35); background: var(--teal); filter: brightness(1.08); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.25); }

/* ============================================================
   MARQUEE (outlined text)
   ============================================================ */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; animation: ticker 34s linear infinite; width: max-content; }
.marquee-track span {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--ink2); opacity: .8;
}
.marquee-track span i { font-style: normal; color: var(--amber); -webkit-text-stroke: 0; margin-right: 3rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS — numbered, left-aligned
   ============================================================ */
.section { padding: 5rem 0; }
.section.tint { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.sec-num {
  font-family: var(--serif); font-style: italic; font-size: .95rem;
  color: var(--amber); display: block; margin-bottom: .4rem;
}
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 560px; }
.sec-head p { color: var(--ink2); max-width: 380px; font-size: .95rem; }

/* page hero — inner pages */
.page-hero { padding: 4.5rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.page-hero .crumbs { font-size: .8rem; color: var(--ink2); margin-bottom: 1rem; }
.crumbs a { color: var(--teal); font-weight: 600; }
.crumbs span { margin: 0 .4rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero p { color: var(--ink2); max-width: 620px; margin-top: .9rem; }

/* ============================================================
   CARDS — flat, bordered, left accent on hover
   ============================================================ */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s, background .4s;
}
.tile::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--amber));
  transform: scaleY(0); transform-origin: top; transition: transform .35s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal); }
.tile:hover::after { transform: scaleY(1); }
.tile h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .5rem; }
.tile p, .tile li { color: var(--ink2); font-size: .93rem; }
.tile ul li { padding-left: 1.15rem; position: relative; margin-top: .3rem; }
.tile ul li::before { content: '\2014'; position: absolute; left: 0; color: var(--amber); }
.tile .t-num {
  position: absolute; top: 1rem; right: 1.3rem;
  font-family: var(--serif); font-style: italic; font-size: 2rem;
  color: var(--line); transition: color .3s;
}
.tile:hover .t-num { color: var(--amber); }
.t-ico {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1rem;
}

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.split p { color: var(--ink2); margin-bottom: 1rem; }
.checklist li { display: flex; gap: .7rem; margin-bottom: .65rem; }
.checklist li::before {
  content: '\2713'; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}

/* framed visual */
.frame-visual {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 1.4rem;
  box-shadow: var(--shadow);
}
.frame-visual svg { width: 100%; border-radius: 10px; }
.fv-cap { font-size: .82rem; color: var(--ink2); margin-top: .9rem; display: flex; align-items: center; gap: .5rem; }
.fv-cap::before { content: ''; width: 22px; height: 2px; background: var(--amber); }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.sb-cell { padding: 2rem 1.5rem; text-align: center; }
.sb-cell + .sb-cell { border-left: 1px solid var(--line); }
.sb-cell b { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--teal); line-height: 1.1; }
.sb-cell span { font-size: .85rem; color: var(--ink2); }

/* timeline */
.timeline { position: relative; max-width: 680px; margin: 0 auto; padding-left: 2.4rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--teal), var(--amber)); }
.tl-item { position: relative; padding-bottom: 2.1rem; }
.tl-item::before {
  content: ''; position: absolute; left: -2.4rem; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--teal);
}
.tl-item .tl-year { font-family: var(--serif); font-style: italic; color: var(--amber); font-size: .9rem; }
.tl-item h3 { font-family: var(--serif); font-size: 1.15rem; }
.tl-item p { color: var(--ink2); font-size: .93rem; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: .9rem 1.2rem; text-align: left; font-size: .92rem; }
th { background: var(--teal-soft); color: var(--teal); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; }
td { border-top: 1px solid var(--line); color: var(--ink2); }
tr:hover td { background: var(--teal-soft); color: var(--ink); }

/* tabs / filter chips */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.tab-btn {
  padding: .55rem 1.25rem; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--line);
  color: var(--ink2); font-weight: 600; font-size: .86rem; cursor: pointer;
  transition: .25s;
}
.tab-btn:hover { border-color: var(--teal); color: var(--teal); }
.tab-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* downloads — numbered list rows */
.dl-item {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem 1.3rem;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.dl-item:hover { transform: translateX(8px); border-color: var(--teal); box-shadow: var(--shadow); }
.dl-num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--amber); min-width: 34px; }
.dl-item b { display: block; font-size: .96rem; font-family: var(--sans); }
.dl-item small { color: var(--ink2); }
.dl-arrow { margin-left: auto; color: var(--teal); font-size: 1.15rem; transition: transform .25s; }
.dl-item:hover .dl-arrow { transform: translateX(5px); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: start; }
.info-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px dashed var(--line); }
.info-item:last-child { border-bottom: 0; }
.ico-box {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-item b { display: block; }
.info-item p { color: var(--ink2); font-size: .9rem; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--ink2); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem 1rem;
  background: var(--bg2); border: 1.5px solid var(--line);
  border-radius: 10px; color: var(--ink);
  font-family: inherit; font-size: .92rem;
  transition: border-color .25s, box-shadow .25s, background .4s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.map-frame {
  margin-top: 3rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); height: 300px;
  background:
    radial-gradient(200px 150px at 50% 45%, var(--teal-soft), transparent 65%),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px),
    var(--bg2);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .4rem;
}
.map-pin { font-size: 2.2rem; animation: bob 2.2s ease-in-out infinite; }

/* CTA band — ink */
.cta-band {
  background: var(--ink); color: var(--bg);
  padding: 4rem 0; position: relative; overflow: hidden;
  transition: background .4s;
}
html[data-theme="dark"] .cta-band { background: #0a1420; }
.cta-band::before {
  content: 'MILMAN'; position: absolute; right: -2%; bottom: -30%;
  font-family: var(--serif); font-size: 11rem; font-weight: 700;
  color: rgba(255,255,255,.04); pointer-events: none; white-space: nowrap;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; }
.cta-inner h2 { color: #fff; font-size: 2rem; }
.cta-inner p { color: rgba(255,255,255,.65); }
.cta-inner .btn-light { background: var(--amber); color: var(--ink); }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: 4rem; transition: background .4s; }
html[data-theme="dark"] .footer { background: #0a1420; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 2.2rem; padding-bottom: 3rem; }
.f-brand { margin-bottom: 1rem; }
.f-brand .brand-text strong { color: #fff; }
.f-brand .brand-text small { color: rgba(255,255,255,.55); }
.f-about p, .f-contact p { font-size: .9rem; margin-bottom: .8rem; color: rgba(255,255,255,.62); }
.f-col h4 { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; font-family: var(--sans); }
.f-col ul li { margin-bottom: .5rem; }
.f-col ul a { color: rgba(255,255,255,.62); font-size: .9rem; transition: color .2s, padding-left .2s; }
.f-col ul a:hover { color: var(--amber); padding-left: 5px; }
.socials { display: flex; gap: .55rem; margin-top: 1rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.65);
  transition: .25s;
}
.socials a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.15rem 0; }
.fb-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.45); }

.to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber); color: var(--ink); }

/* reveal — slide + fade */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

.mt-2 { margin-top: 2rem; }
.text-teal { color: var(--teal); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    max-height: calc(100vh - 110px);
    background: var(--card);
    border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1rem 1.2rem 1.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility .3s;
    overflow-y: auto;
  }
  .nav-menu.open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu > ul { flex-direction: column; align-items: stretch; }
  .nav-menu a { width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 1rem; display: none; min-width: 0; }
  .has-drop.open > .dropdown { display: block; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; padding-top: 0; display: none; }
  .has-mega.open > .mega { display: block; }
  .mega-inner, .mega-narrow .mega-inner {
    width: 100%; grid-template-columns: 1fr; gap: .8rem;
    padding: .6rem .4rem; box-shadow: none; border: 0; background: transparent;
  }
  .mega-col h5 { margin-top: .5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split, .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .sb-cell:nth-child(3) { border-left: 0; }
  .sb-cell { border-top: 1px solid var(--line); }
  .sb-cell:nth-child(-n+2) { border-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .blob-stage { height: 320px; }
  .blob { width: 260px; height: 260px; }
  .section { padding: 3.6rem 0; }
}
