/*
Theme Name: Senare V2
Theme URI: https://senare.pl
Author: Senare
Author URI: https://senare.pl
Description: One-page theme for Senare – Centrum Medycyny Snu. Based on the clinical-trials (badania kliniczne) layout with a curved floating header. Mint & forest brand palette.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: senare-v2
*/

/* ═══════════════════════════════════════
   DESIGN TOKENS — Senare Brand
═══════════════════════════════════════ */
:root {
  --mint:        rgb(149, 216, 182);   /* nav background / hero accent */
  --mint-light:  #d4f0e2;
  --mint-pale:   #edf8f3;
  --forest:      rgb(15, 68, 65);      /* primary text / dark sections */
  --forest-mid:  #1a5c52;
  --forest-light:#2a7a6e;
  --white:       #ffffff;
  --off-white:   #f7faf8;
  --gray-100:    #f0f4f2;
  --gray-200:    #dce8e2;
  --gray-400:    #8aaa9e;
  --gray-600:    #4a6b62;
  --text-body:   #1e3d38;
  --text-muted:  #5a7a72;
  --accent-warm: #c4905a;
  --accent-sage: #7aad91;

  --font: 'Nunito Sans', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(15,68,65,0.08);
  --shadow-md: 0 8px 32px rgba(15,68,65,0.12);
  --shadow-lg: 0 20px 60px rgba(15,68,65,0.16);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════
   TYPOGRAPHY SYSTEM
═══════════════════════════════════════ */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-light);
}
.label--light { color: var(--mint); }
.label--muted { color: var(--text-muted); }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.2; color: var(--forest); }
h1 { font-size: clamp(32px, 5vw, 58px); }
h2 { font-size: clamp(24px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 26px); }
h4 { font-size: 18px; }

p { color: var(--text-body); line-height: 1.75; }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1320px; }

section { position: relative; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest);
  color: var(--white);
}
.btn-primary:hover { background: var(--forest-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--white); transform: translateY(-1px); }

.btn-mint {
  background: var(--mint);
  color: var(--forest);
}
.btn-mint:hover { background: #8ed4b0; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-white {
  background: var(--white);
  color: var(--forest);
}
.btn-white:hover { background: var(--mint-pale); transform: translateY(-1px); }

.btn-sm { padding: 9px 20px; font-size: 13px; }

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   NAVIGATION — Curved floating header
   (forest band + mint bar with rounded
   bottom corners "curving" off the top)
═══════════════════════════════════════ */
.site-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--forest);
  padding: 14px 16px 0;
}

.nav {
  max-width: 1320px;
  margin: 0 auto;
  background: var(--mint);
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px 20px 46px 46px;
  box-shadow: 0 14px 34px rgba(15,68,65,0.28);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-img {
  height: 32px;
  width: auto;
}
/* Fallback wordmark if image can't load */
.nav-logo-wordmark {
  font-size: 22px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.nav-logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-light);
  line-height: 1.2;
  border-left: 1px solid rgba(15,68,65,0.3);
  padding-left: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active,
.nav-links li.current-menu-item > a { opacity: 1; }
.nav-links a.active,
.nav-links li.current-menu-item > a { font-weight: 700; }

.nav-cta { margin-left: 8px; }

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--forest);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ═══════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════ */
.hero {
  background: var(--forest);
  padding: 56px 0 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero-content { padding-bottom: 72px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(149,216,182,0.15);
  border: 1px solid rgba(149,216,182,0.3);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  margin-bottom: 28px;
}
.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  color: var(--mint);
}

.hero-lead {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  align-self: end;
}

