/* =========================================================
   Praevio Tech — shared stylesheet
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #f3f5f8;
  --bg-soft:      #ffffff;
  --surface:      #ffffff;
  --ink:          #0e1f33;
  --ink-soft:     #4e5d72;
  --ink-faint:    #8a96a8;
  --rule:         #dde3eb;
  --rule-soft:    #e9edf2;

  --navy:         #0e3a5f;
  --navy-deep:    #0a2840;
  --teal:         #00b5a3;
  --teal-deep:    #0d7a6d;

  --display: "Fraunces", "Times New Roman", Georgia, serif;
  --sans:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --logo:    "Epilogue", "Manrope", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }

/* =========================================================
   NAV
   ========================================================= */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(243,245,248,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}
.brand-logo--footer {
  height: 44px;
  margin-bottom: 4px;
}
.nav-links {
  display: flex; gap: 36px; list-style: none;
  font-size: 0.92rem; font-weight: 500;
}
.nav-links a {
  color: var(--ink); text-decoration: none;
  padding: 6px 0; position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--navy);
}
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-phone {
  font-size: 0.92rem; color: var(--ink-soft); text-decoration: none;
  font-weight: 500;
}
.nav-phone:hover { color: var(--ink); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-dark {
  background: var(--ink); color: #ffffff;
  padding: 10px 20px; border-radius: 4px;
  font-weight: 600; font-size: 0.88rem; text-decoration: none;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  display: inline-block;
  cursor: pointer;
}
.btn-dark:hover { background: var(--navy); border-color: var(--navy); }

.btn-outline {
  background: transparent; color: var(--ink);
  padding: 10px 20px; border-radius: 4px;
  font-weight: 600; font-size: 0.88rem; text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  cursor: pointer;
}
.btn-outline:hover { background: var(--ink); color: #ffffff; }

/* =========================================================
   TYPE PRIMITIVES
   ========================================================= */
.eyebrow,
.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.eyebrow::before,
.section-eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--ink-soft);
}
.eyebrow { margin-bottom: 30px; }

h1.hero-h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
h1.hero-h1 em { font-style: italic; font-weight: 500; color: var(--navy); }

h2.section-h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 24px;
}
h2.section-h2 em { font-style: italic; font-weight: 500; color: var(--navy); }

.section-lead {
  font-size: 1.04rem;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.7;
}

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 110px 32px; }
.section-wrap { max-width: 1240px; margin: 0 auto; }

/* =========================================================
   PAGE HERO (inner pages: services, about, locations, contact)
   ========================================================= */
.page-hero {
  padding: 120px 32px 90px;
  border-bottom: 1px solid var(--rule);
}
.page-hero-inner { max-width: 1240px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 820px;
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
.page-hero h1 em { font-style: italic; font-weight: 500; color: var(--navy); }
.page-hero p.page-hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.65;
}

/* =========================================================
   HOMEPAGE HERO
   ========================================================= */
.hero {
  max-width: 1240px; margin: 0 auto;
  padding: 96px 32px 80px;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 80px; align-items: center;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.hero-trust > div { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

/* Capabilities aside */
.hero-aside {
  border-left: 1px solid var(--rule);
  padding: 6px 0 6px 44px;
}
.aside-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.aside-label::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}
.capabilities { list-style: none; display: flex; flex-direction: column; }
.capabilities li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 0.2s;
}
.capabilities li:last-child { border-bottom: none; }
.capabilities li:hover { padding-left: 6px; }
.cap-num {
  font-family: var(--display);
  font-style: italic; font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.cap-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 32px;
}
.trust-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.trust-item-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.trust-item-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.trust-divider { width: 1px; height: 32px; background: var(--rule); }

/* =========================================================
   SERVICES GRID (homepage)
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 64px;
}
.service {
  background: var(--bg);
  padding: 40px 36px;
  position: relative;
  transition: background 0.25s;
}
.service:hover { background: var(--bg-soft); }
.service-num {
  font-family: var(--display);
  font-style: italic; font-weight: 500;
  font-size: 1rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
  display: block;
}
.service h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.service p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =========================================================
   APPROACH (homepage process)
   ========================================================= */
