/* ==========================================================================
   Skill Development by Heartfulness (SDH) — site stylesheet
   Palette + type scale reset to match the official Heartfulness design
   system (hfn-uicore.heartfulness.org): primary blue, secondary purple,
   status colors, and the Poppins type scale / spacing / radius tokens.
   ========================================================================== */

:root {
  /* ---- Brand colors (HFN UiCore tokens) ---- */
  --primary-50: #e6ebf5;
  --primary-75: #96abd5;
  --primary-100: #6b89c4;
  --primary-200: #2b56aa;
  --primary-300: #003399; /* brand primary */
  --primary-400: #00246b;
  --primary-500: #001f5d;

  --secondary-50: #f4e9f6;
  --secondary-100: #bd80c8;
  --secondary-200: #a149b0;
  --secondary-300: #8e24a0; /* brand secondary */
  --secondary-400: #631970;
  --secondary-500: #571662;

  --success: #008a00;
  --warning: #db6c30;
  --error: #f04438;

  /* ---- Mapped onto the site's existing variable names ---- */
  --gold: var(--secondary-300);
  --gold-dark: var(--secondary-400);
  --navy: var(--primary-300);
  --navy-dark: var(--primary-400);
  --indigo: var(--primary-500);
  --sky: var(--primary-50);
  --sky-2: #dce5f4;
  --paper: #ffffff;
  --ink: #0b0c0f;
  --ink-soft: #5c6b7d;
  --line: #c7d3ea;
  --shadow: 0 8px 16px rgba(133, 133, 133, 0.12);
  --radius: 8px;      /* HFN UiCore card radius */
  --radius-btn: 6px;  /* HFN UiCore button radius */
  --max-width: 1080px;

  /* ---- Spacing scale — every gap/padding/margin in this file is a
     multiple of 4px (matches HFN UiCore's own hfn-m-*/hfn-p-* tokens),
     so section rhythm stays consistent instead of ad-hoc values. ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;

  /* ---- Focus ring (keyboard-accessible interactive states) ---- */
  --focus-ring: 0 0 0 3px rgba(0, 51, 153, 0.35);
  --font-serif: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Glass / trendy layer */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-shadow: 0 8px 16px rgba(133, 133, 133, 0.12);
  --glass-blur: blur(16px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(0,51,153,0.14) 0%, transparent 38%),
    radial-gradient(circle at 92% 12%, rgba(142,36,160,0.16) 0%, transparent 36%),
    radial-gradient(circle at 15% 85%, rgba(142,36,160,0.10) 0%, transparent 40%),
    radial-gradient(circle at 88% 90%, rgba(0,51,153,0.12) 0%, transparent 42%),
    var(--sky);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 0.5em;
}

/* HFN UiCore type scale: h1 64/80 (400), h2 48/64 (600), h3 32/48 (600) —
   clamped so the largest sizes still fit this site's narrower sections. */
h1 { font-size: clamp(2.25rem, 1.2rem + 4vw, 4rem); font-weight: 400; line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); font-weight: 600; line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem); font-weight: 600; line-height: 1.3; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Consistent keyboard-focus state across every interactive element —
   buttons, links, form fields — so focus is always visible (a11y). */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible,
