/* Layout: light coastal page; one bold layered-wave hero, quiet sections below, tide-table style care chart. */
:root {
  --ink: #0B1B3F;        /* navy from the "tide" lettering */
  --ocean: #1462D6;      /* main brand blue */
  --surf: #29ABF2;       /* bright cyan from the splash */
  --foam: #E8F5FD;       /* pale wash for tinted panels */
  --shell: #F5F8FB;      /* page ground, cool off-white */
  --paper: #FFFFFF;
  --line: #D5E2EE;
  --muted: #4A5B78;
  --ok: #138A5B;

  --display: "Fredoka", "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 4vw, 2.6rem);
  --step-4: clamp(2.5rem, 6vw, 3.9rem);

  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--surf); outline-offset: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.eyebrow {
  font-size: var(--step--1); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ocean);
}
.lede { font-size: var(--step-1); color: var(--muted); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 var(--step-0)/1 var(--body);
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--ocean); color: var(--paper); }
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand img { width: 150px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.nav a:hover { color: var(--ocean); }
.nav .btn { padding: 11px 18px; font-size: 0.95rem; color: var(--paper); }
@media (max-width: 760px) { .nav { gap: 14px; } .nav a:not(.btn):not(.keep) { display: none; } .nav .keep { font-size: 0.85rem; } .nav .btn { padding: 10px 14px; font-size: 0.88rem; } .brand img { width: 108px; } }

/* Hero */
.hero { position: relative; background: var(--paper); overflow: hidden; padding-block: 0; }
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
  padding-block: 72px 140px;
}
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 span { color: var(--ocean); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: var(--step--1); color: var(--muted); }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; display: block; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 120px; gap: 36px; }
}

/* Care report card (hero visual) */
.report {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(11, 27, 63, .35);
  min-width: 0; position: relative; z-index: 1;
}
.report-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.report-top strong { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.tag { font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--foam); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.report-rows { list-style: none; margin: 0; padding: 6px 20px 8px; }
.report-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 0.97rem; }
.report-rows li:last-child { border-bottom: 0; }
.report-rows .v { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-rows .v.ok::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; }
.report-foot { padding: 14px 20px; background: var(--foam); border-radius: 0 0 var(--radius) var(--radius); font-size: 0.9rem; color: var(--muted); }

/* Sections */
section { padding-block: 88px; }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 44rem; }
.tinted { background: var(--foam); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; counter-increment: step; min-width: 0; }
.steps li::before {
  content: counter(step); font-family: var(--display); font-weight: 600; font-size: 1.3rem;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
}
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Packages */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 18px; grid-template-rows: auto auto auto 1fr auto; min-width: 0;
}
.plan.featured { border: 2px solid var(--ocean); position: relative; }
.plan.featured .flag {
  position: absolute; top: -13px; left: 24px; background: var(--ocean); color: var(--paper);
  font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
.plan h3 { font-size: var(--step-2); }
.price { display: grid; gap: 2px; }
.price .from { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.price .amt { font-family: var(--display); font-weight: 600; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price .mo { font-weight: 700; color: var(--ocean); font-variant-numeric: tabular-nums; }
.plan .fit { color: var(--muted); font-size: 0.97rem; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; align-content: start; font-size: 0.97rem; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--ocean); border-bottom: 2.5px solid var(--ocean); transform: rotate(-45deg);
}
.plan .btn { width: 100%; }
.plans-note { margin-top: 28px; color: var(--muted); max-width: 46rem; font-size: 0.97rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* Care table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.care { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.97rem; }
.care th, .care td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.care thead th { font-family: var(--display); font-weight: 600; font-size: 1.05rem; background: var(--ink); color: var(--paper); }
.care thead th small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.85rem; color: var(--surf); font-variant-numeric: tabular-nums; }
.care tbody th { font-weight: 600; width: 34%; }
.care td { font-variant-numeric: tabular-nums; }
.care tbody tr:nth-child(even) { background: var(--shell); }
.care tbody tr:last-child th, .care tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; }
.care-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; max-width: 46rem; }

/* Add-ons */
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.addon { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; min-width: 0; }
.addon p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .addons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .addons { grid-template-columns: 1fr; } }

/* Local */
.local { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.local > div { min-width: 0; display: grid; gap: 16px; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.towns li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 0.92rem; }
.area-code { font-family: var(--display); font-weight: 600; font-size: clamp(5rem, 16vw, 9rem); line-height: .9; color: var(--ocean); }
@media (max-width: 760px) { .local { grid-template-columns: 1fr; gap: 24px; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 48rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--ocean); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: var(--paper); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact .eyebrow { color: var(--surf); }
.contact-info { display: grid; gap: 18px; align-content: start; min-width: 0; }
.contact-info p { color: #C7D3E8; }
.contact-lines { display: grid; gap: 12px; margin-top: 8px; }
.contact-lines div { display: grid; gap: 2px; }
.contact-lines span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--surf); font-weight: 700; }
.contact-lines strong { font-size: var(--step-1); font-weight: 600; user-select: all; }
.placeholder { font-size: 0.75rem; font-weight: 700; color: var(--ink); background: #FFD66B; border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
form.quote { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--shell);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
form.quote .btn { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; font-size: 0.95rem; color: var(--muted); }
.form-status.ok { color: var(--ok); font-weight: 600; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { form.quote { grid-template-columns: 1fr; padding: 22px; } }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-block: 28px; font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-footer img { width: 104px; }

/* Work */
.cases { display: grid; gap: 72px; }
.case { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.case:nth-child(even) .shots { order: 2; }
.shots { position: relative; padding: 0 0 40px 0; min-width: 0; }
.frame { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(11, 27, 63, .45); }
.frame .dots { display: block; height: 28px; border-bottom: 1px solid var(--line); background:
  radial-gradient(circle at 16px 50%, var(--line) 4px, transparent 5px),
  radial-gradient(circle at 32px 50%, var(--line) 4px, transparent 5px),
  radial-gradient(circle at 48px 50%, var(--line) 4px, transparent 5px), var(--shell); }
.shots .phone { position: absolute; right: -8px; bottom: 0; width: 22%; max-width: 130px; border-radius: 16px; border: 5px solid var(--ink); box-shadow: 0 18px 40px -18px rgba(11, 27, 63, .6); background: var(--paper); }
.case-copy { display: grid; gap: 14px; min-width: 0; }
.case-copy h3 { font-size: var(--step-2); }
.case-copy > p:not(.case-meta) { color: var(--muted); }
.case-meta { font-size: var(--step--1); font-weight: 700; color: var(--ocean); letter-spacing: .04em; }
.case-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 0.97rem; }
.case-list li::marker { color: var(--surf); }
.case-link { font-weight: 700; }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; gap: 24px; }
  .case:nth-child(even) .shots { order: 0; }
  .shots .phone { right: 4px; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.quote { position: relative; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Simple text pages (privacy, 404) */
.page { padding-block: 64px 88px; }
.page .wrap { max-width: 760px; display: grid; gap: 18px; }
.page h2 { font-size: var(--step-2); margin-top: 18px; }
.page p, .page li { color: var(--muted); }
.page ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

.change-form { background: var(--paper); border: 1px solid var(--line); margin-top: 12px; }
.hint { font-size: 0.85rem; color: var(--muted); }
