/* ============================================================
   ISA VALENTIC — Irish Immigration Strategist
   V2 — editorial refinement guided by approved mockups
   ============================================================ */

:root {
  /* Palette */
  --navy: #0A2540;
  --navy-soft: #14314F;
  --powder: #C7DDEB;
  --powder-light: #DDEAF3;
  --powder-tint: #EAF1F7;
  --limestone: #F6F1E9;
  --limestone-light: #FAF7F1;
  --linen: #EFE7DA;
  --linen-deep: #E6DCCB;
  --card: #FFFEFB;
  --charcoal: #2E3A47;
  --muted: #3C4F63;
  --tag-blue: #54718E;
  --line: #E9E1D3;
  --line-blue: #D4E2ED;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, 'Segoe UI', sans-serif;

  --shadow-card: 0 6px 26px rgba(10, 37, 64, 0.05);
  --shadow-hover: 0 14px 34px rgba(10, 37, 64, 0.10);
  --radius: 16px;
  --radius-sm: 8px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--limestone);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.12;
}
h1 { font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.2vw, 38px); }
h3 { font-size: clamp(20px, 2.1vw, 24px); }
.h-accent { color: var(--tag-blue); font-style: italic; }

p { max-width: 68ch; }

/* ---------- Layout ---------- */
.wrap { width: min(1160px, 92%); margin: 0 auto; }
.wrap-wide { width: min(1340px, 96%); margin: 0 auto; }
section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tight { padding: clamp(44px, 5vw, 72px) 0; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tag-blue);
  margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 700px; margin: 0 auto clamp(44px, 5vw, 68px); }
.section-head p { margin: 18px auto 0; color: var(--muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 4px 16px rgba(10, 37, 64, 0.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); background: var(--navy-soft); }
/* On dark backgrounds the primary CTA inverts so it never sinks into navy */
.section-navy .btn-primary { background: #fff; color: var(--navy); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); }
.section-navy .btn-primary:hover { background: var(--powder-light); }
/* On powder backgrounds, deepen the shadow slightly for separation */
.section-powder .btn-primary, .section-powder-tint .btn-primary { box-shadow: 0 6px 20px rgba(10, 37, 64, 0.28); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(10, 37, 64, 0.45); }
.btn-ghost:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 233, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233, 225, 211, 0.7);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 30px; height: auto; flex-shrink: 0; }
.brand-rule { width: 1px; height: 42px; background: var(--navy); opacity: 0.6; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.18em;
  color: var(--navy);
  text-transform: uppercase;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #22374E;
  margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--navy); }
.nav-cta { white-space: nowrap; padding: 14px 24px; font-size: 11.5px; letter-spacing: 0.1em; }
/* The generic nav link colour must never override the CTA button */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { color: #fff; border-bottom: none; }

/* Dropdown */
.has-dropdown > a::after { content: " ▾"; font-size: 10px; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 290px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  text-transform: none;
}
.dropdown a:hover { background: var(--powder-tint); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: all 0.25s;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }

@media (max-width: 960px) {
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 8px; letter-spacing: 0.24em; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--limestone-light);
    border-bottom: 1px solid var(--line);
    padding: 12px 4% 28px;
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-links > li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 14px; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 18px;
    min-width: 0;
  }
  .nav-cta { margin-top: 14px; display: inline-flex; }
}

