/* ============================================
   BUSCACLICK — Design System
   Paleta: Deep Blue #0A2463, Cyan #00E5CC,
           Ember #FF6B35, Dark #0D1117
   Tipografia: Space Grotesk, Inter, JetBrains Mono
   ============================================ */

/* --- Variables --- */
:root {
  --blue: #0A2463;
  --cyan: #00E5CC;
  --ember: #FF6B35;
  --dark: #0D1117;
  --dark-surface: #161B22;
  --gray: #8B949E;
  --light: #F0F6FC;
  --white: #FFFFFF;
  --font-heading: 'Familjen Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1200px;
  --gutter: 24px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--light);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* --- Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.mono { font-family: var(--font-mono); }
.optional { color: var(--gray); font-size: 0.85em; }

/* --- Section base --- */
.section {
  padding: 120px 0;
  position: relative;
}
.section__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section__subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ember);
  color: var(--white);
}
.btn--primary:hover {
  background: #e85a25;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 204, 0.3);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 204, 0.05);
}
.btn--submit {
  width: 100%;
  min-height: 52px;
  font-size: 1.125rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* --- Badge --- */
.badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(0, 229, 204, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 204, 0.2);
  display: inline-block;
  letter-spacing: 0.02em;
}

/* --- Brand divider --- */
.brand-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.brand-divider__line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.brand-divider__line:last-child {
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.brand-divider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.brand-divider--light .brand-divider__line {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}
.brand-divider--light .brand-divider__line:last-child {
  background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
}
.brand-divider--light .brand-divider__dot {
  background: var(--white);
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 148, 158, 0.08);
  transition: all 0.3s var(--transition);
}
.header.scrolled {
  padding: 10px 0;
  background: rgba(13, 17, 23, 0.95);
  border-bottom-color: rgba(0, 229, 204, 0.1);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.header__logo-icon {
  flex-shrink: 0;
}
.header__wordmark {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--light);
}
.header__wordmark strong { font-weight: 600; }
.header__cursor {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 2px;
  display: inline-block;
  animation: cursor-pulse 1.5s infinite;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s ease;
}
.header__link:hover { color: var(--white); }
.header__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.header__menu span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--light);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 80px;
  overflow: hidden;
}
/* Hero accent lines */
.hero__accent {
  position: absolute;
  z-index: 0;
}
.hero__accent--top {
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--ember));
}
.hero__accent--bottom {
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#hero-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
/* Hero split layout */
.hero__split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero__left { text-align: left; }
.hero__badge { margin-bottom: 24px; }
.hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--white);
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--gray);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* Calendar embed */
.hero__right { display: flex; justify-content: center; }
.hero__calendar {
  width: 100%;
  max-width: 440px;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
}
.hero__calendar iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* Calendar wrap with label */
.hero__calendar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__calendar-label {
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}
/* Hero trust badge */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}
.hero__trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__trust-text {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}

/* ============================================
   DOLOR + AUTORIDAD
   ============================================ */
.section--pain {
  background: var(--dark-surface);
}
.section--pain .section__title {
  text-align: center;
  margin-bottom: 48px;
}
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.pain__card {
  background: var(--dark);
  border: 1px solid rgba(139, 148, 158, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s var(--transition);
}
.pain__card:hover {
  border-color: rgba(0, 229, 204, 0.2);
}
.pain__icon {
  margin-bottom: 16px;
}
.pain__card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--white);
}
.pain__card p {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.6;
}
.authority__bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid rgba(139, 148, 158, 0.1);
}
.authority__number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}
.authority__number::before { content: "+"; }
.authority__number.mono {
  font-family: var(--font-mono);
  font-weight: 500;
}
.authority__label {
  font-size: 0.875rem;
  color: var(--gray);
}

/* ============================================
   MACHINE / SYSTEM FLOW
   ============================================ */
