/* ============================================================
   Contentator — "Legal / Law Firm" render theme
   Legalist design system (white + warm grey + deep navy). Brand-adapted.
   ============================================================ */

:root {
  --bg: #ffffff;            /* page background, clean white */
  --bg-alt: #f5f3ef;        /* warm grey-cream */
  --bg-dark: #0f1419;       /* near-black for contrast sections */
  --surface: #faf9f6;       /* card surfaces */
  --ink: #0f1419;           /* primary text / dark UI */
  --ink-muted: #4a5258;     /* secondary text */
  --ink-soft: #7c848a;      /* tertiary text */
  --line: #e4e1da;          /* borders */
  --line-strong: #c8c4ba;   /* stronger borders */
  --accent: #1e3a5f;        /* deep navy */
  --accent-hover: #14283f;  /* darker navy for hover */
  --accent-soft: #a5b8d9;   /* light navy for dark sections */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1320px;
  --reading: 760px;
  --radius: 12px;
  --radius-lg: 20px;
}

  /* Brand overrides (design adaptation): law-firm template in the site's brand colours/fonts */
  :root {
    --accent: #C9A24B;
    --accent-hover: color-mix(in srgb, #C9A24B 70%, #000);
    --ink: #1A1A1A;
    --bg-dark: #1A1A1A;
    --ink-muted: color-mix(in srgb, #1A1A1A 72%, var(--bg));
    --ink-soft: color-mix(in srgb, #1A1A1A 52%, var(--bg));
    --serif: 'Playfair Display', 'Fraunces', Georgia, serif;
  }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* Eyebrow: uppercase, letter-spaced, with a short leading line */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -0.015em; }
/* Type scale: cap H1 at 64px (was 88px) and trim H2 to 48px — bigger felt
   shouty next to body copy and gave headings too much screen weight. */
h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1; }
h3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; }
h4 { font-size: 20px; line-height: 1.3; }

/* Buttons — SHARP (4px) */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-alt); }
.btn-full, .btn-block { width: 100%; justify-content: center; }

