/* ============================================================
   VDW Attorneys — shared stylesheet
   Aesthetic: engraved letterhead / legal ledger.
   Left-aligned editorial sections, hairline rules, serif numerals,
   paper grain. Red used sparingly, like a rubric line.
   Fonts: Source Serif 4 (headings) + Outfit (body)
   ============================================================ */

:root {
  --bg: #FAF9F7;
  --bg-2: #F2F0EC;
  --paper: #FFFFFF;
  --text: #423d3a;
  --heading: #201d1c;
  --primary: #b03032;
  --primary-hover: #952628;
  --secondary: #5e1e1f;
  --accent: #c44446;
  --card-bg: #FFFFFF;
  --card-border: #e7e1dc;
  --rule: #ddd5ce;
  --rule-dark: rgba(250, 248, 245, 0.14);
  --muted: #6e6660;
  --dark: #211b1b;
  --dark-2: #2a2222;
  --cream: #FAF9F7;
  --whatsapp: #25D366;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Source Serif 4', serif; color: var(--heading); }

img { max-width: 100%; }

a { text-decoration: none; }

/* shared container */
.wrap { max-width: 1120px; margin: 0 auto; }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo > img { height: 46px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links .nav-home { display: none; }
.nav-links > a, .nav-item > a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s ease;
}
.nav-links > a:hover, .nav-item > a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); }
.nav-links .nav-cta {
  background: var(--primary);
  color: var(--cream);
  padding: 11px 24px;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.nav-links .nav-cta:hover { background: var(--primary-hover); color: var(--cream); }

/* Services dropdown */
.nav-item { position: relative; }
.nav-item > a .fa-chevron-down { font-size: 0.6rem; margin-left: 5px; transition: transform 0.25s ease; }
.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--card-bg);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(32, 29, 28, 0.1);
  min-width: 280px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-item:hover > a .fa-chevron-down,
.nav-item.open > a .fa-chevron-down { transform: rotate(180deg); }
.dropdown::before {
  content: '';
  position: absolute;
  top: -19px;
  left: 0;
  right: 0;
  height: 19px;
}
.dropdown a {
  display: block;
  padding: 9px 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
  white-space: nowrap;
  border-bottom: 1px solid var(--bg-2);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--bg); color: var(--primary); padding-left: 28px; }
.dropdown a.active { color: var(--primary); }

