/* === Root tokens === */
:root {
  --color-primary: #EC4899;
  --color-secondary: #F9A8D4;
  --color-accent: #8B5CF6;
  --color-neutral-dark: #831843;
  --color-neutral-light: #FDF2F8;
  --color-text: #3B0A22;
  --color-muted: #9F5378;
  --color-line: rgba(131, 24, 67, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 6px 20px -12px rgba(131, 24, 67, 0.25);
  --shadow-md: 0 20px 40px -24px rgba(131, 24, 67, 0.35);
  --container: 1140px;
  --narrow: 720px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-neutral-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

/* === Container === */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: var(--narrow); }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 242, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.primary-nav { display: none; }
.primary-nav a {
  text-decoration: none;
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.98rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a:hover { color: var(--color-primary); }

.nav-toggle {
  background: transparent; border: 0; padding: 0.5rem; cursor: pointer;
  display: inline-flex; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }

@media (min-width: 860px) {
  .primary-nav { display: flex; gap: 0.25rem; align-items: center; }
  .nav-toggle { display: none; }
}
@media (max-width: 859px) {
  .primary-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-neutral-light);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--color-line);
  }
  .primary-nav.is-open a { padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--color-line); }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); background: #db2777; }
.btn-accent { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.btn-accent:hover { background: #fff; color: var(--color-neutral-dark); }

/* === Hero (stacked) === */
.hero { padding-block: 2.5rem 3rem; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 { max-width: 22ch; margin-bottom: 1.5rem; }
.hero-image {
  margin: 1.75rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-sub { font-size: 1.15rem; color: var(--color-text); max-width: 55ch; margin-bottom: 1.5rem; }
@media (min-width: 768px) {
  .hero { padding-block: 4rem 4.5rem; }
  .hero-image { margin: 2.5rem 0; }
}

/* === Section base === */
.section { padding-block: 3rem; }
@media (min-width: 768px) { .section { padding-block: 4.5rem; } }
.section.alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .lede { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.lede { color: var(--color-muted); font-size: 1.08rem; }

/* === Intro paragraphs === */
.section-intro h2 { margin-bottom: 0.75rem; }
.section-intro .lede { margin-bottom: 1.25rem; font-style: italic; }
.inline-image { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.inline-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Cards grid === */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards-2 { grid-template-columns: 1fr; }
@media (min-width: 800px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(236, 72, 153, 0.35); }
.card-icon { color: var(--color-primary); margin-bottom: 0.85rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-text); margin-bottom: 0; font-size: 0.98rem; }

.card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.card-link h3 { color: var(--color-neutral-dark); }
.card-link:hover h3 { color: var(--color-primary); }
.card-article { padding: 0; }
.card-article .card-link { padding: 1.75rem; }

/* === Testimonial === */
.section-testimonial { text-align: center; background: #fff; }
.section-testimonial blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  max-width: 62ch;
  margin-inline: auto;
  position: relative;
  padding: 1rem 0;
}
.section-testimonial blockquote::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-primary);
  margin: 0 auto 1.5rem;
}
.section-testimonial cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  text-align: center;
  padding-block: 3.5rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 1.08rem; max-width: 55ch; margin-inline: auto 1em; }

/* === FAQ === */
.section-faq details {
  border-top: 1px solid var(--color-line);
  padding: 1.15rem 0;
}
.section-faq details:last-of-type { border-bottom: 1px solid var(--color-line); }
.section-faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-neutral-dark);
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.section-faq summary::-webkit-details-marker { display: none; }
.section-faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.section-faq details[open] summary::after { content: "−"; }
.section-faq details p { margin-top: 0.9rem; color: var(--color-text); }

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin-inline: auto;
  padding: 3rem 1.25rem 4rem;
}
.article-detail .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.article-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article-sub { font-size: 1.25rem; color: var(--color-muted); margin-bottom: 1.5rem; font-style: italic; }
.article-hero { margin: 2rem 0; border-radius: 8px; overflow: hidden; }
.article-hero img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-detail h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-line); }
.back-link { text-decoration: none; color: var(--color-primary); font-weight: 500; }
.back-link:hover { color: var(--color-neutral-dark); }

/* === Contact form === */
.section-form { padding-top: 0; }
form[data-contact-form] {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}
.form-row { display: flex; flex-direction: column; margin-bottom: 1.15rem; }
.form-row label { font-weight: 500; margin-bottom: 0.4rem; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; }

/* === Contact band === */
.section-contact-band { background: #fff; text-align: center; }
.section-contact-band p { font-size: 1.05rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: #f9d3e4;
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; } }
.site-footer .logo img { height: 72px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-tagline { margin-top: 1rem; font-family: var(--font-heading); font-style: italic; color: #fde4ee; }
.site-footer nav ul, .legal-links { list-style: none; padding: 0; margin: 0; }
.site-footer nav li, .legal-links li { margin-bottom: 0.5rem; }
.site-footer a { color: #fde4ee; text-decoration: none; }
.site-footer a:hover { color: var(--color-secondary); text-decoration: underline; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem; color: rgba(255,255,255,0.7); font-size: 0.88rem; text-align: center; }
.copyright p { margin: 0; }

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: none;
  z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4);
  max-width: 540px;
}
@media (min-width: 640px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; } }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button, .cookie-banner__prefs button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 242, 248, 0.35);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
}
.cookie-banner__actions [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__actions button:hover { background: rgba(253, 242, 248, 0.12); }
.cookie-banner__actions [data-cookie-accept]:hover { background: #7c3aed; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); }
