/* Advocates For Her — restyled to match reference layout theme
   Palette kept from AFH brand (pink + purple). */

:root {
  --pink: #E9A0A7;
  --pink-light: #F8E5E5;
  --pink-dark: #D87C91;
  --purple: #FF69B4;
  --purple-dark: #FF69B4;
  --header-bg: #F8E5E5; /* AFH pink acts as the "teal band" from ref */
  --header-bg-soft: #FDF4F4;
  --dark: #191919;
  --black: #000000;
  --hot-pink: #FF69B4;
  --dark-light: #444;
  --muted: #666;
  --white: #ffffff;
  --bg-soft: #fbf6f6;   
  --green: #D5E2C8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,.10);
}

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

html, body { width: 100%; max-width: 100%; overflow-x: hidden; }

body {
  font-family: 'Lato', system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  font-size: 16px;
}

h1,h2,h3,h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--dark);
}

a { color: var(--purple); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--pink-dark); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Top thin "Cover your tracks" bar ---------- */
.top-safety-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 13px;
  padding: 8px 1.25rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}
.top-safety-bar a { color: var(--purple); font-weight: 600; }
.top-safety-bar .lock { margin-right: 4px; }

/* ---------- Header band ---------- */
.header {
  background: linear-gradient(90deg, #fff8f7 0%, #f8e5e5 100%);
  color: var(--dark);
  border-bottom: 1px solid rgba(122,47,98,.10);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-container { flex: 0 0 300px; display: flex; align-items: center; }
.logo-container a { display: flex; align-items: center; width: 71%; }
.logo { width: 100%; height: auto; display: block; }


/* ---------- Nav (inline in header) ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  color: var(--white);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  position: relative;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  transition: color .2s ease, transform .2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  transform: translateY(-2px);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--white);
  transition: width .3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  background: none;
  border: 0;
  color: var(--hot-pink);
  font-size: 1.6rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 8px;
  align-self: center;
}
.hamburger:hover {
  color: var(--white);
  background-color: rgba(255,255,255,0.15);
}

/* ---------- Fixed top strips ---------- */
.top-strips {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}
body { padding-top: 96px; }

.pre-hero-strip { width: 100%; }
.pre-hero-strip .strip-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.strip-quick-exit {
  background: var(--black);
  color: var(--dark);
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.strip-quick-exit .strip-inner {
  justify-content: center;
  padding: 12px 1.25rem;
}
.quick-exit-link {
  color: var(--hot-pink);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.quick-exit-link:hover { color: var(--dark); opacity: 0.85; }
.strip-crisis {
  background: var(--purple);
  color: var(--white);
  padding: 10px 0;
  text-align: center;
}
.strip-crisis p { font-size: 14px; font-weight: 600; margin: 0; }
.strip-crisis a { color: var(--white); text-decoration: underline; }
.strip-crisis a:hover { color: var(--pink-light); }

@media (max-width: 720px) {
  body { padding-top: 92px; }
  .pre-hero-strip .strip-inner { justify-content: center; text-align: center; padding-top: 8px; padding-bottom: 8px; }
  .strip-quick-exit .strip-inner { padding: 10px 1rem; }
  .strip-crisis { padding: 8px 0; }
  .strip-crisis p { font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(42,18,31,.56) 0%, rgba(42,18,31,.28) 48%, rgba(0,0,0,.12) 100%),
    url('afh-hero-sunset.png') center 58%/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero .container { padding-top: 60px; padding-bottom: 60px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: var(--white);
  margin-bottom: .75rem;
  max-width: 760px;
}
.hero h1 span { color: #FF69B4; font-style: italic; }
.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  max-width: 720px;
  margin-bottom: 1.75rem;
  color: rgba(255,255,255,.95);
}
.hero .btn-pill { padding: 14px 30px; font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-soft { background: var(--green); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.25rem;
}
.section-lead { max-width: 820px; color: var(--dark-light); }

.intro-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
.intro-grid .icon-wrap {
  aspect-ratio: 1/1;
  border: 3px dashed var(--hot-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hot-pink);
  font-size: 78px;
  overflow: hidden;
}
.intro-grid .icon-wrap img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}

/* Content prose */
.prose p { margin-bottom: 1rem; color: var(--dark-light); }
.prose ul { margin: 12px 0 20px 22px; }
.prose li { margin-bottom: 6px; color: var(--dark-light); }
.prose strong { color: var(--dark); }

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.card-body p { color: var(--muted); margin-bottom: 1rem; flex: 1; }
.card-link {
  color: var(--purple);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 13px;
}
.card-link i { margin-left: 6px; }

/* ---------- Help-lines grid ---------- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.help-card {
  background: var(--white);
  border-left: 4px solid #5B2048;
  padding: 22px 20px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.help-card h4 { font-size: 1.15rem; margin-bottom: .4rem; color: #5B2048; }
.help-card a { display: block; font-weight: 600; margin-top: 4px; word-break: break-word; color: #000000 !important; }

/* ---------- Buttons row ---------- */
.button-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 30px 0;
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 26px;
  background: var(--hot-pink);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s ease;
  text-align: center;
}
.button:hover { background: var(--purple-dark); color: var(--white); }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s ease;
}
.btn-pill:hover { background: var(--hot-pink); color: var(--white); }

/* ---------- Acknowledgment / contact strip ---------- */
.acknowledgment {
  background: var(--green);
  padding: 26px 24px;
  border-radius: 8px;
  margin-top: 40px;
  font-style: italic;
  color: var(--dark-light);
  text-align: center;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  font-size: 1.05rem;
}
.contact-item { padding: 12px 16px; background: #000000; color: #ffffff; border-radius: 8px; }
.contact-link { color: #FF69B4 !important; font-weight: 700; }

/* ---------- Footer ---------- */
.footer {
  background: #FF69B4;
  color: var(--white);
  padding: 40px 0 0;
}
.footer a { color: var(--white); }
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-text p { font-size: 14px; }
.footer-links { display: flex; gap: 14px; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,.12);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background .2s ease;
}
.social-icon:hover { background: rgba(0,0,0,.25); color: var(--white); }

.footer-note {
  background: var(--black);
  color: var(--hot-pink);
  margin-top: 24px;
  padding: 12px 1.25rem;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.footer-note a { color: var(--hot-pink); text-decoration: underline; }
.footer-note a:hover { color: var(--pink-light); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; text-align: center; }
  .intro-grid .icon-wrap { margin: 0 auto; width: 160px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .button-group { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 30px auto; }
}

@media (max-width: 720px) {
  .header { position: relative; }
  .header-inner { padding: 1rem 1.5rem; min-height: 120px; align-items: center; }
  .logo-container { flex: 0 1 260px; max-width: 260px; }
  .logo { width: 100%; max-width: 260px; }

  .btn-pill { padding: 8px 16px; font-size: 13px; }

  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
  }
  .nav {
    justify-content: flex-end;
    position: relative;
    z-index: 1001;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100%;
    background: var(--hot-pink);
    color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 120px 0 2rem;
    box-shadow: none;
    z-index: 1001;
  }
  .nav-links.active { display: flex; }
  .nav-links a {
    border-radius: 0;
    padding: 18px 24px;
    color: var(--white);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--white); }
  .nav-links a:hover::after,
  .nav-links a.active::after { background: var(--white); }

  /* Keep the hamburger/close icon visible above the full-height menu */
  .nav:has(.nav-links.active) .hamburger,
  .nav:has(.nav-links.active) .hamburger:hover {
    color: var(--white);
  }


  .hero { min-height: 380px; }
  .section { padding: 50px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; }
  .button-group { grid-template-columns: 1fr; max-width: 360px; margin: 30px auto; }
}

@media (max-width: 400px) {
  .top-safety-bar { font-size: 12px; padding: 6px 12px; }
  .hero h1 { font-size: 1.6rem; }
}


/* 2026 AFH brand refresh */
.header-inner { min-height: 128px; }
.logo-container { flex-basis: 380px; }
.nav-links a { color: #FF69B4; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
.nav-links a:hover, .nav-links a.active { color: #E84A90; }
.nav-links a::after { background: #FF69B4; }
.hamburger { color: var(--hot-pink); }
.hamburger:hover { color:#7A2F62; background:rgba(216,124,145,.10); }
.hero { min-height: 650px; }
.hero .container { padding-top: 90px; padding-bottom: 90px; }
.hero h1 { font-weight: 500; letter-spacing: -.02em; }
.btn-pill, .button { background: var(--hot-pink); }
.btn-pill:hover, .button:hover { background: #ff4da6; }
.intro-grid .icon-wrap { border-color: var(--hot-pink); box-shadow:0 10px 35px rgba(122,47,98,.10); }
.section-soft { background: var(--green); }
.card { border:1px solid rgba(216,124,145,.12); }
.card-link, a { color:#7A2F62; }
.contact-link { color: #FF69B4 !important; font-weight: 700; }
@media (max-width:720px){
  .header-inner{padding:1rem 1.25rem;min-height:120px;align-items:center;}
  .logo-container{flex:0 1 255px;max-width:255px;}
  .hero{min-height:600px;background-position:64% center;}
  .hero .container{padding-top:120px;padding-bottom:70px;}
  .hero h1{font-size:clamp(2.45rem,11vw,4rem);max-width:92%;}
  .hero .subtitle{font-size:1.12rem;max-width:92%;}
  .nav-links{background: var(--hot-pink);}
  .nav-links a{color:#fff;}
  .nav-links a:hover,
  .nav-links a.active{color:#fff;}
  .nav-links a:hover::after,
  .nav-links a.active::after{background:#fff;}
}


/* ==========================================================
   AFH COMPLETE RESPONSIVE BRAND LAYOUT — desktop + mobile
   Hero image is an actual full-bleed image layer so it scales
   correctly on wide desktop screens without tiling/distortion.
   ========================================================== */

.header {
  background: #FDF4F4;
  color: var(--dark);
}
.header-inner {
  width: min(100% - 64px, 1440px);
  max-width: 1440px;
  min-height: 130px;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-container { flex: 0 1 410px; max-width: 410px; }

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(680px, 72vh, 900px);
  overflow: hidden;
  background: #39202d;
  display: flex;
  align-items: center;
}
.hero-image {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 58% 58%;
}
.hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(35,18,29,.68) 0%,
    rgba(50,25,38,.48) 38%,
    rgba(43,20,31,.18) 66%,
    rgba(20,10,15,.08) 100%);
}
.hero-content {
  width: min(100% - 64px, 1440px);
  max-width: 1440px;
  padding: 110px 0 120px;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 5.2vw, 5.8rem);
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0,0,0,.2);
}
.hero .subtitle {
  max-width: 690px;
  font-size: clamp(1.18rem, 1.5vw, 1.5rem);
  line-height: 1.65;
}
.hero .btn-pill { font-size: 1rem; padding: 16px 34px; }

.section { padding: 92px 0; }
.container { max-width: 1240px; }
.intro-grid { grid-template-columns: minmax(260px, 340px) 1fr; gap: 72px; }
.intro-grid .icon-wrap { width: 100%; max-width: 320px; justify-self: center; }
.section-title { font-size: clamp(2rem, 3vw, 3.1rem); }
.card { border-radius: 18px; }
.card img { height: 260px; }
.card-body { padding: 28px; }
.acknowledgment { border-radius: 18px; }

@media (min-width: 1600px) {
  .hero { min-height: 820px; }
  .hero-image { object-position: center 60%; }
  .hero-content { width: min(100% - 120px, 1500px); max-width: 1500px; }
}

@media (max-width: 1100px) {
  .header-inner { width: min(100% - 40px, 1200px); }
  .logo-container { flex-basis: 340px; max-width: 340px; }
  .nav-links { gap: 1.6rem; }
  .hero-content { width: min(100% - 48px, 1200px); }
  .hero h1 { max-width: 650px; }
  .hero-image { object-position: 63% 55%; }
}

@media (max-width: 900px) {
  .hero { min-height: 680px; }
  .hero-image { object-position: 66% 54%; }
  .hero-content { padding-top: 90px; padding-bottom: 90px; }
  .intro-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-grid .icon-wrap { width: min(300px, 72vw); }
}

@media (max-width: 720px) {
  .header-inner { width: 100%; padding: 1rem 20px; min-height: 120px; align-items: center; }
  .logo-container { flex: 0 1 260px; max-width: 72vw; }
  .nav-links a,
  .nav-links a:hover,
  .nav-links a.active { color: #fff !important; }
  .nav-links a:hover::after,
  .nav-links a.active::after { background: #fff !important; }
  .hero {
    min-height: 650px;
    align-items: center;
  }
  .hero-image { object-position: 68% 50%; }
  .hero-overlay {
    background: linear-gradient(90deg,
      rgba(31,15,25,.65) 0%,
      rgba(37,18,29,.46) 55%,
      rgba(20,10,15,.12) 100%);
  }
  .hero-content {
    width: 100%;
    padding: 105px 1.5rem 76px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: 1.05;
    max-width: 95%;
  }
  .hero .subtitle { max-width: 95%; font-size: 1.08rem; }
  .section { padding: 60px 0; }
  .card img { height: 230px; }
}

@media (max-width: 430px) {
  .hero { min-height: 610px; }
  .hero-image { object-position: 70% 50%; }
  .hero-content { padding-top: 90px; }
  .hero h1 { font-size: 2.65rem; }
}