/* ---------- Photo placeholders (until real photography arrives) ---------- */
.photo-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(155deg, var(--linen) 0%, var(--linen-deep) 55%, var(--powder-light) 130%);
  color: var(--navy);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(10, 37, 64, 0.22);
  border-radius: 10px;
}
.photo-placeholder .ph-mark { width: 26px; opacity: 0.4; }
.photo-placeholder span { position: relative; opacity: 0.75; line-height: 1.8; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 5vw, 80px) 0 0; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.hero-copy { padding-bottom: clamp(40px, 5vw, 80px); }
.hero-copy .tag { margin-bottom: 24px; }
.hero-copy p.lede { margin: 26px 0 36px; font-size: 18px; color: var(--muted); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.hero-note { display: block; font-size: 13.5px; color: var(--muted); letter-spacing: 0.08em; margin-top: 10px; }
.hero-actions + .hero-note { margin-top: 0; }
.hero-media { position: relative; align-self: stretch; }
.hero-media .photo {
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 480px;
  margin-right: calc((min(1340px, 96vw) - 100vw) / 2);
}
/* ---------- Portrait fade — softens the hard photo edge into the page background ---------- */
.portrait-fade img {
  -webkit-mask-image: radial-gradient(ellipse 85% 88% at 50% 48%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 88% at 50% 48%, #000 62%, transparent 100%);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media .photo { margin-right: 0; border-radius: var(--radius); min-height: 340px; }
  .hero-copy { padding-bottom: 48px; }
}

/* ---------- Service page hero: identical image container on every page ---------- */
.hero-service .hero-grid { align-items: center; }
.hero-service .hero-media { align-self: center; }
.hero-service .hero-media .photo {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  margin-right: 0;
  border-radius: var(--radius);
}
@media (max-width: 860px) {
  .hero-service .hero-media .photo { aspect-ratio: 16 / 10; }
}

/* ---------- Full-portrait melt: no crop box, photo fades into the page at its own edges ---------- */
.hero:has(.photo-melt) { overflow: visible; }
.photo-melt { text-align: center; }
.photo-melt img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 460px;
  display: inline-block;
  -webkit-mask-image: radial-gradient(ellipse 90% 92% at 50% 50%, #000 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 92% at 50% 50%, #000 68%, transparent 100%);
}

/* ---------- Trust strip — editorial icon columns ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 5vw, 60px) 0;
  background: var(--limestone);
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item {
  text-align: center;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-item .icon-circle { margin: 0 auto 16px; }
.trust-item h4 {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.trust-item p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0 auto; }
@media (max-width: 900px) {
  .trust-items { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .trust-item:nth-child(2) { border-right: none; }
}
@media (max-width: 540px) {
  .trust-items { grid-template-columns: 1fr; }
  .trust-item { border-right: none; }
}

/* ---------- Icon circle ---------- */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--powder-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.icon-circle svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.5; }
.icon-circle.small { width: 46px; height: 46px; margin-bottom: 0; }
.icon-circle.small svg { width: 20px; height: 20px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cols-4, .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .cols-4, .cols-3, .cols-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--muted); }
.card .learn-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--powder);
  padding-bottom: 3px;
  transition: border-color 0.2s;
}
.card .learn-more:hover { border-color: var(--navy); }

/* Photo cards — image-led, like the mockups */
.photo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.photo-card .thumb { aspect-ratio: 16 / 11; overflow: hidden; flex-shrink: 0; }
.photo-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card .body { padding: 26px 28px 30px; }
.photo-card h3 { font-size: 22px; margin-bottom: 10px; }
.photo-card p { font-size: 14.5px; }

/* ---------- Motif tiles (icon-led cards, replacing photo placeholders) ---------- */
.motif-tile {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--linen) 0%, var(--linen-deep) 55%, var(--powder-light) 130%);
}
.motif-tile .icon-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.motif-tile .icon-circle svg {
  width: 36px;
  height: 36px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Powder sections ---------- */
.section-powder { background: var(--powder); }
.section-powder .tag { color: var(--navy); opacity: 0.8; }
.section-powder-tint { background: var(--powder-tint); }

/* ---------- Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 34px; } }
.step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}
.step-head::after { content: ""; flex: 1; border-top: 1px dashed rgba(10, 37, 64, 0.3); }
.step:last-child .step-head::after { border-top: none; }
@media (max-width: 860px) { .step-head::after { border-top: none; } }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--charcoal); opacity: 0.85; }

/* ---------- Editorial split (Services) ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-intro { position: sticky; top: 110px; }
@media (max-width: 900px) { .split-intro { position: static; } }
.split-intro p { color: var(--muted); font-size: 16.5px; margin: 18px 0 30px; }

.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.service-row:hover { background: var(--limestone-light); }
.service-row h3 { font-size: 21px; margin-bottom: 6px; display: inline-block; position: relative; }
.service-row h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width 0.35s ease;
}
.service-row:hover h3::after { width: 100%; }
.service-row p { font-size: 14.5px; color: var(--muted); }

/* ---------- Navy band (About teaser) ---------- */
.section-navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .tag { color: var(--powder); }
.section-navy p { color: rgba(255, 255, 255, 0.85); }
.navy-watermark {
  position: absolute;
  right: -60px;
  bottom: -110px;
  width: 300px;
  opacity: 0.05;
  pointer-events: none;
}
.about-teaser-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
@media (max-width: 860px) { .about-teaser-grid { grid-template-columns: 1fr; } }
.about-teaser-grid .photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(21px, 2.5vw, 27px);
  font-style: italic;
  line-height: 1.45;
  color: #fff;
  border-left: 2px solid var(--powder);
  padding-left: 26px;
  margin-top: 34px;
}
.pull-quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--powder); margin-top: 14px; }
.link-light {
  color: var(--powder);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(199, 221, 235, 0.4);
  padding-bottom: 3px;
}
.link-light:hover { border-color: var(--powder); }

