/* ============================================================
   Family Visitation Services — Static Portal
   Theme kept identical to the original
   ============================================================ */
:root {
  --brand-blue: #4066b3;
  --brand-blue-dark: #2e4a8f;
  --brand-purple-1: #8b98d6;
  --brand-purple-2: #a3b3e2;
  --brand-red: #8c2a2a;
  --brand-red-dark: #6e1f1f;
  --ink: #2b2b2b;
  --muted: #5e6470;
  --bg-soft: #f7f8fc;
  --border: #e6e9f2;
}
*, *:before, *:after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; color: var(--ink); background: #fff;
  font-family: "Open Sans", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  line-height: 1.6; font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding-left: 20px; }
::selection { background: rgba(64,102,179,.25); color: #1f2540; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ==== Top Bar ==== */
.topbar {
  background: linear-gradient(90deg, var(--brand-purple-1) 0%, var(--brand-purple-2) 100%);
  color: #fff; font-size: 14px;
}
.topbar-inner {
  max-width: 1400px; margin: 0 auto; padding: 12px 24px;
  display: flex; gap: 30px; flex-wrap: wrap; align-items: center;
}
.tb-item { display: flex; align-items: flex-start; gap: 10px; color: #fff; transition: transform .25s, opacity .25s; }
.tb-item:hover { transform: translateY(-1px); opacity: .95; }
.tb-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.22); color: #fff; margin-top: 2px; flex-shrink: 0;
}
.tb-text { display: flex; flex-direction: column; line-height: 1.2; }
.tb-phone { font-weight: 700; font-size: 16px; letter-spacing: .2px; }
.tb-sub { font-size: 12px; opacity: .9; margin-top: 2px; max-width: 220px; }

