/* =====================================================================
   613 Spray Foam — Site Theme (built section-by-section)
   Brand: navy #00468c + bright blue accent #0089f7
   Fonts: Montserrat (headings) · Roboto (body) · Georgia (serif accent, system font)
   ===================================================================== */

:root {
  --navy:        #00468c;   /* primary brand */
  --navy-deep:   #0a2540;   /* headline ink */
  --navy-dark:   #161922;   /* dark sections */
  --blue:        #0089f7;   /* accent */
  --blue-2:      #007cc3;   /* secondary blue */
  --ink:         #1c3553;   /* headings */
  --text:        #5d6b7a;   /* body text */
  --muted:       #8a98a8;
  --line:        #e6ecf2;
  --pill-bg:     #e7f1fb;   /* pale blue badge */
  --bg:          #ffffff;
  --bg-soft:     #f5f8fb;
  --radius:      999px;
  --container:   1280px;
  --gutter:      24px;
  --side: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;            /* stop any full-bleed element (e.g. banner ticker 100vw)
                                  from creating horizontal scroll that breaks the mobile
                                  viewport and prevents media queries from triggering */
  max-width: 100%;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- buttons ---------- */
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 17px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.sf-btn-primary { background: var(--navy); color: #fff; }
.sf-btn-primary:hover { background: #013a76; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,70,140,.28); }
.sf-btn-accent { background: var(--blue); color: #fff; }
.sf-btn-accent:hover { background: var(--blue-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,137,247,.28); }

/* =====================================================================
   HEADER (two-tier: navy logo block + utility bar + nav row)
   ===================================================================== */
.sf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

/* navy logo block (spans full header height) */
.sf-logo-block {
  flex: none;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.sf-logo { display: flex; align-items: center; gap: 14px; }
.sf-logo-mark {
  width: 52px; height: 52px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.12rem; letter-spacing: .5px;
}
.sf-logo-word {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.18rem;
  line-height: 1.05; letter-spacing: 2px;
  text-transform: uppercase;
}

.sf-header-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* top utility bar */
.sf-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 34px;
  border-bottom: 1px solid var(--line);
}
.sf-social { display: flex; align-items: center; gap: 20px; position: relative; }
.sf-social::after {
  content: ""; position: absolute; left: 0; bottom: -10px;
  width: 56px; height: 2px; background: var(--blue);
}
.sf-social a { color: #1b2430; display: flex; transition: color .15s ease; }
.sf-social a:hover { color: var(--blue); }
.sf-social svg { width: 18px; height: 18px; }
.sf-topbar-info {
  display: flex; align-items: center; gap: 34px;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: .95rem; color: #1b2430;
}
.sf-topbar-info a, .sf-topbar-hours { display: flex; align-items: center; gap: 9px; color: inherit; }
.sf-topbar-info svg { width: 17px; height: 17px; color: var(--navy); }
.sf-topbar-phone:hover { color: var(--blue); }

/* nav row */
.sf-navbar { display: flex; align-items: center; justify-content: space-between; padding: 0 34px; }
.sf-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 32px; }
.sf-nav > ul > li { position: relative; }
.sf-nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .9rem; letter-spacing: .6px;
  text-transform: uppercase; color: #1a2230;
  padding: 24px 0;
  transition: color .15s ease;
}
.sf-nav > ul > li > a:hover,
.sf-nav > ul > li.active > a { color: var(--blue); }
.sf-nav > ul > li.active > a { position: relative; }
.sf-nav > ul > li.active > a::after {
  content: ""; position: absolute; left: 0; right: 16px; bottom: 18px;
  height: 2px; background: var(--blue);
}
.sf-caret { width: 13px; height: 13px; transition: transform .18s ease; }
.sf-nav > ul > li:hover .sf-caret { transform: rotate(180deg); }

/* dropdown */
.sf-dropdown {
  position: absolute; top: 100%; left: -18px;
  min-width: 240px; background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--blue);
  box-shadow: 0 18px 44px rgba(10,37,64,.14);
  border-radius: 0 0 10px 10px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.sf-nav > ul > li:hover > .sf-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.sf-dropdown a {
  display: block; padding: 11px 24px;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: .82rem; letter-spacing: .4px; text-transform: uppercase;
  color: #38465a; transition: background .12s ease, color .12s ease;
}
.sf-dropdown a:hover { background: var(--bg-soft); color: var(--navy); }

/* right-side actions */
.sf-nav-actions { display: flex; align-items: center; gap: 22px; }
.sf-nav-quote {
  background: var(--blue); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .95rem;
  padding: 13px 28px; border-radius: 999px; white-space: nowrap;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sf-nav-quote:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,70,140,.25); }
.sf-action {
  display: flex; align-items: center; gap: 9px;
  background: none; border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .9rem; letter-spacing: .6px;
  text-transform: uppercase; color: #1a2230;
  transition: color .15s ease;
}
.sf-action:hover { color: var(--blue); }
.sf-action svg { width: 19px; height: 19px; }
.sf-action-quote svg { color: var(--blue); }

.sf-burger { display: none; background: none; border: none; font-size: 1.8rem; color: var(--navy); cursor: pointer; line-height: 1; }

/* mobile nav panel */
.sf-mobile-nav {
  display: none; flex-direction: column;
  padding: 10px var(--gutter) 22px;
  border-bottom: 1px solid var(--line); background: #fff;
  /* fixed below the sticky header so it stays in view even after scrolling;
     top / max-height are refined by JS to the live header height */
  position: fixed; left: 0; right: 0; top: 62px; z-index: 99;
  max-height: calc(100dvh - 62px); overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 18px 30px rgba(10,37,64,.14);
}
.sf-mobile-nav a {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: .95rem; color: #2a3543;
  padding: 13px 4px; border-bottom: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: .4px;
}
.sf-mobile-nav .sf-mobile-group {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .82rem; color: var(--navy);
  padding: 13px 4px 6px; border-bottom: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: .6px;
}
.sf-mobile-nav .sf-mobile-sub {
  padding-left: 18px; font-weight: 500; text-transform: none;
  letter-spacing: 0; font-size: .9rem; color: #4a5868;
}
.sf-mobile-nav .sf-mobile-phone { color: var(--navy); }
.sf-mobile-nav .sf-mobile-quote {
  text-align: center; margin-top: 14px; border: none;
  background: var(--blue); color: #fff; border-radius: var(--radius); padding: 15px;
}
.sf-mobile-nav.open { display: flex; }

/* search overlay */
.sf-search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,37,64,.96);
  display: none; align-items: flex-start; justify-content: center;
  padding: 18vh 24px 0;
}
.sf-search-overlay.open { display: flex; }
.sf-search-close {
  position: absolute; top: 28px; right: 36px;
  background: none; border: none; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer;
}
.sf-search-form { display: flex; align-items: center; gap: 0; width: min(680px, 100%); border-bottom: 2px solid rgba(255,255,255,.5); }
.sf-search-form input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-family: 'Montserrat', sans-serif; font-size: 1.6rem; padding: 14px 4px;
}
.sf-search-form input::placeholder { color: rgba(255,255,255,.55); }
.sf-search-form button { background: none; border: none; color: #fff; cursor: pointer; padding: 10px; }
.sf-search-form button svg { width: 26px; height: 26px; }

/* header responsive */
@media (max-width: 1080px) {
  .sf-nav, .sf-nav-quote { display: none; }
  .sf-burger { display: block; }
  .sf-topbar-hours { display: none; }
  .sf-logo-block { padding: 0 20px; }
  .sf-logo-word { font-size: 1.05rem; }
  .sf-navbar { justify-content: flex-end; padding: 8px 20px; }
  .sf-topbar { padding: 8px 20px; }
  .sf-social::after { display: none; }
}
@media (max-width: 560px) {
  .sf-topbar { display: none; }
  .sf-logo-mark { width: 44px; height: 44px; font-size: 1rem; }
}

/* =====================================================================
   HERO (split: text left, image right)
   ===================================================================== */
.sf-hero { background: #f2f8fd; overflow: hidden; }
.sf-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 640px;
}
.sf-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 64px 70px var(--side);
}
.sf-badge {
  align-self: flex-start;
  background: var(--pill-bg);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 22px;
  border-radius: var(--radius);
  margin-bottom: 26px;
}
.sf-hero-text h1, .sf-hero-text .sf-hero-headline {
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  letter-spacing: -0.015em;
  color: var(--navy-deep);
  margin-bottom: 22px;
}
.sf-hero-sub {
  font-size: 1.12rem;
  color: var(--text);
  max-width: 470px;
  margin: 0 0 34px;
}
.sf-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.sf-hero-trust {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.sf-hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--navy-deep);
  font-size: 1.02rem;
}
.sf-hero-trust svg { flex: none; width: 26px; height: 26px; }

