/* Apex Legal Group — Parallax Immersive Theme */
:root {
  --charcoal: #222831;
  --gunmetal: #393E46;
  --khaki: #948979;
  --sand: #DFD0B8;
  --bg: var(--charcoal);
  --surface: var(--gunmetal);
  --muted: #2c313a;
  --text: var(--sand);
  --text-soft: #c8b9a0;
  --accent: var(--khaki);
  --accent-strong: #b8a586;
  --border: rgba(223, 208, 184, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="light"] {
  --bg: #f5efe6;
  --surface: #ffffff;
  --muted: #ece4d4;
  --text: #1f2329;
  --text-soft: #4a4d54;
  --accent: #6b5d44;
  --accent-strong: #8a7656;
  --border: rgba(34, 40, 49, 0.12);
  --shadow: 0 30px 80px rgba(34, 40, 49, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
  cursor: none;
}
@media (max-width: 900px) { body { cursor: auto; } }

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent-strong); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
p { color: var(--text-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 140px 0; position: relative; }
@media (max-width: 768px) { section { padding: 90px 0; } }

.eyebrow {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  display: inline-block; margin-bottom: 18px;
}
.section-head { max-width: 720px; margin-bottom: 70px; }
.section-head p { margin-top: 18px; font-size: 1.1rem; }

/* Custom Cursor */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: var(--sand); transition: transform .1s; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid var(--sand); transition: transform .25s var(--ease), width .25s, height .25s; }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--accent); }
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* Preloader */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.preloader-panel {
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: #111111; transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
  z-index: 1;
}
.panel-left {
  left: 0; border-right: 1px solid rgba(223, 208, 184, 0.05);
}
.panel-right {
  right: 0; border-left: 1px solid rgba(223, 208, 184, 0.05);
}
#preloader.done .panel-left {
  transform: translateX(-100%);
}
#preloader.done .panel-right {
  transform: translateX(100%);
}
#preloader.done {
  visibility: hidden;
  transition: visibility 0s 1.2s;
}
.preloader-content {
  position: relative; z-index: 2; text-align: center;
  transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}
#preloader.done .preloader-content {
  opacity: 0; transform: scale(0.95);
}
.preloader-logo-wrap {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 24px;
}
.preloader-logo-svg {
  width: 90px; height: 90px; margin-bottom: 16px;
}
.logo-path {
  fill: none; stroke: var(--sand); stroke-width: 2.5;
  stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: drawLogo 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.logo-path-inner {
  fill: none; stroke: var(--sand); stroke-width: 1.5;
  stroke-dasharray: 300; stroke-dashoffset: 300;
  animation: drawLogoInner 2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
  opacity: 0.6;
}
@keyframes drawLogo {
  to { stroke-dashoffset: 0; }
}
@keyframes drawLogoInner {
  to { stroke-dashoffset: 0; }
}
.preloader-text-glow {
  font-family: var(--serif); font-size: 2.8rem; color: var(--sand);
  letter-spacing: 0.3em; font-weight: 500; text-transform: uppercase;
  text-shadow: 0 0 20px rgba(223, 208, 184, 0.25);
  animation: textFadeIn 1.5s ease-out 0.8s forwards; opacity: 0;
}
@keyframes textFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.preloader-tagline {
  font-family: var(--font-body); font-size: 0.85rem; color: rgba(223, 208, 184, 0.6);
  letter-spacing: 0.15em; text-transform: uppercase;
  animation: textFadeIn 1.5s ease-out 1.1s forwards; opacity: 0;
}

/* Page entrance animations tied to intro-done */
.hero-content {
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.8s ease;
}
body:not(.intro-done) .hero-content {
  transform: translateY(30px) scale(0.96);
  opacity: 0;
}
body.intro-done .hero-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
#particle-canvas {
  transition: opacity 2s ease;
  opacity: 0;
}
body.intro-done #particle-canvas {
  opacity: 0.6;
}
.hero-scroll {
  transition: opacity 1.5s ease 0.8s, transform 1.5s ease 0.8s;
}
body:not(.intro-done) .hero-scroll {
  opacity: 0;
  transform: translate(-50%, 15px);
}
body.intro-done .hero-scroll {
  opacity: 0.7;
  transform: translate(-50%, 0);
}


