/* ==========================================================
   CNHC – Chanderwati Nursing Agency · Full site stylesheet
   Colors logo se: deep teal + champagne cream
   ========================================================== */

:root {
  --teal-900: #10302d;
  --teal-800: #173d3a;
  --teal-700: #1f4e4a;
  --teal-500: #3f7a72;
  --teal-100: #dcebe7;
  --cream-300: #ecd3ae;
  --cream-100: #f7efe0;
  --paper: #fcfaf5;
  --gold: #b98a4e;
  --whatsapp: #1fa855;
  --ink: #1a2928;
  --ink-soft: #4a5b59;
  --line: rgba(23, 61, 58, .18);

  --font-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 6px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-500); text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.2;
  letter-spacing: .02em; color: var(--teal-700); margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section--tint { background: var(--cream-100); }
.section--dark { background: var(--teal-700); color: var(--cream-300); }
.section--dark h2, .section--dark h3 { color: var(--cream-300); }
.section--dark p { color: #d9e6e2; }
.section-head { margin-bottom: 2.4rem; }
.section-head p { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: var(--radius);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--cream-300); color: var(--teal-800); }
.btn-primary:hover { background: #fff; color: var(--teal-800); }
.btn-solid { background: var(--teal-700); color: var(--cream-300); }
.btn-solid:hover { background: var(--teal-900); color: #fff; }
.btn-outline { border-color: var(--cream-300); color: var(--cream-300); background: transparent; }
.btn-outline:hover { background: var(--cream-300); color: var(--teal-800); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #178a45; color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--teal-800);
  border-bottom: 1px solid rgba(236, 211, 174, .25);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: .06em; color: var(--cream-300); }
.brand-sub { font-style: italic; font-size: .8rem; color: var(--cream-300); opacity: .85; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: var(--cream-300); text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: #fff; }
.header-call {
  background: var(--cream-300); color: var(--teal-800); font-weight: 700;
  padding: .6rem 1.1rem; border-radius: var(--radius); text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: #fff; color: var(--teal-800); }
.menu-toggle {
  display: none; background: none; border: 1px solid rgba(236,211,174,.5); color: var(--cream-300);
  padding: .45rem .8rem; border-radius: var(--radius); font: inherit; font-weight: 700; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 85% 15%, rgba(236,211,174,.10), transparent 45%), var(--teal-700);
  color: var(--cream-300);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-bottom: 4px solid var(--gold);
}
.hero-grid { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.hero h1 { color: var(--cream-300); max-width: 15ch; }
.hero .tagline { font-style: italic; font-size: clamp(1.1rem, 2.1vw, 1.35rem); color: #e4efeb; max-width: 44ch; }
.hero .btn-row { margin-top: 1.8rem; }
.hero-phone {
  display: inline-block; margin-top: 1.5rem; font-family: var(--font-display);
  font-size: 1.35rem; letter-spacing: .08em; color: var(--cream-300); text-decoration: none;
}
.hero-phone:hover { color: #fff; }
.hero-note { margin-top: .6rem; font-size: .95rem; color: #c5d8d3; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 1.8rem; border-top: 4px solid var(--gold); }
.form-card h2 { font-size: 1.35rem; margin-bottom: .3em; }
.form-card p { color: var(--ink-soft); font-size: .96rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .3rem; color: var(--teal-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #b9c7c4; border-radius: var(--radius);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--teal-700); }
.form-hint { font-size: .85rem; color: var(--ink-soft); margin: .7rem 0 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--teal-700); color: var(--cream-300); padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 4px solid var(--gold); }
.page-hero h1 { color: var(--cream-300); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .4em; }
.page-hero p { color: #e4efeb; font-size: 1.12rem; margin: 0; }

/* ---------- Care type strip ---------- */
.care-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: #fff; }
.care-strip > div { padding: 1.6rem 1.4rem; border-right: 1px solid var(--line); }
.care-strip > div:last-child { border-right: 0; }
.care-strip h3 { font-size: 1.02rem; margin-bottom: .3em; }
.care-strip p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* ---------- Two column text ---------- */
.split { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: .55rem 0 .55rem 1.7rem; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--gold); }

/* ---------- Service rows ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.service-row h3 { margin: 0 0 .3em; }
.service-row .desc { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.service-row ul, .detail-body ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.service-row li, .detail-body li { margin-bottom: .35rem; }
.service-row li::marker, .detail-body li::marker { color: var(--gold); }

.service-detail { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.service-detail:nth-child(even) .detail-img { order: 2; }
.detail-img { aspect-ratio: 4 / 3; background: var(--teal-100); border-radius: var(--radius); overflow: hidden; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { position: relative; padding-top: 3.4rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  background: var(--teal-700); color: var(--cream-300);
}
.step h3 { margin-bottom: .3em; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Trust grid (dark) ---------- */
.trust-grid { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.trust-grid > div { border-left: 2px solid var(--gold); padding-left: 1.1rem; }
.trust-grid h3 { font-size: 1.05rem; margin-bottom: .35em; }
.trust-grid p { margin: 0; font-size: .98rem; }

/* ---------- Areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chips a, .chips span {
  display: inline-block; padding: .5rem 1rem; border: 1.5px solid var(--teal-700); border-radius: 999px;
  color: var(--teal-700); font-weight: 600; font-size: .96rem; text-decoration: none; background: transparent;
}
.chips a:hover { background: var(--teal-700); color: var(--cream-300); }
.chips .primary { background: var(--teal-700); color: var(--cream-300); }
.subhead { font-size: 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; color: var(--ink-soft); margin: 1.8rem 0 .8rem; }

/* ---------- Quotes ---------- */
.quotes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal-700); border-radius: var(--radius); padding: 1.6rem; }
.quote p { font-style: italic; }
.quote figcaption { font-weight: 700; color: var(--teal-700); }
.quote figcaption span { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 700; color: var(--teal-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding-bottom: 1.1rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.map-frame { border: 0; width: 100%; height: 360px; border-radius: var(--radius); background: var(--teal-100); }
.cta-band { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #bcd0cb; padding: 3.5rem 0 5.5rem; font-size: .96rem; }
.site-footer h3 { color: var(--cream-300); font-size: 1rem; }
.site-footer a { color: #d9e6e2; text-decoration: none; }
.site-footer a:hover { color: var(--cream-300); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .4rem; }
.footer-grid p { max-width: 36ch; }
.social { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(236,211,174,.2); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- Floating WhatsApp (desktop) + sticky bar (mobile) ---------- */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; background: var(--whatsapp); color: #fff;
  padding: .8rem 1.2rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.wa-float:hover { background: #178a45; color: #fff; }
.sticky-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr; }
.sticky-actions a { padding: .95rem .5rem; text-align: center; font-weight: 700; text-decoration: none; color: #fff; }
.sticky-actions .s-call { background: var(--teal-700); color: var(--cream-300); }
.sticky-actions .s-wa { background: var(--whatsapp); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .care-strip { grid-template-columns: 1fr 1fr; }
  .care-strip > div:nth-child(2) { border-right: 0; }
  .care-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .header-call { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--teal-800);
    flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(236,211,174,.25);
  }
  .nav.open { display: flex; }
  .nav li { width: 100%; }
  .nav a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(236,211,174,.15); }
  .service-row, .service-detail { grid-template-columns: 1fr; gap: 1rem; }
  .service-detail:nth-child(even) .detail-img { order: 0; }
  .sticky-actions { display: grid; }
  .wa-float { display: none; }
}
@media (max-width: 520px) {
  .care-strip { grid-template-columns: 1fr; }
  .care-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Extras ---------- */
.hero h1 { max-width: 18ch; }
.detail-img.ph { display: grid; place-items: center; background: var(--teal-700); padding: 1.5rem; text-align: center; }
.detail-img.ph span { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream-300); }

/* ---------- ELDER CARE SECTIONS ---------- */
.care-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.care-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; }
.care-card h3 { font-size: 1.08rem; margin-bottom: .4em; }
.care-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

.states-layout { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.state-search { max-width: 360px; }
.region { margin-bottom: .4rem; }
.region .subhead { margin-top: 1.4rem; }
.chips button {
  font: inherit; font-weight: 600; font-size: .96rem; cursor: pointer;
  padding: .5rem 1rem; border: 1.5px solid var(--teal-700); border-radius: 999px;
  color: var(--teal-700); background: transparent; transition: background-color .2s, color .2s;
}
.chips button:hover { background: var(--teal-100); }
.chips button[aria-pressed="true"] { background: var(--teal-700); color: var(--cream-300); }
.state-empty { color: var(--ink-soft); margin-top: 1rem; }
.state-panel {
  position: sticky; top: 96px; background: var(--teal-700); color: var(--cream-300);
  border-radius: var(--radius); border-top: 4px solid var(--gold); padding: 1.8rem;
}
.state-panel h3 { color: var(--cream-300); font-size: 1.5rem; }
.state-panel p { color: #d9e6e2; }
.state-panel h4 { margin: 1.4rem 0 .7rem; font-size: .9rem; color: var(--cream-300); font-weight: 700; }
.state-panel .chips span { border-color: rgba(236,211,174,.55); color: var(--cream-300); font-size: .88rem; padding: .3rem .8rem; }
.state-panel .btn-row { margin-top: 1.6rem; }

@media (max-width: 960px) {
  .care-grid { grid-template-columns: 1fr 1fr; }
  .states-layout { grid-template-columns: 1fr; }
  .state-panel { position: static; order: -1; }
}
@media (max-width: 560px) {
  .care-grid { grid-template-columns: 1fr; }
}

/* ---------- STATE / CITY PAGES ---------- */
.crumbs { font-size: .9rem; margin: 0 0 .8rem; color: #c5d8d3; }
.crumbs a { color: var(--cream-300); }
.crumbs a:hover { color: #fff; }
.panel-more { margin: 1.2rem 0 0; font-size: .95rem; }
.panel-more a { color: var(--cream-300); }
.panel-more a:hover { color: #fff; }
