/*
Theme Name: Human Design Insider
Theme URI: https://humandesigninsider.com
Author: Matteen Labs
Author URI: https://matteen.com
Description: Custom WordPress theme for Human Design Insider — bold, premium, transformation-focused.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: hdi
*/

/* ============================================================
   BRAND TOKENS
   ============================================================ */
:root {
  --miami:   #00a2c8;
  --sunrise: #f6b40e;
  --rolex:   #7184a6;
  --matt:    #5698a4;
  --silver:  #949494;
  --dark:    #0d1117;
  --darker:  #080c12;
  --white:   #ffffff;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Light mode defaults */
  --bg:           #f4f6f8;
  --bg-alt:       #ffffff;
  --bg-card:      #ffffff;
  --bg-darker:    #e8ecf0;
  --text-primary: #0d1117;
  --text-body:    #374151;
  --text-muted:   #6b7280;
  --border:       rgba(0,0,0,0.09);
  --card-shadow:  0 2px 16px rgba(0,0,0,0.07);
  --nav-bg:       rgba(255,255,255,0.96);
  --nav-border:   rgba(0,0,0,0.08);
  --num-opacity:  0.14;
  --num-color:    #374151;
}

[data-theme="dark"] {
  --bg:           #0d1117;
  --bg-alt:       #080c12;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-darker:    #080c12;
  --text-primary: #ffffff;
  --text-body:    #e5e7eb;
  --text-muted:   #9ca3af;
  --border:       rgba(148,148,148,0.15);
  --card-shadow:  0 2px 24px rgba(0,0,0,0.4);
  --nav-bg:       rgba(13,17,23,0.95);
  --nav-border:   rgba(148,148,148,0.12);
  --num-opacity:  0.2;
  --num-color:    var(--miami);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s var(--ease), color 0.25s var(--ease);
}

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

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.font-bebas { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.04em; }

.eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--miami);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.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; }

/* ============================================================
   NAVBAR
   ============================================================ */
.hdi-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* Inner wrapper: matches section max-width + padding for pixel-perfect alignment */
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  transition: padding 0.35s var(--ease);
}
.hdi-nav.scrolled .nav-inner {
  padding-top: 14px;
  padding-bottom: 14px;
}
.hdi-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
[data-theme="dark"] .hdi-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* Logo — custom image */
.nav-logo-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-wrap .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.nav-logo-wrap .custom-logo-link img,
.nav-logo-wrap img {
  height: 28px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain;
  display: block;
}
.nav-logo-wrap .custom-logo-link:hover { opacity: 0.82; }

/* Logo — text fallback (no image uploaded) */
.nav-logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border: 2px solid var(--miami);
  color: var(--miami);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.25s var(--ease);
}
.nav-logo-text:hover { background: rgba(0,162,200,0.1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text-body);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}
[data-theme="dark"] .nav-links a { color: rgba(255,255,255,0.85); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--miami);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-body);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.theme-toggle:hover {
  background: var(--bg-darker);
  border-color: var(--miami);
  color: var(--miami);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  padding: 32px 48px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  border-bottom: 1px solid var(--nav-border);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--miami); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  border-radius: 50px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--sunrise);
  color: var(--dark);
  font-size: 17px;
  padding: 14px 36px;
  border: none;
}
.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 0 28px rgba(246,180,14,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--miami);
  font-size: 17px;
  padding: 13px 36px;
  border: 2px solid var(--miami);
}
.btn-outline:hover {
  transform: scale(1.04);
  background: rgba(0,162,200,0.1);
}
.btn-large {
  font-size: 20px;
  padding: 16px 52px;
  border-radius: 50px;
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.hdi-section {
  padding: 100px 48px;
  position: relative;
}
.hdi-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header { margin-bottom: 64px; }
.section-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.divider-line {
  width: 0;
  height: 2px;
  background: var(--miami);
  opacity: 0.4;
  margin: 16px 0;
  transition: width 1.2s var(--ease);
}
.divider-line.visible { width: 80px; }

/* ============================================================
   HERO — SHARED BASE
   ============================================================ */
.hdi-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hdi-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(113,132,166,0.07) 0%, transparent 65%);
  pointer-events: none;
}
[data-theme="dark"] .hdi-hero::before {
  background: radial-gradient(ellipse at 70% 50%, rgba(113,132,166,0.2) 0%, transparent 65%);
}

