@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Lora:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  --navy: #0c4a6e;
  --navy-deep: #082f49;
  --teal: #0d9488;
  --teal-light: #5eead4;
  --sky: #38bdf8;
  --mist: #f0f9ff;
  --cloud: #e0f2fe;
  --ink: #1e293b;
  --slate: #64748b;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(12, 74, 110, 0.08);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(var(--max), 92vw); margin: 0 auto; }

.masthead {
  text-align: center;
  padding: 2rem 1rem 0;
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}

.masthead-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.masthead-brand img { width: 52px; height: 52px; }

.masthead-brand .name {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.masthead-brand .sub {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.masthead-contact {
  margin: -0.25rem 0 1rem;
  font-size: 0.92rem;
}

.masthead-contact a {
  color: var(--teal);
  font-weight: 600;
}

.masthead-contact a:hover {
  color: var(--navy-deep);
}

.nav-rail {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.75rem 1rem 1.5rem;
  border-bottom: 1px solid var(--cloud);
}

.nav-rail a {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-rail a:hover,
.nav-rail a.active {
  background: var(--navy);
  color: var(--white);
}

.nav-rail a.cta {
  background: var(--teal);
  color: var(--white);
}

.nav-rail a.cta:hover { background: #0f766e; }

.nav-toggle {
  display: none;
  margin: 0 auto 1rem;
  background: var(--navy);
  color: var(--white);
  border: 0;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.hero-wave {
  position: relative;
  padding: 3.5rem 0 5rem;
  overflow: hidden;
}

.hero-wave::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--white);
  clip-path: ellipse(58% 100% at 50% 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-grid h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
}

.hero-grid .intro {
  color: var(--slate);
  font-size: 1.08rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-fill {
  background: var(--teal);
  color: var(--white);
}

.btn-fill:hover { background: #0f766e; }

.btn-line {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-line:hover {
  background: var(--navy);
  color: var(--white);
}

.hero-portrait {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
}

.hero-portrait img {
  border-radius: 50% 50% 24% 24%;
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-portrait .ring {
  position: absolute;
  inset: -12px;
  border: 2px dashed var(--sky);
  border-radius: 50% 50% 24% 24%;
  opacity: 0.5;
  pointer-events: none;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.pill {
  background: var(--cloud);
  color: var(--navy);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.section { padding: 4.5rem 0; }

.section-mist { background: var(--mist); }

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-head h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-head p { color: var(--slate); }

.zigzag {
  display: grid;
  gap: 3rem;
}

.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.zigzag-item.flip .zigzag-media { order: 2; }
.zigzag-item.flip .zigzag-text { order: 1; }

.zigzag-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.zigzag-text h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.zigzag-text p { color: var(--slate); }

.service-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-tile {
  background: var(--white);
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.service-tile:hover {
  border-color: var(--teal-light);
  transform: translateY(-4px);
}

.service-tile .bar {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  border-radius: 2px;
  margin-bottom: 1rem;
}

.service-tile h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-tile p {
  font-size: 0.92rem;
  color: var(--slate);
}

.facts-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cloud);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}

.facts-band div {
  background: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.facts-band strong {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  color: var(--teal);
}

.facts-band span {
  font-size: 0.78rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.provider-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cloud);
}

.provider-card img {
  border-radius: var(--radius-sm);
  height: 320px;
  object-fit: cover;
}

.provider-card h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.6rem;
  color: var(--navy);
}

.provider-card .role {
  color: var(--teal);
  font-weight: 600;
  margin: 0.35rem 0 1rem;
}

.provider-card p { color: var(--slate); margin-bottom: 0.85rem; }

.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.info-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
}

.info-panel h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.info-panel p { color: #bae6fd; margin-bottom: 1.5rem; }

.info-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.info-list li:last-child { border-bottom: 0; }

.info-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.35rem;
}

.info-list a { color: var(--sky); }

.form-panel {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 2.25rem;
  border: 1px solid var(--cloud);
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: var(--white);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 0.75rem;
}

.map-frame {
  margin-top: 2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--cloud);
}

.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--navy-deep);
  color: #94a3b8;
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-cols h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-cols a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-footer .footer-bottom a {
  color: var(--teal-light);
}

.site-footer .footer-bottom a:hover {
  text-decoration: underline;
}

.section-head a {
  color: var(--teal);
  font-weight: 600;
}

.section-head a:hover {
  color: var(--navy);
}

@media (max-width: 960px) {
  .hero-grid, .zigzag-item, .zigzag-item.flip,
  .service-deck, .facts-band, .provider-card,
  .contact-split, .footer-cols {
    grid-template-columns: 1fr;
  }
  .zigzag-item.flip .zigzag-media,
  .zigzag-item.flip .zigzag-text { order: unset; }
  .hero-portrait { justify-self: center; }
  .facts-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-rail {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }
  .nav-rail.open { display: flex; }
  .service-deck { grid-template-columns: 1fr; }
}
