/* Caregivers of DFW — homepage additions (v1.1.0). Builds on nscm-regional-pages.css. */
html{scroll-behavior:smooth}
body.codfw-homepage{margin:0;background:#fff}
.codfw-home [id]{scroll-margin-top:84px}
.codfw-home .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.codfw-home a:focus-visible,.codfw-home summary:focus-visible,.codfw-home button:focus-visible{outline:3px solid var(--ring);outline-offset:2px;border-radius:6px}

/* Header */
.codfw-home .site-header{padding:0}
.codfw-home .site-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 24px}
.codfw-home .brand{color:#fff;text-decoration:none}
.codfw-home .header-nav a,.codfw-home .nav-drop summary{color:var(--light);text-decoration:none;font-size:14.5px;font-weight:500;cursor:pointer}
.codfw-home .header-nav a:hover,.codfw-home .nav-drop summary:hover{color:#fff}
.nav-drop{position:relative}
.nav-drop summary{list-style:none;display:flex;align-items:center;gap:6px}
.nav-drop summary::-webkit-details-marker{display:none}
.nav-drop summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.nav-drop[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
.nav-drop-panel{position:absolute;top:calc(100% + 14px);left:-18px;min-width:290px;background:#fff;border:1px solid var(--light);border-radius:14px;box-shadow:0 18px 40px rgba(4,31,64,.22);padding:8px;display:grid;z-index:60}
.codfw-home .nav-drop-panel a{color:var(--ink);padding:9px 12px;border-radius:9px;font-size:14.5px}
.codfw-home .nav-drop-panel a:hover{background:var(--cool);color:var(--navy)}
.codfw-home .phone-chip{text-decoration:none;white-space:nowrap}
.codfw-home .is-disabled{opacity:.75;cursor:default}

/* Mobile menu */
.home-menu{display:none;position:relative}
.home-menu summary{list-style:none;width:44px;height:44px;border-radius:10px;border:1px solid rgba(255,255,255,.28);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer}
.home-menu summary::-webkit-details-marker{display:none}
.home-menu summary span{display:block;width:20px;height:2px;background:#fff;border-radius:2px}
.home-menu-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(86vw,320px);max-height:calc(100vh - 110px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 18px 40px rgba(4,31,64,.3);padding:10px;display:grid;z-index:70}
.codfw-home .home-menu-panel a{color:var(--ink);text-decoration:none;padding:11px 12px;border-radius:9px;font-weight:600;font-size:15px}
.codfw-home .home-menu-panel a.sub{font-weight:500;padding-left:22px;color:var(--muted)}
.codfw-home .home-menu-panel a:hover{background:var(--cool)}
.codfw-home .home-menu-panel .nscm-call{background:var(--navy);color:#fff;text-align:center;margin-top:6px}
.home-menu-label{margin:8px 12px 2px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700}

/* Hero */
.home-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.home-hero-photo{margin:0}
.home-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:16/11;object-fit:cover;border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.35);border:1px solid rgba(200,221,245,.25)}
.codfw-home .hero-cta .btn{text-decoration:none}

/* Disclosure band */
.disclosure-band{background:var(--cool);border-bottom:1px solid var(--light)}
.disclosure-band p{margin:0;padding:16px 0;font-size:14.5px;color:var(--ink);max-width:900px}

/* Service areas */
.areas{padding:88px 0;background:var(--cool)}
.areas .sec-head{max-width:760px;margin-bottom:34px}
.areas h2{font-family:'Fraunces',Georgia,serif;font-size:clamp(28px,3.2vw,40px);line-height:1.15;color:var(--navy);margin:8px 0 12px}
.areas .sec-head p{color:var(--muted);margin:0}
.areas .eyebrow{color:var(--navy)}
.areas-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.area-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--light);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--ink);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
a.area-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(6,49,96,.14);border-color:var(--cyan)}
.area-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.area-body{display:flex;flex-direction:column;gap:4px;padding:14px 16px 16px;flex:1}
.area-body strong{color:var(--navy);font-size:16px;line-height:1.3}
.area-cities{font-size:13px;color:var(--muted)}
.area-go{margin-top:auto;padding-top:8px;font-size:13.5px;font-weight:700;color:var(--navy)}

/* Form */
.assessment .aside h2{font-family:'Fraunces',Georgia,serif;color:var(--navy);font-size:clamp(28px,3vw,38px);margin:8px 0 20px}
.assessment .aside .eyebrow{color:var(--navy)}
.codfw-home-form fieldset{border:0;margin:0;padding:0;min-width:0}
.codfw-home-form legend{font-weight:600;font-size:14px;color:var(--ink);margin:0 0 8px;padding:0}
.codfw-home-form .opt{font-weight:400;color:var(--muted)}
.codfw-home-form .codfw-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.codfw-home-form textarea{width:100%;padding:12px 14px;border:1px solid var(--light);border-radius:10px;font:inherit;font-size:15px;color:var(--ink);background:#fff;box-sizing:border-box;resize:vertical}
.codfw-home-form textarea:focus{outline:none;border-color:var(--cyan);box-shadow:0 0 0 3px var(--ring)}
.codfw-home-form .two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.codfw-home-form input[readonly]{background:var(--cool);color:var(--muted)}
.codfw-home-form [aria-invalid="true"]{border-color:#b3261e!important;box-shadow:0 0 0 3px rgba(179,38,30,.15)}
.codfw-home-form .codfw-consents{margin-top:6px}
.codfw-home-form .consent span{line-height:1.5}
.codfw-home-form .legal-inline{color:var(--navy);font-weight:600}
.codfw-home-form .codfw-captcha{margin-top:16px}
.codfw-home-form .form-submit{width:100%;margin-top:20px}
.codfw-home-form .form-submit[disabled]{opacity:.65;cursor:not-allowed}
.codfw-home-form.is-sending .form-submit{cursor:progress}
.codfw-home-form .form-status.info{color:var(--navy)}
.codfw-home-result{font-weight:600}
.codfw-home-result.ok{background:#e8f6ee;border:1px solid #9fd6b5;border-radius:10px;padding:12px 14px}
.codfw-home-result.err{background:#fdecea;border:1px solid #f1b3ad;border-radius:10px;padding:12px 14px}

/* Footer */
.codfw-home .footer-inner{display:flex;gap:24px;justify-content:space-between;align-items:center}
.codfw-home .footer-inner .legal a{color:var(--light)}

@media(max-width:1020px){
	.areas-grid{grid-template-columns:repeat(2,1fr)}
	.codfw-home .header-nav{gap:16px}
}
@media(max-width:860px){
	.codfw-home .header-nav{display:none}
	.codfw-home .site-header .phone-chip{display:none}
	.home-menu{display:block}
	.home-hero-grid{grid-template-columns:1fr;gap:28px}
	.home-hero-photo{order:-1}
	.areas{padding:60px 0}
	.codfw-home .footer-inner{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
	.codfw-home .site-header .header-inner{padding:12px 18px}
	.codfw-home .hero-inner{padding-left:18px;padding-right:18px}
	.areas-grid{grid-template-columns:1fr}
	.codfw-home-form .two-col{grid-template-columns:1fr;gap:0}
	.codfw-home .form-card{padding:22px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}a.area-card{transition:none}}

/* v1.1.0 form refinements: undo the base .form-card label block styling for chips/consents */
.codfw-home-form label.chip{display:inline-block;margin:0;font-weight:inherit}
.codfw-home-form .chip-row{margin-bottom:4px}
.codfw-home-form label.consent{display:flex;margin:14px 0 0;font-size:13px;font-weight:400;color:var(--muted);line-height:1.5}
.codfw-home-form label.consent input{flex:0 0 auto;width:18px;height:18px;margin-top:1px}
.codfw-home-form .care-types legend{font-size:13.5px;color:var(--navy)}
.codfw-home-form .form-card-select,.codfw-home-form select{height:auto;line-height:1.4;padding:11px 14px;appearance:auto}
.codfw-home-form .codfw-captcha:empty,.codfw-home-form .codfw-captcha .cf-turnstile:empty{margin:0}
.codfw-home-form .codfw-captcha{min-height:0}
/* Base grids set padding:Npx 0 on the same element as .container, which removes side gutters below 1120px. Restore them. */
.codfw-home .container.flow-grid,.codfw-home .container.services-grid,.codfw-home .container.assessment-grid{padding-left:24px;padding-right:24px}
@media(max-width:520px){.codfw-home .container.flow-grid,.codfw-home .container.services-grid,.codfw-home .container.assessment-grid,.codfw-home .areas .container,.codfw-home .disclosure-band .container,.codfw-home .footer-inner{padding-left:18px;padding-right:18px}}