.sf-hero-media { position: relative; }
.sf-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================================
   HERO SLIDER
   ===================================================================== */
.sf-hero-slider { position: relative; min-height: 772px; }
.sf-hero-slider .sf-slides { position: absolute; inset: 0; }
.sf-hero-slider .sf-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease;
}
.sf-hero-slider .sf-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.sf-hero-slider .sf-slide .sf-hero-grid { height: 100%; }
/* left content vertically centered; tall hero keeps the bottom-left arrows clear of the CTAs */
.sf-hero-slider .sf-hero-text { justify-content: center; padding-top: 70px; padding-bottom: 70px; }

/* staggered entrance for the active slide's text */
.sf-hero-slider .sf-slide .sf-hero-text > * { opacity: 0; transform: translateY(16px); }
.sf-hero-slider .sf-slide.is-active .sf-hero-text > * {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s ease;
}
.sf-hero-slider .sf-slide.is-active .sf-hero-text > *:nth-child(1) { transition-delay: .15s; }
.sf-hero-slider .sf-slide.is-active .sf-hero-text > *:nth-child(2) { transition-delay: .28s; }
.sf-hero-slider .sf-slide.is-active .sf-hero-text > *:nth-child(3) { transition-delay: .40s; }
.sf-hero-slider .sf-slide.is-active .sf-hero-text > *:nth-child(4) { transition-delay: .52s; }