.card-link:focus-visible,
.jump-nav a:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-btn);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
}

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0, 36, 107, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Strip 1 — brand bar: trust logo / title / wordmark logo */
.header-strip-brand {
  border-bottom: 1px solid var(--glass-border);
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo:hover { text-decoration: none; }
.brand-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.brand-title {
  text-align: center;
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .brand-row { gap: var(--space-4); }
  .brand-title { font-size: 0.88rem; white-space: normal; }
  .brand-logo img { height: 32px; }
}
@media (max-width: 640px) {
  .brand-row {
    flex-wrap: wrap;
    row-gap: var(--space-2);
  }
  .brand-title {
    order: 3;
    width: 100%;
    font-size: 0.95rem;
  }
}

/* Strip 2 — navigation row */
.header-strip-nav {
  background: transparent;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a:not(.nav-cta) {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  padding: var(--space-2) var(--space-1);
  border-bottom: 2px solid transparent;
}
nav.main-nav a:not(.nav-cta):hover,
nav.main-nav a:not(.nav-cta).active {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

/* Nav-bar size of the primary button (full color/hover rules are defined
   once, alongside .btn-primary, further down so the two never drift). */
.nav-cta {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  align-self: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 14px;
}

@media (max-width: 820px) {
  .header-strip-nav { position: relative; }
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
  }
  nav.main-nav li { border-top: 1px solid var(--sky-2); }
  nav.main-nav a { display: block; padding: 12px 0; }
  .nav-wrap { flex-wrap: wrap; padding-right: 60px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-10) var(--space-6) var(--space-11);
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px) {
  .hero { padding: var(--space-9) var(--space-4) var(--space-9); }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.hero-blob.blob-1 {
  width: 420px; height: 420px;
  top: -140px; left: -120px;
  background: radial-gradient(circle, rgba(0,51,153,0.35), transparent 70%);
}
.hero-blob.blob-2 {
  width: 380px; height: 380px;
  bottom: -160px; right: -100px;
  background: radial-gradient(circle, rgba(142,36,160,0.32), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-inner-center {
  text-align: center;
}
.hero-copy-center {
  max-width: 680px;
  margin: 0 auto;
}
.hero-copy-center .hero-actions { justify-content: center; }

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: var(--space-9) auto 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: var(--space-2);
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.hero h1 {
  max-width: 560px;
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.5rem);
  line-height: 1.25;
}

.hero .lede {
  max-width: 520px;
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .hero h1, .hero .lede { max-width: 640px; margin-left: auto; margin-right: auto; }
}
.hero-copy-center h1,
.hero-copy-center .lede,
.hero-copy-center .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero .trust-line {
  font-size: 0.9rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-7);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ---------- Buttons ----------
   Two clear variants used consistently site-wide:
   - .btn-primary   → the one dominant action per view (solid navy).
     "Register Your Interest" always uses this, whether it appears in the
     nav, the hero, a CTA band, or as the form's submit button — same
     color, same shape, everywhere, so it always reads as the same action.
   - .btn-secondary → the supporting action (outlined, not filled).
   .btn-accent (formerly .btn-gold) is kept only for a rare, deliberately
   different call-to-action and is never mixed with .btn-primary in the
   same view. */
.btn {
  display: inline-block;
  padding: var(--space-4) var(--space-7);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary,
.nav-cta {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 36, 107, 0.30);
}
.btn-primary:hover,
.nav-cta:hover {
  background: var(--navy-dark);
  box-shadow: 0 12px 28px rgba(0, 36, 107, 0.38);
  text-decoration: none;
}

.btn-secondary {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.btn-accent,
.btn-gold {
  background: var(--paper);
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}
.btn-accent:hover,
.btn-gold:hover { background: var(--gold-dark); color: #fff; border-color: var(--gold-dark); }

.hero-ornament {
  margin: var(--space-9) auto 0;
  width: 100%;
  max-width: 520px;
  opacity: 0.9;
}

/* ---------- Sections ---------- */
section { padding: var(--space-10) var(--space-6); position: relative; }
@media (max-width: 480px) {
  section { padding: var(--space-9) var(--space-4); }
}
section.alt {
  background:
    radial-gradient(circle at 20% 20%, rgba(0,51,153,0.05), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(142,36,160,0.06), transparent 50%),
    var(--sky-2);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-8);
}
.section-head .eyebrow {
  display: block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--glass-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 36, 107, 0.18);
}

.card .num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold-dark);
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  line-height: 36px;
  text-align: center;
  margin-bottom: var(--space-4);
}

.card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

.card h3 { margin-bottom: var(--space-2); }
.card p:last-child { margin-bottom: 0; }

.card-link {
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-block;
  margin-top: var(--space-2);
}

/* ---------- Pillars (detail, about page) ---------- */
.pillar {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 44px;
  align-items: flex-start;
}
.pillar .pillar-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--line);
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 620px) {
  .pillar { grid-template-columns: 1fr; }
}

/* ---------- Goals list ---------- */
.goal-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.goal-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--sky-2);
  color: var(--ink-soft);
}
.goal-list .mark { margin-top: 2px; }
.goal-list li:last-child { border-bottom: none; }
.goal-list .mark {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- Daaji / blessings section ---------- */
.daaji-section {
  background: var(--paper);
}
.daaji-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 780px) {
  .daaji-wrap { grid-template-columns: 1fr; }
}
.daaji-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.daaji-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.daaji-text .eyebrow {
  display: block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.daaji-text h2 { margin-bottom: 14px; }

/* ---------- Video section ---------- */
.video-section {
  background:
    radial-gradient(circle at 25% 30%, rgba(0,51,153,0.06), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(142,36,160,0.07), transparent 50%),
    var(--sky-2);
}
.video-wrap {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  padding: var(--space-2);
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.video-wrap .video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0a1420;
}
.video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 16px auto 0;
}