.hero-img-wrap {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  background: var(--forest-mid);
  aspect-ratio: 4/5;
  max-height: 520px;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(149,216,182,0.2) 0%, rgba(15,68,65,0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-img-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.hero-stat-card {
  position: absolute;
  left: -32px;
  bottom: 48px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  min-width: 170px;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   SECTION 2 — ESRS AKREDYTACJA
═══════════════════════════════════════ */
.esrs {
  padding: 80px 0;
  background: var(--white);
}
.esrs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.esrs-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mint-pale);
  border: 1px solid var(--mint);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  margin-bottom: 20px;
}
.esrs-badge-icon {
  width: 24px;
  height: 24px;
  background: var(--mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.esrs-badge-icon svg { width: 14px; height: 14px; }
.esrs-badge-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}
.esrs h2 { margin-bottom: 20px; }
.esrs p { color: var(--text-muted); margin-bottom: 24px; max-width: 480px; }

.esrs-features { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.esrs-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.esrs-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--mint-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.esrs-feature-icon svg { width: 18px; height: 18px; color: var(--forest); }
.esrs-feature-text h4 { font-size: 15px; margin-bottom: 3px; }
.esrs-feature-text p { font-size: 14px; color: var(--text-muted); margin: 0; }

.esrs-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  position: relative;
}
.esrs-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--mint-pale) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.esrs-img-placeholder svg { width: 64px; height: 64px; opacity: 0.25; color: var(--forest); }

/* ═══════════════════════════════════════
   SECTION 3 — DLA PACJENTA / SPONSORA
═══════════════════════════════════════ */
.audience {
  padding: 0 0 80px;
  background: var(--white);
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.audience-card {
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}
.audience-card--patient {
  background: var(--forest);
  color: var(--white);
}
.audience-card--sponsor {
  background: var(--mint-pale);
  border: 1.5px solid var(--mint);
}
.audience-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.audience-card--patient .audience-card-label { color: var(--mint); }
.audience-card--sponsor .audience-card-label { color: var(--forest-light); }
.audience-card h3 {
  margin-bottom: 16px;
  font-size: 26px;
}
.audience-card--patient h3 { color: var(--white); }
.audience-card--sponsor h3 { color: var(--forest); }
.audience-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 360px;
}
.audience-card--patient p { color: rgba(255,255,255,0.75); }
.audience-card--sponsor p { color: var(--text-muted); }

.audience-card-deco {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.08;
}
.audience-card--patient .audience-card-deco { background: var(--mint); }
.audience-card--sponsor .audience-card-deco { background: var(--forest); }

/* ═══════════════════════════════════════
   SECTION 4 — AKTUALNE BADANIA
═══════════════════════════════════════ */
.studies {
  padding: 80px 0;
  background: var(--off-white);
}
.studies-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.studies-header h2 { max-width: 440px; }

.studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.study-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint);
}
.study-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}
.study-status--open {
  background: #e6f7ee;
  color: #1a7a45;
}
.study-status--open::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a7a45;
  animation: pulse 2s ease infinite;
}
.study-status--soon {
  background: #fff8e6;
  color: #9b6a00;
}
.study-status--soon::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0b429;
}

.study-card h4 { margin-bottom: 12px; font-size: 16px; line-height: 1.35; }
.study-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }

.study-criteria {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.study-criteria-row {
  display: flex;
  gap: 8px;
  font-size: 12px;
}
.study-criteria-key {
  color: var(--text-muted);
  font-weight: 500;
  min-width: 52px;
  flex-shrink: 0;
}
.study-criteria-val { color: var(--text-body); font-weight: 500; }

/* ═══════════════════════════════════════
   SECTION 5 — CZYM SĄ BADANIA
═══════════════════════════════════════ */
.what-is {
  padding: 80px 0;
  background: var(--white);
}
.what-is-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.what-is-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/3;
  order: 2;
}
.what-is-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.what-is-img-placeholder svg { width: 72px; height: 72px; opacity: 0.25; color: var(--white); }

