/* ============================================================
   A&M Homecare — site stylesheet
   Brand palette (from brand exports, July 2026):
   forest green #2f6f4e · deep navy #17384a · gold #e39b34
   Variable names kept from the original build:
     --teal  → brand FOREST GREEN (primary / buttons / links)
     --navy  → brand DEEP NAVY (headings / footer)
     --amber → brand GOLD (action accents)
   ============================================================ */
:root{
  --navy:#17384a; --navy2:#265670;
  --teal:#2f6f4e; --teal-dark:#245a3e; --teal-light:#e9f2ec;
  --amber:#e39b34; --amber-dark:#c07f1d;
  --cream:#f9f8f4; --ink:#22313b; --gray:#5b6b76; --line:#e6e8e6;
}
*{box-sizing:border-box; margin:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif; color:var(--ink); background:#fff; font-size:16px; line-height:1.6}
img{max-width:100%}
.serif{font-family:'Fraunces',Georgia,serif}
.wrap{max-width:1120px; margin:0 auto; padding:0 24px}

/* ---------- top banner ---------- */
.banner{background:linear-gradient(90deg,var(--navy),var(--navy2)); color:#dbe7f3; text-align:center; padding:9px 16px; font-size:13.5px}
.banner b{color:var(--amber)}
.banner a{color:var(--amber); font-weight:700}

/* ---------- header / nav ---------- */
header{background:#fff; position:sticky; top:0; z-index:50; box-shadow:0 1px 0 var(--line)}
.navbar{display:flex; align-items:center; justify-content:space-between; gap:16px; max-width:1120px; margin:0 auto; padding:14px 24px}
.logo{display:flex; align-items:center; text-decoration:none}
.logo img{height:48px; width:auto; flex-shrink:0}
nav.mainnav{display:flex; gap:2px; align-items:center}
nav.mainnav > div{position:relative}
nav.mainnav a.top{display:block; color:var(--ink); text-decoration:none; font-size:14px; font-weight:600; padding:9px 12px; border-radius:8px; white-space:nowrap}
nav.mainnav a.top:hover, nav.mainnav a.top.active{background:var(--teal-light); color:var(--teal-dark)}
.drop{display:none; position:absolute; top:100%; left:0; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 14px 40px rgba(18,44,73,.14); padding:8px; min-width:230px}
nav.mainnav > div:hover .drop, nav.mainnav > div:focus-within .drop{display:block}
.drop a{display:block; padding:9px 12px; border-radius:8px; color:var(--ink); text-decoration:none; font-size:13.5px; font-weight:500}
.drop a:hover{background:var(--teal-light); color:var(--teal-dark)}
.call{display:inline-flex; align-items:center; gap:8px; background:var(--amber); color:#3a2704; font-weight:800; padding:11px 20px; border-radius:99px; text-decoration:none; font-size:14.5px; white-space:nowrap; box-shadow:0 4px 14px rgba(240,164,55,.4); transition:.2s}
.call:hover{background:var(--amber-dark); color:#fff}
.call.mobileshow{display:none} /* only shown inside the mobile menu */
.portal{display:inline-flex; align-items:center; gap:6px; background:transparent; color:var(--navy); font-weight:700; padding:10px 16px; border-radius:99px; text-decoration:none; font-size:13.5px; white-space:nowrap; border:1.5px solid var(--navy); transition:.18s; margin-right:8px}
.portal:hover{background:var(--navy); color:#fff}
.portal.mobileshow{display:none}
/* mobile nav */
#navtoggle{display:none}
.hamburger{display:none; font-size:26px; cursor:pointer; color:var(--navy); user-select:none; padding:4px 10px}

/* ---------- buttons ---------- */
.btn{display:inline-flex; align-items:center; gap:8px; padding:14px 26px; border-radius:12px; font-weight:700; text-decoration:none; font-size:16px; transition:.2s; border:0; cursor:pointer; font-family:'Inter',sans-serif}
.btn.primary{background:var(--teal); color:#fff; box-shadow:0 8px 22px rgba(23,126,120,.35)}
.btn.primary:hover{background:var(--teal-dark); transform:translateY(-2px)}
.btn.ghost{background:#fff; color:var(--navy); border:2px solid var(--navy)}
.btn.ghost:hover{background:var(--navy); color:#fff}
.btn.amber{background:linear-gradient(180deg,var(--amber),var(--amber-dark)); color:#fff; box-shadow:0 8px 20px rgba(217,139,26,.4)}
.btn.amber:hover{transform:translateY(-2px)}
.arrowlink{color:var(--teal-dark); font-weight:800; text-decoration:none; font-size:15px}
.arrowlink:hover{text-decoration:underline}

/* ---------- hero (homepage) ---------- */
.hero{position:relative; overflow:hidden; background:
    radial-gradient(900px 500px at 85% -10%, rgba(23,126,120,.16), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(240,164,55,.14), transparent 60%),
    var(--cream);
  padding:64px 0 72px}
.hero::after{content:""; position:absolute; right:-120px; top:-120px; width:420px; height:420px; border-radius:50%; border:70px solid rgba(23,126,120,.07)}
.herogrid{display:grid; grid-template-columns:1.12fr .88fr; gap:48px; align-items:center; position:relative; z-index:1}
.eyebrow{display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); color:var(--teal-dark); font-size:12.5px; font-weight:700; padding:7px 14px; border-radius:99px; margin-bottom:20px; box-shadow:0 2px 8px rgba(0,0,0,.05)}
.eyebrow .dot{width:8px;height:8px;border-radius:50%;background:var(--teal)}
h1{font-family:'Fraunces',serif; color:var(--navy); font-weight:600; letter-spacing:-.5px}
.hero h1{font-size:48px; line-height:1.08; margin-bottom:18px}
.hero h1 em{color:var(--teal); font-style:italic}
.lede{color:var(--gray); font-size:18px; line-height:1.65; margin-bottom:28px; max-width:540px}
.trustline{display:flex; gap:22px; flex-wrap:wrap; margin-top:26px; font-size:13.5px; color:var(--gray); font-weight:600}
.trustline span::before{content:"✓ "; color:var(--teal); font-weight:800}

/* ---------- page hero (interior pages) ---------- */
.pagehero{background:
    radial-gradient(700px 300px at 90% -20%, rgba(23,126,120,.14), transparent 60%),
    var(--cream);
  padding:56px 0 48px; border-bottom:1px solid var(--line)}
.pagehero h1{font-size:40px; line-height:1.12; margin:10px 0 14px}
.pagehero .lede{margin-bottom:0}
.crumbs{font-size:13px; color:var(--gray)}
.crumbs a{color:var(--teal-dark); text-decoration:none; font-weight:600}

/* ---------- form card ---------- */
.card{background:rgba(255,255,255,.92); border:1px solid #fff; border-radius:20px; padding:30px; box-shadow:0 24px 60px rgba(18,44,73,.18)}
.card h3{font-family:'Fraunces',serif; color:var(--navy); font-size:24px; margin-bottom:4px}
.card .cp{font-size:13.5px; color:var(--gray); margin-bottom:12px}
.card label{font-size:12px; font-weight:700; color:var(--navy); display:block; margin:12px 0 5px; text-transform:uppercase; letter-spacing:.4px}
.card input,.card select,.card textarea{width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px; font-size:14.5px; background:#fff; font-family:'Inter',sans-serif; color:var(--ink)}
.card input:focus,.card select:focus,.card textarea:focus{outline:none; border-color:var(--teal)}
.card button{width:100%; margin-top:20px}
.card small{display:block; text-align:center; color:var(--gray); margin-top:12px; font-size:12px}
.card small b{color:var(--navy)}

/* ---------- stat strip ---------- */
.stats{display:grid; grid-template-columns:repeat(4,1fr); background:var(--navy); color:#fff; text-align:center}
.stat{padding:28px 12px; border-right:1px solid rgba(255,255,255,.09)}
.stat:last-child{border-right:0}
.stat .n{font-family:'Fraunces',serif; font-size:32px; font-weight:600; color:var(--amber)}
.stat .l{font-size:12.5px; color:#a9bdd3; margin-top:4px; font-weight:600; letter-spacing:.3px}

/* ---------- sections ---------- */
section{padding:72px 0}
section.tight{padding:52px 0}
section.creambg{background:var(--cream)}
.kicker{color:var(--teal); font-weight:800; font-size:12.5px; text-transform:uppercase; letter-spacing:2px; margin-bottom:10px}
h2{font-family:'Fraunces',serif; color:var(--navy); font-size:33px; font-weight:600; margin-bottom:12px; letter-spacing:-.3px}
h3{color:var(--navy)}
.sub{color:var(--gray); margin-bottom:36px; max-width:640px; font-size:16.5px; line-height:1.6}
.prose{max-width:720px; color:var(--ink)}
.prose p{margin-bottom:16px; line-height:1.75}
.prose ul{margin:0 0 16px 22px}
.prose li{margin-bottom:8px}

/* ---------- cards & grids ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:26px}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}
.grid2{display:grid; grid-template-columns:repeat(2,1fr); gap:24px}
.pathcard{border-radius:20px; padding:36px; position:relative; overflow:hidden; transition:.25s; border:1px solid var(--line); background:#fff}
.pathcard:hover{transform:translateY(-4px); box-shadow:0 18px 40px rgba(18,44,73,.12)}
.pathcard.a{background:linear-gradient(160deg,var(--teal-light),#fff 65%)}
.pathcard.b{background:linear-gradient(160deg,#fdf1dc,#fff 65%)}
.pathcard .icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:24px;margin-bottom:18px;color:#fff;background:var(--teal)}
.pathcard.b .icon{background:var(--amber)}
.pathcard h3{font-family:'Fraunces',serif; font-size:22px; margin-bottom:10px}
.pathcard p{color:var(--gray); font-size:14.5px; line-height:1.6}
.pathcard ul{margin:16px 0 22px 2px; list-style:none}
.pathcard li{color:var(--ink); font-size:14.5px; padding:5px 0 5px 26px; position:relative}
.pathcard li::before{content:"✓"; position:absolute; left:0; color:var(--teal); font-weight:800}
.pathcard.b li::before{color:var(--amber-dark)}
.pathcard.b .arrowlink{color:var(--amber-dark)}

.svc{background:#fff; border-radius:20px; overflow:hidden; border:1px solid var(--line); transition:.25s; display:flex; flex-direction:column}
.svc:hover{transform:translateY(-4px); box-shadow:0 18px 40px rgba(18,44,73,.12)}
.svc .ph{height:150px; background:url('stock-personal-care.jpg') center/cover no-repeat}
.svc .ph.b{background:linear-gradient(135deg,#17384a,#2f6b8c); display:grid; place-items:center; font-size:44px; color:rgba(255,255,255,.9)}
.svc .ph.c{background:url('stock-family-caregiver.jpg') center/cover no-repeat}
.photoband{height:320px; border-radius:24px; background-size:cover; background-position:center; background-repeat:no-repeat; box-shadow:0 18px 40px rgba(18,44,73,.16)}
@media(max-width:720px){.photoband{height:220px}}
.svc .body{padding:24px; display:flex; flex-direction:column; gap:10px; flex:1}
.svc h3{font-family:'Fraunces',serif; font-size:19px}
.svc p{font-size:14px; color:var(--gray); line-height:1.6; flex:1}

/* feature list (what's included) */
.features{display:grid; grid-template-columns:repeat(2,1fr); gap:14px; max-width:820px}
.feat{display:flex; gap:14px; background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px}
.feat .fi{width:42px;height:42px;border-radius:12px;background:var(--teal-light);display:grid;place-items:center;font-size:20px;flex-shrink:0}
.feat b{color:var(--navy); display:block; font-size:15px; margin-bottom:2px}
.feat span{color:var(--gray); font-size:13.5px; line-height:1.5}

/* steps / how it works */
.steps{counter-reset:step; max-width:760px}
.step{display:flex; gap:20px; padding:22px 0; border-bottom:1px solid var(--line)}
.step:last-child{border-bottom:0}
.step .num{counter-increment:step; flex-shrink:0; width:44px; height:44px; border-radius:50%; background:var(--navy); color:#fff; display:grid; place-items:center; font-weight:800; font-family:'Fraunces',serif; font-size:18px}
.step .num::before{content:counter(step)}
.step b{color:var(--navy); font-size:16.5px; display:block; margin-bottom:4px}
.step p{color:var(--gray); font-size:14.5px; line-height:1.6}

/* ---------- pay section ---------- */
.pay{background:
    radial-gradient(700px 400px at 90% 0%, rgba(240,164,55,.15), transparent 55%),
    linear-gradient(140deg,var(--navy) 0%, var(--navy2) 100%);
  color:#fff}
.pay h2{color:#fff}
.pay .sub{color:#b8c9dc}
.pay .kicker{color:var(--amber)}
.paygrid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:28px}
.paycard{background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); border-radius:16px; padding:22px 18px; transition:.2s}
.paycard:hover{background:rgba(255,255,255,.13)}
.paycard .e{font-size:26px; margin-bottom:10px}
.paycard b{display:block; font-size:15px; margin-bottom:4px}
.paycard span{font-size:12.5px; color:#a9bdd3; line-height:1.5}
.pay .btn.primary{background:var(--amber); color:#3a2704; box-shadow:0 8px 22px rgba(240,164,55,.35)}
.pay .btn.primary:hover{background:#fff}

/* ---------- testimonials ---------- */
.quotes{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}
.q{background:#fff; border:1px solid var(--line); border-radius:20px; padding:28px; position:relative; box-shadow:0 8px 24px rgba(18,44,73,.06)}
.q::before{content:"“"; font-family:'Fraunces',serif; font-size:64px; color:var(--teal-light); position:absolute; top:6px; right:20px; line-height:1}
.stars{color:var(--amber); letter-spacing:3px; margin-bottom:12px; font-size:15px}
.q p{font-size:14.5px; line-height:1.65; color:var(--ink); font-style:italic}
.q .who{display:flex; align-items:center; gap:10px; margin-top:18px}
.q .av{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:14px;background:var(--teal)}
.q:nth-child(2) .av{background:var(--navy2)} .q:nth-child(3) .av{background:var(--amber)}
.q .who b{font-size:13.5px; color:var(--navy)} .q .who span{display:block; font-size:12px; color:var(--gray)}

/* ---------- locations ---------- */
.states{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.st{border:1px solid var(--line); border-radius:16px; padding:22px; font-size:14px; background:#fff; transition:.2s; position:relative; display:block; text-decoration:none}
.st:hover{border-color:var(--teal); box-shadow:0 10px 26px rgba(18,44,73,.08); transform:translateY(-2px)}
.st .flag{font-size:22px; margin-bottom:10px; display:block}
.st b{color:var(--navy); display:block; margin-bottom:4px; font-size:15.5px}
.st span{color:var(--gray); font-size:13px; line-height:1.55}
.st .tag{position:absolute; top:16px; right:16px; background:var(--teal-light); color:var(--teal-dark); font-size:10.5px; font-weight:800; padding:3px 9px; border-radius:99px; letter-spacing:.5px}
.st.soon{border-style:dashed; background:var(--cream)}
.st.soon .tag{background:#fdf1dc; color:var(--amber-dark)}

/* office info card */
.office{display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:start}
.infocard{background:#fff; border:1px solid var(--line); border-radius:20px; padding:30px; box-shadow:0 8px 24px rgba(18,44,73,.06)}
.infocard h3{font-family:'Fraunces',serif; font-size:20px; margin-bottom:14px}
.infocard .row{display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); font-size:14.5px}
.infocard .row:last-child{border-bottom:0}
.infocard .row .ri{width:22px; text-align:center}
.infocard .row a{color:var(--teal-dark); font-weight:700; text-decoration:none}

/* ---------- about / team ---------- */
.team{display:grid; grid-template-columns:300px 1fr; gap:44px; align-items:center}
.avatarbox{height:280px; border-radius:24px; background:linear-gradient(135deg,var(--teal),var(--navy)); display:grid; place-items:center; color:rgba(255,255,255,.85); font-size:15px; font-weight:600; box-shadow:0 18px 40px rgba(18,44,73,.2); text-align:center; padding:20px}
.founders{width:100%; border-radius:24px; box-shadow:0 18px 40px rgba(18,44,73,.22); display:block}

/* ---------- team ---------- */
.teamgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}
.tm{background:#fff; border:1px solid var(--line); border-radius:20px; overflow:hidden; text-decoration:none; transition:.25s; display:block}
.tm:hover{transform:translateY(-4px); box-shadow:0 18px 40px rgba(18,44,73,.14)}
.tm img{width:100%; height:280px; object-fit:cover; object-position:top center; display:block}
.tm .tmbody{padding:20px 22px 22px}
.tm b{display:block; font-family:'Fraunces',serif; color:var(--navy); font-size:18px; margin-bottom:4px}
.tm span{display:block; color:var(--teal-dark); font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.6px; margin-bottom:10px}
.tm em{color:var(--gray); font-size:13.5px; font-style:normal; font-weight:600}
.biogrid{display:grid; grid-template-columns:340px 1fr; gap:44px; align-items:start}
.biophoto{width:100%; border-radius:24px; box-shadow:0 18px 40px rgba(18,44,73,.2); display:block; position:sticky; top:96px}
.factbox{background:var(--teal-light); border-radius:20px; padding:28px; margin-top:28px}
.factbox h3{font-family:'Fraunces',serif; color:var(--navy); font-size:19px; margin-bottom:14px}
.factbox ul{list-style:none; margin:0}
.factbox li{padding:6px 0 6px 28px; position:relative; font-size:14.5px; color:var(--ink)}
.factbox li::before{content:"✓"; position:absolute; left:0; color:var(--teal); font-weight:800}
@media(max-width:960px){
  .teamgrid{grid-template-columns:1fr 1fr}
  .biogrid{grid-template-columns:1fr}
  .biophoto{position:static; max-width:340px}
}
@media(max-width:600px){ .teamgrid{grid-template-columns:1fr} }

/* ---------- blog ---------- */
.bloggrid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:920px}
.bpost{display:block; background:#fff; border:1px solid var(--line); border-radius:20px; padding:30px; text-decoration:none; transition:.25s}
.bpost:hover{transform:translateY(-4px); box-shadow:0 18px 40px rgba(18,44,73,.12); border-color:var(--teal)}
.bpost .bdate{color:var(--teal-dark); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:1.5px; margin-bottom:10px}
.bpost h3{font-family:'Fraunces',serif; color:var(--navy); font-size:21px; line-height:1.3; margin-bottom:10px}
.bpost p{color:var(--gray); font-size:14.5px; line-height:1.65; margin-bottom:14px}
.postmeta{color:var(--gray); font-size:14px; margin-top:14px}
.postmeta b{color:var(--teal-dark)}
article.post{max-width:720px}
article.post p{margin-bottom:18px; line-height:1.8; font-size:16.5px; color:var(--ink)}
article.post a{color:var(--teal-dark); font-weight:700}
@media(max-width:760px){.bloggrid{grid-template-columns:1fr}}

/* ---------- FAQ ---------- */
.faq{max-width:780px}
.faq details{background:#fff; border:1px solid var(--line); border-radius:14px; margin-bottom:12px; overflow:hidden}
.faq summary{cursor:pointer; padding:18px 22px; font-weight:700; color:var(--navy); font-size:15.5px; list-style:none; position:relative; padding-right:48px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; position:absolute; right:20px; top:50%; transform:translateY(-50%); font-size:22px; color:var(--teal); font-weight:400}
.faq details[open] summary::after{content:"–"}
.faq details[open] summary{border-bottom:1px solid var(--line)}
.faq .a{padding:16px 22px 20px; color:var(--gray); font-size:14.5px; line-height:1.7}

/* ---------- CTA band ---------- */
.ctaband{background:linear-gradient(140deg,var(--teal) 0%, var(--teal-dark) 100%); color:#fff; text-align:center; padding:60px 24px}
.ctaband h2{color:#fff; margin-bottom:10px}
.ctaband p{color:#d2ebe9; margin-bottom:26px; font-size:16.5px}
.ctaband .btn.primary{background:#fff; color:var(--teal-dark)}
.ctaband .btn.ghost{border-color:#fff; color:#fff; background:transparent}
.ctaband .btn.ghost:hover{background:#fff; color:var(--teal-dark)}

/* ---------- footer ---------- */
footer{background:#0e2531; color:#a9c2cf; padding:56px 24px 32px; font-size:13.5px}
.flogochip{display:inline-block; background:#fff; border-radius:14px; padding:10px 14px; margin-bottom:14px}
.flogochip img{height:64px; width:auto; display:block}
.fcols{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:32px; margin-bottom:36px; max-width:1120px; margin-left:auto; margin-right:auto}
footer h4{color:#fff; font-size:12px; margin-bottom:14px; text-transform:uppercase; letter-spacing:1.5px}
footer a{color:#a9bdd3; text-decoration:none; display:block; margin-bottom:9px; transition:.15s}
footer a:hover{color:var(--amber)}
.flogo{font-family:'Fraunces',serif; font-size:22px; color:#fff; margin-bottom:12px}
.flogo em{color:var(--teal); font-style:normal}
.ftag{line-height:1.6; max-width:280px}
.verse{font-family:'Fraunces',serif; font-style:italic; text-align:center; color:#bdd2e2; font-size:15px; max-width:1120px; margin:0 auto 26px; line-height:1.6}
.verse span{display:block; font-family:'Inter',sans-serif; font-style:normal; font-size:11.5px; color:#7f95ab; margin-top:6px; letter-spacing:1px}
.legal{border-top:1px solid rgba(255,255,255,.12); padding-top:20px; font-size:12px; color:#6d8199; max-width:1120px; margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px}

/* ---------- placeholder marker (visible reminder for content to replace) ---------- */
.todo{background:#fff7ed; border:1.5px dashed #b45309; color:#b45309; border-radius:10px; padding:10px 14px; font-size:13px; font-weight:600; margin:10px 0}

/* ---------- variants ---------- */
.quotes.quotes-2col{grid-template-columns:repeat(2,1fr)}

/* ---------- responsive ---------- */
@media(max-width:960px){
  .herogrid,.split,.grid3,.grid2,.quotes,.quotes.quotes-2col,.states,.paygrid,.fcols,.team,.office,.features{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:36px}
  .pagehero h1{font-size:32px}
  .hamburger{display:block}
  nav.mainnav{display:none; position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column; align-items:stretch; padding:12px 16px 18px; box-shadow:0 20px 40px rgba(0,0,0,.15); gap:0}
  #navtoggle:checked ~ nav.mainnav{display:flex}
  nav.mainnav a.top{padding:12px; font-size:15px}
  .drop{display:block; position:static; border:0; box-shadow:none; padding:0 0 6px 18px; min-width:0}
  .navbar > .call, .navbar > .portal{display:none}
  .call.mobileshow{display:inline-flex; margin:10px 12px 0}
  .portal.mobileshow{display:inline-flex; margin:10px 12px 4px}
}
