/* ==========================================================================
   Postako Theme — Main Styles
   ========================================================================== */

:root {
  --primary: #0F766E;
  --primary-light: #14B8A6;
  --primary-dark: #115E59;
  --accent: #F59E0B;
  --accent-light: #FBBF24;
  --accent-dark: #D97706;
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-alt: #F0FDFA;
  --surface-dark: #0A0F0D;
  --border: rgba(15, 118, 110, 0.12);
  --text: #0A0F0D;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-inverse: #F9FAFB;
  --text-accent: #F59E0B;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== GRAIN TEXTURE ===== */
.grain {
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s var(--ease-out), opacity 0.15s;
  opacity: 0;
}

.cursor.active { opacity: 1; }
.cursor.hover { transform: scale(2); border-color: var(--primary); }

/* ===== CONTAINER ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out);
}

.nav.hidden { transform: translateY(-100%); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  transition: transform 0.3s var(--ease-out);
}

.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--accent);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.nav-cta:hover::before { left: 100%; }
.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.hero-gradient.g1 {
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.hero-gradient.g2 {
  background: var(--accent);
  bottom: -300px;
  left: -200px;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 640px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 118, 110, 0.06);
  border: 1px solid rgba(15, 118, 110, 0.15);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  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.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  color: var(--text);
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: inline-block;
  transform: translateY(100%);
  animation: revealText 1s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) span { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.45s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.6s; }

@keyframes revealText {
  to { transform: translateY(0); }
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-lede {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.8s forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

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

/* ===== HERO VISUAL ===== */
.hero-visual {
  position: relative;
  height: 500px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.8s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.floating-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(15, 118, 110, 0.12);
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card.c1 { top: 10%; left: 10%; width: 180px; animation-delay: 0s; }
.floating-card.c2 { top: 40%; right: 10%; width: 160px; animation-delay: -2s; }
.floating-card.c3 { bottom: 20%; left: 20%; width: 200px; animation-delay: -4s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--surface-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}

.card-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.card-desc { font-size: 12px; color: var(--text-muted); }

.tracking-line {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: trackMove 3s ease-in-out infinite;
}

.tracking-line.t1 { top: 20%; left: 30%; animation-delay: 0s; }
.tracking-line.t2 { top: 50%; right: 30%; animation-delay: -1.5s; }

@keyframes trackMove {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text);
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
}

.btn-primary .arrow { transition: transform 0.3s var(--ease-out); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(15, 118, 110, 0.03);
}

/* ===== MARQUEE ===== */
.marquee {
  background: var(--surface-dark);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section-header {
  max-width: 1400px;
  margin: 0 auto 64px;
  padding: 0 40px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible { opacity: 1; transform: translateY(0); }

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(15, 118, 110, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-out);
}

.service-card:hover .service-icon {
  background: var(--accent);
  transform: rotate(-8deg) scale(1.1);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  transition: stroke 0.3s;
}

.service-card:hover .service-icon svg { stroke: var(--text); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 120px 0;
  background: var(--surface-alt);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 64px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}

.how-step {
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.how-step.visible { opacity: 1; transform: translateY(0); }
.how-step:nth-child(1) { transition-delay: 0s; }
.how-step:nth-child(2) { transition-delay: 0.15s; }
.how-step:nth-child(3) { transition-delay: 0.3s; }
.how-step:nth-child(4) { transition-delay: 0.45s; }
.how-step:nth-child(5) { transition-delay: 0.6s; }

.how-step-number {
  width: 56px;
  height: 56px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease-out);
}

.how-step:hover .how-step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
  transform: scale(1.1);
}

.how-step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.how-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== STATS ===== */
.stats {
  padding: 120px 0;
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.stat-card {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
}

.stat-card.visible { opacity: 1; transform: translateY(0); }

.stat-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.stat-num .unit { font-size: 32px; color: var(--accent); font-weight: 400; }
.stat-label { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ===== TESTIMONIAL ===== */
.testimonial {
  padding: 120px 0;
  background: var(--surface-dark);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.testimonial-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-inverse);
  margin-bottom: 40px;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: 80px;
  color: var(--accent);
  line-height: 0;
  margin-right: 8px;
  vertical-align: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-weight: 600;
  font-size: 20px;
  font-family: var(--font-display);
}

.testimonial-info { text-align: left; }
.testimonial-name { font-weight: 600; font-size: 16px; color: var(--text-inverse); }
.testimonial-role { font-size: 14px; color: var(--text-muted); }

/* ===== CTA ===== */
.cta {
  padding: 120px 0;
  background: var(--bg);
}

.cta-block {
  background: var(--surface-dark);
  border-radius: 32px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-inverse);
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta-content h2 em { font-style: italic; color: var(--accent); }

.cta-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-buttons { display: flex; gap: 16px; }

.btn-dark {
  background: var(--accent);
  color: var(--text);
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-dark:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-inverse);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cta-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--surface-alt);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.06) 0%, transparent 60%);
  border-radius: 50%;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
}

