/* ============================================
   DIGITAL KIN — Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Core palette — emerald green + warm amber + deep slate */
  --navy: #0f172a;           /* Deep slate: footer, text */
  --navy-light: #064e3b;     /* Deep emerald */
  --navy-mid: #059669;       /* Brand emerald (primary) */
  --teal: #0d9488;           /* Teal accent */
  --teal-dark: #0f766e;
  --teal-glow: rgba(13, 148, 136, 0.12);
  --amber: #d97706;
  --amber-soft: #f59e0b;
  --amber-light: #fef3c7;
  --cream: #ecfdf5;           /* Very light green tint (alt sections) */
  --cream-dark: #d1fae5;
  --warm-white: #ffffff;
  --light: #f8fafc;
  --text-dark: #0f172a;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --danger: #dc2626;
  --success: #16a34a;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 4px 24px rgba(5, 150, 105, 0.28);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: clamp(2.5rem, 7vw, 6rem);
  --container-max: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

p { max-width: 68ch; }

.text-teal { color: var(--teal); }
.text-amber { color: var(--amber); }
.text-navy { color: var(--navy); }

/* ============================================
   Layout Utilities
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
}

.section { padding: var(--section-pad) 0; }

.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); color: white; }
.section--navy h2, .section--navy h3 { color: white; }
.section--navy p { color: rgba(255,255,255,0.78); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
  min-height: 48px;
}

.btn--primary {
  background: var(--navy-mid);
  color: white;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.32);
}
.btn--primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.42);
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(15, 23, 42, 0.2);
}
.btn--secondary:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.btn--amber {
  background: var(--amber-soft);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.28);
}
.btn--amber:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.38);
}

.btn--white {
  background: white;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm { padding: 0.55rem 1.3rem; font-size: 0.85rem; min-height: 40px; }

/* ============================================
   Navigation — Clean White
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 16px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav__logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.nav__title span { color: var(--navy-mid); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__link {
  padding: 0.45rem 0.85rem;
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav__link:hover, .nav__link--active {
  color: var(--navy-mid);
  background: var(--cream);
}

.nav__link--cta {
  background: var(--navy-mid) !important;
  color: white !important;
  margin-left: 0.4rem;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.28);
}

.nav__link--cta:hover {
  background: var(--navy-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.38) !important;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: white;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.3rem;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
  }

  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .nav__link--cta { margin-left: 0; margin-top: 0.4rem; }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, #0a1f12 0%, #064e3b 40%, #065f46 70%, #047857 100%);
  overflow: hidden;
  padding-top: 68px;
}

.hero__bg { position: absolute; inset: 0; overflow: hidden; }

.hero__bg::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 65%; height: 110%;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.18) 0%, transparent 65%);
  animation: heroGlow 9s ease-in-out infinite alternate;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -15%; left: -8%;
  width: 50%; height: 70%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.09) 0%, transparent 70%);
  animation: heroGlow 11s ease-in-out 2s infinite alternate;
}

@keyframes heroGlow {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(25px, -15px) scale(1.08); }
}

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero__content { position: relative; z-index: 2; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
  backdrop-filter: blur(8px);
}

.hero__badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero h1 {
  color: white;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s 0.12s ease both;
}

.hero h1 em {
  font-style: normal;
  color: #6ee7b7;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 54ch;
  margin-bottom: 2.2rem;
  line-height: 1.8;
  animation: fadeUp 0.6s 0.25s ease both;
}

.hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.38s ease both;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeUp 0.6s 0.5s ease both;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #6ee7b7;
  display: block;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.48);
  margin-top: 0.15rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .hero { min-height: 80vh; }
  .hero__stats { gap: 1.2rem; }
  .hero__stats > div { flex: 1 1 40%; min-width: 110px; }
  .hero__stat-num { font-size: 1.6rem; }
}

/* ============================================
   Page Hero (sub-pages)
   ============================================ */

.page-hero {
  background: linear-gradient(140deg, #0a1f12 0%, #064e3b 45%, #065f46 100%);
  padding: calc(68px + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 55%; height: 140%;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero__breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin-bottom: 0.9rem;
}

.page-hero__breadcrumb a { color: #6ee7b7; }
.page-hero__breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 { color: white; margin-bottom: 0.9rem; }

.page-hero__desc {
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  max-width: 58ch;
}

/* ============================================
   Cards
   ============================================ */

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.14);
}

.card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

.card__icon--teal   { background: var(--teal-glow); color: var(--teal); }
.card__icon--amber  { background: rgba(245,158,11,0.1); color: var(--amber); }
.card__icon--navy   { background: var(--cream); color: var(--navy-mid); }
.card__icon--danger { background: rgba(220,38,38,0.08); color: var(--danger); }

.card h3 { margin-bottom: 0.7rem; }

.card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card__tag {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  background: var(--cream);
  color: var(--navy-mid);
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

/* Feature card — horizontal */
.feature-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius);
  transition: all 0.25s;
}