/* ==== Navigation ==== */
.nav {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 6px rgba(30,40,80,.04);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--brand-blue-dark); font-weight: 700; transition: transform .25s;
}
.logo:hover { transform: translateY(-1px); }
.logo-mark { width: 58px; height: 58px; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(30,40,80,.15)); }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-family: "Montserrat", "Open Sans", sans-serif; }
.logo-line { font-size: 16px; letter-spacing: .8px; text-transform: uppercase; color: var(--brand-blue-dark); padding: 1px 0; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links li a {
  padding: 10px 14px; display: inline-block;
  color: var(--brand-blue-dark); font-weight: 600; font-size: 15px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  border-radius: 4px 4px 0 0;
}
.nav-links li a:hover { color: var(--brand-blue); border-color: var(--brand-purple-1); background: var(--bg-soft); }
.nav-links li a.active { color: var(--brand-blue-dark); border-color: var(--brand-blue); }
.nav-toggle {
  display: none; border: 0; background: transparent; cursor: pointer;
  width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 3px; width: 26px; background: var(--brand-blue-dark); border-radius: 2px; }

/* ==== Hero (home) ==== */
.hero { position: relative; height: 560px; overflow: hidden; background: linear-gradient(135deg, #3c4b9e 0%, #8c6b3d 100%); }
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: #3c4b9e;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,0) 60%);
}
.hero-content { position: absolute; top: 50%; left: 10%; transform: translateY(-50%); max-width: 620px; color: var(--brand-blue-dark); z-index: 2; }
.hero-title {
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-weight: 700; font-size: clamp(42px, 6vw, 82px);
  margin: 0 0 12px; line-height: 1.1; color: #3c4b9e;
  text-shadow: 0 2px 8px rgba(255,255,255,.35);
}
.hero-subtitle {
  font-family: "Dancing Script", "Brush Script MT", cursive;
  font-size: clamp(22px, 2.6vw, 36px); margin: 0; color: #3c4b9e;
  text-shadow: 0 2px 8px rgba(255,255,255,.3);
}
.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: background .25s, transform .25s; }
.hero-dots button.active, .hero-dots button:hover { background: #fff; transform: scale(1.15); }
.need-monitor, .floating-badge {
  position: absolute; right: 0; top: 40px; background: var(--brand-red); color: #fff;
  padding: 14px 18px; border-radius: 6px 0 0 6px; font-weight: 700; font-size: 16px;
  line-height: 1.25; display: flex; flex-direction: column;
  box-shadow: -4px 4px 14px rgba(0,0,0,.18); z-index: 3;
}

/* ==== Intro ==== */
.intro { padding: 70px 0; background: #fff; }
.intro-heading { font-family: "Dancing Script", cursive; font-size: clamp(36px, 5vw, 56px); color: var(--brand-blue); margin: 0 0 18px; text-align: center; }
.intro p { max-width: 900px; margin: 14px auto; color: #3a3f4b; text-align: center; font-size: 17px; line-height: 1.8; }

/* ==== Video ==== */
.video-section { padding: 20px 0 80px; background: #fff; }
.video-wrap { display: flex; justify-content: center; }
.video-frame { width: 100%; max-width: 820px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 40px rgba(30,40,80,.18); background: #000; }
.video-frame iframe, .video-thumb { width: 100%; height: 100%; border: 0; display: block; background-size: cover; background-position: center; position: relative; cursor: pointer; }
.video-thumb { padding: 0; }
.video-thumb .play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.video-thumb:hover .play-btn { transform: scale(1.06); }
.video-label { position: absolute; top: 12px; left: 16px; color: #fff; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.6); font-size: 16px; text-align: left; max-width: 70%; }

/* ==== Services ==== */
.services { padding: 70px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-grid { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.services-summary { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px rgba(30,40,80,.06); }
.services-hero { width: 100%; height: 180px; object-fit: cover; }
.services-summary h2 { font-family: "Dancing Script", cursive; font-size: 40px; margin: 8px 20px 6px; color: var(--brand-blue); }
.services-summary p { padding: 0 20px; color: #4a5060; }
.link-arrow { display: inline-block; color: var(--brand-blue); font-weight: 700; margin: 12px 20px 20px; transition: color .2s, transform .2s; }
.link-arrow:hover { color: var(--brand-blue-dark); transform: translateX(3px); }
.services-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.services-cards--wide { margin-top: 40px; }
.service-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px rgba(30,40,80,.06); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30,40,80,.12); }
.service-card a { color: inherit; display: block; height: 100%; }
.service-card-img { height: 170px; background-size: cover; background-position: center; background-color: #eef1fa; }
.service-card-body { padding: 18px 18px 22px; }
.service-card-body h3 { margin: 0 0 8px; font-size: 18px; color: var(--brand-blue-dark); line-height: 1.3; }
.service-card-body p { margin: 0; color: #505660; font-size: 14px; line-height: 1.6; }
.services-bullets { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 50px 0 10px; padding: 28px 24px; background: var(--bg-soft); border-radius: 8px; border: 1px solid var(--border); }
.services-bullets ul { margin: 0; padding: 0 0 0 18px; color: var(--brand-blue-dark); }
.services-bullets li { margin: 6px 0; font-weight: 600; }

/* ==== Testimonials ==== */
.testimonials { padding: 70px 0; background: #fff; }
.testimonials-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 14px; }
.testimonials-head h2 { font-family: "Dancing Script", cursive; font-size: clamp(34px,4vw,48px); margin: 0; color: var(--brand-blue); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testimonial-card { background: var(--bg-soft); border-radius: 8px; padding: 26px 22px; border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30,40,80,.1); }
.testimonial-card h3 { margin: 0 0 12px; color: var(--brand-blue-dark); font-style: italic; font-size: 18px; line-height: 1.3; }
.quote { color: #44495a; font-size: 14.5px; line-height: 1.7; flex: 1; font-style: italic; }
.q-mark { font-family: Georgia,serif; font-size: 30px; color: var(--brand-blue); margin-right: 4px; line-height: 0; position: relative; top: 8px; }
.author { display: block; margin-top: 10px; color: var(--brand-blue-dark); font-weight: 600; font-size: 13px; }
.testimonials-dots { margin-top: 26px; display: flex; justify-content: center; gap: 8px; }
.testimonials-dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--brand-blue); background: transparent; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.testimonials-dots button.active, .testimonials-dots button:hover { background: var(--brand-blue); transform: scale(1.15); }

/* ==== CTA Bar ==== */
.cta-bar { background: linear-gradient(90deg, var(--brand-purple-1) 0%, var(--brand-purple-2) 100%); padding: 44px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-lead { margin: 0; font-weight: 700; color: #fff; font-size: 20px; }
.cta-sub { margin: 4px 0 6px; color: #fff; opacity: .92; }
.cta-phone { color: #fff; font-weight: 800; font-size: 28px; letter-spacing: .5px; transition: transform .25s, opacity .25s; display: inline-block; }
.cta-phone:hover { transform: translateY(-2px); opacity: .95; }
.cta-btn { display: inline-block; background: var(--brand-red); color: #fff; padding: 14px 34px; border-radius: 6px; font-weight: 700; letter-spacing: .3px; transition: background .25s, transform .25s, box-shadow .25s; box-shadow: 0 6px 16px rgba(0,0,0,.12); border: 0; cursor: pointer; font-family: inherit; font-size: 15px; }
.cta-btn:hover { background: var(--brand-red-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.cta-btn-alt { background: #fff; color: var(--brand-blue-dark); border: 2px solid var(--brand-blue); }
.cta-btn-alt:hover { background: var(--brand-blue); color: #fff; }

/* ==== Footer ==== */
.footer { background: #1f2540; color: #d8dcee; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; padding-bottom: 30px; }
.footer h4 { color: #fff; font-size: 16px; margin: 0 0 12px; letter-spacing: .5px; text-transform: uppercase; }
.footer p { margin: 6px 0; font-size: 14.5px; color: #c8cde0; }
.footer a { color: #fff; font-weight: 600; transition: color .2s; }
.footer a:hover { color: var(--brand-purple-1); }
.footer-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a { color: #fff; opacity: .9; font-size: 14px; font-weight: 500; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 18px 24px; font-size: 13px; color: #aab1cc; }

/* ==== Floating badge ==== */
.floating-badge { position: fixed; right: 0; top: 45%; background: var(--brand-red); color: #fff; padding: 16px 14px; border-radius: 6px 0 0 6px; font-weight: 700; display: none; flex-direction: column; line-height: 1.15; z-index: 60; box-shadow: -4px 4px 12px rgba(0,0,0,.2); transition: background .25s, transform .25s; }
.floating-badge.show { display: flex; }
.floating-badge:hover { background: var(--brand-red-dark); transform: translateX(-2px); }

/* ==== Reveal ==== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }

/* ==== Sub-page shared ==== */
.page-section { padding: 0 0 70px; background: #fff; }
.page-hero { position: relative; height: 320px; background-size: cover; background-position: center; background-color: #3c4b9e; background-image: linear-gradient(135deg, #4066b3 0%, #2e4a8f 100%); display: flex; align-items: flex-end; color: #fff; }
.page-hero[style*="background-image"] { background-color: #3c4b9e; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,37,64,0) 0%, rgba(31,37,64,.55) 100%); }
.page-hero .container { position: relative; padding-bottom: 36px; }
.page-title { font-family: "Dancing Script", cursive; font-size: clamp(42px,6vw,68px); margin: 0; color: #fff; text-shadow: 0 3px 10px rgba(0,0,0,.35); line-height: 1.05; }
.prose { max-width: 900px; margin: 40px auto 0; color: #3a3f4b; font-size: 17px; line-height: 1.8; }
.prose p { margin: 14px 0; }
.cursive-heading { font-family: "Dancing Script", cursive; font-size: clamp(30px,3.8vw,44px); color: var(--brand-blue); margin: 36px 0 12px; line-height: 1.15; }

/* ==== About ==== */
.about-figure { margin: 30px auto; max-width: 520px; }
.about-figure img { border-radius: 8px; box-shadow: 0 12px 30px rgba(30,40,80,.12); width: 100%; height: auto; }
.principles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 18px; }
.principle { background: var(--bg-soft); border-radius: 8px; padding: 22px; border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.principle:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(30,40,80,.08); }
.principle h3 { color: var(--brand-blue-dark); margin: 0 0 10px; font-size: 20px; }
.principle p { margin: 0; color: #4a5060; font-size: 15px; line-height: 1.7; }

/* ==== Services detail (on same page) ==== */
.services-jumplist { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.svc-pill { background: #fff; border: 1.5px solid var(--border); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: var(--brand-blue-dark); transition: all .2s; }
.svc-pill:hover { border-color: var(--brand-blue); background: var(--bg-soft); }
.service-detail { scroll-margin-top: 120px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 28px 32px; margin-bottom: 20px; box-shadow: 0 6px 18px rgba(30,40,80,.04); }
.service-detail h2 { margin: 0 0 6px; color: var(--brand-blue-dark); font-size: 24px; }
.service-tagline { font-family: "Dancing Script", cursive; color: var(--brand-blue); font-size: 24px; margin: 0 0 12px; }
.service-blocks { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 14px; }
.service-block { background: var(--bg-soft); border-radius: 8px; padding: 16px 18px; }
.service-block h4 { margin: 0 0 6px; color: var(--brand-blue-dark); font-size: 14px; text-transform: uppercase; letter-spacing: .4px; }
.service-block p { margin: 0; color: #3a3f4b; font-size: 14.5px; line-height: 1.6; }

/* ==== Service Areas ==== */
.areas-jumplist { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.area-pill { background: #fff; border: 1.5px solid var(--border); padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--brand-blue-dark); transition: all .2s; }
.area-pill:hover { border-color: var(--brand-blue); background: var(--bg-soft); }
.area-card { scroll-margin-top: 120px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 26px 28px; box-shadow: 0 6px 18px rgba(30,40,80,.04); margin-bottom: 22px; }
.area-card h2 { margin: 0 0 8px; color: var(--brand-blue-dark); font-size: 26px; }
.area-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 16px 0; }
.area-two h4 { margin: 0 0 8px; color: var(--brand-blue-dark); font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.area-two ul { padding-left: 18px; color: #3a3f4b; }
.area-two li { padding: 3px 0; }
.area-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* ==== Articles / Blog grids ==== */
.articles-grid, .blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.article-card, .blog-card { display: block; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); color: inherit; transition: transform .3s, box-shadow .3s; }
.article-card:hover, .blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30,40,80,.12); }
.article-card-img, .blog-card-img { height: 170px; background-size: cover; background-position: center; background-color: #eef1fa; }
.article-card-body, .blog-card-body { padding: 18px 20px 22px; }
.article-card-body h3, .blog-card-body h3 { margin: 0 0 10px; color: var(--brand-blue-dark); font-size: 17px; line-height: 1.35; }
.blog-date { display: inline-block; font-size: 12px; color: var(--brand-blue); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 6px; }
.blog-card-body p { margin: 0 0 10px; color: #4a5060; font-size: 14.5px; line-height: 1.65; }
.blog-toolbar { margin: 30px 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.blog-search { flex: 1; min-width: 260px; max-width: 420px; padding: 12px 16px; border-radius: 6px; border: 1.5px solid var(--border); font-size: 15px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.blog-search:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(64,102,179,.15); }
.blog-count { color: var(--muted); font-size: 14px; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 40px; color: var(--muted); }

/* ==== FAQ ==== */
.faq-list { max-width: 860px; margin: 40px auto 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-q { width: 100%; background: #fff; border: 0; text-align: left; padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--brand-blue-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background .2s, color .2s; font-family: inherit; }
.faq-q:hover { background: var(--bg-soft); }
.faq-item.open .faq-q { background: var(--bg-soft); color: var(--brand-blue); }
.faq-plus { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-blue); color: #fff; font-size: 18px; font-weight: 600; flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 1000px; }
.faq-a-inner { padding: 0 22px 22px; color: #3a3f4b; line-height: 1.75; font-size: 15.5px; }
.faq-a-inner p { margin: 8px 0; }

/* ==== Resources ==== */
.resource-group { margin-top: 30px; }
.resource-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.resource-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px 22px; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.resource-card:hover { transform: translateY(-3px); border-color: var(--brand-blue); box-shadow: 0 10px 26px rgba(30,40,80,.1); }
.resource-card h3 { margin: 0 0 6px; color: var(--brand-blue-dark); font-size: 17px; }
.resource-card p { margin: 0 0 8px; color: #4a5060; font-size: 14.5px; line-height: 1.6; }
.resource-url { display: block; font-size: 12px; color: var(--muted); word-break: break-all; margin-bottom: 8px; }

/* ==== Contact ==== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; align-items: start; }
.contact-info .contact-role { color: var(--muted); margin: -6px 0 12px; font-weight: 600; }
.contact-list { list-style: none; margin: 16px 0; padding: 0; }
.contact-list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.contact-list li a { color: var(--brand-blue); font-size: 18px; transition: color .2s; }
.contact-list li a:hover { color: var(--brand-blue-dark); }
.contact-list li span { color: var(--muted); font-size: 13px; margin-top: 2px; }
.contact-address { color: #3a3f4b; margin-top: 18px; }
.contact-form { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 30px; }
.contact-form label { display: block; margin: 14px 0; }
.contact-form span { display: block; font-size: 13px; font-weight: 700; color: var(--brand-blue-dark); margin-bottom: 6px; letter-spacing: .3px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1.5px solid var(--border); border-radius: 6px; padding: 12px 14px; font-size: 15px; font-family: inherit; color: #2b2b2b; background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(64,102,179,.15); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success { margin-top: 14px; color: #2e7d32; background: #e8f5e9; border: 1px solid #c8e6c9; padding: 10px 14px; border-radius: 6px; font-size: 14px; }

/* ==== Become Monitor ==== */
.training-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 24px 28px; margin-top: 28px; }
.training-box .cursive-heading { margin-top: 0; }
.training-list { list-style: none; padding: 0; margin: 8px 0 14px; color: var(--brand-blue-dark); }
.training-list li { padding: 6px 0; border-bottom: 1px dashed var(--border); }

/* ==== Responsive ==== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .articles-grid, .blog-grid, .services-cards, .services-cards--wide { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .principles-grid, .contact-layout, .resource-list, .form-row, .area-two, .service-blocks { grid-template-columns: 1fr; }
  .services-bullets { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height .35s; border-top: 1px solid var(--border); }
  .nav-links.open { max-height: 700px; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li a { display: block; border-radius: 0; border-bottom: 0; padding: 14px 22px; }
  .nav { position: relative; }
  .hero { height: 460px; }
  .hero-content { left: 8%; right: 8%; }
  .articles-grid, .blog-grid, .services-cards, .services-cards--wide, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { gap: 18px; }
  .tb-sub { max-width: none; }
  .need-monitor { display: none; }
  .floating-badge.show { display: flex; }
}
@media (max-width: 540px) {
  .hero { height: 420px; }
  .cta-phone { font-size: 24px; }
  .page-hero { height: 240px; }
}