.what-is-content { order: 1; }
.what-is-content h2 { margin-bottom: 20px; }
.what-is-content p { color: var(--text-muted); margin-bottom: 16px; }
.what-is-content .highlight-box {
  background: var(--mint-pale);
  border-left: 3px solid var(--mint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.highlight-box p {
  font-size: 15px;
  color: var(--forest);
  font-weight: 600;
  margin: 0;
}

/* ═══════════════════════════════════════
   SECTION 6 — ETAPY BADANIA
═══════════════════════════════════════ */
.steps {
  padding: 80px 0;
  background: var(--forest);
  overflow: hidden;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(149,216,182,0.05);
  pointer-events: none;
}
.steps-header {
  text-align: center;
  margin-bottom: 64px;
}
.steps-header .label { color: var(--mint); margin-bottom: 12px; display: block; }
.steps-header h2 { color: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 1px;
  background: rgba(149,216,182,0.25);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-num-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(149,216,182,0.12);
  border: 1.5px solid rgba(149,216,182,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--mint);
  transition: all 0.25s ease;
}
.step-item:hover .step-num {
  background: var(--mint);
  color: var(--forest);
  border-color: var(--mint);
}
.step-item h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.step-item p {
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   SECTION 7 — CTA BANNER
═══════════════════════════════════════ */
.cta-banner {
  padding: 64px 0;
  background: var(--mint);
  text-align: center;
}
.cta-banner h2 { color: var(--forest); margin-bottom: 12px; }
.cta-banner p { color: var(--forest); opacity: 0.75; margin-bottom: 28px; font-size: 17px; }

/* ═══════════════════════════════════════
   SECTION 8 — DLA SPONSORÓW
═══════════════════════════════════════ */
.sponsor-section {
  padding: 80px 0;
  background: var(--off-white);
}
.sponsor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sponsor-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--mint-pale);
}
.sponsor-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--mint-pale) 0%, #b8e8d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.sponsor-img-placeholder svg { width: 72px; height: 72px; opacity: 0.3; color: var(--forest); }

.sponsor-content h2 { margin-bottom: 20px; }
.sponsor-content p { color: var(--text-muted); margin-bottom: 24px; }

.sponsor-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.sponsor-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
}
.sponsor-feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sponsor-feature-check svg { width: 12px; height: 12px; color: var(--forest); }

/* ═══════════════════════════════════════
   SECTION 9 — FAQ
═══════════════════════════════════════ */
.faq {
  padding: 80px 0;
  background: var(--white);
}
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-header h2 { margin-bottom: 12px; }
.faq-header p { color: var(--text-muted); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--mint); }
.faq-item.open { border-color: var(--mint); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--forest);
  text-align: left;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint-pale);
  border: 1px solid var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s;
}
.faq-item.open .faq-icon {
  background: var(--forest);
  transform: rotate(45deg);
}
.faq-icon svg { width: 14px; height: 14px; color: var(--forest); transition: color 0.2s; }
.faq-item.open .faq-icon svg { color: var(--white); }

.faq-a {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ═══════════════════════════════════════
   SECTION 10 — FORMULARZ
═══════════════════════════════════════ */
.contact {
  padding: 80px 0;
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(149,216,182,0.07);
  pointer-events: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .label { color: var(--mint); margin-bottom: 12px; display: block; }
.contact-info h2 { color: var(--white); margin-bottom: 20px; }
.contact-info p { color: rgba(255,255,255,0.65); margin-bottom: 40px; font-size: 16px; line-height: 1.7; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(149,216,182,0.12);
  border: 1px solid rgba(149,216,182,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--mint); }
.contact-detail-label { font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.contact-detail-val { font-size: 15px; color: var(--white); font-weight: 500; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 8px;
}
.form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  margin-bottom: 24px;
}
.toggle-btn {
  padding: 10px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}
.toggle-btn.active {
  background: var(--forest);
  color: var(--white);
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-body);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a6b62' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.form-checkbox input[type=checkbox] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--forest);
}
.form-checkbox label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
}
.form-submit { width: 100%; }

/* Submission notices */
.form-notice {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}
.form-notice--ok {
  background: #e6f7ee;
  color: #1a7a45;
  border: 1px solid #b6e6cb;
}
.form-notice--err {
  background: #fdecec;
  color: #b3261e;
  border: 1px solid #f4c7c3;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--forest);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}
.footer-logo-wordmark {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--mint); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════
   UTILS
═══════════════════════════════════════ */
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.flex { display: flex; }
.gap-3 { gap: 12px; }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  animation: fadeUp 0.6s ease both;
}
.hero-label { animation-delay: 0.1s; }
.hero h1    { animation-delay: 0.2s; }
.hero-lead  { animation-delay: 0.3s; }
.hero-ctas  { animation-delay: 0.4s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--mint);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }

  .hero-inner,
  .esrs-inner,
  .what-is-inner,
  .sponsor-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .what-is-visual { order: 1; }
  .what-is-content { order: 2; }

  .audience-grid { grid-template-columns: 1fr; }
  .studies-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .studies-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav { padding: 0 18px; }
  .hero-stat-card { left: 16px; }
}
