:where(img[width][height]){height:auto;width:auto}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/cormorant-garamond-italic-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/cormorant-garamond-italic.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300 700;font-display:swap;src:url('fonts/cormorant-garamond-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300 700;font-display:swap;src:url('fonts/cormorant-garamond.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/inter-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/inter.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter Fallback';src:local('Arial');size-adjust:107.12%;ascent-override:90.44%;descent-override:22.52%;line-gap-override:0%;}
@font-face{font-family:'Cormorant Fallback';src:local('Times New Roman'),local('Georgia');size-adjust:92%;ascent-override:88%;descent-override:26%;line-gap-override:0%;}
/* =============================================
   RAMPART TITLE — SHARED STYLESHEET (layout from the Atlantic Title Firm design system)
   ============================================= */

/* GOOGLE FONTS */
/* DESIGN TOKENS */
:root {
  --orange: #00AEEF;
  --orange-ink: #0077A8;
  --orange2: #0090C6;
  --orange3: #E6F7FD;
  --charcoal: #3C3C3C;
  --navy: #2E2F33;
  --navy2: #232427;
  --white: #FFFFFF;
  --cream: #F8F7F5;
  --cream2: #F0EDEA;
  --gray: #6B6B6B;
  --border: #E0DDD8;
  --serif: 'Cormorant Garamond','Cormorant Fallback', Georgia, serif;
  --sans: 'Inter','Inter Fallback', sans-serif;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow2: 0 12px 48px rgba(0,0,0,0.14);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }h1,h2,h3,h4,.h2,.h3,.h4{ font-family: var(--serif); line-height: 1.15; font-weight: 600;
  /* Cormorant Garamond defaults to old-style figures, so numerals in headings sit below cap height. Force lining figures. */
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }h2,.h2{ font-size: clamp(1.8rem, 3.5vw, 2.8rem); }h3,.h3{ font-size: clamp(1.1rem, 2vw, 1.6rem); }
em { font-style: italic; color: var(--orange-ink); }
p { line-height: 1.8; color: var(--gray); font-weight: 300; }
ul { list-style: none; }
section { padding: 3.5rem 5%; }
.inner { max-width: 1200px; margin: 0 auto; }

/* TAG */
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 1rem; }
.tag::before { content: ''; width: 24px; height: 2px; background: var(--orange); }
.tag.light { color: rgba(255,255,255,0.62); }
.tag.light::before { background: rgba(255,255,255,0.3); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.9rem 2rem; border-radius: 3px; border: none; cursor: pointer; transition: all 0.2s; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange2); }
.btn-outline-w { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.62); }
.btn-outline-w:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--orange-ink); border: 1.5px solid var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy2); }

/* ======== NAV ======== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem 0 2.5rem; height: 78px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 10px rgba(0,0,0,0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
.nav-logo img { height: 60px; width: auto; display: block; }
.nav-links { flex: 1; display: flex; align-items: center; justify-content: center; gap: 1.05rem; list-style: none; margin: 0 0.6rem; padding: 0; }
.nav-links a { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--charcoal); transition: color 0.2s; white-space: nowrap; }
.nav-links { flex-wrap: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-ink); }
.nav-cta { background: var(--orange) !important; color: var(--white) !important; padding: 0.55rem 1.4rem !important; border-radius: 3px; }
.nav-cta:hover { background: var(--orange2) !important; color: var(--white) !important; }

/* Hamburger */
.nav-ham { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-ham span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 0; transition: all 0.3s; }
.nav-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; visibility: hidden; }
.nav-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-logo { flex-shrink: 0; }
.nav-cta { flex-shrink: 0; white-space: nowrap; }

/* Collapse the horizontal menu to the hamburger before the 7 links crowd the center */
@media (max-width: 1099px) {
  .nav-links { display: none; }
  .nav-ham { display: flex; }
  .nav-cta { margin-left: auto; margin-right: 1rem; }
}