.feature-card:hover { background: var(--cream); }

.feature-card__num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--cream);
  color: var(--navy-mid);
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h4 { margin-bottom: 0.35rem; color: var(--navy); }
.feature-card p  { color: var(--text-mid); font-size: 0.9rem; }

/* ============================================
   Section Headers
   ============================================ */

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-mid);
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.9rem;
}

.section-header h2 { margin-bottom: 0.9rem; }

.section-header p {
  color: var(--text-mid);
  font-size: 1.02rem;
  margin: 0 auto;
}

/* ============================================
   Service Cards (large)
   ============================================ */

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(5, 150, 105, 0.12);
}

.service-card__header {
  padding: 2.2rem 2.2rem 1.6rem;
  position: relative;
}

.service-card__header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.service-card--teal .service-card__header::before  { background: linear-gradient(90deg, var(--navy-mid), var(--teal)); }
.service-card--amber .service-card__header::before { background: linear-gradient(90deg, var(--amber), var(--amber-soft)); }
.service-card--navy .service-card__header::before  { background: linear-gradient(90deg, var(--navy), var(--navy-mid)); }

.service-card__icon {
  width: 60px; height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.3rem;
}

.service-card--teal .service-card__icon  { background: var(--cream); }
.service-card--amber .service-card__icon { background: rgba(245,158,11,0.1); }
.service-card--navy .service-card__icon  { background: rgba(5,150,105,0.08); }

.service-card__body { padding: 0 2.2rem 2.2rem; }
.service-card__body p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 1.4rem; }

.service-card__features { margin-bottom: 1.4rem; }

.service-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.service-card__feature::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--cream);
  color: var(--navy-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 3px;
}

.service-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.service-card__price-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
}

.service-card__price-label {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ============================================
   Quote / Testimonial
   ============================================ */

.quote-block {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-left: 4px solid var(--navy-mid);
  position: relative;
}

.quote-block::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--navy-mid);
  opacity: 0.15;
  position: absolute;
  top: 0.4rem; left: 1.4rem;
  line-height: 1;
}

.quote-block p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
  position: relative;
  z-index: 1;
}

.quote-block__author {
  margin-top: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.88rem;
}

/* ============================================
   Checklist
   ============================================ */

.checklist { padding: 0; }

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.checklist__item:last-child { border-bottom: none; }

.checklist__check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--cream);
  color: var(--navy-mid);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 2px;
}

.checklist__text { color: var(--text-mid); font-size: 0.95rem; }

/* ============================================
   Info Boxes
   ============================================ */

.info-box {
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.7rem);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-box--warning { background: rgba(245,158,11,0.07); border: 1px solid rgba(245,158,11,0.2); }
.info-box--danger  { background: rgba(220,38,38,0.06);  border: 1px solid rgba(220,38,38,0.15); }
.info-box--teal    { background: var(--cream); border: 1px solid var(--cream-dark); }

.info-box__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.info-box p     { font-size: 0.92rem; color: var(--text-mid); }
.info-box strong { color: var(--text-dark); }

/* Info boxes on dark (navy) backgrounds need light text */
.section--navy .info-box p      { color: rgba(255,255,255,0.78); }
.section--navy .info-box strong { color: #ffffff; }
.section--navy .info-box--warning { background: rgba(245,158,11,0.13); border-color: rgba(245,158,11,0.28); }
.section--navy .info-box--danger  { background: rgba(220,38,38,0.12);  border-color: rgba(220,38,38,0.25); }

/* ============================================
   Footer
   ============================================ */

.footer {
  background: #080f18;
  padding: 3.5rem 0 0;
  color: rgba(255,255,255,0.5);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__brand-desc {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 30ch;
}

.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer__link {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.86rem;
  transition: color 0.2s;
}

.footer__link:hover { color: #6ee7b7; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__certs {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer__cert {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
}

/* Footer logo overrides */
.footer .nav__logo { background: linear-gradient(135deg, var(--navy-light), var(--navy-mid)); }
.footer .nav__title { color: white; }
.footer .nav__title span { color: #6ee7b7; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   CTA Banner
   ============================================ */

.cta-banner {
  background: linear-gradient(135deg, #0a1f12 0%, #064e3b 55%, #065f46 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -15%;
  width: 45%; height: 200%;
  background: radial-gradient(ellipse, rgba(16,185,129,0.12) 0%, transparent 70%);
}

.cta-banner h2 { color: white; margin-bottom: 0.9rem; position: relative; }
.cta-banner p  { color: rgba(255,255,255,0.72); margin: 0 auto 1.8rem; position: relative; }
.cta-banner .btn { position: relative; }

/* ============================================
   Accordion
   ============================================ */

.accordion__item { border-bottom: 1px solid rgba(15, 23, 42, 0.07); }

.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
}

.accordion__icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: var(--navy-mid);
  flex-shrink: 0;
}

.accordion__item.open .accordion__icon { transform: rotate(45deg); }

.accordion__content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }

.accordion__content-inner {
  padding: 0 0 1.4rem;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Stats Row
   ============================================ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-block__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy-mid);
}