.page-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

.page-section {
  padding: 80px 0;
}

/* ===== ROLES ===== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.role-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.12);
  border-color: var(--primary-light);
}

.role-card-graphic {
  width: 48px;
  height: 48px;
  background: var(--surface-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.role-card-graphic svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.role-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.role-card-status .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.role-card-status.opens-soon { color: var(--accent); }
.role-card-status.opens-soon .dot { background: var(--accent); }

.role-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.role-card-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.role-card-meta span {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--surface-alt);
  border-radius: 999px;
}

.role-card-blurb {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.role-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.role-card-cta .arrow { transition: transform 0.3s; }
.role-card:hover .role-card-cta .arrow { transform: translateX(4px); }

.careers-footer-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding: 32px;
  background: var(--surface-alt);
  border-radius: 16px;
}

.careers-footer-note h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}

.careers-footer-note p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-card a:hover { text-decoration: underline; }

/* ===== FORMS ===== */
.quote-form-wrap,
.job-interest-form {
  max-width: 640px;
  margin: 0 auto;
}

.quote-form .form-section-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 40px 0 24px;
}

.quote-form .form-section-title:first-child { margin-top: 0; }

.field {
  margin-bottom: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
}

.field-label .optional {
  color: var(--text-muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--surface);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.field textarea { min-height: 100px; resize: vertical; }

.field-error {
  color: #DC2626;
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.field.error .field-error { display: block; }
.field.error input,
.field.error select,
.field.error textarea { border-color: #DC2626; }

.field-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  width: 100%;
}

.submit-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.form-success {
  text-align: center;
  padding: 60px 32px;
  background: var(--surface-alt);
  border-radius: 20px;
  display: none;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 16px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.next-steps {
  margin-top: 32px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.next-steps h4 {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 12px;
}

.next-steps ol {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.next-steps li { margin-bottom: 8px; }

/* ===== MULTI-STEP FORM ===== */
.form-container {
  max-width: 720px;
  margin: 0 auto;
}

.progress {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
}

.progress-dot {
  text-align: center;
  position: relative;
}

.progress-dot .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin: 0 auto 8px;
  transition: all 0.3s;
}

.progress-dot.active .num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.progress-dot .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-step {
  display: none;
}

.form-step.active { display: block; }

.form-step-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.form-step-header .left {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.form-step-header .k {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.form-step-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}

.form-step-header .est {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.radio-btn:hover {
  border-color: var(--primary-light);
  background: rgba(15, 118, 110, 0.03);
}

.radio-btn input { display: none; }

.radio-btn .radio-visual {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s;
}

.radio-btn input:checked + .radio-visual {
  border-color: var(--accent);
}

.radio-btn input:checked + .radio-visual::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.checkbox-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.checkbox-item:hover {
  border-color: var(--primary-light);
  background: rgba(15, 118, 110, 0.03);
}

.checkbox-item input { display: none; }

.checkbox-item .box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s;
}

.checkbox-item input:checked + .box {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-item input:checked + .box::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.confirm-check input { display: none; }

.confirm-check .box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all 0.3s;
}

.confirm-check input:checked + .box {
  background: var(--accent);
  border-color: var(--accent);
}

.confirm-check input:checked + .box::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.confirm-check .text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.btn-back {
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-back:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-back:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-next {
  background: var(--accent);
  color: var(--text);
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-next:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.submit-block {
  margin-top: 40px;
  padding: 32px;
  background: var(--surface-alt);
  border-radius: 16px;
  text-align: center;
}

.submit-block h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
}

.submit-block p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 40px;
  background: var(--surface-dark);
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 24px; }
.footer-brand .logo-text { color: var(--text-inverse); }
.footer-brand .logo-mark { background: var(--accent); }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--text-inverse);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-list { list-style: none; }
.footer-list li { margin-bottom: 12px; }
.footer-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-list a:hover { color: var(--text-inverse); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 20px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .current { color: var(--text); }

/* ===== ROLE TAGS ===== */
.role-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface-alt);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.role-tag.accent {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-dark);
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 400px; order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .how-steps::before { display: none; }
  .cta-block { grid-template-columns: 1fr; padding: 60px; }
  .cta-visual { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-visual { height: 320px; }
  .floating-card.c1 { width: 140px; }
  .floating-card.c2 { width: 130px; }
  .floating-card.c3 { width: 150px; }
  .services-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .checkbox-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .cta-buttons { flex-direction: column; }
  .progress { gap: 20px; }
  .progress-dot .num { width: 32px; height: 32px; font-size: 12px; }
  .careers-footer-note { flex-direction: column; gap: 24px; text-align: center; }
  .form-step-header { flex-direction: column; gap: 16px; }
  .form-actions { flex-direction: column-reverse; gap: 16px; }
  .btn-back, .btn-next { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 40px 24px; }
}

/* ===== UTILITY ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--text);
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.3s;
}

.skip-link:focus { top: 0; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   v1.1 — Layout & responsive refinements
   ========================================================================== */

img, svg { max-width: 100%; }
a { color: inherit; }
.container { max-width: 1280px; }
.container-narrow { max-width: 820px; }

/* WP admin bar offset for the fixed nav */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed !important; } }

/* Nav */
.nav.scrolled { box-shadow: 0 6px 24px rgba(10, 15, 13, 0.06); }
.nav-links ul, .nav-menu { display: flex; gap: 40px; list-style: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 12px 0 28px;
}
.menu-open .mobile-menu { display: block; }
.mobile-menu-list { list-style: none; margin-bottom: 20px; }
.mobile-menu-list a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 22px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu-cta { width: 100%; justify-content: center; }

/* Section rhythm */
.section-header { padding: 0; margin: 0 0 56px; max-width: 760px; }
.section-lede { color: var(--text-secondary); font-size: 17px; line-height: 1.7; margin-top: 16px; max-width: 580px; }
.section-tinted { background: var(--surface-alt); }
.page-section { padding: 96px 0; }
.page-section .section-header + * { margin-top: 0; }

/* ===== HERO ===== */
.hero { min-height: auto; padding: 150px 0 100px; }
.hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
.hero-title { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.04; }
.hero-title .line { padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-cta { flex-wrap: wrap; }

.hero-visual { height: auto; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.hv-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 60px -20px rgba(15, 118, 110, 0.25), 0 8px 20px rgba(10, 15, 13, 0.04);
}
.hv-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.hv-k { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); font-weight: 600; }
.hv-id { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.hv-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--surface-alt); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px;
}
.hv-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-light); animation: pulse 2s ease-in-out infinite; }
.hv-route { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px; background: var(--bg); border-radius: 16px; margin-bottom: 20px; }
.hv-city { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.hv-city-end { text-align: right; }
.hv-track { position: relative; height: 4px; background: rgba(15,118,110,.12); border-radius: 4px; }
.hv-progress { position: absolute; left: 0; top: 0; bottom: 0; width: 72%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; }
.hv-truck {
  position: absolute; left: 72%; top: 50%;
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(245,158,11,.18);
}
.hv-truck svg { width: 16px; height: 16px; stroke: var(--text); }
.hv-steps { list-style: none; margin-bottom: 20px; }
.hv-steps li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed var(--border); }
.hv-steps li:last-child { border-bottom: 0; }
.hv-check { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.hv-steps li.now .hv-check { background: transparent; border: 2px solid var(--accent); }
.hv-steps li.now .hv-step-t { font-weight: 600; }
.hv-time { font-size: 12px; color: var(--text-muted); }
.hv-foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.hv-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.hv-who { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; flex: 1; }
.hv-who span { font-size: 12px; color: var(--text-muted); }
.hv-msg { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; }
.hv-msg svg { width: 18px; height: 18px; stroke: var(--primary); }

.hero-visual .floating-card { z-index: 2; }
.hero-visual .floating-card.c1 { top: 2%; left: -4%; width: 190px; }
.hero-visual .floating-card.c3 { top: auto; bottom: 0; right: 0; left: auto; width: 200px; padding: 16px; }
.hero-visual { padding-bottom: 40px; }
.hv-panel { margin-right: 40px; }

/* Services / how / stats */
.services, .how, .stats, .testimonial, .cta { padding: 110px 0; }
.services-grid { gap: 20px; }
.stat-num .unit { margin-left: 2px; }

/* CTA */
.cta-block { gap: 48px; }
.cta-buttons { flex-wrap: wrap; }

/* ===== Inner pages ===== */
.page-hero { padding: 168px 0 88px; }
.page-hero-compact { padding: 150px 0 56px; }
.page-hero .container, .page-section .container { position: relative; z-index: 1; }

.about-idea { max-width: 760px; }
.about-idea p { color: var(--text-secondary); font-size: 18px; line-height: 1.8; }
.page-about .stats-grid { margin-top: 64px; }

.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.compare-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.compare-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.compare-k { font-family: var(--font-display); font-size: 22px; margin-bottom: 12px; }
.compare-card-us { background: var(--surface-dark); border-color: var(--surface-dark); }
.compare-card-us .compare-k { color: var(--accent); }
.compare-card-us p { color: #D1D5DB; }

.roles-grid { margin-top: 0; }
.role-card { display: flex; flex-direction: column; }
.role-card-blurb { flex: 1; }

.contact-grid { margin-top: 0; }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.contact-icon svg { width: 24px; height: 24px; stroke: var(--primary); }
.contact-card { transition: all .3s var(--ease-out); }
.contact-card:hover { border-color: var(--primary-light); box-shadow: 0 16px 40px rgba(15,118,110,.1); }
.contact-card a { word-break: break-word; }

.careers-footer-note { gap: 24px; margin-top: 48px; border: 1px solid var(--border); }

/* Breadcrumb sits under the fixed nav */
.breadcrumb { padding: 104px 0 0; background: var(--surface-alt); }
.breadcrumb + .page-hero { padding-top: 32px; }

/* Role pages */
.role-meta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.role-tag { background: var(--surface); border: 1px solid var(--border); }
.role-hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.role-hero-note { font-size: 14px; color: var(--text-secondary); }

.onboarding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.onboarding-card { padding: 32px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.onboarding-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.onboarding-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; }
.onboarding-icon svg { width: 24px; height: 24px; stroke: var(--primary); }
.onboarding-num { font-family: var(--font-display); font-size: 32px; color: rgba(15,118,110,.18); font-weight: 600; }
.onboarding-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.onboarding-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

.day-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.day-layout .section-header { margin-bottom: 0; position: sticky; top: 120px; }
.day-timeline { list-style: none; position: relative; }
.day-timeline::before { content: ''; position: absolute; left: 63px; top: 8px; bottom: 8px; width: 1px; background: rgba(15,118,110,.2); }
.day-item { display: grid; grid-template-columns: 56px 1fr; gap: 32px; padding-bottom: 28px; position: relative; }
.day-item:last-child { padding-bottom: 0; }
.day-item::before { content: ''; position: absolute; left: 59px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--surface-alt); }
.day-time { font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }
.day-body { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.day-body h4 { font-family: var(--font-display); font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.day-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.requirements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.req-col { border: 1px solid var(--border); border-radius: 20px; padding: 32px; background: var(--surface); }
.req-col-nice { background: var(--bg); }
.req-col h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 12px; color: var(--primary); }
.req-list { list-style: none; }
.req-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.6; }
.req-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.req-mark { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(245,158,11,.15); color: var(--accent-dark); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.req-col-nice .req-mark { background: var(--surface-alt); color: var(--primary); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--primary); transition: transform .3s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 24px 22px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* Application form */
.form-section { padding: 96px 0; background: var(--bg); }
.form-header { text-align: center; margin-bottom: 48px; }
.form-header .section-eyebrow { justify-content: center; }
.form-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; line-height: 1.15; margin-bottom: 16px; }
.form-header h2 em { font-style: italic; font-weight: 300; color: var(--accent); }
.form-header p { color: var(--text-secondary); max-width: 560px; margin: 0 auto; }
.form-container > form, .form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 50px -30px rgba(15,118,110,.25);
}
.form-card { max-width: 720px; margin: 0 auto; }
.form-card-title { font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1.25; margin-bottom: 8px; }
.form-card-lede { color: var(--text-secondary); font-size: 15px; margin-bottom: 32px; }
.progress { flex-wrap: wrap; }
.form-error-message { display: none; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 20px; }
.field input, .field select, .field textarea { border-color: rgba(15,118,110,.2); color: var(--text); -webkit-appearance: none; appearance: none; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230F766E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.radio-btn:has(input:checked) { border-color: var(--accent); background: rgba(245,158,11,.06); }
.radio-btn:has(input:checked) .radio-visual { border-color: var(--accent); }
.radio-btn:has(input:checked) .radio-visual::after { content: ''; position: absolute; top: 3px; left: 3px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.checkbox-item:has(input:checked), .confirm-check:has(input:checked) { border-color: var(--accent); background: rgba(245,158,11,.06); }
.checkbox-item:has(input:checked) .box, .confirm-check:has(input:checked) .box { background: var(--accent); border-color: var(--accent); }
.checkbox-item:has(input:checked) .box::after, .confirm-check:has(input:checked) .box::after { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--text); font-size: 12px; font-weight: 700; }
.submit-btn { font-family: var(--font-body); }

/* Generic page content (Privacy, Terms, etc.) */
.entry-content { font-size: 17px; line-height: 1.8; color: var(--text-secondary); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-family: var(--font-display); font-weight: 500; font-size: 26px; color: var(--text); margin-top: 2em; line-height: 1.25; }
.entry-content h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--text); margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content a { color: var(--primary); }
.entry-content strong { color: var(--text); }