/* Particles — dark mode only */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle  { position: absolute; border-radius: 50%; animation: float linear infinite; opacity: 0; }
[data-theme="light"] .particle { display: none; }

.particle:nth-child(1) { width:8px;  height:8px;  background:var(--miami);   left:10%; animation-duration:18s; animation-delay:0s;  }
.particle:nth-child(2) { width:5px;  height:5px;  background:var(--sunrise); left:25%; animation-duration:24s; animation-delay:3s;  }
.particle:nth-child(3) { width:10px; height:10px; background:var(--miami);   left:45%; animation-duration:20s; animation-delay:6s;  }
.particle:nth-child(4) { width:6px;  height:6px;  background:var(--sunrise); left:65%; animation-duration:15s; animation-delay:1s;  }
.particle:nth-child(5) { width:8px;  height:8px;  background:var(--miami);   left:80%; animation-duration:22s; animation-delay:4s;  }
.particle:nth-child(6) { width:4px;  height:4px;  background:var(--matt);    left:90%; animation-duration:19s; animation-delay:8s;  }

@keyframes float {
  0%   { transform: translateY(100vh) scale(0.5); opacity: 0; }
  10%  { opacity: 0.2; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-20vh) scale(1.2); opacity: 0; }
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero-home { min-height: 100vh; padding-top: 90px; }
.hero-home .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
  min-height: calc(100vh - 90px);
  gap: 48px;
}
.hero-content { animation: heroFadeIn 0.9s var(--ease) both; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9vw, 110px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-content h1 span { color: var(--miami); }
.hero-subtitle {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFadeIn 1.1s var(--ease) 0.2s both;
}
.hero-orb {
  width: 380px; height: 380px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--miami) 0%, var(--matt) 30%, var(--rolex) 60%, var(--miami) 100%);
  opacity: 0.13;
  box-shadow: 0 0 80px rgba(0,162,200,0.15), inset 0 0 60px rgba(86,152,164,0.1);
  position: relative;
  animation: orbRotate 20s linear infinite;
}
[data-theme="dark"] .hero-orb {
  opacity: 0.18;
  box-shadow: 0 0 90px rgba(0,162,200,0.35), inset 0 0 60px rgba(86,152,164,0.2);
}
.hero-orb {
  animation: none;
  box-shadow: none;
  background: none;
  opacity: 1;
  overflow: hidden;
  border-radius: 50%;
}

.hero-orb::before,
.hero-orb::after {
  display: none;
}

.hero-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  filter: saturate(1.2) contrast(1.1);
}
/* ============================================================
   MARQUEE
   ============================================================ */
.hdi-marquee {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--miami);
  padding: 0 24px;
}
.marquee-track .diamond { color: var(--sunrise); padding: 0 8px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   THREE PILLARS SECTION BACKGROUND
   ============================================================ */
.pillars-section-bg {
  background: linear-gradient(180deg, #ffffff 0%, rgba(0,162,200,0.08) 100%);
}
[data-theme="dark"] .pillars-section-bg {
  background: linear-gradient(180deg, #0d1117 0%, rgba(113,132,166,0.12) 100%);
}

/* ============================================================
   CARDS — PILLARS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.pillar-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
  border-color: rgba(0,162,200,0.4);
}
[data-theme="dark"] .pillar-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,162,200,0.1);
  border: 2px solid rgba(0,162,200,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--miami);
}
.card-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--sunrise);
  margin-bottom: 8px;
  display: block;
}
.pillar-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.pillar-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   QUOTE / STATS SECTION
   ============================================================ */
.quote-section {
  background: var(--bg-alt);
  text-align: center;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .quote-section { background: var(--bg-darker); }
.quote-bg-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 300px;
  line-height: 1;
  color: var(--miami);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}
.quote-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5.5vw, 60px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto 20px;
}
.quote-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 64px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 5vw, 60px);
  letter-spacing: 0.02em;
  color: var(--sunrise);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 6px;
}

