/* UI Kit · Dogtraining Campus Landingpage
   Carries the live page's styles. Foundations are imported from the
   root colors_and_type.css; this file only adds component-scoped CSS. */

@import url("colors_and_type.css");

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform var(--t-quick), background var(--t-quick), box-shadow var(--t-glide);
  cursor: pointer;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn--accent  { background: var(--accent); color: var(--paper); box-shadow: var(--shadow-accent); }
.btn--accent:hover  { transform: translateY(-1px); background: var(--accent-ink); }
.btn--ghost   { background: transparent; color: var(--ink); border: 1px solid var(--rule-2); }
.btn--ghost:hover { background: var(--paper-2); }
.btn .arrow { transition: transform var(--t-glide); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--sm { padding: 9px 16px; font-size: 13px; }

/* ── Topbar ───────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
.brand-sub {
  color: var(--ink-3);
  font-size: 11px;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
  line-height: 1;
}
@media (max-width: 540px) { .brand-sub { display: none; } }
.nav { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav a { text-decoration: none; color: inherit; }
.nav a:hover { color: var(--accent); }
@media (max-width: 760px) { .nav { display: none; } }

/* ── Eyebrow badges ───────────────────────────────────────────────── */
.eyebrow-row { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--rule);
}
.badge--accent {
  color: var(--accent);
  background: color-mix(in oklch, var(--accent-soft) 60%, var(--paper));
  border-color: color-mix(in oklch, var(--accent) 22%, transparent);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 20%, transparent);
  display: inline-block; margin-right: 8px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 20%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in oklch, var(--accent) 8%, transparent); }
}

/* ── Hero (editorial variant only — kit ships A by default) ──────── */
.hero { padding-top: 56px; padding-bottom: 32px; position: relative; }
.hero::after {
  content: "";
  display: block;
  margin: 80px auto 0;
  max-width: var(--max-w);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }
.display-sub {
  margin-top: 28px;
  max-width: 38ch;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.42;
  letter-spacing: -0.005em;
}
.cta-row { margin-top: 36px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.quick-facts {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  max-width: 560px;
}
.qf-num { font-family: var(--font-display); font-size: 36px; line-height: 1; font-style: italic; }
.qf-num small { font-style: normal; font-size: 16px; color: var(--ink-3); margin-left: 2px; }
.qf-label { margin-top: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

/* ── Webinar card (hero-right) ───────────────────────────────────── */
.webinar-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.webinar-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-ink) 0%, var(--accent) 100%);
}
.webinar-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.zoom-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); font-family: var(--font-mono); }
.zoom-tag svg { width: 14px; height: 14px; }
.webinar-card h3 { font-size: 28px; line-height: 1.1; margin-bottom: 6px; font-family: var(--font-display); font-weight: 700; }
.webinar-card h3 em { font-style: italic; color: var(--accent); }
.webinar-card .sub { color: var(--ink-3); font-size: 14px; margin-bottom: 24px; }
.webinar-meta { display: grid; gap: 14px; margin-bottom: 24px; }
.webinar-meta-row {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: 14px;
}
.webinar-meta-row svg { width: 18px; height: 18px; color: var(--ink-3); margin-top: 2px; }
.webinar-meta-row .label { color: var(--ink-3); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }
.webinar-meta-row .val { color: var(--ink); font-weight: 500; }
.webinar-price {
  background: var(--paper);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px dashed var(--rule-2);
  flex-wrap: wrap;
}
.webinar-price .price { font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 20px; }
.webinar-price .price small { font-style: normal; font-size: 12px; color: var(--ink-3); }

/* ── Proof strip ──────────────────────────────────────────────────── */
.proof-strip {
  padding-block: 32px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  overflow: hidden;
}
.proof-strip .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.proof-strip .label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500; flex-shrink: 0;
}
.proof-list {
  display: flex; gap: 36px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--ink-2);
}
.proof-list span { position: relative; padding-right: 36px; }
.proof-list span:not(:last-child)::after { content: "·"; position: absolute; right: 14px; color: var(--ink-3); }

/* ── Section heads + split ────────────────────────────────────────── */
section { padding-block: var(--section); }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split .head { position: sticky; top: 90px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.018em; margin: 0 0 12px; text-wrap: balance; }
.section-title em { font-style: italic; color: var(--accent); }

/* ── Topic grid ───────────────────────────────────────────────────── */
.topics {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--r-md);
  overflow: hidden; margin-top: 24px;
}
@media (max-width: 600px) { .topics { grid-template-columns: 1fr; } }
.topic { background: var(--paper); padding: 28px; transition: background var(--t-glide); }
.topic:hover { background: var(--paper-2); }
.topic .topic-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
.topic h4 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 10px 0 6px; letter-spacing: -0.01em; }
.topic p  { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; }