/* ---------- Quote band (testimonials) ---------- */
.quote-band {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 900px) { .quote-band { grid-template-columns: 1fr; } }
.quote-big { position: relative; padding-left: clamp(0px, 3vw, 30px); }
.quote-big .quote-mark {
  font-family: var(--serif);
  font-size: 110px;
  line-height: 0.4;
  color: var(--powder);
  display: block;
  margin-bottom: 30px;
}
.quote-big blockquote {
  font-family: var(--serif);
  font-size: clamp(23px, 2.8vw, 30px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
}
.quote-big .who {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-card {
  background: var(--powder-tint);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
  padding: 36px 34px;
  text-align: center;
}
.review-card .score { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--navy); }
.review-card .stars { color: #C9A227; letter-spacing: 4px; font-size: 17px; margin: 6px 0 4px; }
.review-card .src { font-size: 13px; color: var(--muted); margin: 0 auto 20px; }
.review-card a { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid var(--powder); padding-bottom: 3px; }
.review-card a:hover { border-color: var(--navy); }

/* ---------- Featured blog card ---------- */
.featured-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 760px) { .featured-card { grid-template-columns: 1fr; } }

/* ---------- Blog cards ---------- */
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.blog-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card .cat { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tag-blue); margin-bottom: 10px; font-weight: 500; }
.blog-card h3 { font-size: 20px; line-height: 1.35; margin: 0; }
.blog-card .desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 10px 0 0; flex: 1; }
.blog-card .meta { margin-top: auto; padding-top: 16px; font-size: 12.5px; color: var(--muted); }
.blog-card:hover h3 { color: var(--tag-blue); }
.blog-card[hidden] { display: none !important; }

/* ---------- Blog toolbar (search + filters) ---------- */
.blog-toolbar { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.blog-search { position: relative; max-width: 420px; }
.blog-search input {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--charcoal);
  background: var(--card); border: 1px solid var(--line); border-radius: 30px;
  padding: 13px 20px 13px 44px; transition: border-color 0.2s, box-shadow 0.2s;
}
.blog-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--powder-tint); }
.blog-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--muted); }
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-row .filter-label { font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.filter-btn {
  background: none; border: 1px solid var(--line); border-radius: 20px;
  padding: 7px 16px; font-size: 13px; cursor: pointer; color: var(--muted);
  font-family: var(--sans); transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Article layout: TOC+resource left rail, content center, author+topics+cta right rail ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 620px) 260px;
  gap: 50px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
.article-layout .article-main { min-width: 0; }
.article-left-rail, .article-right-rail {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 30px;
  max-height: calc(100vh - 130px); overflow-y: auto;
}

@media (max-width: 1180px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 700px;
  }
  .article-left-rail, .article-right-rail { position: static; max-height: none; overflow: visible; gap: 24px; }
}

.article-toc { font-size: 13.5px; }
.article-toc .toc-label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tag-blue); margin-bottom: 14px; display: block; }
.article-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.article-toc a { color: var(--muted); text-decoration: none; line-height: 1.4; display: block; }
.article-toc a:hover, .article-toc a.active { color: var(--navy); }