.section--machine {
  background: var(--dark);
  overflow: hidden;
}
.machine__flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
}
.machine__stage {
  background: var(--dark-surface);
  border: 1px solid rgba(139, 148, 158, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  flex: 1;
  max-width: 320px;
  transition: border-color 0.3s ease;
}
.machine__stage:hover {
  border-color: rgba(0, 229, 204, 0.25);
}
.machine__stage--output {
  border-color: rgba(0, 229, 204, 0.2);
  background: linear-gradient(135deg, var(--dark-surface), rgba(10, 36, 99, 0.3));
}
.machine__stage-header {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 229, 204, 0.1);
}
/* Input signals */
.machine__signals { display: flex; flex-direction: column; gap: 14px; }
.machine__signal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--light);
  opacity: 0;
  animation: signal-in 0.5s ease forwards;
}
.machine__signal[data-delay="0"] { animation-delay: 0.2s; }
.machine__signal[data-delay="1"] { animation-delay: 0.6s; }
.machine__signal[data-delay="2"] { animation-delay: 1s; }
.machine__signal[data-delay="3"] { animation-delay: 1.4s; }
@keyframes signal-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.machine__signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.machine__signal-value {
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--gray);
}
/* Connector */
.machine__connector {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.machine__connector::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,229,204,0.1), rgba(0,229,204,0.3), rgba(0,229,204,0.1));
}
.machine__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-move 2s infinite;
  position: relative;
  z-index: 1;
}
@keyframes pulse-move {
  0% { transform: translateX(-16px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(16px); opacity: 0; }
}
/* Process items */
.machine__process-items { display: flex; flex-direction: column; gap: 14px; }
.machine__process-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--light);
}
/* Output results */
.machine__results { display: flex; flex-direction: column; gap: 20px; }
.machine__result { text-align: center; }
.machine__result-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--cyan);
  line-height: 1.1;
}
.machine__result-label {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.machine__footnote {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 40px;
  opacity: 0.6;
}
.people__proof {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.people__proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.people__proof-num {
  font-size: 2rem;
  font-weight: 500;
  color: var(--cyan);
  line-height: 1;
}
.people__proof-item > span:last-child {
  font-size: 0.8125rem;
  color: var(--gray);
  max-width: 160px;
}

/* Form mini dashboard */
.form__mini-dash {
  margin-top: 32px;
  display: flex;
  gap: 24px;
  padding: 16px 20px;
  background: var(--dark);
  border: 1px solid rgba(0, 229, 204, 0.1);
  border-radius: var(--radius-sm);
}
.form__mini-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ============================================
   SERVICIOS
   ============================================ */
.section--services {
  background: var(--dark);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service__card {
  background: var(--dark-surface);
  border: 1px solid rgba(139, 148, 158, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all 0.3s var(--transition);
}
.service__card:hover {
  border-color: rgba(0, 229, 204, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.service__tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 12px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 229, 204, 0.08);
}
.service__card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 4px;
}
.service__parent {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-bottom: 12px;
}
.service__card > p:last-child {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   PRUEBA DE SISTEMA
   ============================================ */
.section--proof {
  background: var(--blue);
}
.section--proof .section__title {
  text-align: center;
  color: var(--white);
  margin-bottom: 56px;
}
.proof__grid {
  margin-bottom: 48px;
}
.proof__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.proof__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 229, 204, 0.2);
  border-radius: var(--radius-sm);
  min-width: 130px;
  text-align: center;
}
.proof__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--cyan); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--cyan); }
}
.proof__node span.mono {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
}
.proof__node small {
  font-size: 0.75rem;
  color: var(--gray);
}
.proof__connector {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  flex-shrink: 0;
}
.proof__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.proof__stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 4px;
}
.proof__stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}
.proof__cta { text-align: center; }

/* ============================================
   FORMULARIO
   ============================================ */