/* ── Speaker ──────────────────────────────────────────────────────── */
.speaker {
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid; grid-template-columns: 280px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative; overflow: hidden;
}
@media (max-width: 760px) { .speaker { grid-template-columns: 1fr; } }
.speaker::before {
  content: "";
  position: absolute; right: -200px; top: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, color-mix(in oklch, var(--accent) 35%, transparent) 0%, transparent 70%);
  pointer-events: none;
}
.speaker .portrait {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 20px;
  width: 280px; height: 340px;
  display: grid; place-items: center;
  color: #a8a39a; font-size: 13px;
  position: relative; z-index: 1;
}
.speaker h3 { font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.015em; font-weight: 700; margin: 0 0 6px; }
.speaker h3 em { color: var(--accent-coral); font-style: italic; }
.speaker .role { color: #b8b3a8; font-size: 14px; margin-bottom: 22px; letter-spacing: 0.02em; }
.speaker .quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px); line-height: 1.4;
  color: #d8d3c8;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 0 0 28px;
  max-width: 50ch;
}
.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; font-size: 13px; color: #c6c1b6; list-style: none; padding: 0; margin: 0; }
.credentials li { display: flex; gap: 10px; align-items: start; }
.credentials .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 7px; }

/* ── Form section ─────────────────────────────────────────────────── */
.form-section { background: var(--paper-2); border-top: 1px solid var(--rule); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; } }

.trust-mini { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.trust-mini .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-mini .check svg { width: 11px; height: 11px; }

.form-shell {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  position: relative;
}

.wform { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.field label .req { color: var(--accent); margin-left: 2px; }
.field input, .field textarea {
  font: inherit; font-family: var(--font-body);
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--rule-2);
  background: var(--paper); color: var(--ink); outline: none;
  transition: border-color var(--t-quick), box-shadow var(--t-quick), background var(--t-quick);
  width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: var(--ring-focus); }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field.field--error input, .field.field--error textarea { border-color: var(--accent); background: oklch(0.97 0.025 25); }
.field-error { font-size: 12px; color: var(--accent-ink); display: none; margin-top: 2px; }
.field.field--error .field-error { display: block; }

.consent { display: flex; gap: 12px; align-items: start; font-size: 13px; color: var(--ink-2); line-height: 1.5; padding: 4px 0; }
.consent input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }

.submit-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.submit-row .note { font-size: 12px; color: var(--ink-3); }

.form-success {
  display: none;
  padding: 36px 32px; text-align: center;
  border-radius: 18px; background: var(--paper); border: 1px solid var(--rule);
}
.form-success.is-active { display: block; animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.form-success .checkbig {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  margin: 0 auto 18px; display: grid; place-items: center;
}
.form-success .checkbig svg { width: 28px; height: 28px; }
.form-success h3 { font-family: var(--font-display); font-size: 28px; line-height: 1.1; margin: 0 0 8px; font-weight: 700; }
.form-success h3 em { font-style: italic; color: var(--accent); }
.form-success p  { color: var(--ink-2); margin: 0 auto; max-width: 38ch; }

/* ── Path grid ────────────────────────────────────────────────────── */
.path {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  border-radius: var(--r-md); overflow: hidden; margin-top: 32px;
}
@media (max-width: 880px) { .path { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .path { grid-template-columns: 1fr; } }
.path-step { background: var(--paper); padding: 28px 24px; }
.path-step .step-num { font-family: var(--font-display); font-style: italic; font-size: 42px; color: var(--accent); line-height: 1; }
.path-step h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 16px 0 8px; }
.path-step p  { font-size: 13.5px; color: var(--ink-2); margin: 0; }

/* ── Facts ────────────────────────────────────────────────────────── */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 880px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
.fact { border-top: 1px solid var(--ink); padding-top: 18px; }
.fact .fact-val { font-family: var(--font-display); font-size: 38px; line-height: 1; letter-spacing: -0.015em; }
.fact .fact-val em { font-style: italic; color: var(--accent); }
.fact .fact-label { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list { margin-top: 24px; }
.faq-item { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em;
  cursor: pointer; list-style: none; user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .plus { width: 28px; height: 28px; display: grid; place-items: center; flex-shrink: 0; transition: transform var(--t-glide); }
.faq-q .plus svg { width: 16px; height: 16px; }
.faq-item[open] .faq-q .plus { transform: rotate(45deg); }
.faq-a { margin-top: 14px; max-width: 64ch; color: var(--ink-2); font-size: 15px; }

/* ── Footer CTA ───────────────────────────────────────────────────── */
.footer-cta {
  background: var(--ink); color: var(--paper);
  padding-block: clamp(72px, 9vw, 128px);
  text-align: center; position: relative; overflow: hidden;
}
.footer-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, color-mix(in oklch, var(--accent) 30%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
.footer-cta .wrap { position: relative; }
.footer-cta h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.0;
  letter-spacing: -0.02em; margin: 0 0 18px;
}
.footer-cta h2 em { font-style: italic; color: var(--accent-coral); }
.footer-cta p { color: #c6c1b6; max-width: 50ch; margin: 0 auto 32px; font-size: 17px; }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #a8a39a; padding-block: 28px; border-top: 1px solid #2a2a2a; font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--paper); }
.footer-links { display: flex; gap: 24px; }