.author-box-mini { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.author-box-mini .photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; margin-bottom: 14px; }
.author-box-mini .photo .photo-placeholder { min-height: 56px; padding: 4px; font-size: 6px; }
.author-box-mini .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tag-blue); margin-bottom: 10px; display: block; }
.author-box-mini h3 { font-size: 17px; margin-bottom: 3px; }
.author-box-mini .role { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.author-box-mini p.bio { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.author-box-mini a.more { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--powder); }

.sidebar-topics .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tag-blue); margin-bottom: 12px; display: block; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { background: var(--powder-tint); color: var(--navy); font-size: 12px; padding: 6px 13px; border-radius: 20px; text-decoration: none; }
.topic-chip:hover { background: var(--powder); }

.sidebar-cta { background: var(--limestone-light); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sidebar-cta .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tag-blue); margin-bottom: 10px; display: block; }
.sidebar-cta h3 { font-size: 17px; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.sidebar-cta .btn { font-size: 12.5px; padding: 11px 20px; }

/* ---------- Sidebar resource: FREE variant — powder-blue, never navy (navy is reserved for paid/CTA) ---------- */
.sidebar-resource {
  background: var(--powder-tint);
  border: 1px solid var(--line-blue);
  color: var(--charcoal);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-resource .icon-circle { background: #fff; margin-bottom: 14px; }
.sidebar-resource .icon-circle svg { stroke: var(--navy); }
.sidebar-resource .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tag-blue); margin-bottom: 8px; display: block; }
.sidebar-resource h3 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.sidebar-resource p { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.sidebar-resource .btn { font-size: 12.5px; padding: 11px 20px; }

/* ---------- Sidebar resource: PAID variant — navy, matches the site's CTA/paid pattern ---------- */
.sidebar-resource-paid {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-resource-paid .icon-circle { background: rgba(255,255,255,0.12); margin-bottom: 14px; }
.sidebar-resource-paid .icon-circle svg { stroke: #fff; }
.sidebar-resource-paid .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--powder); margin-bottom: 8px; display: block; }
.sidebar-resource-paid h3 { font-size: 17px; margin-bottom: 8px; color: #fff; }
.sidebar-resource-paid p { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 14px; line-height: 1.6; }
.sidebar-resource-paid .price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; }
.sidebar-resource-paid .price { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; line-height: 1; }
.sidebar-resource-paid .price-note { font-size: 11.5px; color: var(--powder); }
.sidebar-resource-paid .btn { font-size: 12.5px; padding: 11px 20px; width: 100%; text-align: center; }

/* Two purchase options stacked in one card, instead of two separate cards */
.sidebar-resource-paid .resource-option { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.2); }
.sidebar-resource-paid .resource-option:first-of-type { border-top: none; padding-top: 0; }
.sidebar-resource-paid .resource-option h4 { font-size: 14px; color: #fff; margin-bottom: 4px; }
.sidebar-resource-paid .resource-option p { font-size: 12.5px; margin-bottom: 10px; color: rgba(255,255,255,0.75); }
.sidebar-resource-paid .resource-option .price-row { margin-bottom: 10px; }
.sidebar-resource-paid .resource-option .price { font-size: 20px; }
.sidebar-resource-paid .resource-option .btn { font-size: 12px; padding: 9px 16px; }

/* ---------- Share this article ---------- */
.share-article { padding: 4px 2px; }
.share-article .eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tag-blue); margin-bottom: 12px; display: block; }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); background: var(--card);
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.share-btn svg { width: 15px; height: 15px; }
.share-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.share-btn.copied { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Quick-answer box ---------- */
.quick-answer-box {
  background: var(--powder-tint); border: 1px solid var(--line-blue); border-radius: var(--radius);
  padding: 26px 28px; margin: 8px 0 36px;
}
.quick-answer-box .tag { margin-bottom: 10px; }
.quick-answer-box p { margin: 0; font-size: 16px; line-height: 1.7; }
.quick-answer-box p:not(:last-child) { margin-bottom: 10px; }

/* ---------- Accordion FAQ ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
}
.accordion-item button .chev { font-size: 13px; color: var(--tag-blue); transition: transform 0.25s; flex-shrink: 0; }
.accordion-item.open button .chev { transform: rotate(180deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-panel p { padding: 0 4px 24px; font-size: 15.5px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; }
.cta-banner .cta-mark { width: 26px; margin: 0 auto 26px; opacity: 0.55; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { margin: 0 auto 32px; color: var(--charcoal); opacity: 0.85; }
.cta-banner .hero-note { display: block; margin-top: 24px; }

/* ---------- Mark divider ---------- */
.mark-divider { text-align: center; padding: 6px 0; }
.mark-divider img { width: 18px; margin: 0 auto; opacity: 0.35; }

/* ---------- Newsletter card (standalone section, e.g. blog listing page) ---------- */
.newsletter-card {
  background: var(--powder-tint);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 52px) clamp(24px, 6vw, 56px);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.newsletter-card .icon-circle { margin: 0 auto 18px; background: #fff; }
.newsletter-card .icon-circle svg { stroke: var(--navy); }
.newsletter-card h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 10px; }
.newsletter-card p { color: var(--muted); font-size: 15px; margin: 0 auto 26px; max-width: 440px; }
.newsletter-card form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.newsletter-card input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-blue);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  background: #fff;
}
.newsletter-card input::placeholder { color: var(--muted); }
.newsletter-card .btn { white-space: nowrap; border-radius: 999px; }
.newsletter-card .fine-print { font-size: 11.5px; color: var(--muted); margin-top: 16px; }
@media (max-width: 560px) {
  .newsletter-card form { flex-direction: column; }
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
.field label .opt { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 300; }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--powder-tint);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-msg { font-size: 14px; margin-top: 14px; }
.form-msg.error { color: #A03D3D; }
.form-msg.ok { color: #2E6B4F; }

/* ---------- Quiz ---------- */
.quiz {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 4vw, 48px);
}
.quiz-progress { display: flex; gap: 8px; margin-bottom: 28px; }
.quiz-progress span { height: 4px; flex: 1; border-radius: 4px; background: var(--powder-tint); transition: background 0.3s; }
.quiz-progress span.done { background: var(--navy); }
.quiz-q { font-family: var(--serif); font-size: 24px; color: var(--navy); margin-bottom: 22px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-options button {
  text-align: left;
  background: var(--limestone-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--charcoal);
  transition: all 0.2s;
}
.quiz-options button:hover { border-color: var(--navy); background: var(--powder-tint); }
.quiz-result h3 { margin-bottom: 14px; }
.quiz-result p { color: var(--muted); margin-bottom: 24px; }
.quiz-restart { background: none; border: none; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 20px; text-decoration: underline; }

/* ---------- Help list (service pages) ---------- */
.help-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; margin: 26px 0; }
.help-list li { position: relative; padding-left: 30px; font-size: 15.5px; }
.help-list li::before { content: "✓"; position: absolute; left: 0; color: var(--tag-blue); font-weight: 500; }
@media (max-width: 640px) { .help-list { grid-template-columns: 1fr; } }

/* ---------- Sidebar boxes (About) ---------- */
.sidebar-box {
  background: var(--powder-tint);
  border-left: 3px solid var(--powder);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 24px;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 18px;
}

/* ---------- Pagination ---------- */
.pg-btn {
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card); color: var(--charcoal); font-size: 13.5px;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.pg-btn:hover:not(:disabled) { border-color: var(--powder); color: var(--navy); }
.pg-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pg-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: var(--line-blue); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--powder);
  border: 2.5px solid var(--navy);
}
.timeline-item .year { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 4px; }
.timeline-item p { font-size: 15px; color: var(--muted); }