.nav-controls { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.hamburger {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  color: var(--heading);
  cursor: pointer;
  padding: 6px;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block;
  padding: 16px 38px;
  background: var(--primary);
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover { background: var(--primary-hover); color: var(--cream); }

.btn-secondary {
  display: inline-block;
  padding: 16px 38px;
  background: transparent;
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(250,248,245,0.45);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* text link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 16px 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}
.text-link i { font-size: 0.75rem; transition: transform 0.25s ease; }
.text-link:hover { color: var(--accent); }
.text-link:hover i { transform: translateX(5px); }
.text-link.on-light { color: var(--heading); }
.text-link.on-light:hover { color: var(--primary); }

/* ============ HOME HERO ============ */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 110px;
  background-image: url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?w=1600&q=70&auto=format');
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(23,18,13,0.92) 0%, rgba(30,23,15,0.82) 45%, rgba(44,36,25,0.55) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}
.hero-rule {
  width: 64px;
  border-top: 2px solid var(--accent);
  padding-top: 5px;
  border-bottom: 1px solid rgba(196,68,70,0.55);
  margin-bottom: 30px;
}
.hero .hero-label {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(250,248,245,0.75);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  margin-bottom: 20px;
}
.hero .hero-label em { font-style: normal; color: var(--accent); }
.hero h1 {
  font-weight: 700;
  font-size: 4rem;
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 26px;
  max-width: 740px;
  letter-spacing: -0.01em;
}
.hero .hero-sub {
  font-size: 1.1rem;
  color: rgba(250,248,245,0.78);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.hero-bail-note {
  margin-top: 54px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(250,248,245,0.22);
  font-size: 0.85rem;
  color: rgba(250,248,245,0.85);
}
.hero-bail-note i { color: var(--accent); }

/* ============ PAGE HERO (interior) ============ */
.page-hero {
  position: relative;
  background-color: var(--dark);
  background-image: var(--grain);
  background-size: cover;
  background-position: center;
  padding: 84px 5% 66px;
}
.page-hero .ph-inner { max-width: 1120px; margin: 0 auto; }
.page-hero .hero-rule {
  width: 64px;
  border-top: 2px solid var(--accent);
  padding-top: 5px;
  border-bottom: 1px solid rgba(196,68,70,0.55);
  margin-bottom: 26px;
}
.page-hero .hero-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(250,248,245,0.65);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}
.page-hero h1 {
  color: var(--cream);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.12;
  max-width: 820px;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.page-hero .page-sub {
  color: rgba(250,248,245,0.75);
  font-size: 1.04rem;
  max-width: 640px;
  line-height: 1.75;
}
.breadcrumb {
  margin-top: 34px;
  font-size: 0.78rem;
  color: rgba(250,248,245,0.45);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(250,248,245,0.6); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 9px; color: rgba(250,248,245,0.25); }

/* ============ HERITAGE BAR (credentials strip) ============ */
.heritage-bar {
  background: var(--dark);
  background-image: var(--grain);
  border-top: 1px solid var(--rule-dark);
  padding: 0 5%;
}
.heritage-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.heritage-bar .bar-item {
  padding: 1.1rem 1.5rem;
  border-left: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.heritage-bar .bar-item:last-child { border-right: 1px solid var(--rule-dark); }
.bar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(196,68,70,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.95rem;
  position: relative;
  flex-shrink: 0;
}
.bar-badge::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px dashed rgba(196,68,70,0.35);
  border-radius: 50%;
}
.heritage-bar .bar-number {
  font-family: 'Source Serif 4', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.25;
  display: block;
}
.heritage-bar .bar-label {
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #a59d99;
  display: block;
}

/* ============ SECTIONS / HEADINGS (editorial, left-aligned) ============ */
section { padding: 96px 5%; }

.section-header {
  max-width: 1120px;
  margin: 0 auto 58px;
  text-align: left;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  margin-bottom: 18px;
}
.section-label::after { content: ''; flex: 1; max-width: 160px; height: 1px; background: var(--rule); }
.section-header h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 14px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 640px;
}
.section-header h2::after { display: none; }
.section-header p { font-size: 1rem; color: var(--muted); max-width: 560px; margin: 0; }

/* dark sections */
.on-dark .section-label { color: var(--accent); }
.on-dark .section-label::after { background: var(--rule-dark); }

/* ============ SERVICES INDEX (home) ============ */
.services-section { background: var(--bg); background-image: var(--grain); }
.svc-index {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  border-top: 1px solid var(--heading);
}
.svc-row {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 26px 14px 26px 10px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.svc-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(95deg, rgba(23,18,13,0.88) 0%, rgba(30,23,15,0.78) 100%), var(--svc-img, none);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.svc-row > * { position: relative; }
.svc-num {
  font-family: 'Source Serif 4', serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
  width: 26px;
}
.svc-body h3 {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 5px;
  transition: color 0.25s ease;
}
.svc-body p { font-size: 0.89rem; color: var(--muted); line-height: 1.6; max-width: 400px; }
.svc-arrow {
  margin-left: auto;
  align-self: center;
  color: var(--rule);
  font-size: 0.85rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.svc-body h3, .svc-body p, .svc-num { transition: color 0.3s ease; }
@media (hover: hover) and (min-width: 769px) {
  .svc-row:hover::before { opacity: 1; }
  .svc-row:hover .svc-body h3 { color: var(--cream); }
  .svc-row:hover .svc-body p { color: rgba(250,248,245,0.78); }
  .svc-row:hover .svc-num { color: var(--accent); }
  .svc-row:hover .svc-arrow { color: var(--accent); transform: translateX(5px); }
}
@media (hover: none), (max-width: 768px) {
  .svc-row:hover .svc-body h3 { color: var(--primary); }
}

/* ============ STEPS (ledger sequence, no cards) ============ */
.steps-section {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
}
.step-card {
  background: transparent;
  border: none;
  border-left: 1px solid var(--rule);
  padding: 8px 34px 8px 30px;
  text-align: left;
  position: relative;
}
.step-card:first-child { border-left: none; padding-left: 0; }
.step-card .step-num {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  font-family: 'Source Serif 4', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin: 0 0 16px;
  display: block;
}
.step-card .step-num i { font-size: 1.6rem; color: var(--primary); }
.step-card h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 10px; }
.step-card p { font-size: 0.92rem; color: var(--muted); }

/* ============ ABOUT BLOCK ============ */
.about-section { background: var(--bg-2); background-image: var(--grain); }
.about-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}
.about-text h2 {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.about-text .about-role {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 24px;
}
.about-text p { margin-bottom: 18px; font-size: 1rem; }

.about-creds { list-style: none; margin: 10px 0 0; border-top: 1px solid var(--rule); }
.about-creds li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.94rem;
}
.about-creds li i { display: none; }
.about-creds li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 10px;
}