/* ============================================ NAV ============================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 32px; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 85%, transparent); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); display: inline-flex; align-items: center; }
.nav-logo span { color: var(--accent); }
.nav-logo-img { max-height: 96px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links .nav-toggle { font-size: 14px; font-weight: 500; color: var(--ink); transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.nav-links a:hover, .nav-links .nav-toggle:hover { color: var(--accent); }
.nav-caret { font-size: 9px; opacity: 0.6; }
.nav-dropdown { position: absolute; top: calc(100% + 14px); left: 0; min-width: 220px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(15,20,25,0.1); padding: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-item.has-dropdown:hover .nav-dropdown, .nav-item.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li { margin: 0; }
.nav-dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.nav-dropdown a:hover { background: var(--bg-alt); }
.nav-cta-wrap { display: flex; align-items: center; gap: 16px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  body.nav-open .nav-links { display: flex; position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 20px 32px; box-shadow: 0 16px 40px rgba(15,20,25,0.1); }
  body.nav-open .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 2px solid var(--line); border-radius: 0; margin: 4px 0 4px 12px; padding: 0 0 0 8px; display: none; }
  body.nav-open .nav-item.open .nav-dropdown { display: block; }
}

/* ============================================ HERO (split) ============================================ */
.hero { padding: 140px 0 100px; background: var(--bg-alt); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero p.lead { font-size: 18px; color: var(--ink-muted); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--serif); font-size: 44px; font-weight: 500; line-height: 1; color: var(--ink); margin-bottom: 6px; }
.hero-stat-label { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-image { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero-stats { gap: 32px; } }

/* ============================================ TRUST LOGO MARQUEE ============================================ */
.trust { padding: 60px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-label { text-align: center; font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 32px; }
.trust-marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.trust-track { display: flex; gap: 72px; align-items: center; animation: lg-scroll 35s linear infinite; width: max-content; }
.trust-logo { font-family: var(--serif); font-size: 26px; color: var(--ink-soft); white-space: nowrap; opacity: 0.6; display: inline-flex; align-items: center; }
.trust-logo img { max-height: 36px; width: auto; opacity: 0.6; }
@keyframes lg-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================ ABOUT BLOCK (split image + text) ============================================ */
.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.about-image { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 28px; }
.about-text .prose { color: var(--ink-muted); font-size: 17px; }
.about-text .prose p { margin-bottom: 18px; line-height: 1.7; }
.about-text .prose h3 { color: var(--ink); margin: 24px 0 12px; }
.about-text .prose ul { list-style: none; margin: 16px 0; }
.about-text .prose ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.about-text .prose ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.about-text .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.about-actions { margin-top: 20px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================ DARK STAT BAND (for business) ============================================ */
.stat-band { padding: 120px 0; background: var(--bg-dark); color: #f5f3ef; }
.stat-band .eyebrow { color: var(--accent-soft); }
.stat-band .eyebrow::before { background: var(--accent-soft); }
.stat-band h2 { color: #f5f3ef; max-width: 800px; margin-bottom: 28px; }
.stat-band p.lead { color: rgba(245,243,239,0.7); font-size: 18px; max-width: 640px; margin-bottom: 56px; line-height: 1.6; }
.stat-band-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; padding-top: 48px; border-top: 1px solid rgba(245,243,239,0.15); }
.stat-band-num { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); font-weight: 500; line-height: 1; color: #f5f3ef; margin-bottom: 12px; }
.stat-band-label { font-size: 14px; color: rgba(245,243,239,0.6); }
@media (min-width: 720px) { .stat-band-stats.cols-3 { grid-template-columns: repeat(3, 1fr); } .stat-band-stats.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .stat-band-stats { grid-template-columns: 1fr; } }

/* Expertise band: dark with image bg + centred stats */
.expertise-band { padding: 140px 0; background-color: var(--bg-dark); background-size: cover; background-position: center; color: #f5f3ef; text-align: center; position: relative; }
.expertise-band.has-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,25,0.6), rgba(15,20,25,0.8)); }
.expertise-band .container { position: relative; z-index: 1; }
.expertise-band .eyebrow { color: var(--accent-soft); justify-content: center; }
.expertise-band .eyebrow::before { background: var(--accent-soft); }
.expertise-band h2 { color: #f5f3ef; max-width: 900px; margin: 0 auto 32px; }
.expertise-band p { color: rgba(245,243,239,0.8); font-size: 18px; max-width: 640px; margin: 0 auto 48px; line-height: 1.6; }
.expertise-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 800px; margin: 0 auto 48px; }
.expertise-stat-num { font-family: var(--serif); font-size: clamp(40px, 5vw, 56px); font-weight: 500; line-height: 1; color: #f5f3ef; margin-bottom: 8px; }
.expertise-stat-label { font-size: 13px; color: rgba(245,243,239,0.65); text-transform: uppercase; letter-spacing: 0.08em; }
.expertise-band .btn-light { background: #f5f3ef; }
@media (max-width: 700px) { .expertise-stats { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================ SERVICES — stacked list w/ hover arrows ============================================ */
.services { padding: 120px 0; }
.services-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.services-intro h2 { margin-bottom: 24px; }
.services-intro p { color: var(--ink-muted); font-size: 17px; line-height: 1.7; max-width: 460px; }
.services-list { border-top: 1px solid var(--line); }
.service-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding 0.25s ease; }
.service-row:hover { padding-left: 16px; }
.service-row h3 { font-size: clamp(22px, 2.4vw, 28px); font-family: var(--serif); transition: color 0.2s; margin-right: auto; }
.service-row:hover h3 { color: var(--accent); }
.service-row-icon { flex-shrink: 0; color: var(--accent); display: flex; align-items: center; }
.service-row-icon svg { width: 26px; height: 26px; }
.service-row .arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.service-row:hover .arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Services overview page: 2-col cards */
.services-list-section { padding: 60px 0 120px; }
.services-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-detail-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 16px; transition: all 0.3s; }
.service-detail-card:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-detail-card:hover h3, .service-detail-card:hover p, .service-detail-card:hover .service-learn-more { color: #fff; }
.service-detail-card h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.service-detail-card p { color: var(--ink-muted); font-size: 16px; line-height: 1.65; flex: 1; }
.service-learn-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; margin-top: 8px; color: var(--ink); }
.intro-band { padding: 120px 0 0; }
.intro-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.intro-band h2 { max-width: 600px; }
.intro-band p { color: var(--ink-muted); font-size: 17px; line-height: 1.7; max-width: 500px; }
@media (max-width: 900px) { .intro-band-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 700px) { .services-cards { grid-template-columns: 1fr; } }

/* ============================================ TEAM ============================================ */
.team { padding: 120px 0; background: var(--bg-alt); }
.team-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 64px; align-items: end; }
.team-head h2 { max-width: 600px; }
.team-head p { color: var(--ink-muted); font-size: 17px; line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,20,25,0.08); }
.team-photo { aspect-ratio: 4/5; background: var(--surface) center/cover; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 24px; }
.team-info h4 { font-family: var(--serif); margin-bottom: 4px; }
.team-info .team-role { font-size: 13px; color: var(--ink-soft); }
.team-info .team-bio { font-size: 14px; color: var(--ink-muted); margin-top: 10px; line-height: 1.6; }
@media (max-width: 900px) { .team-head { grid-template-columns: 1fr; gap: 24px; } .team-grid { grid-template-columns: 1fr; } }

/* ============================================ OFFICE LOCATIONS ============================================ */
.locations { padding: 120px 0; }
.locations.alt { background: var(--bg-alt); }
.locations-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 56px; align-items: end; }
.locations-head h2 { max-width: 580px; }
.locations-head p { color: var(--ink-muted); font-size: 17px; line-height: 1.7; }
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.location-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; transition: all 0.3s; display: flex; flex-direction: column; gap: 20px; }
.locations.alt .location-card { background: #fff; }
.location-card:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.location-card:hover .loc-region, .location-card:hover .loc-address, .location-card:hover .loc-link, .location-card:hover .loc-city { color: #fff; }
.loc-region { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.loc-city { font-family: var(--serif); font-size: 32px; }
.loc-address { font-size: 15px; color: var(--ink-muted); line-height: 1.5; flex: 1; }
.loc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
@media (max-width: 900px) { .locations-head { grid-template-columns: 1fr; gap: 24px; } .locations-grid { grid-template-columns: 1fr; } }

/* ============================================ TESTIMONIALS — 2-col company cards ============================================ */
.testimonials { padding: 120px 0; background: var(--bg-alt); }
.testimonials.plain { background: var(--bg); }
.testimonials-head { text-align: center; margin-bottom: 64px; }
.testimonials-head .eyebrow { justify-content: center; }
.testimonials-head h2 { max-width: 900px; margin: 0 auto 16px; }
.testimonials-intro { text-align: center; color: var(--ink-muted); font-size: 17px; max-width: 640px; margin: 0 auto; line-height: 1.7; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.testimonials.plain .testimonial-card { background: var(--bg-alt); }
.testimonial-company { font-family: var(--serif); font-size: 24px; color: var(--accent); }
.testimonial-quote { font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--ink); flex: 1; }
.testimonial-author { padding-top: 24px; border-top: 1px solid var(--line); }
.testimonial-name { font-weight: 500; font-size: 15px; margin-bottom: 2px; }
.testimonial-role { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 700px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ============================================ FAQ ACCORDION ============================================ */
.faq { padding: 120px 0; }
.faq.alt { background: var(--bg-alt); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq-side h2 { margin-top: 12px; max-width: 380px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; cursor: pointer; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 24px); line-height: 1.3; color: var(--ink); }
.faq-toggle { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; transition: transform 0.3s, background 0.3s, color 0.3s; font-size: 18px; }
.faq-item.open .faq-toggle { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; color: var(--ink-muted); font-size: 16px; line-height: 1.7; }
.faq-a > :last-child { margin-bottom: 0; }
.faq-item.open .faq-a { max-height: 600px; padding-top: 16px; }
@media (max-width: 900px) { .faq-inner { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================ CTA BLOCK ============================================ */
.cta-block { padding: 120px 0; background: var(--bg-alt); }
.cta-block.dark { background-color: var(--bg-dark); color: #f5f3ef; }
.cta-block-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.cta-block .eyebrow { color: var(--accent); }
.cta-block.dark .eyebrow { color: var(--accent-soft); }
.cta-block.dark .eyebrow::before { background: var(--accent-soft); }
.cta-block h2 { margin-bottom: 28px; max-width: 580px; }
.cta-block.dark h2 { color: #f5f3ef; }
.cta-block p { color: var(--ink-muted); font-size: 17px; line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.cta-block.dark p { color: rgba(245,243,239,0.75); }
.cta-block-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-block-image { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.cta-block-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .cta-block-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================ PAGE / SERVICE HEADERS ============================================ */
.page-header { padding: 160px 0 80px; background: var(--bg-alt); }
.page-header.center { text-align: center; }
.page-header.center .eyebrow { justify-content: center; }
.page-header.center h1 { margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--accent); }
.page-header h1 { max-width: 1000px; margin-bottom: 24px; }
.page-header .lead { font-size: 18px; color: var(--ink-muted); max-width: 560px; line-height: 1.6; margin-bottom: 32px; }
.page-header.center .lead { margin-left: auto; margin-right: auto; }
.header-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.local-trust-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin: 0 0 32px; }
.trust-stat { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink-muted); }
.trust-stat strong { font-weight: 500; font-family: var(--serif); font-size: 22px; color: var(--ink); }
.trust-divider { width: 1px; height: 22px; background: var(--line-strong); align-self: center; }

/* ============================================ SERVICE HERO IMAGE ============================================ */
.service-hero-img { max-width: 1400px; margin: 0 auto 80px; padding: 0 32px; }
.service-hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); }

/* ============================================ NAP STRIP ============================================ */
.nap-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin-bottom: 60px; }
.nap-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 32px; align-items: center; }
.nap-item { display: flex; gap: 12px; align-items: flex-start; }
.nap-icon { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.nap-icon svg { width: 18px; height: 18px; }
.nap-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 2px; }
.nap-value { font-size: 14px; color: var(--ink); }
.nap-value:hover { color: var(--accent); }
.nap-value.status { color: var(--accent); font-weight: 500; }
@media (max-width: 900px) { .nap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nap-grid { grid-template-columns: 1fr; } }

/* ============================================ SERVICE MAIN (2-col + sticky consultation sidebar) ============================================ */
.service-main { padding: 0 0 120px; }
.service-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }
.service-content h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 16px; }
.service-content h3 { margin: 40px 0 14px; }
.service-content > .prose:first-child h2:first-child, .service-content > .prose:first-child h3:first-child { margin-top: 0; }
.service-content p { font-size: 17px; line-height: 1.75; color: var(--ink-muted); margin-bottom: 16px; }
.service-content .prose ul { list-style: none; padding: 0; margin: 16px 0 24px; }
.service-content .prose ul li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 16px; color: var(--ink-muted); line-height: 1.7; }
.service-content .prose ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.service-content .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.service-content .checklist { list-style: none; padding: 0; margin: 16px 0 24px; }
.service-content .checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 16px; color: var(--ink-muted); line-height: 1.7; }
.service-content .checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.service-content .checklist li strong { color: var(--ink); font-weight: 600; }