/* Footer */
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-bottom { gap: 12px; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .hero-visual { order: 0; }
  .how-steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .how-steps::before { display: block; }
  .cta-block { padding: 64px; }
}

@media (max-width: 1024px) {
  .hero { padding: 130px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-content { max-width: 720px; }
  .hero-visual { min-height: 0; padding: 30px 0; }
  .hv-panel { margin-right: 0; }
  .hero-visual .floating-card.c3 { right: 6%; bottom: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: 1fr; gap: 0; margin-top: 0; max-width: 640px; }
  .how-steps::before { display: none; }
  .how-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; text-align: left; padding-bottom: 28px; }
  .how-step-number { grid-row: span 2; margin: 0; }
  .how-step-title { align-self: end; }
  .day-layout { grid-template-columns: 1fr; gap: 40px; }
  .day-layout .section-header { position: static; }
  .compare-grid, .onboarding-grid { grid-template-columns: 1fr; }
  .roles-grid, .contact-grid { grid-template-columns: 1fr; max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links, .nav-inner > .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { height: 68px; }
  .breadcrumb { padding-top: 88px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 108px 0 64px; }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero-title { font-size: clamp(2.3rem, 10vw, 3rem); margin-bottom: 24px; }
  .hero-lede { font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta a { justify-content: center; }
  .hero-visual { padding: 0; }
  .hero-visual .floating-card { display: none; }
  .hv-panel { padding: 20px; border-radius: 20px; }
  .hv-route { padding: 14px; gap: 12px; }
  .hv-city { font-size: 13px; }

  .services, .how, .stats, .testimonial, .cta { padding: 72px 0; }
  .page-section, .form-section { padding: 64px 0; }
  .page-hero { padding: 120px 0 56px; }
  .page-hero-compact { padding: 110px 0 40px; }
  .page-hero p { font-size: 16px; }
  .breadcrumb + .page-hero { padding-top: 24px; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(1.9rem, 7.5vw, 2.5rem); }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }
  .how-steps { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
  .how-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; text-align: left; padding-bottom: 28px; }
  .how-step-number { grid-row: span 2; margin: 0; }
  .how-step-title { align-self: end; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 0; }
  .stat-card { padding: 28px 12px; }
  .stat-num { font-size: 38px; }
  .stat-label { font-size: 13px; }
  .testimonial-quote { font-size: 1.35rem; }
  .cta-block { padding: 40px 24px; border-radius: 24px; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons a { justify-content: center; text-align: center; }

  .roles-grid, .contact-grid { grid-template-columns: 1fr; }
  .requirements-grid { grid-template-columns: 1fr; }
  .req-col, .onboarding-card, .compare-card, .role-card, .contact-card { padding: 24px; }
  .careers-footer-note { flex-direction: column; align-items: flex-start; text-align: left; padding: 24px; }
  .role-hero-cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .role-hero-cta .btn-primary { justify-content: center; }
  .day-timeline::before { left: 59px; }
  .day-item { grid-template-columns: 48px 1fr; gap: 28px; font-size: 15px; }
  .day-item::before { left: 55px; }
  .day-body { padding: 14px 16px; }
  .faq-item summary { font-size: 16px; padding: 18px 20px; }
  .faq-answer { padding: 0 20px 18px; }

  .form-container > form, .form-card { padding: 28px 20px; border-radius: 20px; }
  .progress { gap: 10px; justify-content: space-between; }
  .progress-dot .label { font-size: 10px; }
  .radio-btn { flex: 1 1 auto; }
  .entry-content { font-size: 16px; }
  .entry-content h2 { font-size: 22px; }

  .footer { padding: 56px 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.3rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hv-steps li { font-size: 13px; }
  .progress-dot .label { display: none; }
}

@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-title .line span, .hero-eyebrow, .hero-lede, .hero-cta, .hero-visual { opacity: 1; transform: none; }
}
.quote-form h3.form-section-title:first-of-type { margin-top: 0; }

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0; z-index: 100000;
  background: var(--surface-dark);
  display: flex; align-items: center; justify-content: center;
  transition: clip-path .8s var(--ease-in-out), visibility 0s linear .8s;
  clip-path: inset(0 0 0 0);
}
.preloader::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20,184,166,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,184,166,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader.is-done .preloader-inner { opacity: 0; transform: translateY(-30px); }
.preloader-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; transition: opacity .4s, transform .6s var(--ease-out); }
.is-loading body { overflow: hidden; }