/* Mobile Nav Drawer */
.mobile-nav { display: none; position: fixed; top: 78px; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 999; padding: 1.5rem 5%; flex-direction: column; gap: 0; }
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); padding: 0.9rem 0; border-bottom: 1px solid var(--border); transition: color 0.2s; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--orange-ink); }
.mobile-nav .mob-cta-btn { margin-top: 1rem; background: var(--orange); color: var(--white) !important; text-align: center; padding: 0.9rem !important; border-radius: 3px; border-bottom: none !important; }

/* ======== HERO — FULL (Home) ======== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('img/hero/home-hero.webp'); background-size: cover; background-position: center 55%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(35,36,39,0.95) 0%, rgba(35,36,39,0.80) 55%, rgba(46,47,51,0.55) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding-top: 78px; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-sub { font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.68); line-height: 1.8; max-width: 600px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.htrust { display: flex; align-items: center; gap: 12px; }
.htrust-icon { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.htrust-icon svg { width: 18px; height: 18px; fill: var(--orange); }
.htrust-text { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.5; }
.htrust-text span { display: block; font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.62); }

/* ======== INNER HERO (Sub-pages) ======== */
.inner-hero { position: relative; padding: 9rem 5% 5rem; overflow: hidden; }
.inner-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.inner-hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(35,36,39,0.96) 0%, rgba(35,36,39,0.85) 60%, rgba(46,47,51,0.70) 100%); }
.inner-hero-content { position: relative; z-index: 2; max-width: 700px; }
.inner-hero h1 { color: var(--white); margin-bottom: 1rem; }
.inner-hero p { color: rgba(255,255,255,0.65); font-size: 17px; max-width: 540px; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 12px; color: rgba(255,255,255,0.62); }
.breadcrumb a { color: rgba(255,255,255,0.62); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange-ink); }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* ======== STATS BAR ======== */
.statsbar { background: var(--navy); padding: 2.75rem 5%; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-n { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.4rem;
  /* Cormorant Garamond defaults to old-style figures: 6 and 8 tower, 3/5/7/9 drop below the baseline.
     Force lining (titling) figures so stat numbers align on one cap height. */
  font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
.stat-n em { color: var(--orange-ink); font-style: normal; }
.stat-l { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.62); }

/* ======== SERVICES ======== */
.services { background: var(--cream); }
.svc-intro { max-width: 580px; margin-bottom: 3.5rem; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 2.25rem 2rem; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; cursor: pointer; display: block; text-decoration: none; color: inherit; }
a.svc-card, a.svc-card:visited, a.svc-card:hover, a.svc-card:focus { text-decoration: none; color: inherit; }
.svc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow2); border-color: rgba(0,174,239,0.3); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 52px; height: 52px; border-radius: 8px; background: var(--orange3); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.svc-icon svg { width: 24px; height: 24px; fill: var(--orange); }
.svc-n { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--serif); font-size: 4rem; font-weight: 700; color: rgba(0,0,0,0.04); line-height: 1; }
.svc-title { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin-bottom: 0.75rem; }
.svc-desc { font-size: 14px; color: var(--gray); line-height: 1.75; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.25rem; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-ink); transition: gap 0.2s; cursor: pointer; }
.svc-link:hover { gap: 10px; }
.svc-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.svc-list li { font-size: 13px; color: var(--charcoal); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.svc-list li::before { content: '✓'; color: var(--orange-ink); font-weight: 700; font-size: 12px; margin-top: 2px; flex-shrink: 0; }

/* ======== WHY ======== */
.why { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3.5rem; }
.why-img { position: relative; border-radius: 8px; overflow: visible; }
.why-img img { width: 100%; height: 560px; object-fit: cover; display: block; border-radius: 8px; }
.why-badge { position: absolute; bottom: -1rem; right: -1rem; background: var(--orange); color: var(--white); padding: 1.5rem; border-radius: 8px; text-align: center; min-width: 150px; }
.why-badge-n { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.why-badge-l { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }
.why-pts { display: flex; flex-direction: column; gap: 2rem; }
.wpt { display: flex; gap: 1.25rem; }
.wpt-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(0,174,239,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 4px; }
.wpt-icon svg { width: 20px; height: 20px; fill: var(--orange); }.wpt h3,.wpt .h3{ font-size: 1.1rem; color: var(--white); margin-bottom: 0.4rem; }
.wpt p { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.75; }

/* ======== HOW IT WORKS ======== */
.how { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 32px; left: 12%; right: 12%; height: 1px; background: var(--border); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-n { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--serif); font-size: 1.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--border); }
.step-n.active { background: var(--orange); }.step h3,.step .h3{ font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.step p { font-size: 13px; color: var(--gray); }

/* ======== COVERAGE ======== */
.coverage { background: var(--cream); }
.cov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.cov-video { border-radius: 8px; overflow: hidden; height: 420px; position: relative; }
.cov-video iframe { width: 100%; height: 100%; border: none; display: block; }
.county-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.ctag { font-size: 13px; font-weight: 500; color: var(--charcoal); padding: 0.5rem 0.75rem; background: var(--white); border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; gap: 6px; transition: border-color 0.2s, color 0.2s; cursor: default; }
.ctag:hover { border-color: var(--orange-ink); color: var(--orange-ink); }
.ctag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.ctag.highlight { background: var(--orange); color: var(--white); border-color: var(--orange-ink); }
.ctag.highlight::before { background: var(--white); }

/* ======== TESTIMONIALS ======== */
.testimonials { background: var(--navy); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.tcard { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 2rem; }
.tcard-stars { color: var(--orange-ink); letter-spacing: 2px; font-size: 14px; margin-bottom: 1rem; }
.tcard-text { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 1.5rem; }
.tcard-author { display: flex; align-items: center; gap: 0.75rem; }
.tcard-av { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--white); flex-shrink: 0; }
.tcard-name { font-size: 13px; font-weight: 600; color: var(--white); }
.tcard-role { font-size: 11px; color: rgba(255,255,255,0.62); margin-top: 2px; }

/* ======== PARTNERS / AGENT PORTAL ======== */
.partners { background: var(--white); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.pcard { border: 1px solid var(--border); border-radius: 8px; padding: 2.5rem; display: flex; gap: 1.75rem; align-items: flex-start; transition: border-color 0.3s, box-shadow 0.3s; }
.pcard:hover { border-color: var(--orange-ink); box-shadow: var(--shadow); }
.pcard-icon { width: 56px; height: 56px; border-radius: 8px; background: var(--orange3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pcard-icon svg { width: 26px; height: 26px; fill: var(--orange); }.pcard h3,.pcard .h3{ font-size: 1.25rem; color: var(--navy); margin-bottom: 0.5rem; }
.pcard p { font-size: 14px; color: var(--gray); line-height: 1.75; }
.pcard ul { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.pcard ul li { font-size: 13px; color: var(--charcoal); display: flex; align-items: center; gap: 8px; }
.pcard ul li::before { content: '✓'; color: var(--orange-ink); font-weight: 700; font-size: 13px; }
.plink { display: inline-flex; align-items: center; gap: 6px; margin-top: 1rem; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-ink); transition: gap 0.2s; }
.plink:hover { gap: 10px; }

/* ======== FAQ ======== */
.faq-section { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3rem; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--orange-ink); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 500; font-size: 15px; color: var(--navy); user-select: none; }
.faq-q svg { width: 18px; height: 18px; fill: var(--orange); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; font-size: 14px; color: var(--gray); line-height: 1.75; padding: 0 1.5rem; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 1.5rem 1.25rem; }
.faq-cta { background: var(--navy); border-radius: 8px; padding: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }.faq-cta h3,.faq-cta .h3{ color: var(--white); }
.faq-cta p { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.75; }

/* Full-width FAQ — 2-column grid */
.faq-full { max-width: 1200px; margin: 3rem auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 760px) {
  .faq-full { grid-template-columns: 1fr; gap: 0.75rem; max-width: 780px; }
}

/* ======== CONTACT ======== */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; }
.contact-left { background: var(--navy); padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.contact-right { padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.cinfo-item { display: flex; align-items: flex-start; gap: 1rem; margin-top: 2rem; }
.cinfo-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cinfo-icon svg { width: 16px; height: 16px; fill: var(--orange); }
.cinfo-label { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.62); margin-bottom: 3px; }
.cinfo-val { font-size: 15px; font-weight: 500; color: var(--white); }
.cinfo-val a { color: var(--white); transition: color 0.2s; }
.cinfo-val a:hover { color: var(--orange-ink); }
.cform { display: flex; flex-direction: column; }
.crow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.cfield { display: flex; flex-direction: column; margin-bottom: 1rem; }
.cfield label { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.cfield input, .cfield select, .cfield textarea { border: 1px solid var(--border); border-radius: 4px; padding: 0.75rem 1rem; font-family: var(--sans); font-size: 14px; color: var(--navy); background: var(--cream); outline: none; transition: border-color 0.2s; appearance: none; width: 100%; max-width: 100%; box-sizing: border-box; }
.cfield input:focus, .cfield select:focus, .cfield textarea:focus { border-color: var(--orange-ink); background: var(--white); }
.cfield textarea { resize: none; }
.csub { width: 100%; padding: 1rem; background: var(--orange); color: var(--white); border: none; border-radius: 4px; cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.2s; }
.csub:hover { background: var(--orange2); }

/* ======== FOOTER ======== */
footer { background: var(--navy2); padding: 4rem 5% 2rem; border-top: 4px solid var(--orange); }
.ftop { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.flogo { display: inline-block; background: #ffffff; padding: 18px 26px; border-radius: 8px; margin-bottom: 1.25rem; box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.6); line-height: 0; }
.flogo img { height: 48px; width: auto; display: block; }
.fdesc { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.8; max-width: 280px; margin-bottom: 1.5rem; }
.fsocials { display: flex; gap: 0.75rem; }
.fsoc { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, background 0.2s; }
.fsoc:hover { border-color: var(--orange-ink); background: rgba(0,174,239,0.12); }
.fsoc svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.62); }.fcol h4,.fcol h3,.fcol .h4,.fcol .h3{ font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; }
.fcol ul { display: flex; flex-direction: column; gap: 0.6rem; }
.fcol ul li a { font-size: 13px; color: rgba(255,255,255,0.62); transition: color 0.2s; }
.fcol ul li a:hover { color: var(--orange-ink); }
.fbot { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.fbot p { font-size: 12px; color: rgba(255,255,255,0.55); }
.fbot-links { display: flex; gap: 1.5rem; }
.fbot-links a { font-size: 12px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.fbot-links a:hover { color: var(--orange-ink); }

/* ======== MOBILE STICKY CTA ======== */
.mob-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--orange); color: var(--white); padding: 1rem; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 -4px 20px rgba(0,0,0,0.2); }
.mob-cta svg { width: 16px; height: 16px; fill: var(--white); vertical-align: middle; margin-right: 6px; }

/* ======== ORDER MODAL ======== */
.moverlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.72); backdrop-filter: blur(4px); padding: 3rem 1rem; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.moverlay.active { display: block; }
.mbox { background: var(--white); border-radius: 12px; padding: 2.5rem; width: 100%; max-width: 520px; position: relative; animation: mIn 0.25s ease; box-sizing: border-box; margin: 0 auto; }
@media (max-width: 600px) {
  .moverlay { padding: 1.25rem 0.75rem; }
  .mbox { padding: 1.75rem 1.25rem; max-width: 100%; }
  .mbox .crow { grid-template-columns: 1fr; gap: 0; }
  .mbox .cfield input, .mbox .cfield select, .mbox .cfield textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
  .mtitle { font-size: 1.5rem; }
  .mclose { top: 0.5rem; right: 0.5rem; font-size: 22px; padding: 8px; }
}
@keyframes mIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mclose { position: absolute; top: 1rem; right: 1rem; background: none; border: none; cursor: pointer; font-size: 18px; color: var(--gray); padding: 4px; transition: color 0.2s; }
.mclose:hover { color: var(--navy); }
.mtag { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 0.5rem; }
.mtitle { font-family: var(--serif); font-size: 1.9rem; color: var(--navy); margin-bottom: 0.5rem; }
.msub { font-size: 13px; color: var(--gray); margin-bottom: 2rem; line-height: 1.6; }

/* ======== REVEAL ANIMATION ======== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
/* Mobile/touch + reduced-motion: disable scroll-reveal so content shows instantly (prevents janky fade-in while scrolling, esp. near the bottom) */
@media (max-width: 768px) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ======== BLOG ======== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow2); }
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 1.75rem; }
.blog-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 0.6rem; }
.blog-title { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.35; }
.blog-excerpt { font-size: 13px; color: var(--gray); line-height: 1.75; }
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; font-size: 11px; color: rgba(107,107,107,0.6); font-weight: 500; }
.blog-meta span { display: flex; align-items: center; gap: 4px; }