/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px 0; transition: all .35s var(--ease);
  background: transparent;
}
.site-header.scrolled {
  padding: 16px 0;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: .08em;
  color: var(--text); display: flex; align-items: center; gap: 10px;
}
.brand-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.header-actions { display: flex; align-items: center; gap: 18px; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: transparent; color: var(--text); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Hamburger */
.hamburger {
  width: 44px; height: 44px; display: inline-flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--border); border-radius: 50%;
  cursor: pointer; transition: all .25s var(--ease);
}
.hamburger:hover { border-color: var(--accent); }
.hamburger span {
  width: 18px; height: 1.5px; background: var(--text); display: block;
  transition: transform .3s var(--ease), opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Off-canvas menu */
.menu-overlay {
  position: fixed; inset: 0; z-index: 99; background: var(--charcoal);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  display: flex; align-items: center; justify-content: center;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-overlay::before {
  content: 'APEX'; position: absolute; font-family: var(--serif);
  font-size: clamp(12rem, 30vw, 26rem); color: rgba(223,208,184,.04);
  font-weight: 600; letter-spacing: .05em; pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.menu-nav { text-align: center; position: relative; z-index: 1; }
.menu-nav a {
  display: block; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--sand); padding: 12px 0; opacity: 0;
  transform: translateY(20px); transition: all .5s var(--ease);
}
.menu-overlay.open .menu-nav a { opacity: 1; transform: translateY(0); }
.menu-overlay.open .menu-nav a:nth-child(1) { transition-delay: .15s; }
.menu-overlay.open .menu-nav a:nth-child(2) { transition-delay: .22s; }
.menu-overlay.open .menu-nav a:nth-child(3) { transition-delay: .29s; }
.menu-overlay.open .menu-nav a:nth-child(4) { transition-delay: .36s; }
.menu-overlay.open .menu-nav a:nth-child(5) { transition-delay: .43s; }
.menu-nav a:hover { color: var(--accent); letter-spacing: .04em; }
.menu-meta {
  position: absolute; bottom: 40px; left: 0; right: 0; display: flex;
  justify-content: space-between; padding: 0 40px; color: var(--text-soft);
  font-size: .85rem; letter-spacing: .15em; text-transform: uppercase;
}
@media (max-width: 600px) { .menu-meta { flex-direction: column; gap: 12px; text-align: center; padding: 0 24px; } }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  overflow: hidden; padding: 160px 0 100px;
}
#particle-canvas {
  position: absolute; inset: 0; z-index: 0; opacity: .55;
}
.hero-bg-text {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: clamp(8rem, 22vw, 20rem);
  color: rgba(223,208,184,.04); pointer-events: none; white-space: nowrap;
  font-weight: 600; z-index: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 920px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero-tagline {
  font-size: 1.2rem; max-width: 560px; margin-bottom: 44px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 32px;
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: all .3s var(--ease); font-family: var(--sans);
}
.btn-primary { background: var(--sand); color: var(--charcoal); }
.btn-primary:hover { background: var(--accent-strong); color: var(--charcoal); transform: translateY(-2px); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: .75rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-soft); display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 50px; background: var(--accent);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); } }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .55s; }

/* Stats */
.stats { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 100px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; } }
.stat { text-align: center; }
.stat-num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.5rem); color: var(--sand); display: block; line-height: 1; }
.stat-suffix { color: var(--accent); }
.stat-label { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); margin-top: 14px; display: block; }