.about-aside { min-width: 0; }

/* framed portrait */
.about-image {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 18px 18px 0;
  box-shadow: 0 14px 34px rgba(32,29,28,0.07);
}
.about-image img { width: 100%; display: block; }
.about-image .img-caption {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  padding: 13px 10px 15px;
}
.about-image::after { display: none; }

.pull-quote {
  position: relative;
  padding: 26px 0 0;
  margin: 30px 0 0;
  background: transparent;
  border-left: none;
  border-top: 1px solid var(--heading);
  border-radius: 0;
}
.pull-quote::before { display: none; }
.pull-quote p {
  font-family: 'Source Serif 4', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--heading);
  margin: 0;
  line-height: 1.5;
}
.pull-quote .quote-author {
  display: block;
  margin-top: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-style: normal;
}

/* ============ CREDENTIAL BADGES (under portrait) ============ */
.cred-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
  margin-top: 24px;
}
.cred-badges .cred-item { display: flex; align-items: center; gap: 12px; }
.cred-badges .bar-badge { width: 40px; height: 40px; font-size: 0.85rem; }
.cred-badges .cred-value {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  display: block;
  line-height: 1.25;
}
.cred-badges .cred-label {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  display: block;
}

/* ============ PRACTICE PAGE LAYOUT ============ */
.page-body { padding: 84px 5%; }
.page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}
.article h2 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 50px 0 20px;
  padding-top: 26px;
  border-top: 1px solid var(--heading);
  letter-spacing: -0.01em;
}
.article h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article h2::after { display: none; }
.article p { margin-bottom: 18px; font-size: 1rem; }
.article .lead {
  font-family: 'Source Serif 4', serif;
  font-size: 1.22rem;
  line-height: 1.65;
  color: var(--heading);
}

.help-list { list-style: none; margin: 8px 0 10px; }
.help-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.97rem;
}
.help-list li:last-child { border-bottom: none; }
.help-list li i { display: none; }
.help-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 11px;
}
.help-list li strong { color: var(--heading); font-weight: 600; }

/* Numbered expectations inside article */
.mini-steps { list-style: none; margin: 8px 0 10px; counter-reset: ms; }
.mini-steps li {
  position: relative;
  padding: 16px 0 16px 58px;
  counter-increment: ms;
  border-bottom: 1px solid var(--rule);
  font-size: 0.97rem;
}
.mini-steps li:last-child { border-bottom: none; }
.mini-steps li::before {
  content: counter(ms) '.';
  position: absolute;
  left: 2px;
  top: 12px;
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--primary);
  line-height: 1.4;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
}
.mini-steps li strong { display: block; color: var(--heading); font-weight: 600; }

/* FAQ accordion */
.faq-list { margin-top: 8px; border-top: 1px solid var(--heading); }
.faq-list details {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  margin: 0;
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 2px;
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
}
.faq-list summary:hover { color: var(--primary); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '\2b';
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-a { padding: 0 2px 22px; font-size: 0.95rem; max-width: 620px; }
.faq-list .faq-a p { margin-bottom: 10px; }
.faq-list .faq-a p:last-child { margin-bottom: 0; }

/* Sidebar */
.sidebar { position: sticky; top: 98px; display: flex; flex-direction: column; gap: 26px; }
.side-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 30px 28px;
}
.side-card.consult { border-top: 2px solid var(--primary); }
.side-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 6px; }
.side-card .side-price {
  font-family: 'Source Serif 4', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}
.side-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.side-card .btn-primary { display: block; text-align: center; padding: 14px 20px; margin-bottom: 18px; }
.side-contact { list-style: none; border-top: 1px solid var(--rule); }
.side-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--bg-2);
}
.side-contact li:last-child { border-bottom: none; }
.side-contact li i { color: var(--primary); margin-top: 5px; font-size: 0.85rem; width: 16px; text-align: center; }
.side-contact a { color: var(--text); transition: color 0.2s ease; }
.side-contact a:hover { color: var(--primary); }
.side-bail {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  background: rgba(176,48,50,0.05);
  border-left: 2px solid var(--primary);
  font-size: 0.82rem;
  color: var(--secondary);
}
.side-bail i { color: var(--primary); }