/* ======== ABOUT PAGE ======== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-align: center; transition: box-shadow 0.3s; }
.team-card:hover { box-shadow: var(--shadow2); }
.team-avatar { height: 200px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 3.5rem; color: rgba(255,255,255,0.15); }
.team-body { padding: 1.25rem; }
.team-name { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin-bottom: 3px; }
.team-role { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); }
.team-county { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.val-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; text-align: center; transition: border-color 0.3s, box-shadow 0.3s; }
.val-card:hover { border-color: var(--orange-ink); box-shadow: var(--shadow); }
.val-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--orange3); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.val-icon svg { width: 26px; height: 26px; fill: var(--orange); }.val-card h3,.val-card .h3{ font-size: 1.15rem; color: var(--navy); margin-bottom: 0.5rem; }
.val-card p { font-size: 14px; }

/* ======== LOCATIONS PAGE ======== */
.locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.loc-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; transition: border-color 0.3s, box-shadow 0.3s; }
.loc-card:hover { border-color: var(--orange-ink); box-shadow: var(--shadow); }
.loc-region { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 0.5rem; }
.loc-county { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); margin-bottom: 0.5rem; }
.loc-cities { font-size: 12px; color: var(--gray); line-height: 1.7; }

/* ======== PAGE CTA BAND ======== */
.cta-band { background: var(--orange); padding: 4rem 5%; text-align: center; }
.cta-band, .cta-band * { color: var(--white) !important; }.cta-band h2,.cta-band .h2{ margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85) !important; font-size: 16px; margin-bottom: 2rem; }
.cta-band .btn-outline-w { border-color: rgba(255,255,255,0.6); }
.cta-band .btn { color: var(--orange-ink) !important; }
.cta-band .btn-outline-w { color: var(--white) !important; }