.pl-route { position: relative; width: 240px; height: 90px; display: flex; align-items: flex-end; }
.pl-stop { position: absolute; bottom: 0; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); background: var(--surface-dark); z-index: 1; }
.pl-stop-a { left: 0; border-color: var(--primary-light); background: var(--primary-light); }
.pl-stop-b { right: 0; animation: plStop 1.8s ease-in-out infinite; }
.pl-line { position: absolute; left: 6px; right: 6px; bottom: 5px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 6px, transparent 6px 12px); overflow: hidden; }
.pl-line-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary-light), var(--accent)); transform-origin: left; animation: plFill 1.8s var(--ease-in-out) infinite; }
.pl-box { position: absolute; left: 0; bottom: 14px; width: 44px; height: 44px; animation: plMove 1.8s var(--ease-in-out) infinite; }
.pl-box svg { width: 100%; height: 100%; animation: plHop .45s ease-in-out infinite alternate; filter: drop-shadow(0 6px 10px rgba(245,158,11,.35)); }
.pl-shadow { position: absolute; left: 6px; bottom: 9px; width: 32px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.45); animation: plMove 1.8s var(--ease-in-out) infinite, plShadow .45s ease-in-out infinite alternate; }

.pl-brand { display: flex; align-items: center; gap: 12px; }
.pl-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 20px; animation: plMark 1.8s var(--ease-out) infinite; }
.pl-name { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--text-inverse); letter-spacing: -0.02em; }
.pl-status { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.pl-dots i { font-style: normal; animation: plDot 1.2s infinite; opacity: 0; }
.pl-dots i:nth-child(2) { animation-delay: .2s; }
.pl-dots i:nth-child(3) { animation-delay: .4s; }

@keyframes plMove { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(196px); } }
@keyframes plFill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes plHop { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-14px) rotate(4deg); } }
@keyframes plShadow { from { opacity: .5; scale: 1; } to { opacity: .2; scale: .6; } }
@keyframes plStop { 0%, 65% { background: var(--surface-dark); border-color: rgba(255,255,255,.25); box-shadow: none; } 72%, 100% { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 8px rgba(245,158,11,.15); } }
@keyframes plMark { 0%, 60% { transform: rotate(0); } 75% { transform: rotate(-10deg) scale(1.08); } 90%, 100% { transform: rotate(0) scale(1); } }
@keyframes plDot { 0%, 20% { opacity: 0; } 40%, 80% { opacity: 1; } 100% { opacity: 0; } }