.stat-block__label {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-top: 0.25rem;
}

@media (max-width: 600px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Talk / Workshop cards
   ============================================ */

.talk-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.3s;
}

.talk-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(5, 150, 105, 0.12);
}

.talk-card__color { height: 5px; }

.talk-card__color--teal   { background: linear-gradient(90deg, var(--navy-mid), var(--teal)); }
.talk-card__color--amber  { background: linear-gradient(90deg, var(--amber), var(--amber-soft)); }
.talk-card__color--navy   { background: linear-gradient(90deg, var(--navy), var(--navy-mid)); }
.talk-card__color--danger { background: linear-gradient(90deg, var(--danger), #f87171); }

.talk-card__body { padding: clamp(1.4rem, 4vw, 2rem); }

.talk-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.talk-card__meta-item { display: flex; align-items: center; gap: 0.3rem; }

.talk-card h3 { margin-bottom: 0.7rem; font-size: clamp(1.1rem, 2.5vw, 1.3rem); }

.talk-card p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 1.1rem; }

.talk-card__topics { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.talk-card__topic {
  background: var(--cream);
  color: var(--navy-mid);
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 500;
}

/* ============================================
   Timeline
   ============================================ */

.timeline {
  position: relative;
  padding-left: 2.8rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 4px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy-mid), var(--teal));
  border-radius: 2px;
}

.timeline__item { position: relative; padding-bottom: 2.2rem; }
.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: -2.8rem; top: 4px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px var(--warm-white), 0 3px 10px rgba(5,150,105,0.25);
}

.section--cream .timeline__dot {
  box-shadow: 0 0 0 4px var(--cream), 0 3px 10px rgba(5,150,105,0.2);
}

.timeline__item h4 { margin-bottom: 0.35rem; }
.timeline__item p  { color: var(--text-mid); font-size: 0.93rem; }

/* ============================================
   Table
   ============================================ */

.styled-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.styled-table thead {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
}

.styled-table th, .styled-table td {
  padding: 0.9rem 1.3rem;
  text-align: left;
  font-size: 0.9rem;
}

.styled-table th {
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.styled-table tbody tr {
  background: white;
  border-bottom: 1px solid rgba(15,23,42,0.04);
  transition: background 0.2s;
}

.styled-table tbody tr:hover { background: var(--cream); }

/* Responsive table on small screens */
@media (max-width: 640px) {
  .styled-table { font-size: 0.82rem; }
  .styled-table th, .styled-table td { padding: 0.7rem 0.9rem; }
}

/* ============================================
   Utilities
   ============================================ */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}

/* ============================================
   Cookie Consent Banner
   ============================================ */

#dk-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99999;
  background: #0c1a10;
  border-top: 1px solid rgba(110, 231, 183, 0.15);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#dk-cookie-banner.dk-visible {
  transform: translateY(0);
}

#dk-cookie-banner.dk-hiding {
  transform: translateY(110%);
}

.dk-cookie__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.dk-cookie__text {
  flex: 1;
  min-width: 240px;
}

.dk-cookie__heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  margin-bottom: 0.3rem;
}

.dk-cookie__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  max-width: none;
  line-height: 1.55;
}

.dk-cookie__desc a {
  color: #6ee7b7;
  text-decoration: underline;
  cursor: pointer;
}

.dk-cookie__desc a:hover { color: #a7f3d0; }

/* Expanded cookie detail panel */
.dk-cookie__details {
  display: none;
  margin-top: 0.7rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.dk-cookie__details.dk-open { display: block; }

.dk-cookie__details table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.dk-cookie__details th,
.dk-cookie__details td {
  padding: 0.35rem 0.5rem;
  text-align: left;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
}

.dk-cookie__details th {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dk-cookie__tag {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
}

.dk-cookie__tag--necessary {
  background: rgba(110, 231, 183, 0.12);
  color: #6ee7b7;
}

.dk-cookie__tag--analytics {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.dk-cookie__actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

.dk-cookie__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.83rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  min-height: 40px;
  min-width: 110px;
}

.dk-cookie__btn--necessary {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dk-cookie__btn--necessary:hover {
  background: rgba(255, 255, 255, 0.13);
  color: white;
}

.dk-cookie__btn--accept {
  background: var(--navy-mid);
  color: white;
  box-shadow: 0 3px 14px rgba(5, 150, 105, 0.32);
}

.dk-cookie__btn--accept:hover {
  background: var(--navy-light);
  box-shadow: 0 4px 18px rgba(5, 150, 105, 0.45);
}

@media (max-width: 600px) {
  .dk-cookie__inner {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .dk-cookie__actions {
    width: 100%;
  }

  .dk-cookie__btn {
    flex: 1;
  }
}