/* ======== REVIEWS ======== */
.rating-banner { background: var(--navy); padding: 3rem 5%; }
.rating-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.rating-score { font-family: var(--serif); font-size: 3.5rem; font-weight: 700; color: var(--white); line-height: 1; }
.rating-stars { color: var(--orange-ink); font-size: 18px; letter-spacing: 3px; margin: 0.4rem 0; }
.rating-label { font-size: 12px; color: rgba(255,255,255,0.62); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .cov-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-img img { height: 360px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .ftop { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 2.75rem 5%; }
  .nav-links { display: none; }
  .nav-ham { display: flex; }
  .hero-sub { font-size: 16px; }
  .hero-trust { gap: 1.5rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .tgrid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 3rem 5%; }
  .ftop { grid-template-columns: 1fr; gap: 2rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .crow { grid-template-columns: 1fr; }
  .rating-inner { grid-template-columns: repeat(2, 1fr); }
  .mob-cta { display: block; }
  body { padding-bottom: 60px; }
  .inner-hero { padding: 7rem 5% 3.5rem; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .rating-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  /* Video stays visible on mobile — uses responsive 16:9 aspect ratio */
  .cov-video { height: auto; aspect-ratio: 16/9; }
}

/* ────────────────────────────────────────────────────────────────
   Service-page stat block (2x2 → 1col on tiny) + 4-step process grid
   Used on all SEO service pages built in 2026 batch
   ──────────────────────────────────────────────────────────────── */
.stat-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.steps-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 1024px) {
  .steps-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 600px) {
  .stat-grid-2 { gap: 1rem; }
  .stat-grid-2 .stat-n { font-size: 2rem !important; }
  .stat-grid-2 .stat-l { font-size: 11px; }
}
@media (max-width: 480px) {
  .steps-grid-4 { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ────────────────────────────────────────────────────────────────
   Mobile overflow safety net + hero typography fits 390px viewport
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  html, body { overflow-x: hidden; max-width: 100vw; }h1,h2,h3,p,.tag,.agent-hero-firm,.agent-badge,.h2,.h3{ overflow-wrap: anywhere; word-break: break-word; }
  .hero h1, .agent-hero-name { font-size: clamp(1.65rem, 7vw, 2.2rem) !important; line-height: 1.15; }
  .hero-sub { font-size: 14.5px; }
  .agent-hero-title, .hero-eyebrow, .tag { font-size: 0.7rem; letter-spacing: 0.05em; }
  .agent-hero-firm { font-size: 0.82rem; }
  .agent-badges { gap: 0.4rem; }
  .agent-badge { font-size: 0.7rem; padding: 0.3rem 0.7rem; }
  /* CTA buttons */
  .btn, .btn-orange, .btn-outline, .btn-outline-w { font-size: 0.85rem; padding: 0.75rem 1rem; }
  /* Stack dual CTA buttons vertically */
  .hero-actions { flex-direction: column !important; gap: 0.75rem !important; align-items: stretch !important; }
  .hero-actions .btn { width: 100% !important; max-width: 100% !important; box-sizing: border-box; justify-content: center; }
  .cta-band > .inner > div { flex-direction: column !important; gap: 0.75rem !important; }
  .cta-band .btn { width: 100%; max-width: 320px; justify-content: center; }.cta-band h2,.cta-band .h2{ font-size: 1.5rem !important; }
  /* Stats / agent count blocks */
  .stat-n, .stat-num { font-size: 1.75rem !important; }
  /* Service / feature row cards should never sit two-up on mobile */
  .why-grid, .feature-grid, .stats-inner { grid-template-columns: 1fr !important; }
}

/* Hide "Order Title" CTAs on MOBILE only — top-bar button, hamburger item, and sticky bottom bar.
   Desktop (>768px) keeps the Order Title button as-is. */
@media (max-width: 768px) {
  .nav-cta { display: none !important; }
  .mob-cta-btn { display: none !important; }
  .mob-cta { display: none !important; }
}

/* ── Closing Cost Calculator — mobile fit (durable; survives page reverts) ── */
@media (max-width: 600px) {
  .calc-row { grid-template-columns: 1fr !important; }
  table[style*="min-width:520px"], .calc-card table, .breakdown table { min-width: 0 !important; font-size: 13px; }
  [style*="repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  .brow { flex-wrap: wrap; gap: 4px 10px; }
  .brow-label { min-width: 0; flex: 1 1 auto; }
  .brow-val { flex: 0 0 auto; }
}

/* ── Stack ALL hard-coded inline multi-column grids on phones/small tablets ──
   Fixes squeezed text columns (e.g. headings breaking one word per line) site-wide. */
@media (max-width: 768px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="repeat(2,1fr)"],
  [style*="repeat(2, 1fr)"],
  [style*="repeat(3,1fr)"],
  [style*="repeat(3, 1fr)"],
  [style*="repeat(4,1fr)"],
  [style*="repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
}

/* ===== Related Articles (blog cluster internal links) ===== */
.rel-articles{background:var(--cream,#f7f5f2);padding:3.5rem 5%;border-top:1px solid var(--border,#e0ddd8);}
.rel-articles .rel-inner{max-width:1000px;margin:0 auto;}
.rel-eyebrow{font-family:'Inter','Inter Fallback',Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--orange,#00AEEF);margin-bottom:.4rem;}.rel-articles h2,.rel-articles .h2{font-family:'Inter','Inter Fallback',Arial,sans-serif;color:var(--navy,#2E2F33);font-size:1.5rem;margin:0 0 1.5rem;}
.rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem;}
.rel-grid a{display:block;background:#fff;border:1px solid var(--border,#e0ddd8);border-radius:8px;padding:0;overflow:hidden;text-decoration:none;color:var(--navy,#2E2F33);font-family:'Inter','Inter Fallback',Arial,sans-serif;font-weight:600;font-size:14.5px;line-height:1.45;transition:border-color .2s,transform .2s,box-shadow .2s;}
.rel-grid a:hover{border-color:var(--orange,#00AEEF);transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.08);}
.rel-grid a .rel-img{width:100%;display:block;border-bottom:1px solid var(--border,#e0ddd8);}
.rel-grid a .rel-txt{display:block;padding:1.1rem 1.2rem;}
.rel-grid a .rel-arrow{color:var(--orange,#00AEEF);font-weight:700;}
@media(max-width:760px){.rel-grid{grid-template-columns:1fr;}}

/* FAQ accordions: keep answers collapsed until opened */
.faq-item:not([open]) .faq-answer{display:none;}

/* Mid-article "More from the blog" related-links box (global) */
.read-more-box{background:var(--cream);border:1px solid var(--border);border-radius:10px;padding:1.4rem 1.6rem;margin:2rem 0;}
.read-more-box .rm-h{font-family:var(--serif);font-size:1.05rem;color:var(--navy);margin-bottom:.7rem;}
.read-more-box ul{margin:0 0 0 1.1rem;}
.read-more-box li{margin-bottom:.45rem;line-height:1.55;}
.read-more-box a{color:var(--navy);font-weight:600;text-decoration:none;border-bottom:1px solid var(--orange);}
.read-more-box a:hover{color: var(--orange-ink);}

/* App mode: strip website chrome when a form is opened from the mobile app (?app=1) */
body.appmode #nav,body.appmode .mobile-nav,body.appmode #mob-nav,body.appmode footer,body.appmode .mob-cta,body.appmode .mob-sticky,body.appmode .moverlay{display:none!important}
.app-bar-strip{position:sticky;top:0;z-index:200;background:#232427;display:flex;align-items:center;gap:6px;padding:13px 16px}
body.appmode .inner-hero{padding-top:1.5rem!important}

/* === mobile horizontal-overflow guard (added 2026-07-18) === */
html,body{overflow-x:hidden;}
img,svg,video,iframe,table,pre{max-width:100%;}
.btn-outline-w{white-space:normal;overflow-wrap:break-word;word-break:break-word;}
.btn,.btn-orange,.btn-white,.btn-ghost,.btn-outline{overflow-wrap:break-word;max-width:100%;}

/* Forms & Documents box — always 4-across on desktop, 2 on tablet, 1 on mobile */
.atf-fdocs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;}
@media(max-width:820px){.atf-fdocs-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:480px){.atf-fdocs-grid{grid-template-columns:1fr;}}

@media (max-width: 800px){ .hero-bg { background-image: url('img/hero/home-hero-800.webp'); } }

/* accessible orange: darker ink on light backgrounds, brand orange on dark ones */
.hero, .inner-hero, .agent-hero, .statsbar, footer, .mobile-nav, .calc-out, .navy-band, .dark, .why, .testimonials, .faq-cta, .contact-left, .rating-banner, .app-bar-strip, .btn-navy, .step-n, [style*="--navy"], [style*="1C2B3A"], [style*="1c2b3a"], [style*="16222F"], [style*="28, 43, 58"], [style*="46,47,51"], [style*="35,36,39"], [style*="22, 34, 47"] { --orange-ink: var(--orange); }
/* light cards inside dark sections go back to the darker ink */
[style*="background:#fff"], [style*="background: #fff"], [style*="background:#FFF"], [style*="background:var(--white)"], [style*="background: var(--white)"], [style*="background:var(--cream"], [style*="background: var(--cream"], [style*="background:#F8F7F5"], [style*="background: rgb(255"], [style*="background:rgb(255"], [style*="254, 246, 236"], [style*="background:#FEF6EC"], .calc-card, .card, .white-card { --orange-ink: #0077A8; }

/* --- mobile Text Us button (atf-site.js) --- */
.mob-sms{display:none;position:fixed;right:12px;bottom:12px;z-index:9999;background:var(--navy);color:var(--white);padding:.7rem 1.05rem .7rem .9rem;border-radius:999px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.28);align-items:center;gap:7px;line-height:1;transition:bottom .2s}
.mob-sms svg{width:17px;height:17px;fill:var(--orange);flex:0 0 auto}
@media (max-width:768px){.mob-sms{display:flex}}
