:root {
  --pink: #ff55d7;
  --pink-dark: #99127f;
  --soft-pink: #fde7f7;
  --text: #08364b;
  --muted: #4f7180;
  --white: #ffffff;
  --shadow: 0 4px 0 rgba(0, 0, 0, 0.16);
  --header-offset: 62px;
}

body {
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

/* Ensure in-page anchor targets are offset for the fixed header */
[id] {
  scroll-margin-top: var(--header-offset);
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 20px;
  z-index: 1000;
  width: 100%;
  background: var(--pink);
  min-height: 48px;
  border-top: 2px solid rgba(255, 255, 255, 0.45);
}

.header-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: #fff;
  font-size: 16px;
}

.desktop-nav a,
.footer-nav a,
.footer-policies a,
.footer-contact a {
  transition: opacity 0.18s ease;
}
.desktop-nav a:hover,
.footer-nav a:hover,
.footer-policies a:hover,
.footer-contact a:hover {
  opacity: 0.72;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px auto;
}
.mobile-menu {
  display: none;
}

.hero {
  min-height: 510px;
  background: url("./images/hero-bg.webp") center/cover no-repeat;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.58);
}
.hero-card {
  position: relative;
  z-index: 2;
  width: min(916px, 90%);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  padding: 81px 21px;
  margin-block: 110px 102px;
  text-align: center;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}
.hero-card h1 {
  color: var(--pink-dark);
  font-size: 48px;
  line-height: 50px;
  margin-bottom: 32px;
  font-weight: 700;
}
.hero-card p {
  font-size: 18px;
  line-height: 24px;
}

.content-section {
  padding: 30px 0;
}
.content-section.compact {
  padding-top: 22px;
  padding-bottom: 32px;
}
.visual-section {
  padding-top: 12px;
}
.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.reverse-grid {
  grid-template-columns: 0.8fr 1.2fr;
}
.single-col {
  display: block;
}

.soft-card,
.plain-card {
  border-radius: 26px;
  padding: 34px 38px;
}
.soft-card {
  background: var(--soft-pink);
  box-shadow: var(--shadow);
}
.plain-card {
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: var(--shadow);
}
.text-card h2,
.plain-card h2 {
  color: var(--pink-dark);
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 32px;
  font-weight: 700;
}
.text-card h3,
.plain-card h3 {
  color: #0080a7;
  font-size: 26px;
  line-height: 28px;
  margin-bottom: 32px;
  font-weight: 500;
}
.text-card p,
.plain-card p {
  color: #043e50;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 24px;
}
.text-card p:last-child,
.plain-card p:last-child {
  margin-bottom: 0;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}
.portrait {
  min-height: 420px;
}
.banner-image {
  height: 420px;
}
.wide-card {
  width: 100%;
}
.gap-stack {
  display: grid;
  gap: 40px;
}
.info-stack .plain-card {
  padding: 32px 38px;
}
.info-stack .plain-card h2 {
  margin-bottom: 32px;
}
.info-stack .plain-card h3 {
  margin-bottom: 32px;
}
.info-stack .plain-card p {
  font-size: 18px;
  margin-bottom: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: right;
  border-radius: 24px;
}

.sources-card {
  padding: 30px 38px;
}
.sources-card h2 {
  margin-bottom: 32px;
}
.sources-card h3 {
  margin-bottom: 32px;
}
.sources-card > p {
  font-size: 18px;
}
.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 18px 0 24px;
}
.sources-grid p {
  color: var(--pink);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.faq-section {
  padding: 10px 0 60px;
}
.faq-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
}
.faq-title {
  text-align: center;
  color: var(--pink-dark);
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 44px;
}
.faq-list {
  display: grid;
  gap: 18px;
}
.faq-item {
  border: 1.5px solid var(--pink);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  align-items: center;
  padding: 40px 24px 23px;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  background: transparent;
  font-size: 22px;
  line-height: 22px;
}
.faq-plus {
  color: var(--pink);
  font-size: 24px;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition:
    max-height 0.25s ease,
    padding 0.25s ease;
}
.faq-answer p {
  font-size: 18px;
  line-height: 24px;
  padding-bottom: 50px;
}
.faq-item.open .faq-answer {
  max-height: 240px;
}
.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.footer {
  background: var(--pink);
  color: #fff;
  padding: 42px 0 42px;
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-tagline {
  color: #8a1575;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 22px;
}
.footer-contact {
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 900;
}
.footer-contact a {
  text-decoration: underline;
  color: var(--text);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 16px;
  margin-bottom: 24px;
}
.footer-policies {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--text);
  font-weight: 900;
  font-size: 32px;
  margin-bottom: 24px;
}
.copyright {
  font-size: 16px;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 36px, 1200px);
  }
  .desktop-nav {
    display: none;
  }
  .header {
    top: 0;
  }
  .header-inner {
    min-height: 80px;
    justify-content: flex-end;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-menu {
    position: fixed;
    inset: 62px 0 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.86);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: block;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-panel {
    width: 100%;
    margin-left: auto;
    min-height: calc(100% - 62px);
    background: var(--pink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 62px;
    color: #fff;
  }
  body.menu-open {
    overflow: hidden;
  }
  .two-col,
  .reverse-grid {
    grid-template-columns: 1fr;
  }
  .feature-image {
    min-height: 330px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid img {
    height: 330px;
  }
  .gallery-grid img:last-child {
    grid-column: 1 / -1;
  }
  .sources-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .header {
    top: 0;
    min-height: 80px;
  }
  .header-inner {
    min-height: 80px;
  }
  .container {
    width: calc(100% - 24px);
  }
  .hero {
    min-height: 520px;
    background-position: center;
    align-items: start;
  }
  .hero-card {
    width: 100%;
    margin-block: 150px 170px;
    padding: 22px 17.5px;
    border-radius: 24px;
  }
  .hero-card h1 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 32px;
  }
  .hero-card p {
    font-size: 18px;
    line-height: 24px;
  }
  .content-section {
    padding: 24px 0;
  }
  .soft-card,
  .plain-card,
  .sources-card {
    border-radius: 20px;
    padding: 24px 18px;
  }
  .text-card h2,
  .plain-card h2 {
    font-size: 32px;
    margin-bottom: 36px;
  }
  .text-card h3,
  .plain-card h3 {
    font-size: 26px;
    margin-bottom: 28px;
  }
  .text-card p,
  .plain-card p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 38px;
  }
  .portrait,
  .banner-image {
    min-height: 0;
    height: 596px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img,
  .gallery-grid img:last-child {
    grid-column: auto;
    height: 260px;
  }
  .sources-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .faq-wrap {
    width: calc(100% - 36px);
  }
  .faq-item {
    border-radius: 18px;
  }
  .faq-question {
    font-size: 22px;
  }
  .faq-answer p {
    font-size: 18px;
  }
  .footer {
    padding: 75px 0 75px;
  }
  .footer-tagline {
    text-align: center;
    font-size: 20px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 14px 18px;
  }
  .footer-policies {
    flex-direction: column;
    gap: 24px;
    font-size: 28px;
  }
}