.section--form {
  background: var(--dark-surface);
}
.form__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.form__left .section__title { margin-bottom: 16px; }
.form__desc {
  font-size: 1.0625rem;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 440px;
}
.form__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  color: #25D366;
  padding: 12px 20px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--transition);
  width: fit-content;
}
.form__whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: #25D366;
}
.form__schedule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--gray);
}
/* Form */
.lead-form {
  background: var(--dark);
  border: 1px solid rgba(139, 148, 158, 0.15);
  border-radius: var(--radius);
  padding: 40px;
}
.form__field {
  margin-bottom: 20px;
}
.form__field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--light);
  margin-bottom: 6px;
}
.form__field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: var(--dark-surface);
  border: 1px solid rgba(139, 148, 158, 0.2);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease;
}
.form__field input::placeholder {
  color: var(--gray);
  opacity: 0.6;
}
.form__field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.1);
}
.form__field input:invalid:not(:placeholder-shown) {
  border-color: var(--ember);
}
.btn--submit { margin-top: 8px; }
.form__privacy {
  font-size: 0.75rem;
  color: var(--gray);
  text-align: center;
  margin-top: 12px;
}
.form__privacy a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   FOOTER
   ============================================ */
.section--footer {
  padding: 64px 0 32px;
  background: var(--dark);
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--cyan), var(--blue), var(--ember)) 1;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(139, 148, 158, 0.1);
  margin-bottom: 24px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__logo-icon { flex-shrink: 0; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--light);
}
.logo-text--lg { font-size: 1.5rem; }
.logo-text strong { font-weight: 600; }
.logo-cursor {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 2px;
  display: inline-block;
  animation: cursor-pulse 1.5s infinite;
}
@keyframes cursor-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.footer__tagline {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--cyan);
  margin-top: 8px;
}
.footer__manifesto {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 12px;
  max-width: 360px;
  line-height: 1.6;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.footer__nav a {
  font-size: 0.8125rem;
  color: var(--gray);
  transition: color 0.2s ease;
}
.footer__nav a:hover { color: var(--cyan); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__links {
  display: flex;
  gap: 24px;
  font-size: 0.75rem;
  color: var(--gray);
}
.footer__links a:hover { color: var(--cyan); }
.footer__legal {
  font-size: 0.7rem;
  color: var(--gray);
  text-align: right;
  opacity: 0.7;
}

/* ============================================
   WHATSAPP FAB
   ============================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 88px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9998;
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s var(--transition);
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.fab-whatsapp.hidden { opacity: 0; pointer-events: none; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .hero__split { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero__left { text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__calendar { max-width: 400px; height: 480px; margin: 0 auto; }
  .machine__flow { flex-direction: column; align-items: center; }
  .machine__stage { max-width: 100%; }
  .machine__connector { width: 100%; height: 40px; }
  .machine__connector::before { top: 0; bottom: 0; left: 50%; width: 1px; height: 100%; right: auto; background: linear-gradient(180deg, rgba(0,229,204,0.1), rgba(0,229,204,0.3), rgba(0,229,204,0.1)); }
  .machine__pulse { animation-name: pulse-move-v; }
  @keyframes pulse-move-v { 0% { transform: translateY(-12px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
  .pain__grid { grid-template-columns: 1fr; gap: 16px; }
  .authority__bar { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__flow { gap: 8px; }
  .proof__connector { width: 16px; }
  .proof__stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .form__layout { grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .section { padding: 64px 0; }

  .header__nav { display: none; }
  .header__menu { display: flex; }
  .section--hero { min-height: auto; max-height: none; padding: 100px 0 60px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 320px; }
  .hero__calendar { height: 440px; }

  .people__proof { justify-content: center; }
  .form__mini-dash { flex-direction: column; gap: 12px; }

  .pain__grid { grid-template-columns: 1fr; }
  .authority__bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .services__grid { grid-template-columns: 1fr; }

  .proof__flow { flex-direction: column; gap: 0; }
  .proof__connector { width: 1px; height: 24px; }
  .proof__node { width: 100%; max-width: 280px; }
  .proof__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .form__layout { grid-template-columns: 1fr; gap: 32px; }
  .lead-form { padding: 24px; }

  .footer__content { flex-direction: column; text-align: center; }
  .footer__legal { text-align: center; }
  .footer__links { flex-direction: column; gap: 12px; }
}

/* Small phones */
@media (max-width: 479px) {
  .hero__title { font-size: 1.625rem; }
  .authority__bar { grid-template-columns: 1fr 1fr; }
  .proof__stats { grid-template-columns: 1fr 1fr; }
}