.side-links { list-style: none; }
.side-links li { border-bottom: 1px solid var(--rule); }
.side-links li:last-child { border-bottom: none; }
.side-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 2px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}
.side-links a:hover { color: var(--primary); padding-left: 6px; }
.side-links a i { font-size: 0.7rem; color: var(--primary); opacity: 0.55; }

/* ============ CORRESPONDENT (dark) ============ */
.correspondent { background: var(--dark); background-image: var(--grain); }
.correspondent .corr-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}
.correspondent .section-label { color: var(--accent); }
.correspondent .section-label::after { background: var(--rule-dark); }
.correspondent h2 {
  color: var(--cream);
  font-size: 2.2rem;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.correspondent h2::after { display: none; }
.correspondent .corr-intro { color: rgba(250,248,245,0.75); font-size: 1rem; margin-top: 4px; }
.correspondent .corr-towns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.correspondent .corr-towns span {
  border: none;
  border-right: 1px solid var(--rule-dark);
  color: rgba(250,248,245,0.85);
  border-radius: 0;
  padding: 10px 18px 10px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.correspondent .corr-towns span:first-child { padding-left: 2px; }
.correspondent .corr-towns span:last-child { border-right: none; }
.corr-list { list-style: none; columns: 2; column-gap: 40px; border-top: 1px solid rgba(250,248,245,0.3); padding-top: 6px; }
.corr-list li {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-dark);
  color: rgba(250,248,245,0.85);
  font-size: 0.92rem;
}
.corr-list li i { display: none; }
.corr-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 10px;
}

/* ============ CONSULT BAND (dark, red rubric) ============ */
.consult-band {
  background: var(--dark-2);
  background-image: var(--grain);
  border-top: 2px solid var(--primary);
  text-align: left;
  padding: 72px 5%;
}
.consult-band .band-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.consult-band h2 { color: var(--cream); font-size: 2rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.consult-band h2 em { font-style: normal; color: var(--accent); }
.consult-band p { color: rgba(250,248,245,0.75); max-width: 560px; margin: 0; font-size: 1rem; }
.consult-band .btn-band {
  display: inline-block;
  padding: 17px 40px;
  background: var(--primary);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.consult-band .btn-band:hover { background: var(--primary-hover); }

/* ============ CONTACT ============ */
.contact-section { background: var(--bg); background-image: var(--grain); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--primary);
  padding: 44px 38px;
  box-shadow: 0 14px 34px rgba(32,29,28,0.06);
}
.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  padding: 13px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--heading);
  margin-bottom: 22px;
  transition: border-color 0.3s ease;
  outline: none;
  border-radius: 0;
}
.contact-card input::placeholder, .contact-card textarea::placeholder { color: var(--muted); }
.contact-card input:focus, .contact-card select:focus, .contact-card textarea:focus { border-bottom-color: var(--primary); }
.contact-card textarea { min-height: 110px; resize: vertical; }
.contact-card button[type='submit'] {
  width: 100%;
  padding: 17px;
  background: var(--primary);
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-card button[type='submit']:hover { background: var(--primary-hover); }
.form-status { font-size: 0.9rem; margin-top: 14px; display: none; }
.form-status.ok { display: block; color: #166534; }
.form-status.err { display: block; color: #991b1b; }

.contact-info h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 2px;
  margin: 0;
  border-bottom: 1px solid var(--rule);
}
.contact-info .info-item:first-of-type { border-top: 1px solid var(--heading); }
.contact-info .info-item i {
  width: auto;
  height: auto;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 5px;
}
.contact-info .info-item strong {
  display: block;
  font-family: 'Source Serif 4', serif;
  color: var(--heading);
  font-size: 1rem;
  margin-bottom: 2px;
}
.contact-info .info-item span, .contact-info .info-item a { font-size: 0.93rem; color: var(--muted); }
.contact-info .info-item a:hover { color: var(--primary); }

.contact-map { margin-top: 22px; background: var(--paper); border: 1px solid var(--rule); padding: 10px; }
.contact-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
}

/* ============ FOOTER (4-column letterhead) ============ */
footer {
  background: var(--dark);
  background-image: var(--grain);
  padding: 0 5%;
  color: var(--cream);
  text-align: left;
}
.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.1fr;
  gap: 50px;
  padding: 68px 0 54px;
}
.f-brand .hero-rule { margin-bottom: 18px; }
.f-wordmark {
  font-family: 'Source Serif 4', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.f-wordtag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin: 6px 0 18px;
}
.f-brand p { font-size: 0.9rem; color: rgba(250,248,245,0.55); line-height: 1.7; max-width: 250px; margin-bottom: 20px; }
.f-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(250,248,245,0.75);
  transition: color 0.25s ease;
}
.f-social i { color: var(--accent); font-size: 1rem; }
.f-social:hover { color: var(--accent); }
.f-col h4 {
  color: var(--cream);
  font-size: 0.78rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-dark);
}
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 9px; }
.f-col a { color: rgba(250,248,245,0.6); font-size: 0.88rem; transition: color 0.25s ease; }
.f-col a:hover { color: var(--accent); }
.f-col .f-text { color: rgba(250,248,245,0.6); font-size: 0.88rem; line-height: 1.7; }
.f-col .f-text strong { color: rgba(250,248,245,0.85); font-weight: 500; }
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.78rem;
  color: rgba(250,248,245,0.4);
}
.footer-bottom a { color: rgba(250,248,245,0.55); }
.footer-bottom a:hover { color: var(--accent); }