.approach {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.approach-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.steps { display: flex; flex-direction: column; gap: 56px; margin-top: 56px; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start; }
.step-num {
  font-family: var(--display);
  font-style: italic; font-weight: 500;
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
  padding-top: 2px;
}
.step-content h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =========================================================
   COVERAGE (dark inverted section)
   ========================================================= */
.coverage {
  background: var(--ink);
  color: #ffffff;
}
.coverage h2.section-h2 { color: #ffffff; }
.coverage h2.section-h2 em { color: var(--teal); }
.coverage .section-eyebrow { color: var(--ink-faint); }
.coverage .section-eyebrow::before { background: var(--ink-faint); }
.coverage .section-lead { color: rgba(255,255,255,0.7); }

.city-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.city {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 14px;
}
.city-num {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.city-meta {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  letter-spacing: 0.06em;
}

/* =========================================================
   CLOSER / CTA SECTION
   ========================================================= */
.closer {
  padding: 130px 32px;
  text-align: center;
}
.closer h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto 28px;
}
.closer h2 em { font-style: italic; font-weight: 500; color: var(--navy); }
.closer p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.closer-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.closer-meta {
  font-size: 0.85rem;
  color: var(--ink-faint);
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap;
}
.closer-meta a { color: var(--ink-soft); text-decoration: none; }
.closer-meta a:hover { color: var(--ink); }

/* =========================================================
   SERVICES DETAIL PAGE
   ========================================================= */
.service-detail {
  border-bottom: 1px solid var(--rule);
  padding: 90px 32px;
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail--alt { background: var(--bg-soft); }
.service-detail-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: start;
}
.service-detail-heading {
  position: sticky; top: 100px;
}
.service-detail-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
  display: block;
  letter-spacing: 0.04em;
}
.service-detail-heading h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.service-detail-heading h2 em { font-style: italic; font-weight: 500; color: var(--navy); }
.service-detail-heading p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}
.service-includes-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.service-includes-label::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}
.service-includes {
  list-style: none;
  display: flex; flex-direction: column;
}
.service-includes li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.4;
}
.service-includes li:last-child { border-bottom: none; }
.service-includes li::before {
  content: "+";
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal);
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-section {
  padding: 100px 32px;
  border-bottom: 1px solid var(--rule);
}
.about-section--alt { background: var(--bg-soft); }
.about-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: start;
}
.about-inner.single { grid-template-columns: 1fr; max-width: 880px; }
.about-body p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.2em;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body p strong {
  color: var(--ink);
  font-weight: 600;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 60px;
}
.value {
  background: var(--bg-soft);
  padding: 40px 32px;
}
.value-num {
  font-family: var(--display);
  font-style: italic; font-weight: 500;
  font-size: 1rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
  display: block;
}
.value h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.value p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =========================================================
   LOCATIONS PAGE
   ========================================================= */
.coverage-summary {
  padding: 100px 32px;
  border-bottom: 1px solid var(--rule);
}
.coverage-summary-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}
.coverage-summary-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.coverage-stat {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  padding: 28px 26px;
  border-radius: 4px;
}
.coverage-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.coverage-stat-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.location-detail {
  padding: 80px 32px;
  border-bottom: 1px solid var(--rule);
}
.location-detail--alt { background: var(--bg-soft); }
.location-detail:last-of-type { border-bottom: none; }
.location-detail-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.location-num {
  font-family: var(--display);
  font-style: italic; font-weight: 500;
  font-size: 1rem;
  color: var(--ink-faint);
  margin-bottom: 14px;
  display: block;
  letter-spacing: 0.04em;
}
.location-detail-inner h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.1;
}
.location-detail-county {
  font-size: 0.85rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.location-detail-body p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1em;
}
.location-detail-body p:last-child { margin-bottom: 0; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-section {
  padding: 100px 32px;
}
.contact-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info-block {
  display: flex; flex-direction: column;
  gap: 36px;
}
.contact-info-item {
  display: flex; flex-direction: column;
  gap: 6px;
}
.contact-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-info-value {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
  text-decoration: none;
}
.contact-info-value:hover { color: var(--navy); }
.contact-info-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.contact-form-card {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.contact-form-header {
  background: var(--ink);
  color: #ffffff;
  padding: 24px 28px;
}
.contact-form-header .section-eyebrow {
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.contact-form-header .section-eyebrow::before { background: var(--ink-faint); }
.contact-form-header h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.contact-form-header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}
.contact-form-body {
  padding: 28px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  padding: 64px 32px 36px;
}
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
  margin-top: 16px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--ink); text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--navy); }
.footer-col span { color: var(--ink-soft); font-size: 0.92rem; }

.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding-top: 28px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.footer-legal { display: inline-flex; align-items: center; gap: 10px; }
.footer-legal a { color: var(--ink-faint); text-decoration: none; }
.footer-legal a:hover { color: var(--navy); }

/* =========================================================
   CONSULTATION MODAL
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,20,32,0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 24px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
  background: var(--surface);
  border-radius: 8px;
  width: 100%;
  max-width: 580px;
  height: 90vh;
  max-height: 880px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 60px rgba(10,20,32,0.4);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-overlay.active .modal-container { transform: translateY(0) scale(1); }

.modal-header {
  background: var(--ink);
  color: #ffffff;
  padding: 24px 28px;
  position: relative;
  flex-shrink: 0;
}
.modal-header .section-eyebrow { color: var(--ink-faint); margin-bottom: 10px; }
.modal-header .section-eyebrow::before { background: var(--ink-faint); }
.modal-header h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.modal-header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.86rem;
  line-height: 1.5;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }

.modal-body {
  flex: 1; min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-body iframe {
  width: 100%;
  min-height: 620px;
  border: none;
  display: block;
}

/* =========================================================
   ENTRANCE ANIMATIONS
   ========================================================= */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 0.7s ease both; }
.rise.d1 { animation-delay: 0.08s; }
.rise.d2 { animation-delay: 0.16s; }
.rise.d3 { animation-delay: 0.24s; }
.rise.d4 { animation-delay: 0.32s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 60px 24px 60px;
  }
  .hero-aside {
    border-left: none;
    border-top: 1px solid var(--rule);
    padding: 30px 0 0 0;
  }
  .approach-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .city-list { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  section { padding: 80px 24px; }
  .trust-divider { display: none; }
  .page-hero { padding: 80px 24px 60px; }

  .service-detail-inner,
  .about-inner,
  .coverage-summary-inner,
  .location-detail-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-detail-heading { position: static; }
  .service-detail,
  .about-section,
  .coverage-summary,
  .location-detail,
  .contact-section { padding: 70px 24px; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 40px 20px 50px; }
  .nav-inner { padding: 14px 20px; }
  .nav-phone { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .city-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .closer { padding: 80px 24px; }
  h2.section-h2 { font-size: 2rem; }
  .coverage-summary-stats { grid-template-columns: 1fr; }
}