/* hero entrance waits for the preloader */
.is-loading .hero-eyebrow, .is-loading .hero-title .line span, .is-loading .hero-lede, .is-loading .hero-cta, .is-loading .hero-visual { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}
/* safety net if JS fails */
.preloader { animation: plFailsafe 0s linear 6s forwards; }
@keyframes plFailsafe { to { visibility: hidden; opacity: 0; } }

/* ===== Video after the application (as on Dylanex) ===== */
.form-success .success-video { max-width: 640px; margin: 32px auto 0; text-align: center; }
.form-success .success-video h4 {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.success-video-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: radial-gradient(120% 120% at 30% 20%, #135E57 0%, var(--surface-dark) 70%);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 50px -24px rgba(15, 118, 110, .45);
}
.success-video-frame.is-playing { background: #000; }
.success-video-frame iframe,
.success-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #000; }
.success-video-frame .video-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--text-inverse); background: none; border: 0; cursor: pointer; font-family: var(--font-body);
}
.success-video-frame .video-play-icon {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(245, 158, 11, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.success-video-frame .video-play-icon svg { width: 30px; height: 30px; fill: var(--text); margin-left: 4px; }
.success-video-frame .video-play:hover .video-play-icon,
.success-video-frame .video-play:focus-visible .video-play-icon { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(245, 158, 11, .26); }
.success-video-frame .video-play-label { font-weight: 600; font-size: 15px; letter-spacing: .01em; }
@media (max-width: 600px) {
  .success-video-frame .video-play-icon { width: 60px; height: 60px; }
  .success-video-frame .video-play-icon svg { width: 24px; height: 24px; }
  .form-success { padding: 40px 20px; }
}

/* Answer options stretch across the whole form width */
.radio-group { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.radio-group .radio-btn { flex: 1 1 0; min-width: 120px; justify-content: flex-start; padding: 14px 18px; }
.checkbox-list .checkbox-item { width: 100%; }
@media (max-width: 480px) {
  .radio-group .radio-btn { min-width: 0; padding: 14px; }
  .radio-group:has(.radio-btn:nth-child(3)) .radio-btn { flex-basis: 100%; }
}