/* ============================================================
   SERVICES 2x2 GRID
   ============================================================ */
.services-bg { background: var(--bg); }
[data-theme="dark"] .services-bg {
  background: linear-gradient(180deg, var(--dark) 0%, rgba(86,152,164,0.07) 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-color: rgba(0,162,200,0.35);
}
[data-theme="dark"] .service-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.service-num {
  position: absolute;
  top: 16px; right: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 90px;
  line-height: 1;
  color: var(--num-color);
  opacity: var(--num-opacity);
  pointer-events: none;
  user-select: none;
}
.service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.1;
}
.service-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   CTA BANNER — works in both light and dark mode
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--miami) 0%, var(--matt) 100%);
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 20px;
}
.cta-banner p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 40px;
}
.cta-sub {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.cta-banner .btn-primary {
  background: #ffffff;
  color: var(--miami) !important;
  margin: 0 auto;
  display: inline-flex;
}
.cta-banner .btn-primary:hover {
  box-shadow: 0 0 28px rgba(255,255,255,0.35);
}

/* ============================================================
   ABOUT PAGE HERO
   ============================================================ */
.about-hero { min-height: 65vh; padding-top: 100px; }
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}
.page-hero-inner h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 900px;
}
.page-hero-inner .hero-subtitle { max-width: 680px; }

/* ============================================================
   TWO COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 55% 40%;
  gap: 80px;
  align-items: center;
}
.two-col-right { grid-template-columns: 40% 55%; }
.two-col h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.05;
}
.two-col p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 16px;
}
.img-placeholder {
  aspect-ratio: 1;
  background: var(--bg-darker);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
  min-height: 280px;
}

/* ============================================================
   WHY IT MATTERS
   ============================================================ */
.why-bg { background: var(--bg-alt); }
[data-theme="dark"] .why-bg { background: rgba(113,132,166,0.06); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============================================================
   STEPS — OUR APPROACH
   ============================================================ */
.steps-section-bg {
  background: linear-gradient(180deg, #ffffff 0%, rgba(0,162,200,0.07) 100%);
}
[data-theme="dark"] .steps-section-bg {
  background: linear-gradient(180deg, #0d1117 0%, rgba(86,152,164,0.08) 100%);
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  border-top: 2px dashed rgba(0,162,200,0.3);
}
.step-item { padding: 0 24px; text-align: center; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(0,162,200,0.1);
  border: 2px solid rgba(0,162,200,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--miami);
}
.step-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.step-item p { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* ============================================================
   UNLOCK PAGE — SERVICE CARDS
   ============================================================ */
.unlock-services { display: flex; flex-direction: column; gap: 24px; }
.unlock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--miami);
  border-radius: 0 10px 10px 0;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-left-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.unlock-card:hover {
  background: rgba(0,162,200,0.03);
  border-left-color: var(--sunrise);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
[data-theme="dark"] .unlock-card { background: rgba(255,255,255,0.03); }
[data-theme="dark"] .unlock-card:hover { background: rgba(0,162,200,0.05); }
.unlock-card-num {
  position: absolute;
  right: 32px; top: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 100px;
  line-height: 1;
  color: var(--num-color);
  opacity: var(--num-opacity);
  user-select: none;
}
.unlock-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.1;
}
.unlock-card p { font-size: 16px; line-height: 1.8; color: var(--text-body); max-width: 720px; }

/* ============================================================
   HOW IT WORKS STEPS (Unlock page)
   ============================================================ */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how-step {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.how-step:hover {
  transform: translateY(-4px);
  border-color: rgba(0,162,200,0.35);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
[data-theme="dark"] .how-step { background: rgba(255,255,255,0.03); }
[data-theme="dark"] .how-step:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
.how-step .step-num { margin-bottom: 20px; }
.how-step h3 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.06em; color: var(--text-primary); margin-bottom: 12px; }
.how-step p { font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-section { background: var(--bg); }
[data-theme="dark"] .form-section { background: var(--bg-darker); }
.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 48px;
  box-shadow: var(--card-shadow);
}
.form-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 12px;
}
.form-intro { text-align: center; font-size: 16px; color: var(--text-muted); margin-bottom: 48px; }

.form-wrapper .wpcf7,
.form-wrapper .wpforms-container { color: var(--text-primary); }

.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="date"],
.form-wrapper input[type="time"],
.form-wrapper input[type="tel"],
.form-wrapper select,
.form-wrapper textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  margin-bottom: 4px;
}
.form-wrapper input:focus,
.form-wrapper textarea:focus {
  outline: none;
  border-color: var(--miami);
  box-shadow: 0 0 0 3px rgba(0,162,200,0.12);
}
.form-wrapper textarea { min-height: 120px; resize: vertical; }
.form-wrapper label {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--miami);
  margin-bottom: 8px;
  margin-top: 20px;
}
.form-wrapper label:first-child { margin-top: 0; }
.form-field-note { font-size: 12px; color: var(--text-muted); opacity: 0.8; margin-top: 4px; }