/* ---------- Ecosystem / partner logo band ---------- */
.ecosystem-band {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.ecosystem-band .eyebrow {
  display: block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.ecosystem-band img {
  margin: 0 auto;
  max-width: 260px;
  width: 100%;
  height: auto;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(circle at 15% 20%, rgba(142,36,160,0.25), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255,255,255,0.08), transparent 40%),
    linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: #eaf1fa;
  text-align: center;
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8d6e6; max-width: 560px; margin: 0 auto var(--space-6); }
/* The band itself is navy, so its button inverts to white — a solid
   navy .btn-primary would nearly disappear against this background. */
.cta-band .btn-primary {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.cta-band .btn-primary:hover { background: var(--sky); color: var(--navy-dark); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--indigo);
  color: #cfd7e2;
  padding: var(--space-9) var(--space-6) var(--space-7);
}
footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: var(--space-7);
  flex-wrap: wrap;
}
footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
}
footer .footer-brand p { color: #a9b4c4; max-width: 320px; font-size: 0.9rem; }
footer nav ul { list-style: none; padding: 0; margin: 0; }
footer nav li { margin-bottom: var(--space-2); }
footer nav a { color: #cfd7e2; font-size: 0.9rem; }
footer nav a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-width);
  margin: var(--space-7) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: #8b96a8;
  text-align: center;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(0,51,153,0.08), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(142,36,160,0.10), transparent 40%),
    var(--sky-2);
  padding: var(--space-9) var(--space-6) var(--space-8);
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}
@media (max-width: 480px) {
  .page-hero { padding: var(--space-7) var(--space-4) var(--space-7); }
}
.page-hero h1 { margin-bottom: var(--space-3); }
.page-hero p { max-width: 620px; margin: 0 auto; }

/* ---------- Register page: quick-jump chips ---------- */
.jump-nav {
  max-width: 760px;
  margin: 0 auto 36px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}
.jump-nav a {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}
.jump-nav a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  text-decoration: none;
}

/* ---------- Forms ---------- */
.form-shell {
  max-width: 760px;
  margin: 0 auto;
}
.form-section {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: var(--space-7) var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--glass-shadow);
  scroll-margin-top: 90px;
}
@media (max-width: 480px) {
  .form-section { padding: var(--space-6) var(--space-4); }
}
.form-section-head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-1);
}
.form-section-head .badge {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sky);
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-section h2 {
  font-size: 1.25rem;
  margin: 0;
}
.form-section .section-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 10px 0 20px;
}
.form-section h3.sub {
  font-size: 1rem;
  color: var(--ink);
  margin: 22px 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section h3.sub .mini-icon { font-size: 1.05rem; }
.form-section .sub-desc {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: var(--space-2);
}

.field { margin-bottom: var(--space-4); }
.field label.field-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.field .hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: -2px 0 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sky);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
}

.check-grid, .radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
@media (max-width: 560px) { .check-grid, .radio-grid { grid-template-columns: 1fr; } }

.check-option, .radio-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.92rem;
  color: var(--ink);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--space-2);
  border: 1px solid transparent;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.check-option:hover, .radio-option:hover { background: var(--sky); }
.check-option input, .radio-option input { margin-top: 3px; flex-shrink: 0; }
.check-option.is-selected, .radio-option.is-selected {
  background: var(--sky);
  border-color: var(--gold);
}

.radio-card {
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--sky-2);
  border-radius: var(--space-3);
  padding: var(--space-4);
  margin-bottom: var(--space-2);
  display: flex;
  gap: var(--space-3);
  transition: background 0.12s ease, border-color 0.12s ease;
}
.radio-card input { margin-top: 4px; }
.radio-card .rt { font-weight: 600; display: block; }
.radio-card .rd { font-size: 0.87rem; color: var(--ink-soft); }
.radio-card.is-selected {
  background: var(--sky);
  border-color: var(--gold);
}

.form-note {
  background: var(--sky-2);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-radius: 0 8px 8px 0;
  margin-bottom: var(--space-4);
}

.submit-row { text-align: center; margin-top: 8px; }
.submit-row .btn-primary { width: 100%; max-width: 280px; border: none; font-size: 1.05rem; }
.submit-row .hint { margin-top: 12px; }
.form-error {
  margin-top: var(--space-4);
  color: #8a2a2a;
  background: rgba(200, 60, 60, 0.10);
  border: 1px solid rgba(200, 60, 60, 0.35);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.88rem;
}

#thank-you {
  display: none;
  text-align: center;
  padding: 60px 28px;
}
#thank-you .icon-big { font-size: 3rem; margin-bottom: 16px; }

/* ---------- Honeypot (spam trap, kept off-screen for real visitors) ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