/* ---------- Article / prose ---------- */
.prose h2 { margin: 44px 0 18px; font-size: clamp(26px, 3vw, 32px); }
.prose h3 { margin: 32px 0 14px; }
.prose p { margin-bottom: 18px; font-size: 16.5px; }
.prose ul { margin: 0 0 20px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 16px; }
.prose ul li::before { content: "•"; position: absolute; left: 0; color: var(--tag-blue); }
.prose ul[style*="list-style: none"] li { padding-left: 0; }
.prose ul[style*="list-style: none"] li::before { content: none; }
.prose blockquote {
  border-left: 3px solid var(--powder);
  background: var(--powder-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 26px;
  margin: 26px 0;
  font-style: italic;
  color: var(--navy);
}
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.prose th { text-align: left; font-weight: 500; color: var(--navy); border-bottom: 2px solid var(--navy); padding: 10px 14px; }
.prose td { border-bottom: 1px solid var(--line); padding: 10px 14px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); padding: 20px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 84px) 0 0; position: relative; overflow: hidden; }
.footer-watermark {
  position: absolute;
  left: -70px;
  bottom: -130px;
  width: 330px;
  opacity: 0.04;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr 0.9fr;
  gap: 36px;
  padding-bottom: 48px;
  position: relative;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }
.footer-brand-block { display: flex; flex-direction: column; gap: 6px; }
.footer-brand-block .mark { width: 26px; margin-bottom: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-dot {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
  transition: border-color .2s, color .2s;
}
.social-dot:hover { border-color: #fff; color: #fff; }
.footer-newsletter { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.footer-newsletter input {
  flex: 1; min-width: 140px; padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.25); background: transparent;
  color: #fff; border-radius: var(--radius-sm); font-size: 13.5px; font-family: var(--sans);
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.55); }
.footer-newsletter .btn { padding: 11px 18px; white-space: nowrap; }
.footer-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.6); cursor: pointer; }
.footer-consent input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.footer-consent a { color: rgba(255,255,255,.82); text-decoration: underline; }
.footer-consent a:hover { color: #fff; }
.trust-note { display: inline-flex; align-items: center; gap: 7px; }
.trust-note svg { flex-shrink: 0; color: var(--powder); }

/* ---------- Standalone newsletter banner — for the end of blog articles ---------- */
.newsletter-banner { text-align: center; }
.newsletter-banner .tag { color: var(--powder); }
.newsletter-banner h2 { margin-bottom: 12px; }
.newsletter-banner p { max-width: 480px; margin: 0 auto 28px; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.28); background: transparent;
  color: #fff; border-radius: var(--radius-sm); font-size: 14px; font-family: var(--sans);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form .btn { padding: 13px 22px; white-space: nowrap; }
.newsletter-banner .fine-print { margin: 16px auto 0; font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------- Expandable services grid ---------- */
.services-extra { display: none; margin-top: 26px; }
.services-extra.open { display: grid; }
.view-all-toggle svg { width: 13px; height: 13px; margin-left: 2px; transition: transform 0.25s ease; }
.view-all-toggle.open svg { transform: rotate(180deg); }
.footer-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.footer-tagline { font-size: 10px; color: var(--powder); letter-spacing: 0.32em; text-transform: uppercase; margin-top: 4px; }
.footer-langs { font-size: 13px; color: var(--powder); margin-top: 16px; }
.footer-col h4 { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--powder); margin-bottom: 18px; font-weight: 500; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.82); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: rgba(255, 255, 255, 0.82); font-size: 14px; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px 0 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.footer-bottom .cred { color: var(--powder); }

/* ---------- Fade-in on scroll ---------- */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.mb-1 { margin-bottom: 16px; } .mb-2 { margin-bottom: 32px; }
.divider-soft { border: none; border-top: 1px solid var(--line); }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 18px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Copy protection ---------- */
/* Disable text selection on content areas; inputs/nav stay selectable */
.prose,
.card,
.product-grid,
.cta-banner,
.hero .wrap,
.section-tight .wrap {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ---------- Service page hero mini-features (3-up) ---------- */
.trust-items-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
  .trust-items-3 { grid-template-columns: 1fr; row-gap: 22px; }
  .trust-items-3 .trust-item { border-right: none; padding: 0; }
}

/* ---------- Process steps (5-up) ---------- */
.steps-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
@media (max-width: 1000px) {
  .steps-5 { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
}
@media (max-width: 640px) {
  .steps-5 { grid-template-columns: 1fr; gap: 30px; }
  .steps-5 .step-head::after { display: none; }
}

/* ---------- Permit options split (list + why-work-with-me) ---------- */
.split-permits { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 900px) {
  .split-permits { grid-template-columns: 1fr; }
}

/* ---------- Hero photo testimonial card ---------- */
.hero-quote-card {
  position: absolute; left: 24px; right: 24px; bottom: -28px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover); padding: 20px 24px; font-size: 14px; color: var(--muted); font-style: italic;
}
.hero-quote-card .who { margin-top: 8px; font-size: 12px; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tag-blue); }