.form-wrapper input[type="submit"],
.form-wrapper button[type="submit"],
.form-wrapper .wpcf7-submit,
.form-wrapper .wpforms-submit {
  width: 100%;
  background: var(--sunrise);
  color: var(--dark);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 10px;
  padding: 18px;
  cursor: pointer;
  margin-top: 32px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-wrapper input[type="submit"]:hover,
.form-wrapper button[type="submit"]:hover,
.form-wrapper .wpcf7-submit:hover,
.form-wrapper .wpforms-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 0 28px rgba(246,180,14,0.38);
}

/* ============================================================
   FOOTER — always dark regardless of mode
   ============================================================ */
.hdi-footer {
  background: #0d1117;
  border-top: 1px solid rgba(148,148,148,0.15);
  padding: 60px 48px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-img {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer-logo-img .custom-logo-link img {
  height: 28px !important;
  width: auto !important;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-tagline { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 220px; }
.footer-nav h4,
.footer-contact h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--miami);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--miami);
  transition: width 0.25s var(--ease);
}
.footer-nav a:hover { color: #fff; }
.footer-nav a:hover::after { width: 100%; }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(148,148,148,0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-credit { font-size: 11px; color: rgba(255,255,255,0.22); text-align: center; }
.footer-credit a { color: var(--matt); transition: color 0.2s; }
.footer-credit a:hover { color: var(--miami); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hdi-nav .nav-inner { padding: 18px 32px; }
  .hdi-nav.scrolled .nav-inner { padding: 12px 32px; }
  .hdi-section { padding: 80px 32px; }
  .hero-home .hero-inner { grid-template-columns: 1fr; gap: 60px; padding: 60px 32px; }
  .hero-visual { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .steps-row::before { display: none; }
  .how-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hdi-nav .nav-inner { padding: 16px 20px; }
  .hdi-nav.scrolled .nav-inner { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hdi-section { padding: 64px 20px; }
  .page-hero-inner { padding: 60px 20px; }
  .hero-home .hero-inner { padding: 40px 20px; }
  .hero-content h1 { font-size: clamp(52px, 12vw, 80px); }
  .form-wrapper { padding: 36px 24px; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .unlock-card { padding: 32px 24px; }
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; text-align: center; }
  .nav-drawer { padding: 24px 20px; }
  .theme-toggle .toggle-label { display: none; }
}