.steps { display: flex; flex-direction: column; gap: 20px; margin: 24px 0 32px; }
.step { display: flex; gap: 20px; padding: 24px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.step-number { flex-shrink: 0; width: 44px; height: 44px; background: var(--ink); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; }
.step-content h4 { margin-bottom: 6px; }
.step-content p { font-size: 15px; margin: 0; color: var(--ink-muted); }

/* Consultation sidebar — NO invented prices; uses CTA label + phone */
.consult-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; position: sticky; top: 100px; }
.consult-eyebrow { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; font-weight: 500; }
.consult-title { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--ink); margin-bottom: 12px; }
.consult-note { font-size: 15px; color: var(--ink-muted); margin-bottom: 4px; line-height: 1.6; }
.consult-divider { height: 1px; background: var(--line); margin: 24px 0; }
.consult-includes-title { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.consult-includes { list-style: none; padding: 0; margin: 0; }
.consult-includes li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-muted); padding-top: 6px; padding-bottom: 6px; }
.consult-includes li::before { content: '✓'; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.consult-call { text-align: center; margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.consult-call a { color: var(--ink); font-weight: 500; }
.consult-call a:hover { color: var(--accent); }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; gap: 40px; } .consult-card { position: static; } }

/* ============================================ RELATED LINKS MODULE ============================================ */
.related-mod { padding: 100px 0; background: var(--bg-alt); }
.related-head { margin-bottom: 48px; text-align: center; }
.related-head .eyebrow { justify-content: center; }
.related-head h2 { font-size: clamp(28px, 3vw, 40px); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.related-col h4 { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.related-col ul { list-style: none; padding: 0; }
.related-col li { margin-bottom: 4px; }
.related-col a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; font-size: 15px; color: var(--ink); transition: color 0.2s; }
.related-col a:hover { color: var(--accent); }
.related-col .arr { color: var(--ink-soft); flex-shrink: 0; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================ LOCATION MAP BLOCK ============================================ */
.location-block { background: var(--bg-alt); padding: 120px 0; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.location-info h2 { margin-bottom: 24px; }
.location-info p { font-size: 17px; color: var(--ink-muted); margin-bottom: 24px; line-height: 1.7; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.area-tag { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--ink-muted); }
.map-wrap { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); border: 1px solid var(--line); position: relative; display: grid; place-items: center; }
.map-wrap .map-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, #fff 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, #fff 12%, transparent) 1px, transparent 1px); background-size: 36px 36px; }
.map-pin { position: relative; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 4px; font-size: 13px; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.map-pin::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--ink); }
@media (max-width: 900px) { .location-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================ CONTACT (split text + form) ============================================ */
.contact-main { padding: 60px 0 120px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.contact-text h2 { margin-bottom: 24px; }
.contact-text p { color: var(--ink-muted); font-size: 17px; line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.contact-image { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.form-group { margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.form-group label .req { color: var(--accent); }
.form-input, .form-textarea, .form-select { width: 100%; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; font-size: 15px; color: var(--ink); transition: border-color 0.2s, background 0.2s; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-textarea { resize: vertical; min-height: 140px; font-family: var(--sans); }
.form-status { font-size: 14px; color: var(--ink-soft); margin-top: 8px; min-height: 1.2em; grid-column: 1 / -1; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-form { grid-template-columns: 1fr; } }

/* Contact info strip */
.contact-info-strip { padding: 80px 0; background: var(--bg-alt); }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.contact-info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; display: flex; gap: 18px; align-items: flex-start; }
.contact-info-icon { flex-shrink: 0; width: 48px; height: 48px; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-label { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.contact-info-value { font-size: 17px; color: var(--ink); font-family: var(--serif); }
.contact-info-value:hover { color: var(--accent); }
@media (max-width: 900px) { .contact-info-grid { grid-template-columns: 1fr; } }

/* ============================================ BLOG INDEX — full-width rows ============================================ */
.blog-section { padding: 80px 0 120px; }
.blog-list { display: flex; flex-direction: column; }
.blog-row { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 56px; padding: 48px 0; border-bottom: 1px solid var(--line); align-items: center; transition: padding 0.3s; }
.blog-row:first-child { padding-top: 0; }
.blog-row:hover { padding-left: 12px; }
.blog-row-image { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.blog-row-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-row:hover .blog-row-image img { transform: scale(1.05); }
.blog-row-content { display: flex; flex-direction: column; gap: 18px; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); padding: 4px 12px; background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 999px; }
.blog-row h3 { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.15; transition: color 0.2s; }
.blog-row:hover h3 { color: var(--accent); }
.blog-row p { color: var(--ink-muted); font-size: 16px; line-height: 1.65; max-width: 580px; }
.blog-row-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 8px; }
@media (max-width: 900px) { .blog-row { grid-template-columns: 1fr; gap: 24px; } }

/* Home blog teaser grid */
.blog-teaser { padding: 120px 0; }
.blog-teaser-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.blog-teaser-head h2 { max-width: 680px; }
.blog-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; gap: 18px; }
.blog-card-image { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card h4 { font-size: 22px; line-height: 1.25; transition: color 0.2s; }
.blog-card:hover h4 { color: var(--accent); }
.blog-card p { color: var(--ink-muted); font-size: 15px; line-height: 1.6; }
.blog-card-meta { color: var(--ink-soft); font-size: 13px; }
@media (max-width: 900px) { .blog-teaser-grid { grid-template-columns: 1fr; } .blog-teaser-head { flex-direction: column; align-items: flex-start; } }

/* ============================================ ARTICLE (blog post) ============================================ */
.post-header { padding: 160px 32px 56px; text-align: center; }
.post-header .breadcrumb { margin-bottom: 24px; }
.post-header h1 { max-width: 1000px; margin: 0 auto 36px; }
.post-meta { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--ink-soft); font-size: 14px; }
.post-tags { display: flex; gap: 8px; }
.post-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); padding: 4px 12px; background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 999px; }
.post-meta-divider { width: 1px; height: 18px; background: var(--line-strong); }
.post-hero { max-width: 1400px; margin: 0 auto 80px; padding: 0 32px; }
.post-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); }
.article { padding: 0 0 120px; }
.article-body { max-width: var(--reading); margin: 0 auto; padding: 0 32px; }
.article-body h2 { font-size: clamp(28px, 3.5vw, 36px); margin: 56px 0 20px; line-height: 1.2; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 26px; margin: 40px 0 14px; }
.article-body p { font-size: 18px; line-height: 1.8; color: var(--ink-muted); margin-bottom: 22px; }
.article-body ul, .article-body ol { list-style: none; padding: 0; margin: 16px 0 32px; }
.article-body ol { counter-reset: lg-ol; }
.article-body ul li, .article-body ol li { position: relative; padding-left: 28px; margin-bottom: 14px; font-size: 18px; line-height: 1.7; color: var(--ink-muted); }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.article-body ol li { counter-increment: lg-ol; }
.article-body ol li::before { content: counter(lg-ol); position: absolute; left: 0; top: 2px; color: var(--accent); font-weight: 600; font-size: 15px; }
.article-body li strong { color: var(--ink); font-weight: 500; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.related-articles { padding: 100px 0; background: var(--bg-alt); }
.related-articles h2 { margin-bottom: 48px; }
.related-list { display: flex; flex-direction: column; }
.related-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding 0.25s; }
.related-item:first-child { border-top: 1px solid var(--line); }
.related-item:hover { padding-left: 16px; }
.related-item h4 { font-size: clamp(20px, 2.4vw, 24px); font-family: var(--serif); transition: color 0.2s; max-width: 700px; }
.related-item:hover h4 { color: var(--accent); }
.related-item .related-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); flex-shrink: 0; }