/* ---------- Photo note: flush card directly under the photo, no overlap, no floating ---------- */
.photo-note-wrap { display: flex; flex-direction: column; }
.photo-note-wrap .photo { border-radius: var(--radius) var(--radius) 0 0; }
.photo-note {
  background: #E7ECF1;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 20px 26px;
  text-align: center;
  font-size: 14px; line-height: 1.6; color: var(--charcoal); font-style: italic;
}
.photo-note .who { margin-top: 6px; font-size: 11.5px; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tag-blue); }

/* ---------- Photo caption — fades directly into the photo, no floating card ---------- */
.photo-caption-wrap { position: relative; overflow: hidden; }
.photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 26px 22px;
  background: linear-gradient(to top, rgba(46,58,71,0.88) 0%, rgba(46,58,71,0.55) 55%, rgba(46,58,71,0) 100%);
  color: #fff; font-style: italic; font-size: 14px; line-height: 1.55;
}
.photo-caption .who { margin-top: 8px; font-size: 11.5px; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.hero-service-preview .hero-media { position: relative; padding-bottom: 40px; }
.draft-flag { display: inline-block; background: var(--powder-tint); color: var(--navy); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
@media (max-width: 640px) {
  .hero-quote-card { position: static; margin-top: 18px; }
  .hero-service-preview .hero-media { padding-bottom: 0; }
}

/* ---------- Process steps on navy background ---------- */
.section-navy .step-head::after { border-top-color: rgba(255,255,255,0.3); }
.section-navy .steps-5 .step p { color: rgba(255,255,255,0.75); }

/* ---------- Coming soon resource cards ---------- */
.coming-soon-badge {
  display: inline-block; background: var(--powder-tint); color: var(--tag-blue);
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  padding: 3px 9px; border-radius: 4px; margin-bottom: 10px;
}
.resource-card-disabled { opacity: 0.85; cursor: default; }
.resource-card-disabled:hover { transform: none; box-shadow: var(--shadow-card); }
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

/* ---------- Cookie consent banner (GDPR) ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 22px 24px;
  box-shadow: 0 -10px 30px rgba(10, 37, 64, 0.28);
  transform: translateY(110%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--powder-light);
  max-width: 640px;
}
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-banner .btn { padding: 13px 22px; font-size: 11px; }
.cookie-banner .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.cookie-banner .btn-primary:hover { background: var(--powder-light); }
.cookie-banner .btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.cookie-banner .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
@media (max-width: 640px) {
  .cookie-banner .wrap { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}


/* ---------- Hero photo soft info card (calendar / scheduling note over photo) ---------- */
/* This card is taller than the original italic one-line testimonial the base
   .hero-quote-card rule was designed for, so it needs its own, smaller overlap
   and its own reserved space below the photo so it never collides with the
   next section. */
.hero-media:has(.hero-quote-card--soft) {
  padding-bottom: 58px;
}
.hero-quote-card.hero-quote-card--soft {
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(10, 37, 64, 0.24);
  font-style: normal;
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  bottom: -18px;
}
.hero-quote-card--soft .cal-icon {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
}
.hero-quote-card--soft .cal-icon svg { width: 16px; height: 16px; }
.hero-quote-card--soft .cal-icon svg * { stroke: #fff !important; }
.hero-quote-card--soft p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #fff; opacity: 0.9; }
@media (max-width: 640px) {
  .hero-media:has(.hero-quote-card--soft) { padding-bottom: 0; }
}

/* ---------- Blog listing: language-grouped sections ---------- */
.blog-lang-section { margin-bottom: 48px; }
.blog-lang-section:last-child { margin-bottom: 0; }
.blog-lang-heading {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-style: italic;
  color: var(--navy);
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.blog-lang-grid { margin-bottom: 0; }