/* ============ WHATSAPP FAB ============ */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 900;
  transition: transform 0.25s ease;
}
.wa-fab:hover { transform: scale(1.07); }

/* ============ MOBILE STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 950;
  transform: translateY(110%);
  transition: transform 0.35s ease;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.14);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.sticky-cta .cta-call { background: var(--primary); }
.sticky-cta .cta-wa { background: var(--whatsapp); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc-row::before, .svc-body h3, .svc-body p, .svc-num, .sticky-cta { transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .page-grid { grid-template-columns: 1fr; gap: 50px; }
  .sidebar { position: static; }
  .svc-index { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .about-wrap, .correspondent .corr-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .about-image, .about-aside { order: -1; max-width: 440px; }
  .corr-list { columns: 1; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { border-left: none; border-top: 1px solid var(--rule); padding: 26px 0 18px; }
  .step-card:first-child { border-top: none; padding-top: 0; }
  .heritage-inner { grid-template-columns: 1fr 1fr; }
  .heritage-bar .bar-item { border-left: none; border-bottom: 1px solid var(--rule-dark); padding: 1rem 0.6rem; }
  .heritage-bar .bar-item:last-child { border-right: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 10px 0 18px;
    margin-left: 0;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-item { padding: 0; width: 100%; }
  .nav-links > a { padding: 12px 0; }
  .nav-item > a { display: block; padding: 12px 0; }
  .nav-links .nav-cta { width: auto; margin-top: 8px; padding: 11px 24px; }
  .nav-controls { margin-left: auto; }
  .hamburger { display: block; }

  .nav-links .nav-home { display: block; }

  /* desktop centering transform must not shift the inline mobile submenu */
  .dropdown,
  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown,
  .nav-item.open .dropdown { transform: none; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    display: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg-2);
    min-width: 0;
    padding: 6px 0;
  }
  .nav-item.open .dropdown { display: block; visibility: visible; }
  .dropdown::before { display: none; }
  .dropdown a { padding: 10px 0; white-space: normal; border-bottom: none; }
  .dropdown a:hover { padding-left: 0; }

  .hero { min-height: 74vh; padding: 90px 5% 70px; background-attachment: scroll; }
  .hero h1 { font-size: 2.4rem; }
  .hero .hero-sub { font-size: 1rem; }

  .page-hero { padding: 60px 5% 50px; }
  .page-hero h1 { font-size: 1.95rem; }
  .page-hero .page-sub { font-size: 0.97rem; }

  section { padding: 66px 5%; }
  .page-body { padding: 56px 5%; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.85rem; }
  .svc-row { padding: 20px 2px; }
  .svc-body p { display: none; }
  .about-text h2 { font-size: 1.9rem; }
  .article h2 { font-size: 1.45rem; }
  .correspondent h2 { font-size: 1.8rem; }
  .consult-band .band-inner { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 50px 0 40px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  .sticky-cta { display: flex; }
  /* sticky CTA already has WhatsApp; the floating bubble would double up */
  .wa-fab { display: none; }
  footer { padding-bottom: 96px; }

  /* Homepage about: portrait becomes a faint backdrop behind the text */
  #about { position: relative; overflow: hidden; }
  #about .about-image {
    position: absolute;
    inset: 0;
    order: 0;
    max-width: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    pointer-events: none;
  }
  #about .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
    opacity: 0.1;
    filter: grayscale(100%);
  }
  #about .about-image .img-caption { display: none; }
  #about .about-text { position: relative; }
}
