/* Colors sampled from the Coastal logo and flyers */
:root {
  --navy: #0b2d4d;
  --navy-deep: #012849;
  --ocean: #013b59;
  --teal: #136f78;
  --teal-light: #53aaac;
  --seafoam: #cfe5e3;
  --sand: #c9b092;
  --sand-light: #e9dcc8;
  --cream: #fbf8ef;
  --white: #ffffff;
  --ink: #1d3346;
  --muted: #4d6273;
  --line: #e4ddd0;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-color: var(--teal-light); }

/* Shared text */
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
h1, h2 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(32px, 4.5vw, 46px); text-transform: uppercase; }
h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: var(--teal-light);
}
h3, h4 { margin: 0; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); padding: 12px 22px; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* Hero */
.hero {
  position: relative;
  background: var(--cream);
  padding: 64px 0 120px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 56px;
}
.hero-logo { width: 300px; height: 300px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); }
.hero h1 span { color: var(--teal); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 20px 0 0; }
.wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 100px;
}

/* Sections */
.section { padding: 80px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); margin: 20px 0 0; }
.section-head-left { text-align: left; margin: 0 0 32px; }
.section-head-left h2::after { margin-left: 0; }

/* Care cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--teal-light), var(--sand));
}
.card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p { margin: 0; font-size: 15.5px; color: var(--muted); }
.note {
  margin: 32px auto 0;
  max-width: 640px;
  text-align: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--seafoam);
  color: var(--navy);
  font-size: 15.5px;
}

/* Training */
.section-navy {
  background:
    radial-gradient(1200px 400px at 100% 0%, rgba(83, 170, 172, 0.18), transparent 60%),
    var(--ocean);
  color: var(--white);
}
.section-navy h2 { color: var(--white); }
.section-navy .eyebrow { color: var(--teal-light); }
.section-navy .section-head p:last-child { color: #cfe0ea; }
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  max-width: 900px;
  margin: 0 auto;
}
.checklist li {
  position: relative;
  padding: 16px 18px 16px 52px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dbe7ee;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23013b59' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist strong { color: var(--white); }

/* Prices */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.price-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-title {
  margin: 0;
  padding: 14px 22px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.price-title-teal { background: var(--teal); }
.price-list { list-style: none; margin: 0; padding: 4px 22px; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.price-list li:last-child { border-bottom: 0; }
.price-list span { font-weight: 600; color: var(--navy); }
.price-list small {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.price-list b { font-size: 24px; color: var(--teal); }
.packs-head {
  text-align: center;
  margin: 56px 0 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.person {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
/* Photo placeholders: replace with real <img> tags when photos arrive */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--teal);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(83, 170, 172, 0.10) 14px 28px),
    var(--seafoam);
  border: 2px dashed var(--teal-light);
}
.photo-placeholder svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.photo-placeholder span { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0 12px; }

.person-photo {
  flex: none;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
}
.person-photo.photo-placeholder svg { width: 30px; height: 30px; }
.person-photo.photo-placeholder span { font-size: 10px; }

.section-photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 32px;
}
.section-photo-narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.person-name { margin: 0; font-size: 20px; font-weight: 700; color: var(--navy); }
.person-name small { font-size: 12px; font-weight: 600; color: var(--teal); letter-spacing: 0.06em; margin-left: 4px; }
.person-role { margin: 2px 0 0; color: var(--muted); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.ci {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
}
.ci svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a, .contact-list span { color: var(--navy); font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--teal); text-decoration: underline; }

.cta-card {
  text-align: center;
  padding: 36px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--cream), var(--sand-light));
  border: 1px solid var(--line);
}
.cta-card img { width: 240px; margin: 0 auto 16px; }
.cta-card p { margin: 0 0 20px; color: var(--navy); font-weight: 500; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #b9cbd8;
  padding: 44px 0;
  text-align: center;
  border-top: 6px solid var(--teal-light);
}
.footer-brand {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-brand span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  margin-top: 4px;
}
.footer-tag { margin: 14px 0 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-small { margin: 18px 0 0; font-size: 13px; opacity: 0.75; }

/* Tablet */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 220px 1fr; gap: 36px; }
  .hero-logo { width: 220px; height: 220px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 9.5px; }
  .hero { padding: 40px 0 100px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { width: 170px; height: 170px; margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .btn { width: 100%; text-align: center; }
  .section { padding: 60px 0; }
  .cards, .checklist, .price-grid { grid-template-columns: 1fr; }
  .person { flex-direction: column; text-align: center; }
  .person-name small { display: block; margin-left: 0; }
  .section-photo { aspect-ratio: 4 / 3; }
}
