/* Seaside By Your Side Home Care — shared styles
   Palette: deep sea, gulf teal, sand, coral heart. */
:root {
  --sea-900: #0E4A5E;
  --sea-700: #1F6F8B;
  --sea-300: #9FD3DF;
  --sea-100: #E6F4F7;
  --sand-100: #FBF7F0;
  --sand-200: #F7F1E6;
  --sand-400: #E8DCC6;
  --coral: #E2725B;
  --coral-dark: #C4573F;
  --ink: #1D2B33;
  --ink-soft: #4A5A63;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(14, 74, 94, 0.10);
  --max: 1140px;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-100);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sea-700); }
a:hover { color: var(--sea-900); }
h1, h2, h3 { font-family: var(--font-head); color: var(--sea-900); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sea-900); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

/* Top bar + header */
.topbar { background: var(--sea-900); color: var(--sand-200); font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 700; }
header.site { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sea-900); }
.brand img { width: 54px; height: 54px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .78rem; color: var(--sea-700); letter-spacing: .08em; text-transform: uppercase; }
nav.main ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
nav.main a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--sea-100); color: var(--sea-900); }
.menu-toggle { display: none; background: none; border: 2px solid var(--sea-700); color: var(--sea-900); border-radius: 8px; padding: 6px 12px; font: inherit; font-weight: 700; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); color: var(--white); }
.btn-outline { border-color: var(--sea-700); color: var(--sea-900); background: transparent; }
.btn-outline:hover { background: var(--sea-100); }
.btn-light { background: var(--white); color: var(--sea-900); }
nav.main .btn { padding: 9px 18px; color: var(--white); }
nav.main .btn:hover { background: var(--coral-dark); color: var(--white); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sea-100) 0%, var(--sand-100) 100%); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 72px 0 96px; }
.eyebrow { display: inline-block; font-weight: 800; color: var(--sea-700); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; margin-bottom: 10px; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-card { background: var(--white); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); text-align: center; }
.hero-card img { width: 170px; margin: 0 auto 14px; }
.hero-card .phone { font-size: 1.6rem; font-weight: 800; color: var(--sea-900); text-decoration: none; display: block; margin: 6px 0 2px; }
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--ink-soft); }
.bg-white { background: var(--white); }
.bg-sea { background: var(--sea-900); color: var(--sand-200); }
.bg-sea h2, .bg-sea h3 { color: var(--white); }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.bg-white .card { background: var(--sand-100); box-shadow: none; border: 1px solid var(--sand-400); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sea-100); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 26px; height: 26px; stroke: var(--sea-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card ul { padding-left: 1.1em; margin: 0; }
.card li { margin-bottom: 4px; }
.steps { counter-reset: step; }
.step { position: relative; padding-top: 54px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; display: grid; place-items: center; }
.bg-sea .step p { color: var(--sand-200); }
.notice { background: var(--sand-200); border-left: 5px solid var(--sea-700); padding: 18px 22px; border-radius: 8px; font-size: 1rem; }
.notice strong { color: var(--sea-900); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; justify-content: center; }
.pill-list li { background: var(--white); border: 1px solid var(--sand-400); padding: 8px 16px; border-radius: 999px; font-weight: 700; color: var(--sea-900); }
.cta-band { background: linear-gradient(120deg, var(--sea-700), var(--sea-900)); color: var(--white); border-radius: 22px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--sea-100); }
.page-hero { background: var(--sea-100); padding: 56px 0 48px; }
.page-hero p { color: var(--ink-soft); max-width: 46em; font-size: 1.12rem; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }

/* FAQ */
details { background: var(--white); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; border: 1px solid var(--sand-400); }
details summary { cursor: pointer; font-weight: 800; color: var(--sea-900); list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; font-size: 1.3rem; line-height: 1; color: var(--coral); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Forms */
form .field { margin-bottom: 16px; }
label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--sea-900); }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--sand-400); border-radius: 10px; font: inherit; font-size: 1rem; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--sea-700); outline: none; box-shadow: 0 0 0 3px var(--sea-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .9rem; color: var(--ink-soft); }
.form-status { margin-top: 12px; font-weight: 700; color: var(--sea-700); }

/* Footer */
footer.site { background: var(--sea-900); color: var(--sand-200); padding: 56px 0 24px; font-size: .98rem; }
footer.site a { color: var(--white); }
footer.site h3 { color: var(--white); font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 18px; font-size: .85rem; color: var(--sea-300); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.footer-brand img { width: 52px; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero .container, .two-col { grid-template-columns: 1fr; }
  .hero .container { padding: 48px 0 80px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  header.site .container { position: relative; }
  .cta-band { padding: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .topbar span:first-child { display: none; }
  .topbar .container { justify-content: center; }
  .grid-4, .form-row { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .brand-name { font-size: 1rem; }
  section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