/* Services / Cards */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 44px 36px; transition: all .4s var(--ease); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, color-mix(in oklab, var(--accent) 15%, transparent));
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; background: color-mix(in oklab, var(--accent) 20%, transparent);
  display: flex; align-items: center; justify-content: center; color: var(--sand);
  margin-bottom: 28px;
}
.card h3 { margin-bottom: 14px; color: var(--text); }
.card p { font-size: .95rem; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

/* Timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
  transform: translateX(-50%);
}
@media (max-width: 768px) { .timeline::before { left: 20px; } }
.t-item {
  position: relative; width: 50%; padding: 30px 50px; margin-bottom: 20px;
}
.t-item:nth-child(odd) { left: 0; text-align: right; }
.t-item:nth-child(even) { left: 50%; }
@media (max-width: 768px) {
  .t-item, .t-item:nth-child(odd), .t-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 20px 0 20px 60px; }
}
.t-item::before {
  content: ''; position: absolute; top: 38px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--charcoal); border: 2px solid var(--accent);
}
.t-item:nth-child(odd)::before { right: -7px; }
.t-item:nth-child(even)::before { left: -7px; }
@media (max-width: 768px) { .t-item::before, .t-item:nth-child(odd)::before, .t-item:nth-child(even)::before { left: 13px; right: auto; } }
.t-year { font-family: var(--serif); font-size: 1.8rem; color: var(--accent); display: block; margin-bottom: 6px; }
.t-item h3 { margin-bottom: 8px; }

/* Parallax sections */
.parallax-section {
  min-height: 70vh; display: flex; align-items: center; position: relative;
  overflow: hidden;
}
.parallax-bg {
  position: absolute; inset: -10% 0; background-size: cover; background-position: center;
  z-index: 0; will-change: transform;
}
.parallax-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,40,49,.85), rgba(34,40,49,.95)); }
.parallax-content { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; padding: 0 24px; }
.parallax-content blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.4; color: var(--sand); font-style: italic; margin-bottom: 24px; }
.parallax-content cite { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); font-style: normal; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.member { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3/4; }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: grayscale(.3); }
.member:hover img { transform: scale(1.06); filter: grayscale(0); }
.member-info {
  position: absolute; inset: auto 0 0 0; padding: 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(34,40,49,.95));
  color: var(--sand);
}
.member-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.member-info span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '+'; position: absolute; inset: 0; background: rgba(34,40,49,.6);
  color: var(--sand); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 200; opacity: 0; transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(34,40,49,.96); z-index: 999;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close, .lightbox-nav {
  position: absolute; background: transparent; border: 1px solid rgba(223,208,184,.3);
  color: var(--sand); width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.lightbox-close { top: 30px; right: 30px; }
.lightbox-nav.prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 30px; top: 50%; transform: translateY(-50%); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: transparent; border: 0; color: var(--text);
  padding: 28px 0; font-family: var(--serif); font-size: 1.35rem; text-align: left;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color .25s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .plus { font-size: 1.4rem; color: var(--accent); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 0 28px; color: var(--text-soft); font-size: 1rem; max-width: 90%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 50px; } }
.contact-info p { margin-bottom: 28px; font-size: 1.05rem; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); align-items: start; }
.contact-list li:last-child { border-bottom: 1px solid var(--border); }
.contact-list .label { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; display: block; }
.contact-list .val { color: var(--text); }

.form { display: grid; gap: 18px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-family: inherit; font-size: 1rem;
  transition: border .25s, background .25s; resize: vertical;
}
.field textarea { min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field label {
  display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 8px;
}
.field .err { color: #e08080; font-size: .8rem; margin-top: 6px; display: none; }
.field.error .err { display: block; }
.field.error input, .field.error textarea { border-color: #e08080; }

.form-msg { padding: 16px 20px; border-radius: var(--radius); background: color-mix(in oklab, var(--accent) 25%, transparent); color: var(--sand); display: none; }
.form-msg.show { display: block; }

/* Map */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.4) contrast(1.1); }

/* Newsletter */
.newsletter {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 60px 50px; text-align: center; max-width: 760px; margin: 0 auto;
}
.newsletter h3 { font-size: 2rem; margin-bottom: 12px; }
.newsletter p { margin-bottom: 30px; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
@media (max-width: 540px) { .newsletter-form { flex-direction: column; } }
.newsletter-form input { flex: 1; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 60px; margin-bottom: 60px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-soft); font-size: .95rem; }
.footer-col ul a:hover { color: var(--accent); }
.footer-about p { margin-top: 18px; font-size: .95rem; }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--text);
}
.socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 30px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: .85rem; color: var(--text-soft);
}

/* Floating buttons */
.fab {
  position: fixed; right: 28px; z-index: 90; width: 50px; height: 50px;
  border-radius: 50%; background: var(--sand); color: var(--charcoal);
  border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: all .3s var(--ease);
  opacity: 0; visibility: hidden;
}
.fab.show { opacity: 1; visibility: visible; }
.fab:hover { background: var(--accent-strong); transform: translateY(-3px); }
.back-top { bottom: 28px; }
.sticky-cta {
  bottom: 90px; width: auto; padding: 14px 22px; border-radius: 100px;
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  gap: 8px; opacity: 1; visibility: visible;
}

/* Page hero (interior) */
.page-hero {
  padding: 200px 0 100px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { font-size: 1.15rem; max-width: 600px; }
.page-hero .breadcrumbs { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.page-hero .breadcrumbs a { color: var(--accent); }

/* Service detail rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split.reverse > div:first-child { order: 2; }
@media (max-width: 900px) { .split.reverse > div:first-child { order: 0; } }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 { margin-bottom: 20px; }

/* Utility */
.divider { width: 60px; height: 1px; background: var(--accent); margin-bottom: 30px; }
.text-center { text-align: center; }
