/* Azure Health — stylesheet */

/* ---- Tokens ---------------------------------------------------------- */
:root {
  --deep-azure: #3E6F8E;
  --soft-sky:   #DCEBF2;
  --sea-glass:  #A8C8C2;
  --warm-sand:  #F3EEE6;
  --ink-slate:  #263746;
  --cream:      #FAF6EF;
  --bone:       #E3DBC9;
  --warm-gray:  #8A8075;

  --font-serif: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container:  68rem;
  --narrow:     40rem;
  --radius:     2px;
}

/* ---- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-slate);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--deep-azure); text-decoration: none; }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }

/* ---- Typography ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--deep-azure);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 500; letter-spacing: 0.02em; }

.lead {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-slate);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--deep-azure);
  margin: 0 0 1.25rem;
}

em, i { font-style: italic; }

/* ---- Layout ---------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.narrow    { max-width: var(--narrow); margin-left: auto; margin-right: auto; }

.section { padding: 6rem 0; }
.section--sky  { background: var(--soft-sky); }
.section--sand { background: var(--warm-sand); }
.section--dark { background: var(--ink-slate); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section--dark .eyebrow { color: var(--soft-sky); }

@media (max-width: 720px) {
  .section { padding: 4rem 0; }
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--deep-azure);
  opacity: 0.4;
  border: 0;
  margin: 2.5rem auto;
}

/* ---- Header / nav ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--bone);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--deep-azure);
}
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-gray);
  display: block;
  margin-top: 2px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-slate);
  white-space: nowrap;
}
.site-nav a:hover { color: var(--deep-azure); }
.site-nav a.is-current { color: var(--deep-azure); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--ink-slate);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1050px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--bone);
    padding: 1rem 1.5rem 1.5rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--bone);
    letter-spacing: 0.18em;
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .btn { margin-top: 0.75rem; text-align: center; }
}

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1.05rem 2.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
.btn--primary {
  background: var(--deep-azure);
  color: var(--cream);
}
.btn--primary:hover { background: var(--ink-slate); color: var(--cream); }
.btn--secondary {
  background: transparent;
  color: var(--deep-azure);
  border-color: var(--deep-azure);
}
.btn--secondary:hover {
  background: var(--deep-azure);
  color: var(--cream);
}
.btn--on-dark {
  background: var(--cream);
  color: var(--deep-azure);
}
.btn--on-dark:hover { background: var(--soft-sky); color: var(--deep-azure); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.text-link {
  color: var(--deep-azure);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--deep-azure);
  padding-bottom: 2px;
  display: inline-block;
}
.text-link:hover { color: var(--ink-slate); border-color: var(--ink-slate); }

/* ---- Hero ------------------------------------------------------------ */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}
.hero__inner { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }
.hero__subhead {
  max-width: 38rem;
  margin: 0 auto;
}

/* ---- Cards ----------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 3rem;
}
.card {
  background: var(--cream);
  border: 1px solid var(--bone);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.card:hover {
  background: var(--soft-sky);
  border-color: transparent;
}
.card__icon {
  width: 44px;
  height: 44px;
  color: var(--deep-azure);
  margin-bottom: 0.5rem;
}
.card h3 { margin: 0; }
.card p { color: var(--ink-slate); flex-grow: 1; }
.card .text-link { margin-top: 0.5rem; align-self: flex-start; }

.card--featured {
  background: var(--soft-sky);
  border-color: transparent;
}

/* ---- Pricing --------------------------------------------------------- */
.pricing {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0 0;
}
.pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--bone);
}
.pricing__row:last-child { border-bottom: 0; }
.pricing__label {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink-slate);
}
.pricing__price {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  color: var(--deep-azure);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pricing__note {
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ---- Lists ----------------------------------------------------------- */
.plain-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.plain-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bone);
}
.plain-list li:last-child { border-bottom: 0; }

.numbered-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 2rem;
}
.numbered-steps li {
  counter-increment: step;
  padding-left: 3.5rem;
  position: relative;
}
.numbered-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-sky);
  color: var(--deep-azure);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  border-radius: 50%;
}
.numbered-steps h4 { margin: 0 0 0.3em; color: var(--deep-azure); font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; letter-spacing: 0; text-transform: none; }

/* ---- Callouts -------------------------------------------------------- */
.callout {
  background: var(--soft-sky);
  padding: 2rem 2rem;
  border-radius: var(--radius);
  margin: 2.5rem 0;
}
.callout--warn {
  background: var(--warm-sand);
  border-left: 3px solid var(--deep-azure);
}

/* ---- Two-column content --------------------------------------------- */
.two-col {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Photo slot ------------------------------------------------------ */
.photo-slot {
  background: var(--soft-sky);
  border: 1px dashed var(--sea-glass);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray);
  font-size: 0.85rem;
  font-style: italic;
  letter-spacing: 0.05em;
  padding: 1rem;
  text-align: center;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--ink-slate);
  color: var(--cream);
  padding: 4rem 0 2.5rem;
}
.site-footer .brand__name { color: var(--cream); }
.site-footer .brand__sub { color: var(--sea-glass); }
.site-footer a { color: var(--soft-sky); }
.site-footer a:hover { color: var(--cream); }

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.2fr 1fr 1fr;
  margin-bottom: 3rem;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sea-glass);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 0.35rem 0; font-size: 0.95rem; }

.footer-tagline {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sea-glass);
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---- Utilities ------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
