/* Butler Title — shared styles (Title Engine). Brand: cyan #00A2D9, charcoal #16232E */
:root{
  --navy:#16232E; --navy-d:#0E1820; --navy-l:#24394A; --cyan:#00A2D9;
  --orange:#0089BA; --orange-d:#00739D;
  --ink:#1c2430; --gray:#5c6675; --line:#DCE6EE; --bg:#F3F7FA; --white:#fff;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
img{max-width:100%;height:auto;display:block;}
html{scroll-behavior:smooth;}
body{font-family:var(--sans);color:var(--ink);background:var(--white);line-height:1.65;overflow-x:hidden;-webkit-font-smoothing:antialiased;}
a{color:var(--navy);text-decoration:none;}
.wrap{max-width:1180px;margin:0 auto;padding:0 5%;}
h1,h2,h3,h4{line-height:1.18;color:var(--navy);font-weight:800;letter-spacing:-.01em;}
h1{font-size:clamp(2rem,4.6vw,3.3rem);}
h2{font-size:clamp(1.6rem,3.2vw,2.4rem);}
h3{font-size:1.2rem;}
.eyebrow{display:inline-block;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);margin-bottom:.6rem;}
p{color:var(--gray);}
.btn{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:.95rem;padding:.85rem 1.6rem;border-radius:8px;border:2px solid transparent;cursor:pointer;transition:.2s;text-align:center;}
.btn-primary{background:var(--orange);color:#fff;border-color:var(--orange);}
.btn-primary:hover{background:var(--orange-d);border-color:var(--orange-d);}
.btn-navy{background:var(--navy);color:#fff;border-color:var(--navy);}
.btn-navy:hover{background:var(--navy-d);}
.btn-ghost{background:transparent;color:var(--navy);border-color:var(--navy);}
.btn-ghost:hover{background:var(--navy);color:#fff;}
.btn-ghost-w{background:transparent;color:#fff;border-color:rgba(255,255,255,.6);}
.btn-ghost-w:hover{background:#fff;color:var(--navy);border-color:#fff;}

/* top bar */
.topbar{background:var(--navy-d);color:#cfe0e9;font-size:.82rem;}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-top:.5rem;padding-bottom:.5rem;flex-wrap:wrap;}
.topbar a{color:#fff;font-weight:600;}
.topbar .tb-r{display:flex;gap:1.3rem;align-items:center;flex-wrap:wrap;}

/* nav */
nav.main{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line);}
nav.main .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.5rem;padding-bottom:.5rem;}
.logo{flex-shrink:0;}
.logo img{height:54px;width:auto;display:block;flex-shrink:0;}
.navlinks{display:flex;align-items:center;gap:1.35rem;list-style:none;flex:1;justify-content:center;white-space:nowrap;}
.navlinks a{color:var(--navy);font-weight:600;font-size:.95rem;white-space:nowrap;}
.navlinks a:hover{color:var(--orange);}
.nav-cta{margin-left:1rem;flex-shrink:0;}
.ham{display:none;background:none;border:0;cursor:pointer;flex-direction:column;gap:5px;padding:6px;}
.ham span{width:26px;height:2px;background:var(--navy);border-radius:2px;display:block;}
.mobnav{display:none;background:#fff;border-bottom:1px solid var(--line);padding:.5rem 5% 1rem;}
.mobnav a{display:block;padding:.7rem 0;border-bottom:1px solid var(--line);color:var(--navy);font-weight:600;}
@media(max-width:940px){
  .navlinks{display:none;} .ham{display:flex;} .mobnav.open{display:block;}
  .logo img{height:42px;}
  .nav-cta{margin-left:.5rem;padding:.6rem .9rem;font-size:.82rem;}
}
@media(max-width:560px){
  .nav-cta{display:none;}
  .logo img{height:40px;}
}

/* hero */
.hero{position:relative;background:linear-gradient(135deg,var(--navy) 0%,var(--navy-d) 100%);color:#fff;overflow:hidden;}
.hero::after{content:"";position:absolute;right:-80px;top:-60px;width:420px;height:420px;background:radial-gradient(circle,rgba(0,162,217,.22),transparent 70%);}
.hero .wrap{position:relative;z-index:2;padding-top:4.5rem;padding-bottom:4.5rem;max-width:900px;}
.hero h1{color:#fff;max-width:760px;}
.hero h1 span{color:var(--orange);}
.hero p.lead{color:#d3e3ec;font-size:1.12rem;margin:1.1rem 0 1.8rem;max-width:620px;}
.hero .cta-row{display:flex;gap:.8rem;flex-wrap:wrap;}
.hero .local-pill{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fff;padding:.4rem 1rem;border-radius:99px;font-size:.82rem;font-weight:600;margin-bottom:1.2rem;}

/* trust strip */
.trust{background:var(--bg);border-bottom:1px solid var(--line);}
.trust .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;padding-top:1.6rem;padding-bottom:1.6rem;}
.trust .t{display:flex;gap:.7rem;align-items:flex-start;}
.trust .t .ic{color:var(--orange);flex-shrink:0;}
.trust .t b{color:var(--navy);display:block;font-size:.95rem;}
.trust .t span{font-size:.82rem;color:var(--gray);}

/* sections */
section{padding:4rem 0;}
.sec-head{text-align:center;max-width:680px;margin:0 auto 2.4rem;}
.sec-head p{margin-top:.6rem;}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem;}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.7rem;transition:.2s;}
.card:hover{border-color:var(--orange);box-shadow:0 10px 30px rgba(22,35,46,.08);transform:translateY(-3px);}
.card .ic{width:48px;height:48px;border-radius:11px;background:rgba(0,162,217,.12);color:var(--orange);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;}
.card h3{margin-bottom:.4rem;}
.card p{font-size:.92rem;}
.card .more{display:inline-block;margin-top:.9rem;color:var(--orange);font-weight:700;font-size:.9rem;}

.alt{background:var(--bg);}
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:2.5rem;align-items:center;}

/* service area */
.area-list{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.2rem;}
.area-list span{background:#fff;border:1px solid var(--line);border-radius:99px;padding:.45rem 1rem;font-size:.86rem;font-weight:600;color:var(--navy);}

/* calculators / forms strip */
.chip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:.9rem;}
.chip{display:flex;align-items:center;gap:.7rem;background:#fff;border:1px solid var(--line);border-radius:11px;padding:1rem 1.15rem;font-weight:600;color:var(--navy);transition:.2s;}
.chip:hover{border-color:var(--orange);color:var(--orange-d);}
.chip .ic{color:var(--orange);flex-shrink:0;}

/* CTA band */
.ctaband{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-l) 100%);color:#fff;border-radius:18px;padding:3rem 2rem;text-align:center;}
.ctaband h2{color:#fff;}
.ctaband p{color:#d3e3ec;max-width:520px;margin:.7rem auto 1.6rem;}

/* lead form */
.leadcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:2rem;box-shadow:0 14px 40px rgba(22,35,46,.08);}
.leadcard .field{margin-bottom:.8rem;}
.leadcard label{display:block;font-size:.82rem;font-weight:700;color:var(--navy);margin-bottom:.3rem;}
.leadcard input,.leadcard select,.leadcard textarea{width:100%;border:1.5px solid var(--line);border-radius:8px;padding:.8rem .9rem;font-size:.95rem;font-family:inherit;color:var(--ink);outline:none;}
.leadcard input:focus,.leadcard select:focus,.leadcard textarea:focus{border-color:var(--orange);}
.leadcard .hp{position:absolute;left:-9999px;}
.leadok{display:none;text-align:center;padding:1rem 0;}
.leadok svg{color:#1a9e57;width:46px;height:46px;margin:0 auto .6rem;}
.finehelp{font-size:.78rem;color:var(--gray);margin-top:.6rem;text-align:center;}

/* footer */
footer{background:var(--navy-d);color:#b9ccd8;padding:3.4rem 0 1.6rem;font-size:.9rem;}
footer h4{color:#fff;font-size:.95rem;margin-bottom:1rem;}
footer a{color:#b9ccd8;}
footer a:hover{color:#fff;}
.foot{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:2rem;}
.foot .logo-w{background:#fff;border-radius:10px;padding:8px 12px;display:inline-block;margin-bottom:1rem;}
.foot .logo-w img{height:40px;}
.foot ul{list-style:none;display:flex;flex-direction:column;gap:.5rem;}
.footbot{border-top:1px solid rgba(255,255,255,.12);margin-top:2.4rem;padding-top:1.4rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.82rem;color:#8ea5b3;}

@media(max-width:860px){
  .trust .wrap{grid-template-columns:1fr 1fr;}
  .grid3{grid-template-columns:1fr;}
  .grid2{grid-template-columns:1fr;}
  .split{grid-template-columns:1fr;gap:1.6rem;}
  .foot{grid-template-columns:1fr 1fr;}
}
@media(max-width:520px){
  .trust .wrap{grid-template-columns:1fr;}
  .foot{grid-template-columns:1fr;}
  .topbar .tb-l{display:none;}
}

.area-list a.area-link{text-decoration:none;}
.area-list a.area-link:hover span{border-color:var(--orange);color:var(--orange-d);}

/* ---- Lead form: styles for pages with no .leadcard wrapper ----
   41 pages carry a bare <form class="leadform"> that is NOT inside a .leadcard, so
   every rule scoped to `.leadcard input` / `.leadcard label` / `.leadcard .hp` missed
   them entirely. Symptoms: inputs rendered as unstyled 143px browser defaults with a
   2px inset border, labels were inline and unbolded, and -- critically -- the honeypot
   was VISIBLE as a stray unlabeled text box. contact.php discards any submission with
   that field filled and still returns success, so a visitor who typed in it lost their
   lead and saw "thank you" anyway. */
.leadform .field{margin-bottom:.8rem;}
.leadform label{display:block;font-size:.82rem;font-weight:700;color:var(--navy);margin-bottom:.3rem;}
.leadform input,.leadform select,.leadform textarea{width:100%;border:1.5px solid var(--line);border-radius:8px;padding:.8rem .9rem;font-size:.95rem;font-family:inherit;color:var(--ink);outline:none;box-sizing:border-box;}
.leadform input:focus,.leadform select:focus,.leadform textarea:focus{border-color:var(--orange);}
/* Belt and braces: hide the honeypot by its own class, everywhere, regardless of wrapper. */
.hp{position:absolute !important;left:-9999px !important;width:1px !important;}

/* ---- Mobile form fixes, site-wide ----
   Every form card (.leadcard, .calcbox, .iscard) used padding:2rem with no mobile
   override. On a 375px phone that stacked on top of .wrap's 5% inset and pushed the
   fields ~51px from the screen edge while all body text sat at ~19px.
   !important is required: .calcbox and .iscard are defined in per-page <style> blocks
   that load AFTER this file, so equal-specificity rules here would lose. */
@media(max-width:560px){
  .leadcard,.calcbox,.iscard{padding:1.15rem 1.1rem !important;border-radius:14px !important;}
  .leadcard .field,.leadform .field{margin-bottom:1rem;}
  .leadcard label,.leadform label{font-size:.86rem;margin-bottom:.35rem;}
  .finehelp{font-size:.8rem;}
  /* .calcrow is a 2-col grid with no mobile override: each input landed at ~129px
     wide inside the padded box. Stack them; .field margins supply the spacing. */
  .calcrow{grid-template-columns:1fr !important;gap:0 !important;}
  #contact .split > div:first-child ul{margin-top:1.1rem !important;gap:.65rem !important;}
}
/* A 16px minimum stops iOS Safari zooming the page in on field focus and never zooming
   back out. Bare `input` is deliberate: 111 inputs across the site carry no type
   attribute, so an input[type=...] selector never matches them. */
@media(max-width:820px){
  input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px !important;}
}


/* Footer build credit. .footbot is a wrapping flex row, so this sits as a third item. */
.te-foot a{color:#b9ccd8;text-decoration:none;border-bottom:1px solid rgba(185,204,216,.35);}
.te-foot a:hover,.te-foot a:focus-visible{color:#fff;border-bottom-color:#fff;}

/* ---- Title Engine credit, calculator cards ----
   Sits at the very bottom of the card, under the disclaimer, separated by a hairline.
   Set as a tiny uppercase label rather than body text so it reads as a card footer
   instead of a second competing line of grey fine print next to the disclaimer. */
.te-credit{margin-top:.9rem;padding-top:.7rem;border-top:1px solid var(--line);text-align:center;}
.te-credit a{display:inline-flex;align-items:center;gap:5px;color:#a2a8b0;text-decoration:none;
  font:600 9.5px/1 system-ui,-apple-system,"Segoe UI",sans-serif;text-transform:uppercase;
  letter-spacing:.075em;transition:color .15s;}
.te-credit a:hover,.te-credit a:focus-visible{color:#1277C4;}
.te-credit a:focus-visible{outline:2px solid #1277C4;outline-offset:3px;border-radius:2px;}
.te-mark{flex:0 0 auto;border-radius:2px;opacity:.85;transition:opacity .15s;}
.te-credit a:hover .te-mark{opacity:1;}

/* ===== Butler Title additions ===== */
.hero h1 span,.eb-hero{color:var(--cyan)!important;}
.hero::after{background:radial-gradient(circle,rgba(0,162,217,.28),transparent 70%);}
.hero .crumbs{font-size:.82rem;color:#a9c3d1;margin-bottom:.9rem;}
.hero .crumbs a{color:#d3e3ec;}
.logo img{height:46px;}
.foot-offices{display:grid;grid-template-columns:1fr 4fr;gap:2rem;border-top:1px solid rgba(255,255,255,.12);margin-top:2.4rem;padding-top:2rem;}
.foot-offices h4{color:#fff;font-size:.95rem;margin-bottom:.8rem;}
.foot-offices p,.fo-grid span{color:#b9ccd8;font-size:.86rem;line-height:1.55;}
.fo-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1.2rem;}
.fo-grid b{display:block;margin-bottom:.25rem;font-size:.86rem;}
.fo-grid b a,.fo-main a{color:#fff;}
@media(max-width:1100px){.foot-offices{grid-template-columns:1fr;}.fo-grid{grid-template-columns:repeat(3,1fr);}}
@media(max-width:560px){.fo-grid{grid-template-columns:1fr;}}
.gmap{width:100%;border:0;border-radius:10px;margin-top:.8rem;display:block;background:var(--bg);}
.card.office h3 a{color:var(--navy);}
.officelist b a{color:var(--navy);}
.cobrand img[src="logo.png"]{object-fit:contain;}
/* full-width header so the logo sits closer to the left edge */
nav.main .wrap,.topbar .wrap{max-width:1480px;padding-left:2.5%;padding-right:2.5%;}
.foot .logo-w{background:transparent;padding:0;}
.foot .logo-w img{height:34px;width:auto;}
.foot{grid-template-columns:1.5fr 1fr 1fr 1fr 1.1fr;}
.foot-about{color:#b9ccd8;max-width:300px;}
.disclaimer{font-size:.76rem;color:#8ea5b3;margin-top:2rem;line-height:1.55;max-width:900px;}
a.card{display:block;color:inherit;}
.card .ic{font-size:1.4rem;}
.prose{max-width:820px;}
.prose h2{margin:1.8rem 0 .6rem;font-size:clamp(1.35rem,2.4vw,1.75rem);}
.prose h2:first-child{margin-top:0;}
.prose p{margin-bottom:1rem;}
.prose a,.lnk{color:var(--orange);font-weight:600;}
.ticks{list-style:none;display:flex;flex-direction:column;gap:.55rem;margin:.4rem 0 1.1rem;}
.ticks li{position:relative;padding-left:1.6rem;color:var(--ink);}
.ticks li::before{content:"✓";position:absolute;left:0;color:var(--orange);font-weight:800;}
.darkcard{background:var(--navy)!important;border:none!important;color:#fff;}
.darkcard h3{color:#fff;}
.darkcard p{color:#d3e3ec;margin-top:.7rem;}
.lnk-w{color:var(--cyan);font-weight:700;}
.split-top{align-items:start;}
.officecard .addr{color:var(--ink);font-weight:600;margin:.6rem 0;}
.officecard iframe{width:100%;height:220px;border:0;border-radius:10px;margin-top:.8rem;}
.officelist{list-style:none;display:flex;flex-direction:column;gap:.8rem;margin-top:1.4rem;color:var(--gray);font-size:.95rem;}
.officelist b{color:var(--navy);}
.faqs details{background:#fff;border:1px solid var(--line);border-radius:10px;padding:1rem 1.2rem;margin-bottom:.7rem;}
.faqs summary{font-weight:700;color:var(--navy);cursor:pointer;}
.faqs details p{margin:.7rem 0 0;}
.stopbox{background:#FFF1F0;border:2px solid #E2554B;border-radius:12px;padding:1.2rem 1.4rem;margin-bottom:1.4rem;}
.stopbox b{color:#B3261E;font-size:1.15rem;}
.stopbox p{margin:.5rem 0 0;color:#5a2723;}
.bigcall{font-size:1.25rem;font-weight:700;color:var(--navy);background:var(--bg);border-radius:10px;padding:1rem 1.2rem;}
.leadbox-sec{padding:3.5rem 0;}
.leadbox{max-width:560px;margin:0 auto;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:2rem 1.8rem;}
.lb-head{text-align:center;margin-bottom:1.3rem;}
.lb-eye{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);margin-bottom:.6rem;}
.lb-head h2{font-size:1.6rem;margin:0 0 .4rem;}
.lb-head a{color:var(--orange);font-weight:700;}
.calc-help{background:#fff;border:1px solid var(--line);border-left:4px solid var(--cyan);border-radius:10px;padding:1rem 1.2rem;color:var(--gray);font-size:.92rem;}
.calc-help a{color:var(--orange);font-weight:700;}
/* ported calculators: map Atlantic Title variable names onto Butler colors */
.atf-tool{--cream:#F3F7FA;--border:#DCE6EE;--white:#fff;--orange-ink:#00739D;--orange2:#006C94;--orange3:#E6F5FB;
  --serif:var(--sans);--shadow:0 10px 30px rgba(22,35,46,.08);--text:var(--ink);--muted:var(--gray);--green:#1a9e57;}
.atf-tool section{padding:3.4rem 5%;}
.atf-tool .inner{max-width:1180px;margin:0 auto;}
.atf-tool h2,.atf-tool h3{font-family:var(--sans);}
@media(max-width:1100px){.foot{grid-template-columns:1fr 1fr 1fr;}}
@media(max-width:1400px){.navlinks{gap:.95rem;}.navlinks a{font-size:.88rem;}.nav-cta{padding:.65rem 1.05rem;font-size:.86rem;margin-left:.6rem;}.logo img{height:40px;}}
@media(max-width:1140px){.navlinks{display:none;}.ham{display:flex;}.mobnav.open{display:block;}}
@media(max-width:940px){.logo img{height:34px;}}
@media(max-width:560px){.logo img{height:28px;max-width:62vw;}}
@media(max-width:560px){.foot{grid-template-columns:1fr;}.leadbox{padding:1.4rem 1.1rem;}}