/* overlapping circular arrows (bottom-left) */
.sf-slider-arrows {
  position: absolute; bottom: 40px; left: var(--side);
  display: flex; align-items: center; z-index: 6;
}
.sf-arrow {
  width: 56px; height: 56px; border-radius: 50%;
  border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.sf-arrow svg { width: 21px; height: 21px; }
.sf-arrow-prev { background: var(--navy); }
.sf-arrow-prev:hover { background: var(--navy-deep); transform: scale(1.06); }
.sf-arrow-next {
  background: var(--blue);
  margin-left: -14px;
  box-shadow: 0 0 0 9px rgba(0,137,247,.16);
}
.sf-arrow-next:hover { background: var(--blue-2); transform: scale(1.06); }

/* big current number + next-slide tab (bottom-right) */
.sf-slider-count {
  position: absolute; right: 0; bottom: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: flex-end;
}
.sf-count-current {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 3.4rem; line-height: 1; color: var(--navy-deep);
  padding: 0 30px 14px 0;
}
.sf-next-tab {
  display: flex; align-items: center; gap: 14px;
  min-width: 290px; padding: 18px 26px;
  background: var(--blue); color: #fff; border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  transition: background .15s ease;
}
.sf-next-tab:hover { background: var(--navy); }
.sf-next-label { text-transform: uppercase; letter-spacing: 1.2px; font-size: .92rem; white-space: nowrap; }
.sf-next-line { flex: 1; height: 0; border-top: 2px dotted rgba(255,255,255,.6); margin: 0 6px; }
.sf-next-num { font-size: .92rem; opacity: .9; }

@media (max-width: 980px) {
  .sf-hero-slider { min-height: 0; }
  .sf-hero-slider .sf-slides { position: static; }
  .sf-hero-slider .sf-slide { position: relative; display: none; opacity: 1; visibility: visible; }
  .sf-hero-slider .sf-slide.is-active { display: block; }
  .sf-hero-slider .sf-slide .sf-hero-text > * { opacity: 1; transform: none; }
  .sf-slider-arrows { position: static; justify-content: center; padding: 18px 0 6px; }
  .sf-slider-count { position: static; align-items: center; padding-bottom: 22px; }
  .sf-count-current { padding: 4px 0 10px; font-size: 2.4rem; }
  .sf-next-tab { min-width: 0; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  .sf-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  /* mobile: image on top, text below */
  .sf-hero-media { height: 300px; order: -1; }
  .sf-hero-media img { position: static; height: 100%; }
  .sf-hero-text { padding: 32px var(--gutter) 44px; order: 0; }
  .sf-hero-slider .sf-hero-text { padding-top: 32px; padding-bottom: 44px; }
}
@media (max-width: 600px) {
  /* mobile: hero title 50% smaller (was 2.4rem) */
  .sf-hero-text h1, .sf-hero-text .sf-hero-headline { font-size: 1.2rem; line-height: 1.2; margin-bottom: 14px; }
}
@media (max-width: 520px) {
  .sf-hero-cta .sf-btn { width: 100%; }
  .sf-hero-trust { gap: 16px; }
}

/* =====================================================================
   SERVICES SHOWCASE
   ===================================================================== */
.sf-services { padding: 96px var(--gutter); background: #fff; }
.sf-services-inner { max-width: var(--container); margin: 0 auto; }

/* header */
.sf-svc-header {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  align-items: start; margin-bottom: 60px;
}
.sf-svc-heading h2 {
  font-weight: 800;
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: 1.06; letter-spacing: -0.02em;
  color: var(--navy-deep);
}
.sf-svc-eyebrow {
  margin: 26px 0 0; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.02rem; color: #1a2230;
}
.sf-svc-intro { padding-top: 8px; }
.sf-svc-intro p { margin: 0; font-size: 1.1rem; color: var(--text); max-width: 460px; }
.sf-btn-dark { background: var(--navy-deep); margin-top: 30px; }
.sf-btn-dark:hover { background: var(--navy); }

/* 3-up service cards (colored panel + tags + serif title + media + Read More) */
.sf-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sf-svc-card {
  border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sf-svc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(10,37,64,.12); }
.sf-svc-card.accent-mint  { background: #d6e8fb; }
.sf-svc-card.accent-peach { background: #eef4fb; }

.sf-svc-top { padding: 28px 28px 20px; }
.sf-svc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.sf-svc-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.sf-svc-tags span {
  background: #fff; border-radius: 999px; padding: 8px 18px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .8rem; color: #33414f;
}
.sf-svc-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(0,0,0,.18); flex: none; }
.sf-svc-card.accent-mint  .sf-svc-dot { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 4px #d6e8fb; }
.sf-svc-card.accent-peach .sf-svc-dot { border-color: #aecbe9; box-shadow: inset 0 0 0 4px #eef4fb; }

.sf-svc-title {
  margin: 0 0 14px; font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 2rem; line-height: 1.08; letter-spacing: -0.02em; color: #1a2230;
}
.sf-svc-sub { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .94rem; line-height: 1.5; color: #54606c; }

.sf-svc-media {
  position: relative; display: block; margin: 18px; margin-top: auto;
  border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.3; background: rgba(0,0,0,.05);
}
.sf-svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sf-svc-card:hover .sf-svc-media img { transform: scale(1.04); }
.sf-svc-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sf-read-more {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(4px);
  border-radius: 999px; padding: 8px 8px 8px 18px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: #1a2230;
}
.sf-read-more svg { width: 34px; height: 34px; padding: 8px; background: #1a2230; color: #fff; border-radius: 50%; }

/* video card: thumbnail + play overlay → swaps to iframe on click */
.sf-svc-videowrap { cursor: pointer; }
.sf-svc-play {
  position: absolute; inset: 0; margin: 0; padding: 0; border: none; cursor: pointer;
  background: rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.sf-svc-videowrap:hover .sf-svc-play { background: rgba(0,0,0,.28); }
.sf-svc-play svg { filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); transition: transform .2s ease; }
.sf-svc-videowrap:hover .sf-svc-play svg { transform: scale(1.08); }

@media (max-width: 980px) {
  .sf-services { padding: 64px var(--gutter); }
  .sf-svc-header { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
  .sf-svc-intro p { max-width: none; }
  .sf-svc-grid { grid-template-columns: 1fr; gap: 26px; max-width: 460px; margin: 0 auto; }
}

/* =====================================================================
   FULL-WIDTH CTA BANNER
   ===================================================================== */
.sf-banner {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  width: 100%; max-width: 100%;            /* constrain WIDTH so aspect-ratio derives the
                                              HEIGHT — else min-height blows the width out to
                                              ~961px on mobile and clips the headline */
  aspect-ratio: 3022 / 1446; min-height: 520px; max-height: 900px; display: flex;
}
.sf-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,28,52,.88) 0%, rgba(10,35,62,.55) 42%, rgba(16,46,80,.30) 100%);
}
.sf-banner-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 48px var(--gutter);
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
}
/* scrolling ticker watermark */
.sf-banner-ticker { width: 100vw; margin-left: 50%; transform: translateX(-50%); overflow: hidden; }
.sf-ticker-track { display: inline-flex; white-space: nowrap; animation: sf-ticker 40s linear infinite; will-change: transform; }
.sf-ticker-item {
  display: inline-flex; align-items: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(3rem, 9vw, 8rem); line-height: 1; letter-spacing: 1px;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5);
}
.sf-ticker-item i { margin: 0 .35em; font-style: normal; font-size: .42em; color: rgba(255,255,255,.55); -webkit-text-stroke: 0; }
@keyframes sf-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.sf-banner-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.sf-banner-text { display: flex; flex-direction: column; gap: 20px; max-width: 780px; }
.sf-banner-eyebrow {
  margin: 0; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.3rem); color: rgba(255,255,255,.92);
}
.sf-banner-headline {
  margin: 0; color: #fff; font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.12;
}
.sf-banner-cta {
  flex: none; background: var(--blue); color: #fff; border: none;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 17px 36px; border-radius: 999px;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sf-banner-cta:hover { background: #fff; color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }

@media (max-width: 760px) {
  .sf-banner { min-height: 460px; }
  .sf-banner-inner { padding: 40px var(--gutter) 44px; gap: 28px; min-width: 0; }
  .sf-banner-bottom { flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
  .sf-banner-text { max-width: 100%; min-width: 0; }
  .sf-banner-headline { font-size: clamp(1.5rem, 6.5vw, 2.2rem); word-break: break-word; }
  .sf-ticker-item { font-size: clamp(2.4rem, 13vw, 4rem); }
}

/* =====================================================================
   BLOG / NEWS SECTION
   ===================================================================== */
.sf-blog { padding: 96px var(--gutter); background: #fff; }
.sf-blog-inner { max-width: var(--container); margin: 0 auto; }
.sf-blog-head { text-align: center; margin-bottom: 56px; }
.sf-blog-badge {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 22px; margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: #33414f;
}
.sf-blog-head h2 {
  margin: 0 auto; max-width: 900px; font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy-deep);
}

.sf-blog-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 28px; align-items: stretch; }

/* all cards = bordered, flex column, equal height (image flex-grows) */
.sf-blog-featured, .sf-blog-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  display: flex; flex-direction: column;
}
.sf-blog-img { display: block; overflow: hidden; border-radius: 12px; flex: 1; min-height: 190px; }
.sf-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sf-blog-img:hover img { transform: scale(1.04); }

/* featured (left) — bigger image + category/date + title */
.sf-blog-featured .sf-blog-img { min-height: 320px; margin-bottom: 18px; }
.sf-blog-meta { margin: 0 0 12px; padding: 0 8px; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: .9rem; color: #7a8896; }
.sf-blog-meta .cat { color: var(--blue); font-weight: 700; }
.sf-blog-featured h3 { margin: 0; padding: 0 8px 8px; font-weight: 800; font-size: 1.55rem; line-height: 1.25; color: var(--navy-deep); }
.sf-blog-featured h3 a:hover, .sf-blog-card h3 a:hover { color: var(--blue); }

/* small cards (right) — date + title + excerpt */
.sf-blog-card .sf-blog-img { margin-bottom: 14px; }
.sf-blog-body { padding: 4px 8px 8px; }
.sf-blog-card .date { margin: 0 0 9px; font-family: 'Montserrat', sans-serif; font-size: .85rem; color: #7a8896; }
.sf-blog-card h3 { margin: 0 0 12px; font-weight: 800; font-size: 1.18rem; line-height: 1.25; color: var(--navy-deep); }
.sf-blog-card .excerpt { margin: 0; font-size: .96rem; color: var(--text); }

@media (max-width: 1080px) {
  .sf-blog-grid { grid-template-columns: 1fr 1fr; }
  .sf-blog-featured { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .sf-blog { padding: 64px var(--gutter); }
  .sf-blog-grid { grid-template-columns: 1fr; }
  .sf-blog-featured { grid-column: auto; }
}

/* =====================================================================
   CLIENT REVIEWS / TESTIMONIALS
   ===================================================================== */
.sf-reviews { padding: 96px var(--gutter); background: #eef4fb; }
.sf-reviews-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: stretch;
}

/* left intro */
.sf-reviews-left { display: flex; flex-direction: column; padding: 14px 0; }
.sf-reviews-badge {
  align-self: flex-start; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 22px; margin-bottom: 28px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: #33414f;
}
.sf-reviews-left h2 {
  margin: 0; font-weight: 800; font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  line-height: 1.08; letter-spacing: -0.02em; color: var(--navy-deep);
}
.sf-reviews-rating { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.sf-google-logo {
  width: 70px; height: 70px; flex: none; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(10,37,64,.06);
}
.sf-google-logo svg { width: 34px; height: 34px; }
.sf-rating-pill {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 999px; padding: 12px 28px;
  box-shadow: 0 6px 18px rgba(10,37,64,.06);
}
.sf-rating-score { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--navy-deep); }
.sf-rating-meta { display: flex; flex-direction: column; gap: 2px; }
.sf-rating-stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; }
.sf-rating-meta span { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .82rem; color: #54606c; }

/* review cards */
.sf-review-card {
  background: #fff; border-radius: 22px; padding: 34px 32px;
  display: flex; flex-direction: column;
  box-shadow: 0 14px 38px rgba(10,37,64,.07);
}
.sf-quote-mark { color: var(--navy-deep); margin-bottom: 24px; }
.sf-quote-mark svg { width: 52px; height: 52px; }
.sf-review-text { margin: 0; flex: 1; font-size: 1.08rem; line-height: 1.6; color: #45525f; }
.sf-review-divider { border: none; border-top: 1px solid #d6dee7; margin: 26px 0 22px; }
.sf-review-author { display: flex; align-items: center; gap: 14px; }
.sf-avatar { width: 50px; height: 50px; border-radius: 50%; flex: none; object-fit: cover; }
.sf-avatar-initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem;
}
.sf-review-id { display: flex; flex-direction: column; }
.sf-review-id strong { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy-deep); }
.sf-review-id span { font-size: .92rem; color: #7a8896; }

@media (max-width: 980px) {
  .sf-reviews { padding: 64px var(--gutter); }
  .sf-reviews-inner { grid-template-columns: 1fr; gap: 24px; }
  .sf-reviews-left { padding-bottom: 8px; }
  .sf-reviews-rating { margin-top: 28px; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .sf-reviews-left h2 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .sf-reviews-rating { gap: 12px; }
  .sf-google-logo { width: 56px; height: 56px; }
  .sf-google-logo svg { width: 28px; height: 28px; }
  .sf-rating-pill { padding: 10px 18px; gap: 12px; flex: 1 1 auto; min-width: 0; }
  .sf-rating-score { font-size: 2rem; }
  .sf-review-card { padding: 28px 22px; }
}

/* =====================================================================
   RELATED ARTICLES (3-up blog cards)
   ===================================================================== */
.sf-related { padding: 96px var(--gutter); background: #f4f8fb; }
.sf-related-inner { max-width: var(--container); margin: 0 auto; }
.sf-related-head { margin-bottom: 44px; }
.sf-related-head h2 { margin: 0; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy-deep); }
.sf-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sf-rel-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.sf-rel-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(10,37,64,.1); }
.sf-rel-img { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 11; margin-bottom: 18px; }
.sf-rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sf-rel-img:hover img { transform: scale(1.04); }
.sf-rel-body { padding: 2px 10px 10px; display: flex; flex-direction: column; flex: 1; }
.sf-rel-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .9rem; color: #7a8896; }
.sf-rel-meta strong { color: var(--navy-deep); font-weight: 600; }
.sf-rel-divider { border: none; border-top: 1px solid var(--line); margin: 14px 0 16px; }
.sf-rel-card h3 { margin: 0 0 12px; font-weight: 800; font-size: 1.35rem; line-height: 1.25; color: var(--navy-deep); }
.sf-rel-card h3 a:hover { color: var(--blue); }
.sf-rel-excerpt { margin: 0 0 22px; font-size: 1rem; line-height: 1.6; color: var(--text); }
.sf-rel-more {
  align-self: flex-start; margin-top: auto;
  border: 1px solid #cdd6e0; border-radius: 999px; padding: 11px 28px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .92rem; color: var(--navy-deep);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.sf-rel-more:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (max-width: 980px) {
  .sf-related { padding: 64px var(--gutter); }
  .sf-related-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 620px) {
  .sf-related-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   FAQ ACCORDION
   ===================================================================== */
.sf-faq { padding: 96px var(--gutter); background: #fff; }
.sf-faq-inner { max-width: 980px; margin: 0 auto; }
.sf-faq-head { text-align: center; margin-bottom: 48px; }
.sf-faq-eyebrow { margin: 0 0 14px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: 1px; color: var(--blue); }
.sf-faq-head h2 { margin: 0; font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--navy-deep); }

.sf-faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.sf-faq-item.open { border-color: #cfddea; box-shadow: 0 12px 30px rgba(10,37,64,.07); }
.sf-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  padding: 24px 28px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--navy-deep);
}
.sf-faq-icon { position: relative; flex: none; width: 22px; height: 22px; }
.sf-faq-icon::before, .sf-faq-icon::after { content: ""; position: absolute; background: var(--navy); border-radius: 2px; transition: transform .25s ease, background .2s ease; }
.sf-faq-icon::before { left: 0; top: 10px; width: 22px; height: 2px; }
.sf-faq-icon::after { left: 10px; top: 0; width: 2px; height: 22px; }
.sf-faq-item.open .sf-faq-icon::after { transform: rotate(90deg); opacity: 0; }
.sf-faq-item.open .sf-faq-icon::before { background: var(--blue); }
.sf-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.sf-faq-item.open .sf-faq-a { max-height: 600px; }
.sf-faq-a p { margin: 0; padding: 0 28px 26px; font-size: 1.04rem; line-height: 1.7; color: var(--text); }

@media (max-width: 600px) {
  .sf-faq { padding: 64px var(--gutter); }
  .sf-faq-q { font-size: 1.05rem; padding: 20px 22px; }
  .sf-faq-a p { padding: 0 22px 22px; }
}

/* =====================================================================
   ARTICLE SINGLE (blog post + sidebar)
   ===================================================================== */
.sf-article { padding: 70px var(--gutter) 90px; background: #fff; }
.sf-article-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.9fr 1fr; gap: 50px; align-items: start; }
.sf-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 14px; font-family: 'Montserrat', sans-serif; font-size: .92rem; color: #7a8896; }
.sf-article-meta .cat { background: #eef3f8; color: var(--navy); font-weight: 700; border-radius: 999px; padding: 5px 14px; }
.sf-article-meta strong { color: var(--navy-deep); font-weight: 600; }
.sf-article-title { margin: 0 0 26px; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--navy-deep); }
.sf-article-img { border-radius: 16px; overflow: hidden; margin-bottom: 32px; }
.sf-article-img img { width: 100%; display: block; }
.sf-article-body h2 { margin: 32px 0 14px; font-weight: 800; font-size: 1.55rem; color: var(--navy-deep); }
.sf-article-body p { margin: 0 0 18px; font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.sf-article-body ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.sf-article-body li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 1.04rem; line-height: 1.6; color: #45525f; }
.sf-article-body li::before { content: ""; position: absolute; left: 8px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.sf-article-body strong { color: var(--navy-deep); }
.sf-article-fig { margin: 26px 0 30px; }
.sf-article-fig img { width: 100%; border-radius: 14px; display: block; }

/* blog sidebar widgets */
.sf-article-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.sf-awidget { border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; }
.sf-awidget h4 { margin: 0 0 18px; font-weight: 800; font-size: 1.2rem; color: var(--navy-deep); }
.sf-asearch { display: flex; gap: 8px; }
.sf-asearch input { flex: 1; min-width: 0; background: #f5f8fb; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: .95rem; outline: none; }
.sf-asearch input:focus { border-color: var(--blue); }
.sf-asearch button { flex: none; width: 46px; border: none; border-radius: 10px; background: var(--navy); color: #fff; cursor: pointer; }
.sf-asearch button svg { width: 18px; height: 18px; }
.sf-acats { list-style: none; margin: 0; padding: 0; }
.sf-acats li { border-bottom: 1px solid var(--line); }
.sf-acats li:last-child { border-bottom: none; }
.sf-acats a { display: block; padding: 11px 0; color: var(--text); font-family: 'Montserrat', sans-serif; font-weight: 500; transition: color .15s ease, padding-left .15s ease; }
.sf-acats a:hover { color: var(--blue); padding-left: 6px; }
.sf-arecent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.sf-arecent li { display: flex; gap: 12px; }
.sf-arecent-img { flex: none; width: 72px; height: 64px; border-radius: 10px; overflow: hidden; }
.sf-arecent-img img { width: 100%; height: 100%; object-fit: cover; }
.sf-arecent-date { display: block; font-size: .8rem; color: #8a98a8; margin-bottom: 4px; }
.sf-arecent-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .96rem; line-height: 1.3; color: var(--navy-deep); }
.sf-arecent-title:hover { color: var(--blue); }
.sf-atags { display: flex; flex-wrap: wrap; gap: 9px; }
.sf-atags a { background: #eef3f8; color: #45525f; border-radius: 999px; padding: 8px 16px; font-size: .85rem; font-family: 'Montserrat', sans-serif; font-weight: 500; transition: background .15s ease, color .15s ease; }
.sf-atags a:hover { background: var(--blue); color: #fff; }
.sf-article-side .sf-promo { padding: 28px 24px; }

@media (max-width: 900px) {
  /* single column with equal L/R gutter; min-width:0 stops the grid/main from being
     pushed past the right padding by a wide child (image, long word) */
  .sf-article-inner { grid-template-columns: 1fr; gap: 40px; min-width: 0; }
  .sf-article-main, .sf-article-side { min-width: 0; }
  .sf-article-img img, .sf-article-body img { max-width: 100%; height: auto; }
  .sf-article-body, .sf-article-body p, .sf-article-body li, .sf-article-title { overflow-wrap: anywhere; }
}

/* =====================================================================
   SIDEBAR LAYOUT (main content + sidebar widgets)
   ===================================================================== */
.sf-sidebar-layout { padding: 90px var(--gutter); background: #fff; }
.sf-sl-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.9fr 1fr; gap: 50px; align-items: start; }

.sf-sl-badge {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 22px; margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: #33414f;
}
.sf-sl-heading { margin: 0 0 22px; font-weight: 800; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--navy-deep); }
.sf-sl-intro { margin: 0 0 32px; font-size: 1.1rem; line-height: 1.6; color: var(--text); }
.sf-sl-img { width: 100%; border-radius: 18px; display: block; margin-bottom: 36px; }
.sf-sl-section { margin-bottom: 26px; }
.sf-sl-sections.is-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.sf-sl-sections.is-grid .sf-sl-section { margin-bottom: 0; }
.sf-sl-sections.is-grid .sf-sl-section h3 { font-size: 1.25rem; }
@media (max-width: 560px) { .sf-sl-sections.is-grid { grid-template-columns: 1fr; } }
.sf-sl-section h3 { margin: 0 0 12px; font-weight: 800; font-size: 1.4rem; color: var(--navy-deep); }
.sf-sl-section p { margin: 0; font-size: 1.04rem; line-height: 1.7; color: var(--text); }
.sf-sl-points { list-style: none; margin: 16px 0 0; padding: 0; }
.sf-sl-points li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; color: #45525f; font-size: 1.04rem; line-height: 1.5; }
.sf-sl-points svg { flex: none; width: 22px; height: 22px; color: var(--navy); margin-top: 2px; }

/* sidebar */
.sf-sl-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 26px; }
.sf-widget-cats { border: 1px solid var(--line); border-radius: 18px; padding: 32px 30px; }
.sf-widget-cats h4 { margin: 0 0 20px; font-weight: 800; font-size: 1.45rem; color: var(--navy-deep); }
.sf-widget-cats ul { list-style: none; margin: 0; padding: 0; }
.sf-widget-cats li { margin-bottom: 18px; }
.sf-widget-cats li:last-child { margin-bottom: 0; }
.sf-widget-cats a { position: relative; padding-left: 22px; color: var(--text); font-size: 1.05rem; transition: color .15s ease; }
.sf-widget-cats a::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; background: var(--navy); }
.sf-widget-cats a:hover { color: var(--blue); }
.sf-widget-cats a:hover::before { background: var(--blue); }
.sf-widget-cats li.is-active a { color: var(--navy); font-weight: 700; }
.sf-widget-cats li.is-active a::before { background: var(--blue); }

.sf-promo { background: var(--navy); border-radius: 18px; padding: 32px 30px; color: #fff; }
.sf-promo-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.sf-promo-logo .sf-logo-mark { width: 40px; height: 40px; font-size: .9rem; border-width: 2px; }
.sf-promo-logo .sf-logo-word { font-size: 1rem; letter-spacing: 1.5px; }
.sf-promo h4 { margin: 0 0 24px; font-weight: 800; font-size: 1.5rem; line-height: 1.25; color: #fff; }
.sf-promo-btn {
  display: inline-block; background: var(--blue); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .98rem;
  padding: 14px 30px; border-radius: 999px; transition: background .15s ease, transform .15s ease;
}
.sf-promo-btn:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

/* "Want To Know More?" contact card buttons (same pill style as the quote button) */
.sf-promo-sub { margin: 0 0 24px; color: rgba(255,255,255,.7); font-size: 1rem; }
.sf-promo-cbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.sf-promo-cbtn + .sf-promo-cbtn { margin-top: 14px; }
.sf-promo-cbtn svg { width: 18px; height: 18px; flex: none; }
.sf-promo-btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.55); }
.sf-promo-btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

@media (max-width: 900px) {
  .sf-sidebar-layout { padding: 64px var(--gutter); }
  /* single column with equal L/R gutter; min-width:0 stops any child (image, long
     word, grid) from pushing the column past the right padding */
  .sf-sl-inner { grid-template-columns: 1fr; gap: 40px; min-width: 0; }
  .sf-sl-main, .sf-sl-aside { min-width: 0; }
  .sf-sl-aside { position: static; }
  .sf-sl-img { max-width: 100%; height: auto; }
  .sf-sl-intro, .sf-sl-section p, .sf-sl-points li { overflow-wrap: anywhere; }
}

/* =====================================================================
   CONTACT SECTION (info + form)
   ===================================================================== */
.sf-contact { padding: 96px var(--gutter); background: #fff; }
.sf-contact-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.sf-contact-badge {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 22px; margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: #33414f;
}
.sf-contact-left h2 { margin: 0 0 22px; font-weight: 800; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--navy-deep); }
.sf-contact-intro { margin: 0; font-size: 1.08rem; line-height: 1.6; color: var(--text); max-width: 460px; }
.sf-contact-divider { border: none; border-top: 1px solid var(--line); margin: 36px 0; }
.sf-contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.sf-contact-label { display: block; margin-bottom: 10px; font-size: .95rem; color: #8a98a8; }
.sf-contact-block p { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; line-height: 1.5; color: var(--navy-deep); }
.sf-contact-block a { color: var(--navy-deep); }
.sf-contact-block a:hover { color: var(--blue); }
.sf-contact-social { display: flex; gap: 10px; }
.sf-contact-social a {
  width: 42px; height: 42px; border-radius: 50%; background: #eef3f8; color: #5d6b7a;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease;
}
.sf-contact-social a:hover { background: var(--blue); color: #fff; }
.sf-contact-social svg { width: 17px; height: 17px; }

/* form card */
.sf-contact-form { background: #eef3f8; border-radius: 24px; padding: 46px 44px; }
.sf-contact-form h3 { margin: 0 0 10px; font-weight: 800; font-size: 1.6rem; color: var(--navy-deep); }
.sf-form-sub { margin: 0 0 30px; color: var(--text); font-size: 1.02rem; line-height: 1.55; }
.sf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sf-field { display: flex; flex-direction: column; }
.sf-field-full { grid-column: 1 / -1; }
.sf-field label { margin-bottom: 9px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .95rem; color: var(--navy-deep); }
.sf-field input, .sf-field select, .sf-field textarea {
  background: #fff; border: 1px solid #dde5ee; border-radius: 12px;
  padding: 14px 16px; font-size: 1rem; color: var(--navy-deep); font-family: inherit; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sf-field input:focus, .sf-field select:focus, .sf-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,137,247,.12); }
.sf-field textarea { resize: vertical; min-height: 130px; }
.sf-form-submit {
  width: 100%; margin-top: 26px; padding: 17px; border: none; cursor: pointer;
  background: var(--navy); color: #fff; border-radius: 999px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.02rem;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sf-form-submit:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,70,140,.22); }

@media (max-width: 900px) {
  .sf-contact { padding: 64px var(--gutter); }
  .sf-contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .sf-form-grid { grid-template-columns: 1fr; }
  .sf-contact-info { grid-template-columns: 1fr; }
}

/* =====================================================================
   CONTACT CARDS (3-up, bordered with dividers)
   ===================================================================== */
.sf-cccards { padding: 80px var(--gutter); background: #fff; }
.sf-cccards-inner {
  max-width: var(--container); margin: 0 auto;
  border: 1px solid var(--line); border-radius: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
}
.sf-cccard { padding: 50px 46px; }
.sf-cccard + .sf-cccard { border-left: 1px solid var(--line); }
.sf-cc-icon { display: block; color: var(--blue); margin-bottom: 26px; }
.sf-cc-icon svg { width: 42px; height: 42px; }
.sf-cccard h3 { margin: 0 0 14px; font-weight: 800; font-size: 1.5rem; color: var(--navy-deep); }
.sf-cccard p { margin: 0 0 32px; font-size: 1.02rem; line-height: 1.6; color: var(--text); }
.sf-cc-btn {
  display: block; width: 100%; text-align: center;
  padding: 16px; border-radius: 999px; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sf-cc-navy { background: var(--navy); }
.sf-cc-navy:hover { background: #013a76; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,70,140,.25); }
.sf-cc-accent { background: var(--blue); }
.sf-cc-accent:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,137,247,.28); }

@media (max-width: 860px) {
  .sf-cccards { padding: 56px var(--gutter); }
  .sf-cccards-inner { grid-template-columns: 1fr; }
  .sf-cccard + .sf-cccard { border-left: none; border-top: 1px solid var(--line); }
}

/* =====================================================================
   ICON SERVICES GRID
   ===================================================================== */
.sf-svcgrid { padding: 96px var(--gutter); background: #fff; }
.sf-svcgrid-inner { max-width: var(--container); margin: 0 auto; }
.sf-svcgrid-head { text-align: center; margin-bottom: 54px; }
.sf-svcgrid-badge {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 22px; margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: #33414f;
}
.sf-svcgrid-head h2 { margin: 0 auto; max-width: 820px; font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--navy-deep); }

.sf-svcgrid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sf-svccard {
  border: 1px solid var(--line); border-radius: 18px; padding: 38px 34px; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sf-svccard:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(10,37,64,.1); border-color: transparent; }
.sf-svc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 16px; background: var(--navy); color: #fff; margin-bottom: 26px;
}
.sf-svc-icon svg { width: 32px; height: 32px; }
.sf-svccard h3 { margin: 0 0 14px; font-weight: 800; font-size: 1.3rem; color: var(--navy-deep); }
.sf-svccard p { margin: 0 0 24px; font-size: 1rem; line-height: 1.6; color: var(--text); }
.sf-svc-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .95rem; color: var(--navy-deep);
  transition: color .15s ease, gap .15s ease;
}
.sf-svc-more svg { width: 16px; height: 16px; color: var(--blue); }
.sf-svc-more:hover { color: var(--blue); gap: 12px; }

@media (max-width: 980px) {
  .sf-svcgrid { padding: 64px var(--gutter); }
  .sf-svcgrid-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .sf-svcgrid-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   LOGO STRIP (trusted by)
   ===================================================================== */
.sf-logos { padding: 84px var(--gutter); background: #fff; text-align: center; }
.sf-logos-inner { max-width: var(--container); margin: 0 auto; }
.sf-logos h2 {
  margin: 0 auto; max-width: 820px; font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-deep);
}
.sf-logos-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 32px 48px; margin: 54px auto 0; max-width: 1120px;
}
.sf-logo-item {
  display: flex; align-items: center; gap: 12px;
  color: #9aa6b2; transition: color .15s ease;
}
.sf-logo-item:hover { color: var(--navy); }
.sf-logo-mark2 svg { width: 34px; height: 34px; display: block; }
.sf-logo-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; }
.sf-logo-item img { max-height: 44px; width: auto; opacity: .7; filter: grayscale(1); transition: opacity .15s ease, filter .15s ease; }
.sf-logo-item:hover img { opacity: 1; filter: none; }

@media (max-width: 760px) {
  .sf-logos { padding: 56px var(--gutter); }
  .sf-logos-row { justify-content: center; gap: 28px 40px; }
  .sf-logo-name { font-size: 1.2rem; }
}

/* =====================================================================
   WHY CHOOSE US (image + stat | features)
   ===================================================================== */
.sf-why { padding: 96px var(--gutter); background: #fff; }
.sf-why-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.sf-why-media { position: relative; border-radius: 24px; overflow: hidden; min-height: 460px; }
.sf-why-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-why-stat {
  position: absolute; left: 30%; right: 18px; bottom: 22px;
  background: var(--blue); color: #fff; border-radius: 18px; padding: 24px 30px;
  box-shadow: 0 16px 36px rgba(0,0,0,.25);
}
.sf-why-stat .pre { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .95rem; opacity: .92; }
.sf-why-stat .val { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 3rem; line-height: 1.05; margin: 4px 0; }
.sf-why-stat .lbl { display: block; font-size: .95rem; opacity: .92; }

.sf-why-badge {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 22px; margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: #33414f;
}
.sf-why-text h2 { margin: 0 0 22px; font-weight: 800; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--navy-deep); }
.sf-why-intro { margin: 0; font-size: 1.06rem; line-height: 1.6; color: var(--text); }
.sf-why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; margin-top: 40px; }
.sf-why-feature svg { width: 28px; height: 28px; color: var(--navy); margin-bottom: 14px; }
.sf-why-feature h4 { margin: 0 0 8px; font-weight: 800; font-size: 1.2rem; color: var(--navy-deep); }
.sf-why-feature p { margin: 0; font-size: .96rem; line-height: 1.55; color: #5d6b7a; }

@media (max-width: 900px) {
  .sf-why { padding: 64px var(--gutter); }
  .sf-why-inner { grid-template-columns: 1fr; gap: 40px; }
  .sf-why-media { min-height: 380px; }
}
@media (max-width: 480px) {
  .sf-why-features { grid-template-columns: 1fr; }
  .sf-why-stat { left: 18px; }
}

/* =====================================================================
   ABOUT TABS (Mission / Vision / Goals)
   ===================================================================== */
.sf-about { padding: 96px var(--gutter); background: #fff; }
.sf-about-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.sf-about-badge {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 22px; margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem; color: #33414f;
}
.sf-about-text h2 { margin: 0 0 28px; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy-deep); }

.sf-tabs { display: flex; background: #eef3f8; border-radius: 999px; padding: 6px; gap: 4px; margin-bottom: 30px; }
.sf-tab {
  flex: 1; border: none; background: transparent; cursor: pointer;
  padding: 14px 20px; border-radius: 999px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem; color: #5d6b7a;
  transition: background .18s ease, color .18s ease;
}
.sf-tab.is-active { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0,137,247,.28); }

.sf-tab-panel { display: none; }
.sf-tab-panel.is-active { display: block; animation: sf-fade .35s ease; }
@keyframes sf-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sf-tab-lead { margin: 0 0 16px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.25rem; line-height: 1.4; color: var(--navy-deep); }
.sf-tab-body { margin: 0 0 22px; font-size: 1.04rem; color: var(--text); max-width: 480px; }
.sf-tab-points { list-style: none; margin: 0 0 34px; padding: 0; }
.sf-tab-points li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #45525f; font-size: 1.02rem; }
.sf-tab-points svg { flex: none; width: 22px; height: 22px; color: var(--navy); }
.sf-about-cta {
  display: inline-block; background: var(--navy); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 16px 34px; border-radius: 999px;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sf-about-cta:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,70,140,.25); }

.sf-about-media { position: relative; border-radius: 24px; overflow: hidden; min-height: 420px; }
.sf-about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .sf-about { padding: 64px var(--gutter); }
  .sf-about-inner { grid-template-columns: 1fr; gap: 36px; }
  .sf-about-media { order: -1; min-height: 320px; }
}

/* =====================================================================
   BREADCRUMB
   ===================================================================== */
.sf-breadcrumb { padding: 18px var(--gutter); background: #f5f8fb; border-bottom: 1px solid var(--line); }
.sf-breadcrumb-inner {
  max-width: var(--container); margin: 0 auto; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.sf-breadcrumb li { display: inline-flex; align-items: center; gap: 4px; }
.sf-breadcrumb a {
  font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: .92rem;
  color: #5d6b7a; transition: color .15s ease;
}
.sf-breadcrumb a:hover { color: var(--blue); }
.sf-breadcrumb span[aria-current] {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .92rem; color: var(--navy-deep);
}
.sf-bc-sep { width: 15px; height: 15px; color: #aab6c2; flex: none; }

/* dark variant (over navy/hero backgrounds) */
.sf-breadcrumb.sf-bc-dark { background: transparent; border-bottom: none; padding-top: 0; padding-bottom: 0; }
.sf-bc-dark a { color: rgba(255,255,255,.7); }
.sf-bc-dark a:hover { color: #fff; }
.sf-bc-dark span[aria-current] { color: #fff; }
.sf-bc-dark .sf-bc-sep { color: rgba(255,255,255,.45); }

/* =====================================================================
   PAGE TITLE (inner-page header)
   ===================================================================== */
.sf-pagetitle { background: #e9eef3; padding: 84px var(--gutter); text-align: center; }
.sf-pagetitle-inner { max-width: 900px; margin: 0 auto; }
.sf-pagetitle-badge {
  display: inline-block; background: #fff; border-radius: 999px;
  padding: 9px 24px; margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .9rem; color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(10,37,64,.06);
}
.sf-pagetitle h1 {
  margin: 0; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--navy-deep);
}
.sf-pagetitle-sub {
  margin: 20px auto 0; max-width: 620px;
  font-size: 1.1rem; line-height: 1.6; color: #5d6b7a;
}

/* =====================================================================
   CTA BLOCK + FOOTER  (shared dark navy)
   ===================================================================== */
:root { --footer-dark: #12243a; }

/* ---- CTA block ---- */
.sf-cta-block { position: relative; overflow: hidden; background: var(--footer-dark); padding: 96px var(--gutter); }
/* dotted world map on the right */
.sf-cta-graphic { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: min(560px, 44%); aspect-ratio: 1 / 1; z-index: 1; }
.sf-cta-map {
  position: absolute; inset: 0; background: rgba(255,255,255,.18);
  -webkit-mask: url('../img/bg/worldmap.png') center / contain no-repeat;
  mask: url('../img/bg/worldmap.png') center / contain no-repeat;
}
.sf-cta-pin { position: absolute; left: 31.5%; top: 39%; transform: translate(-50%, -78%); }
.sf-cta-pin svg { position: relative; z-index: 1; width: 46px; height: 46px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.45)); }
.sf-pin-pulse {
  position: absolute; left: 50%; bottom: 6px; width: 16px; height: 16px;
  transform: translate(-50%, 50%); border-radius: 50%; background: rgba(0,137,247,.5);
  animation: sf-pin-pulse 2s ease-out infinite;
}
@keyframes sf-pin-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,137,247,.45); }
  100% { box-shadow: 0 0 0 22px rgba(0,137,247,0); }
}
.sf-cta-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; }
.sf-cta-text { max-width: 720px; }
.sf-cta-text h2 { margin: 0; color: #fff; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; }
.sf-cta-text p { margin: 22px 0 34px; color: rgba(255,255,255,.6); font-size: 1.1rem; max-width: 600px; }
.sf-cta-btn {
  display: inline-block; background: var(--blue); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 17px 38px; border-radius: 999px;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.sf-cta-btn:hover { background: #fff; color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.3); }

/* ---- main footer ---- */
.sf-footer { background: var(--footer-dark); padding: 30px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,.07); }
.sf-footer-inner { max-width: var(--container); margin: 0 auto; }
.sf-footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 36px;
  padding: 40px 0 56px;
}
.sf-foot-brand .sf-logo { margin-bottom: 22px; }
.sf-foot-tag { margin: 0 0 18px; color: rgba(255,255,255,.6); font-size: .98rem; max-width: 340px; line-height: 1.7; }
.sf-foot-contact { margin: 0 0 20px; line-height: 1.9; }
.sf-foot-contact a { color: rgba(255,255,255,.85); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .98rem; }
.sf-foot-contact a:hover { color: var(--blue); }
.sf-foot-social { display: flex; gap: 12px; }
.sf-foot-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #c6d0dc; transition: background .15s ease, color .15s ease;
}
.sf-foot-social a:hover { background: var(--blue); color: #fff; }
.sf-foot-social svg { width: 17px; height: 17px; }

.sf-foot-col h4 {
  margin: 0 0 22px; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.15rem;
}
.sf-foot-col ul { list-style: none; margin: 0; padding: 0; }
.sf-foot-col li { margin-bottom: 13px; }
.sf-foot-col a { position: relative; padding-left: 16px; color: rgba(255,255,255,.6); font-size: .98rem; transition: color .15s ease; }
.sf-foot-col a::before { content: "•"; position: absolute; left: 0; color: rgba(255,255,255,.4); }
.sf-foot-col a:hover { color: var(--blue); }

.sf-foot-addr { list-style: none; margin: 0; padding: 0; }
.sf-foot-addr li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 15px; color: rgba(255,255,255,.62); font-size: .96rem; line-height: 1.55; }
.sf-foot-addr svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--blue); }
.sf-foot-addr a { color: rgba(255,255,255,.62); transition: color .15s ease; }
.sf-foot-addr a:hover { color: var(--blue); }
.sf-foot-map { margin-top: 6px; border-radius: 10px; overflow: hidden; line-height: 0; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.sf-foot-map iframe { display: block; width: 100%; height: 150px; border: 0; }

.sf-footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0 28px; border-top: 1px solid rgba(255,255,255,.1);
}
.sf-footer-bottom p { margin: 0; color: rgba(255,255,255,.55); font-size: .92rem; }
.sf-totop {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease, transform .15s ease;
}
.sf-totop:hover { background: var(--blue); transform: translateY(-2px); }
.sf-totop svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .sf-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sf-foot-brand { grid-column: 1 / -1; }
  .sf-cta-graphic { display: none; }
}
@media (max-width: 600px) {
  .sf-cta-block { padding: 64px var(--gutter); }
  .sf-footer-grid { grid-template-columns: 1fr; }
  .sf-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== Articles pagination ===== */
.sf-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 44px auto 8px;
}
.sf-pagination a,
.sf-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.sf-pagination a:hover {
  background: var(--pill-bg);
  border-color: var(--blue);
  color: var(--navy);
}
.sf-pagination .sf-page-num.is-current {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.sf-pagination .sf-page-arrow {
  font-weight: 700;
}
.sf-pagination .is-disabled {
  color: var(--muted);
  background: var(--bg-soft);
  border-color: var(--line);
  cursor: not-allowed;
  opacity: .65;
}
.sf-pagination .sf-page-gap {
  border: none;
  background: transparent;
  min-width: 24px;
  padding: 0 2px;
  color: var(--muted);
}
@media (max-width: 560px) {
  .sf-pagination a,
  .sf-pagination span { min-width: 40px; height: 40px; padding: 0 10px; font-size: 14px; }
}

/* ===== Contact form success message ===== */
.sf-form-success[hidden] { display: none; }   /* respect the hidden attr — class display must not override it */
.sf-form-success {
  display: flex; align-items: center; gap: 12px;
  background: #e8f7ee; border: 1px solid #b7e3c6; color: #1c6b3a;
  border-radius: 12px; padding: 18px 20px; margin-bottom: 6px;
  font-family: 'Roboto', sans-serif; font-size: 1rem; line-height: 1.45;
}
.sf-form-success svg { width: 24px; height: 24px; flex: none; color: #2ba24f; }

/* Footer "Get Directions" link */
.sf-foot-directions {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  color: var(--blue); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .92rem;
  transition: color .15s ease;
}
.sf-foot-directions:hover { color: #fff; }
.sf-foot-directions svg { width: 16px; height: 16px; }

/* =====================================================================
   MOBILE — reduce all section titles ~30% (×0.7). Placed last so it wins.
   (Hero <h1> is handled separately above.)
   ===================================================================== */
@media (max-width: 600px) {
  .sf-svc-heading h2 { font-size: 1.6rem; }
  .sf-blog-head h2,
  .sf-sl-heading,
  .sf-contact-left h2,
  .sf-svcgrid-head h2,
  .sf-why-text h2,
  .sf-svc-title { font-size: 1.4rem; }
  .sf-reviews-left h2,
  .sf-faq-head h2 { font-size: 1.45rem; }
  .sf-related-head h2,
  .sf-article-title,
  .sf-about-text h2,
  .sf-pagetitle h1 { font-size: 1.33rem; }
  .sf-logos h2 { font-size: 1.26rem; }
  .sf-cta-text h2 { font-size: 1.2rem; }
  .sf-banner-headline { font-size: clamp(1.2rem, 5vw, 1.6rem); }

  /* card / sub headings */
  .sf-blog-featured h3,
  .sf-article-body h2,
  .sf-contact-form h3,
  .sf-cccard h3 { font-size: 1.1rem; }
  .sf-rel-card h3,
  .sf-sl-section h3,
  .sf-sl-sections.is-grid .sf-sl-section h3,
  .sf-svccard h3,
  .sf-blog-card h3 { font-size: 0.95rem; }
}

/* ==========================================================================
   Accessibility — skip link, visible focus, reduced motion
   ========================================================================== */

/* Skip link: hidden until keyboard-focused, then pinned top-left */
.sf-skip-link{
  position:absolute; left:-9999px; top:0; z-index:9999;
  background:#0089f7; color:#fff; padding:12px 20px;
  font:600 15px/1.2 Montserrat,system-ui,sans-serif;
  border-radius:0 0 6px 0; text-decoration:none;
}
.sf-skip-link:focus{ left:0; outline:3px solid #0b1f3b; outline-offset:2px; }
#sf-main:focus{ outline:none; }

/* Visible keyboard focus everywhere. :focus-visible keeps it off mouse clicks. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid #0089f7;
  outline-offset:2px;
  border-radius:3px;
}
/* On dark backgrounds the blue ring needs a light halo to stay visible */
.sf-header a:focus-visible,
.sf-footer a:focus-visible,
.sf-cta-block a:focus-visible,
.sf-promo a:focus-visible,
.sf-hero a:focus-visible{
  outline-color:#fff;
  box-shadow:0 0 0 5px rgba(0,137,247,.55);
}
/* Fallback for browsers without :focus-visible */
@supports not selector(:focus-visible){
  a:focus, button:focus, input:focus, select:focus, textarea:focus{
    outline:3px solid #0089f7; outline-offset:2px;
  }
}

/* Slider pause control */
.sf-arrow-pause svg{ width:18px; height:18px; }

/* Respect the OS "reduce motion" setting */
@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  .sf-cta-pin .sf-pin-pulse{ animation:none !important; }
  .sf-slide{ transition:none !important; }
}

/* Article search results */
.sf-search-summary{
  font:500 15px/1.5 Roboto,system-ui,sans-serif; color:#4a5b74; margin:0 0 6px;
}
.sf-search-summary a{ color:#0089f7; text-decoration:underline; }
.sf-search-empty{
  font:400 16px/1.6 Roboto,system-ui,sans-serif; color:#4a5b74;
  background:#f4f7fb; border:1px solid #e2e9f2; border-radius:8px;
  padding:20px 22px; margin:0 0 24px;
}
.sf-search-empty a{ color:#0089f7; text-decoration:underline; }

/* ==========================================================================
   Contact form — error state, honeypot, reCAPTCHA, sending state
   ========================================================================== */

.sf-form-error[hidden] { display: none; }
.sf-form-error {
  background: #fdecec; border: 1px solid #f5c2c2; color: #8d2020;
  border-radius: 12px; padding: 18px 20px; margin-bottom: 14px;
  font-family: 'Roboto', system-ui, sans-serif; font-size: 1rem; line-height: 1.5;
}
.sf-form-error a { color: #8d2020; font-weight: 700; text-decoration: underline; }

/* Honeypot — hidden from people, still reachable by bots that parse the DOM.
   Deliberately NOT display:none, since some bots skip those. */
.sf-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sf-recaptcha { margin: 18px 0 4px; }
.sf-recaptcha:empty { margin: 0; }

.sf-form-submit[aria-busy="true"] { opacity: .72; cursor: progress; }
.sf-form-submit:disabled { opacity: .72; cursor: not-allowed; }

@media (max-width: 480px) {
  /* keep the reCAPTCHA widget inside narrow screens */
  .sf-recaptcha { transform: scale(.87); transform-origin: 0 0; height: 66px; }
}

/* Contact page map (mirrors the footer embed, driven from site-config) */
.sf-contact-map {
  margin: 0 0 26px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e9f2;
  line-height: 0;
}
.sf-contact-map iframe { display: block; width: 100%; height: 300px; border: 0; }
@media (max-width: 760px) { .sf-contact-map iframe { height: 240px; } }

/* Required-field marker on the contact form */
.sf-req { color: #c0392b; font-weight: 500; font-size: .82em; letter-spacing: .01em; }

/* Inline field validation on the contact form */
.sf-field input.is-invalid,
.sf-field select.is-invalid,
.sf-field textarea.is-invalid {
  border-color: #c0392b;
  background: #fffafa;
}
.sf-field input.is-invalid:focus-visible,
.sf-field textarea.is-invalid:focus-visible { outline-color: #c0392b; }
.sf-field-msg {
  display: block; margin-top: 6px;
  font: 400 .875rem/1.4 'Roboto', system-ui, sans-serif;
  color: #c0392b;
}
