/* On Call Home Care LLC — site styles */
:root {
  --teal: #32afb5;        /* from the logo */
  --teal-deep: #0f5c61;   /* headings, footer */
  --ink: #18343a;         /* body text */
  --mist: #eef7f7;        /* soft section background */
  --paper: #ffffff;
  --marigold: #f0b23e;    /* warm accent, used sparingly */
  --line: #cfe3e4;
  --radius-lg: 28px;
  --radius-sm: 10px;
  --wrap: 1120px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Literata", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--marigold); color: var(--ink); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* Top bar */
.topbar { background: var(--teal-deep); color: #e3f3f4; font-size: .9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1.5rem; padding: .45rem 0; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--teal-deep); }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand span { font-family: var(--head); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; align-items: center; }
.nav a { font-family: var(--head); font-size: 1.2rem; text-decoration: none; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--teal); border-bottom: 3px solid var(--teal); }
.menu-btn { display: none; background: none; border: 2px solid var(--teal-deep); border-radius: var(--radius-sm); font-family: var(--head); font-size: 1.1rem; padding: .3rem .8rem; color: var(--teal-deep); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--head);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-outline { border-color: var(--teal-deep); color: var(--teal-deep); background: transparent; }
.btn-outline:hover { background: var(--teal-deep); color: #fff; }
.nav .btn { color: #fff; font-size: 1.15rem; padding: .45rem 1.1rem; }

/* Hero */
.hero { background: var(--mist); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2.5rem; padding: 4.5rem 0 5rem; }
.hero p.lead { font-size: 1.25rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero .reassure { margin-top: 1.4rem; font-size: .95rem; color: #3d5b60; }

/* The scalloped badge from the logo — the site's signature shape */
.badge {
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  justify-self: center;
  background: var(--teal);
  clip-path: url(#scallop);
  display: grid;
  place-items: center;
  animation: arrive 1s cubic-bezier(.2,.8,.2,1) both;
}
.badge svg { width: 78%; }
@keyframes arrive { from { transform: scale(.85) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Sections */
.section { padding: 5rem 0; }
.section-mist { background: var(--mist); }
.section-intro { max-width: 640px; margin-bottom: 2.5rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 2.5rem; }
.service { border-top: 4px solid var(--teal); padding-top: 1.1rem; }
.service h3 { margin-bottom: .35rem; }
.service p { font-size: 1rem; margin: 0; }
.icon { width: 44px; height: 44px; margin-bottom: .7rem; color: var(--teal); }

/* Steps — a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--paper); border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; }
.steps li::before { content: counter(step); font-family: var(--head); font-size: 3rem; font-weight: 700; color: var(--marigold); line-height: 1; display: block; margin-bottom: .4rem; }
.steps h3 { font-size: 1.4rem; }
.steps p { font-size: .98rem; margin: 0; }

/* Split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { padding-left: 2rem; position: relative; margin-bottom: .7rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--teal); box-shadow: inset 0 0 0 4px var(--mist); border: 2px solid var(--teal); }

/* Counties */
.counties { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; margin: 1.2rem 0; }
.counties li { font-family: var(--head); font-size: 1.25rem; background: var(--paper); border: 2px solid var(--teal); color: var(--teal-deep); padding: .3rem 1rem; border-radius: 999px; }

/* Call band */
.callband { background: var(--teal-deep); color: #fff; }
.callband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 3.5rem 0; }
.callband h2 { color: #fff; margin: 0; }
.callband p { margin: .3rem 0 0; color: #d4ecec; }
.callband .btn-primary { background: var(--marigold); color: var(--ink); }
.callband .btn-primary:hover { background: #fff; color: var(--teal-deep); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; max-width: 780px; }
.faq summary { font-family: var(--head); font-size: 1.45rem; color: var(--teal-deep); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.8rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .7rem 0 0; }

/* Page header for inner pages */
.page-head { background: var(--mist); padding: 3.5rem 0 3rem; }
.page-head p { font-size: 1.2rem; }

/* Service detail list */
.detail { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
.detail ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--head); font-size: 1.15rem; color: var(--teal-deep); margin-bottom: .3rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .92rem; color: #4a676c; }
.form-status { font-weight: 600; color: var(--teal-deep); min-height: 1.5em; }

.contact-card { background: var(--mist); border-radius: var(--radius-lg); padding: 2rem; }
.contact-card dl { margin: 0; }
.contact-card dt { font-family: var(--head); font-size: 1.2rem; color: var(--teal-deep); margin-top: 1rem; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0; }

/* Footer */
.site-footer { background: #0b4246; color: #cfe7e8; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1.35rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer .legal { border-top: 1px solid #2a6a6e; margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* Responsive */
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .badge { max-width: 300px; order: -1; }
  .hero .wrap { padding: 2.5rem 0 3.5rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; padding: 1rem 1.25rem 1.4rem; gap: .9rem; }
  .site-header .wrap { position: relative; }
  .steps { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .badge { max-width: 220px; }
}