/* ============================================ LEGAL / RICH PAGE ============================================ */
.legal-body { max-width: var(--reading); margin: 0 auto; padding: 0 32px 120px; }
.legal-body .prose { margin-bottom: 32px; }
.legal-body .prose h2 { font-size: 28px; margin-bottom: 16px; }
.legal-body .prose p { font-size: 17px; line-height: 1.8; color: var(--ink-muted); margin-bottom: 16px; }
.legal-body .prose ul { margin: 16px 0 16px 24px; color: var(--ink-muted); }
.legal-body .prose li { margin-bottom: 8px; }
.legal-body .prose strong { color: var(--ink); }
.legal-body .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================ FOOTER (dark, newsletter + columns) ============================================ */
.footer { background: var(--bg-dark); color: #c9ccce; padding: 80px 32px 32px; }
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(245,243,239,0.12); }
.footer-newsletter .nav-logo { font-size: 28px; color: #f5f3ef; margin-bottom: 20px; display: inline-flex; }
.footer-newsletter .nav-logo span { color: var(--accent-soft); }
.footer-newsletter p { font-size: 14px; color: #9a9fa3; margin-bottom: 16px; max-width: 320px; line-height: 1.6; }
.footer-newsletter-form { display: flex; gap: 8px; margin-bottom: 12px; max-width: 380px; }
.footer-newsletter-input { flex: 1; background: rgba(245,243,239,0.05); border: 1px solid rgba(245,243,239,0.15); border-radius: 4px; padding: 12px 14px; color: #f5f3ef; font-size: 14px; }
.footer-newsletter-input::placeholder { color: #9a9fa3; }
.footer-newsletter-input:focus { outline: none; border-color: var(--accent-soft); }
.footer-newsletter .btn-light { padding: 12px 20px; font-size: 13px; }
.footer-disclaimer { font-size: 12px; color: #6b7074; line-height: 1.6; max-width: 380px; }
.footer-disclaimer a { color: var(--accent-soft); }
.footer-col h5 { font-family: var(--sans); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: #f5f3ef; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: #9a9fa3; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #f5f3ef; }
.footer-col p { color: #9a9fa3; font-size: 14px; margin-bottom: 6px; }
.footer-col .label { font-size: 11px; color: #6b7074; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 14px; margin-bottom: 4px; }
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #6b7074; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: #f5f3ef; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================ LEAD MODAL ============================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(15,20,25,0.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay[hidden] { display: none; }
.modal-dialog { position: relative; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; background: var(--bg); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(15,20,25,0.3); padding: 40px; }
.modal-close { position: absolute; top: 16px; right: 20px; font-size: 28px; line-height: 1; color: var(--ink-soft); }
.modal-close:hover { color: var(--ink); }
.modal-title { font-size: 30px; margin-bottom: 8px; padding-right: 24px; }
.modal-sub { color: var(--ink-muted); font-size: 15px; margin-bottom: 24px; }
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.lead-form .form-input, .lead-form .form-textarea, .lead-form .form-select { background: var(--bg-alt); }
.lead-thanks { text-align: center; padding: 16px 0; }
.lead-thanks-title { font-family: var(--serif); font-size: 28px; color: var(--accent); margin-bottom: 8px; }

/* ============================================ A11Y ============================================ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
