/* ============================================
   ALLIANCE WOMEN'S CLINIC — DESIGN SYSTEM
   ============================================ */

/* Body font — Montserrat via Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap");

:root {
  /* BRAND COLORS */
  --navy-deep:    #0D1135;
  --navy-dark:    #141843;
  --navy-mid:     #1A2057;
  --navy-brand:   #20285C;
  --navy-light:   #2C3575;
  --navy-muted:   #3D4A8A;

  /* TEAL — primary accent */
  --teal:         #17B8B0;
  --teal-dark:    #0F9990;
  --teal-light:   #22D4CB;
  --teal-pale:    #E8F9F8;
  --teal-muted:   rgba(23,184,176,0.12);

  /* PINK — secondary accent / warmth */
  --pink-bright:  #F16282;
  --pink-mid:     #E8506F;
  --pink-soft:    #FADADF;
  --pink-pale:    #FFF0F3;

  --white:        #FFFFFF;
  --off-white:    #F5F6FA;
  --text-muted:   #7A85B0;
  --text-dark:    rgba(13,17,53,0.6);
  --border:       rgba(255,255,255,0.08);
  --border-dark:  rgba(13,17,53,0.09);

  /* TYPOGRAPHY */
  --font-display: "Behind The Nineties", "montserrat-alternates", sans-serif;
  --font-body:    "Montserrat", sans-serif;

  /* SPACING */
  --section-pad:  clamp(80px, 10vw, 140px);
  --container:    1240px;
  --gutter:       clamp(20px, 5vw, 60px);

  /* TRANSITIONS */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.87, 0, 0.13, 1);
  --duration:     0.7s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* UTILITY */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(23,184,176,0.35);
}

.btn-pink {
  background: var(--pink-bright);
  color: var(--white);
}
.btn-pink:hover {
  background: var(--pink-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(241,98,130,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal-muted);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-brand);
  border: 1.5px solid rgba(32,40,92,0.3);
}
.btn-outline-dark:hover {
  border-color: var(--navy-brand);
  background: rgba(32,40,92,0.04);
  transform: translateY(-2px);
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Section transitions are handled by clean background-color changes
   and subtle border-top/border-bottom rules per section */

/* LABEL TAG */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--teal);
}

/* HEADING STYLES */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.heading-xl {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
}
.heading-lg {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
}
.heading-md {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
}
.heading-sm {
  font-size: clamp(1.1rem, 1.5vw, 1.375rem);
  font-weight: 700;
}

.accent-text { color: var(--teal); font-style: italic; }
.accent-pink  { color: var(--pink-bright); }

/* DIVIDER LINE */
.divider {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 20px 0 28px;
}
.divider-center { margin: 20px auto 28px; }

/* NOISE TEXTURE OVERLAY */
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}

/* ──────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────── */
.site-footer { background: #090C26; position: relative; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-wave { display: none; }
.footer-main { padding: 64px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { margin-bottom: 14px; }
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 16px; font-style: italic; }
.footer-phone { font-size: 1.0625rem; font-weight: 700; color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer-phone:hover { color: var(--teal); }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav-heading { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.48); transition: color 0.2s, padding-left 0.2s; }
.footer-nav a:hover { color: rgba(255,255,255,0.9); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { font-size: 0.8125rem; color: rgba(255,255,255,0.28); }
.footer-bottom a:hover { color: rgba(255,255,255,0.55); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px)  { .footer-grid { grid-template-columns: 1fr; } }
