:root {
  --ink: #12263f;
  --navy: #0d2138;
  --muted: #5d6d7e;
  --line: rgba(18, 38, 63, 0.1);
  --paper: #f6f4f0;
  --white: #ffffff;
  --blue: #e7f1f7;
  --blue-deep: #d5e6f0;
  --teal: #3d7a86;
  --warm: #c4a484;
  --shadow: 0 18px 50px rgba(18, 38, 63, 0.08);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--teal);
}

h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -0.03em; }
h1 { font-size: clamp(46px, 6vw, 78px); line-height: 0.98; margin: 0 0 18px; }
h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.05; margin: 0 0 14px; }
h3 { margin: 0 0 8px; font-size: 24px; }

.lede { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: white; box-shadow: 0 12px 28px rgba(13, 33, 56, 0.22); }
.btn-navy:hover { background: #16324f; }
.btn-ghost { background: white; color: var(--ink); border-color: var(--line); }
.btn-light { background: white; color: var(--navy); }

header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 12px 16px 12px 18px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  background: rgba(246, 244, 240, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(18, 38, 63, 0.05);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.03em; }
.mark {
  width: 36px; height: 36px; border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  flex: 0 0 auto;
}
.mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-size: 14px; font-weight: 600; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; }

.hero { padding: 42px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}
.hero-copy > * { opacity: 0; animation: rise 0.9s ease forwards; }
.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.16s; }
.hero-copy .lede { animation-delay: 0.32s; }
.hero-actions { animation-delay: 0.48s; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { animation-delay: 0.62s; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-meta a { color: var(--ink); font-weight: 600; border-bottom: 1px solid rgba(18,38,63,0.2); }
.hero-meta strong { display: block; color: var(--teal); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }

.stage { position: relative; min-height: 620px; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(2px);
  background: radial-gradient(circle, #d7ebf3 0%, rgba(215,235,243,0) 70%);
}
.orb-a { width: 280px; height: 280px; right: -30px; top: 20px; }
.orb-b { width: 180px; height: 180px; left: 10px; bottom: 40px; background: radial-gradient(circle, #efe4d6 0%, rgba(239,228,214,0) 70%); }
.portrait {
  position: relative;
  width: min(100%, 470px);
  margin-left: auto;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(18, 38, 63, 0.16);
  opacity: 0;
  transform: scale(0.96);
  animation: photoIn 1.1s 0.2s ease forwards;
}
.portrait img { width: 100%; height: 640px; object-fit: cover; }
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(18, 38, 63, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(18, 38, 63, 0.16);
  opacity: 0;
  animation: rise 0.8s ease forwards;
  z-index: 2;
}
.float small { display: block; color: var(--muted); font-size: 12px; }
.float strong { font-size: 14px; font-weight: 600; }
.badge-care { left: -36px; top: 42px; animation-delay: 0.7s; }
.status { left: 22px; bottom: 28px; animation-delay: 0.9s; }
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #2f9e8f;
  box-shadow: 0 0 0 0 rgba(47, 158, 143, 0.5);
  animation: pulse 2.4s infinite;
}
.icon-chip {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; background: var(--blue); color: var(--teal);
}

.ribbon {
  margin-top: 28px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.ribbon-track {
  display: flex; gap: 42px; padding: 16px 0;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--muted); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
}

section { padding: 92px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }

.cards-4, .cards-3, .steps { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card, .step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  box-shadow: 0 8px 24px rgba(18, 38, 63, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover, .step:hover { transform: translateY(-8px); box-shadow: 0 22px 46px rgba(18, 38, 63, 0.1); }
.card p, .step p { margin: 0; color: var(--muted); }
.card svg, .service-icon svg { transition: transform 0.45s ease; }
.card:hover svg, .service-card:hover .service-icon svg { transform: translateY(-3px) scale(1.06); }
.service-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #f4fafc, #e5f1f6);
  color: var(--navy); margin-bottom: 18px;
}

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.story-photo {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 24px 60px rgba(18, 38, 63, 0.14);
}
.story-photo img { width: 100%; height: 560px; object-fit: cover; transform: scale(1.06); }
.story-photo.reveal.in img { animation: settle 1.2s ease forwards; }
.checks { list-style: none; padding: 0; margin: 26px 0 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; }
.checks svg { flex: 0 0 auto; margin-top: 3px; color: var(--teal); }

.band {
  margin: 0 auto 10px;
  width: min(1180px, calc(100% - 40px));
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  min-height: 240px;
}
.band img { width: 100%; height: 280px; object-fit: cover; }
.band-caption {
  position: absolute; inset: auto 28px 24px auto;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 14px 16px;
  max-width: 280px;
  box-shadow: var(--shadow);
}

.steps { grid-template-columns: repeat(3, 1fr); position: relative; }
.num {
  font-family: Fraunces, Georgia, serif;
  font-size: 42px;
  color: #b7c9d4;
  display: block;
  margin-bottom: 10px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  background: white;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-aside {
  background:
    radial-gradient(500px 240px at 10% 0%, rgba(125, 184, 196, 0.28), transparent 60%),
    var(--navy);
  color: white;
  padding: 48px 40px;
}
.contact-aside .lede { color: rgba(255,255,255,0.76); }
.contact-aside h2 { color: white; }
.channels { display: grid; gap: 12px; margin-top: 28px; }
.channel {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}
.channel:hover { background: rgba(255,255,255,0.14); }
.channel span { display: block; font-size: 12px; opacity: 0.7; }
.channel strong { font-weight: 500; }

form { padding: 40px 36px; }
label { display: block; font-size: 13px; font-weight: 500; margin: 14px 0 6px; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfaf8;
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { border-color: #9ec3d1; box-shadow: 0 0 0 4px rgba(61, 122, 134, 0.12); background: white; }
.honeypot { position: absolute; left: -9999px; }
.form-error { color: #9b3b3b; font-size: 14px; margin: 12px 0 0; }
.success[hidden] { display: none !important; }
.success {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
}
.success-mark {
  width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: var(--teal);
  animation: pop 0.5s ease;
}

footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 28px;
  margin-top: 20px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h3, footer .brand { color: white; }
footer a:hover { color: white; }
.legal {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px;
}

.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1f8a72; color: white;
  box-shadow: 0 14px 30px rgba(18, 38, 63, 0.22);
}
.wa::after {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(31, 138, 114, 0.45);
  animation: pulse 2.6s infinite;
}
.wa-tip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: white; color: var(--ink);
  padding: 8px 12px; border-radius: 999px;
  font-size: 13px; white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.wa:hover .wa-tip { opacity: 1; }

.mobile-call { display: none; }

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { animation: rise 0.85s ease forwards; }
.reveal.d1.in { animation-delay: 0.08s; }
.reveal.d2.in { animation-delay: 0.16s; }
.reveal.d3.in { animation-delay: 0.24s; }
.reveal.d4.in { animation-delay: 0.32s; }
.reveal.d5.in { animation-delay: 0.4s; }

.visit-photo {
  margin-top: 22px;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 32px;
}
.menu-panel { display: none; }
.form-panel.is-hidden,
.success.is-hidden { display: none; }
button:disabled { opacity: 0.7; cursor: wait; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes photoIn {
  to { opacity: 1; transform: none; }
}
@keyframes settle {
  to { transform: scale(1); }
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 14px rgba(31, 138, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 138, 114, 0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .menu-btn { display: grid; }
  .menu-panel.open {
    display: grid; gap: 14px;
    position: fixed; left: 14px; right: 14px; top: 86px;
    padding: 18px; border-radius: 22px; background: white;
    box-shadow: var(--shadow); z-index: 25;
  }
  .hero-grid, .story, .contact, .cards-4, .cards-3, .steps, .foot-grid {
    grid-template-columns: 1fr;
  }
  .stage { min-height: 0; }
  .portrait { margin: 8px auto 0; }
  .portrait img, .story-photo img { height: 460px; }
  .badge-care { left: 8px; }
  .contact-aside, form { padding: 28px 22px; }
  .mobile-call {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 30;
  }
  .mobile-call .btn { width: 100%; }
  section { padding: 68px 0; }
}
@media (max-width: 640px) {
  h1 { font-size: 42px; }
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .portrait img { height: 420px; }
  .legal { flex-direction: column; }
}
