/* ============================================
   SARAIVA.AI — DEFINITIVE Design System
   Award-winning visual-first layout
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg-primary: #0D0D0D;
  --bg-alt: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;

  --text-primary: #F5F5F3;
  --text-secondary: rgba(245, 245, 243, 0.75);
  --text-tertiary: rgba(245, 245, 243, 0.35);

  --accent: #B8FF3D;
  --accent-dim: rgba(184, 255, 61, 0.15);
  --accent-glow: rgba(184, 255, 61, 0.25);
  --accent-dark: rgba(184, 255, 61, 0.06);

  --border: rgba(245, 245, 243, 0.08);
  --border-hover: rgba(245, 245, 243, 0.18);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1400px;
  --container-pad: 60px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-butter: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease-smooth);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

::selection {
  background-color: var(--accent);
  color: var(--bg-primary);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  color: var(--text-primary);
}

ul, ol { list-style: none; }

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.8s var(--ease-smooth), visibility 0.8s;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Terminal Effect */
.terminal {
  width: min(600px, 90vw);
  background: #0a0a0a;
  border: 1px solid rgba(184, 255, 61, 0.15);
  border-radius: 8px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  box-shadow: 0 0 60px rgba(184, 255, 61, 0.05), 0 20px 60px rgba(0,0,0,0.5);
}

.terminal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terminal__dots {
  display: flex;
  gap: 6px;
}

.terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal__dot--red { background: #ff5f57; }
.terminal__dot--yellow { background: #febc2e; }
.terminal__dot--green { background: #28c840; }

.terminal__title {
  font-size: 11px;
  color: rgba(245, 245, 243, 0.4);
  letter-spacing: 0.03em;
}

.terminal__body {
  padding: 20px 16px;
  min-height: 220px;
}

.terminal__line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
  font-size: 13px;
  line-height: 1.6;
}

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

.terminal__prompt {
  color: var(--accent);
  font-weight: 600;
}

.terminal__line--output .terminal__text {
  color: rgba(245, 245, 243, 0.6);
}

.terminal__line--success .terminal__text {
  color: var(--text-primary);
}

.terminal__line--green .terminal__text {
  color: var(--accent);
  font-weight: 600;
  text-shadow: 0 0 20px rgba(184, 255, 61, 0.3);
}

.terminal__text {
  overflow: hidden;
  border-right: 2px solid transparent;
}

.terminal__text.typing {
  border-right-color: var(--accent);
  animation: terminalBlink 0.6s step-end infinite;
}

.terminal__cursor {
  color: var(--accent);
  animation: terminalBlink 0.6s step-end infinite;
  font-weight: 600;
}

@keyframes terminalBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Terminal scanline overlay */
.terminal__body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(184, 255, 61, 0.01) 2px,
    rgba(184, 255, 61, 0.01) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.terminal__body {
  position: relative;
}

/* Loader progress bar under terminal */
.loader__progress {
  width: min(600px, 90vw);
  padding: 0 4px;
}

.loader__bar {
  width: 100%;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.loader__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 10001;
  transition: none;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10002;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out),
              background-color 0.3s, border-color 0.3s, opacity 0.3s;
}

.cursor-follower.active {
  width: 60px;
  height: 60px;
  background: rgba(184, 255, 61, 0.1);
  border-color: var(--accent);
}

@media (pointer: fine) {
  .cursor, .cursor-follower { display: block; }
  body:not(.loading) { cursor: none; }
  body:not(.loading) a,
  body:not(.loading) button,
  body:not(.loading) [data-magnetic] { cursor: none; }
}

@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none !important; }
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  position: relative;
  width: 100%;
}

.text-green { color: var(--accent); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn:hover::before { opacity: 1; }

.btn--green {
  background-color: var(--accent);
  color: var(--bg-primary);
}

.btn--green:hover {
  background-color: #c8ff66;
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(184, 255, 61, 0.3), 0 0 60px rgba(184, 255, 61, 0.1);
}

.btn--outline {
  border: 1px solid var(--text-secondary);
  color: var(--text-primary);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--text-primary);
  background: rgba(245, 245, 243, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn--outline-green {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn--outline-green:hover {
  background-color: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(184, 255, 61, 0.2);
}

.btn--large {
  padding: 20px 56px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.5s var(--ease-smooth);
}

.nav--solid {
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  padding: 10px 24px;
  font-size: 12px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.4s var(--ease-out);
  transform-origin: center;
}

.nav__hamburger--open span:nth-child(1) { transform: rotate(45deg) translateY(4.6px); }
.nav__hamburger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger--open span:nth-child(3) { transform: rotate(-45deg) translateY(-4.6px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-smooth);
}

.mobile-menu--open { opacity: 1; pointer-events: all; }

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu__link {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all 0.4s var(--ease-out);
  transform: translateY(20px);
  opacity: 0;
}

.mobile-menu--open .mobile-menu__link { transform: translateY(0); opacity: 1; }
.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu--open .mobile-menu__link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu__link:hover { color: var(--accent); transform: translateX(10px); }

.mobile-menu__cta {
  margin-top: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out) 0.35s;
}

.mobile-menu--open .mobile-menu__cta { opacity: 1; transform: translateY(0); }

/* ============================================
   HERO — Full visible image, left gradient only
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 10;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

.hero__img-mobile,
.hero__img-mobile-img {
  display: none;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13, 13, 13, 0.95) 0%,
    rgba(13, 13, 13, 0.7) 40%,
    transparent 65%
  );
  z-index: 1;
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -10px;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float var(--d) linear var(--delay) infinite;
}

@keyframes particle-float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 4;
  padding: 160px var(--container-pad) 100px;
  max-width: 680px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
}

.hero__eyebrow.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s var(--ease-out);
}

.hero__title { margin-bottom: 12px; }

.hero__title-line {
  display: block;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  overflow: hidden;
}

.hero__title-line--white { color: var(--text-primary); margin-bottom: 8px; }
.hero__title-line--green { color: var(--accent); }

.hero__title-line .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%) rotate(3deg);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.hero__title-line .word.from-left { transform: translateX(-80px) rotate(-2deg); }
.hero__title-line .word.from-right { transform: translateX(80px) rotate(2deg); }
.hero__title-line .word.from-bottom { transform: translateY(100%) rotate(3deg); }
.hero__title-line .word.visible { opacity: 1; transform: translateY(0) translateX(0) rotate(0deg); }

.hero__underline {
  width: 0;
  height: 3px;
  background: var(--accent);
  margin-bottom: 32px;
  border-radius: 2px;
  transition: width 0.8s var(--ease-out);
  box-shadow: 0 0 20px var(--accent-glow);
}

.hero__underline.visible { width: 200px; }

.hero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 540px;
  min-height: 50px;
  margin-bottom: 48px;
  line-height: 1.5;
}

.hero__sub-hidden { display: none; }

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
}

.hero__ctas.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s var(--ease-elastic);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
  z-index: 20;
}

.marquee__track {
  display: flex;
  will-change: transform;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: marquee-scroll 40s linear infinite;
  flex-shrink: 0;
  padding-right: 40px;
}

.marquee__item {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--text-primary);
}

.marquee__dot {
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
}

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

/* ============================================
   SECTIONS — Base
   ============================================ */
.section {
  position: relative;
  z-index: 10;
}

.section--overlap {
  padding: 120px 0;
}

.section--overlap + .section--overlap {
  margin-top: -40px;
}

.section--flush {
  padding: 0 0 120px 0;
}

.section__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__title--large {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 32px;
}

.section__desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 24px;
}

/* ============================================
   SPLIT LAYOUT — The core 50/50 composition
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--container-max);
  margin: 0 auto;
  min-height: 80vh;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 500px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.split__image--diagonal {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.split__image--masked {
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
}

.split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Clip-path reveal animation — images visible by default, animate as enhancement */
[data-animate="clip-reveal"] {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1; /* override [data-animate] { opacity: 0 } — clip-path handles the reveal */
}

@media (prefers-reduced-motion: no-preference) {
  [data-animate="clip-reveal"]:not(.visible) {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
}

[data-animate="clip-reveal"].visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.split__image--diagonal[data-animate="clip-reveal"].visible {
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.split__image--masked[data-animate="clip-reveal"].visible {
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
}

.split__content {
  padding: 60px 80px;
}

/* ============================================
   SYMPTOM TAGS
   ============================================ */
.symptom-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .symptom-tags {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   METODO — Full-width image + overlapping cards
   ============================================ */
.metodo__visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.metodo__hero-img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}

.metodo__image-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px var(--container-pad);
  background: linear-gradient(0deg, rgba(13,13,13,0.95) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 24px;
}

.metodo__image-bar .section__tag { margin-bottom: 0; }

.metodo__image-bar h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.metodo__lines {
  display: none;
  width: 100%;
  height: 20px;
  margin-bottom: -10px;
}

.metodo__line-path {
  transition: stroke-dashoffset 1.5s var(--ease-out);
}

.metodo__line-path.drawn {
  stroke-dashoffset: 0;
}

.metodo__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: -80px auto 0;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 2;
}

/* ============================================
   GLASS CARD — Shared glassmorphism effect
   ============================================ */
.glass-card {
  background: rgba(22, 22, 22, 0.7);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(245, 245, 243, 0.08);
  padding: 40px 32px;
  transition: all 0.5s var(--ease-out);
  will-change: transform;
}

.glass-card:hover {
  border-color: rgba(184, 255, 61, 0.2);
  background: rgba(22, 22, 22, 0.85);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(184, 255, 61, 0.05);
}

.metodo__card-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1;
}

.metodo__card-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

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

/* ============================================
   DIAGN0STICO — Steps with green connecting line
   ============================================ */
.diag__steps {
  position: relative;
  padding-left: 40px;
  margin-top: 32px;
}

.diag__line {
  position: absolute;
  left: 14px;
  top: 0;
  width: 2px;
  height: 0%;
  background: var(--accent);
  transition: height 1.5s var(--ease-out);
  box-shadow: 0 0 10px var(--accent-glow);
}

.diag__line.visible { height: 100%; }

.diag__step {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
}

.diag__step:last-of-type { margin-bottom: 0; }

.diag__step-node {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  flex-shrink: 0;
  margin-left: -40px;
  transition: all 0.5s var(--ease-out);
  z-index: 1;
}

.diag__step.active .diag__step-node,
.diag__step.visible .diag__step-node {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px var(--accent-dim);
}

.diag__step-text h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.diag__step-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   OFERTAS — Accordion style
   ============================================ */
.ofertas__deck {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.oferta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.oferta:hover {
  border-color: var(--border-hover);
}

.oferta--jesus {
  border-color: rgba(184, 255, 61, 0.2);
}

.oferta__glow {
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(184, 255, 61, 0.08), transparent 50%);
  pointer-events: none;
  border-radius: var(--radius-sm);
}

.oferta__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.oferta__title {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.oferta--jesus .oferta__title { color: var(--accent); }

.oferta__toggle {
  transition: transform 0.4s var(--ease-out);
  color: var(--text-tertiary);
}

.oferta--open .oferta__toggle {
  transform: rotate(180deg);
}

.oferta__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
  padding: 0 24px;
}

.oferta--open .oferta__body {
  max-height: 300px;
  padding: 0 24px 20px;
}

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

/* ============================================
   JESUS — Immersive full-width section
   ============================================ */
.section--jesus-immersive {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}

.jesus__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jesus__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0.3) 0%,
    rgba(13, 13, 13, 0.15) 40%,
    rgba(13, 13, 13, 0.6) 80%,
    rgba(13, 13, 13, 0.95) 100%
  );
  z-index: 1;
}

.jesus__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px var(--container-pad) 40px;
}

.jesus__title {
  font-size: clamp(72px, 14vw, 180px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.85;
  color: var(--text-primary);
  text-shadow: 0 0 60px rgba(184, 255, 61, 0.15);
  margin-bottom: 16px;
}

/* Glitch effect */
.jesus__title[data-glitch] {
  position: relative;
}

.jesus__title[data-glitch]::before,
.jesus__title[data-glitch]::after {
  content: attr(data-glitch);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.jesus__title.glitching::before {
  color: var(--accent);
  animation: glitch-1 0.3s infinite;
  opacity: 0.6;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.jesus__title.glitching::after {
  color: #ff3d6e;
  animation: glitch-2 0.3s infinite;
  opacity: 0.4;
  clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
  0% { transform: translate(2px, -1px); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(1px, 2px); }
  75% { transform: translate(-1px, -2px); }
  100% { transform: translate(2px, 1px); }
}

@keyframes glitch-2 {
  0% { transform: translate(-2px, 1px); }
  25% { transform: translate(2px, -1px); }
  50% { transform: translate(-1px, -2px); }
  75% { transform: translate(1px, 2px); }
  100% { transform: translate(-2px, -1px); }
}

.jesus__subtitle {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 300;
  color: var(--text-secondary);
  min-height: 30px;
}

.jesus__subtitle-hidden { display: none; }

.jesus__features-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: var(--container-max);
  margin: -20px auto 0;
  padding: 0 var(--container-pad) 80px;
}

.jesus__feature {
  padding: 24px 20px;
  text-align: center;
}

.jesus__feature-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 0 15px var(--accent-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 5px var(--accent-dim); }
  50% { box-shadow: 0 0 20px var(--accent-glow); }
}

.jesus__feature p {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ============================================
   ABOUT — Stats with animated counters
   ============================================ */
.about__stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}

.about__stat {
  display: flex;
  flex-direction: column;
}

.about__stat-number {
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.about__stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* ============================================
   QUOTES — Rotating carousel
   ============================================ */
.section--quotes {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.quotes__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.quotes-carousel {
  position: relative;
  z-index: 2;
}

.quotes__mark {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900;
  color: var(--accent);
  line-height: 0.6;
  margin-bottom: 24px;
  opacity: 0.6;
}

.quotes-carousel__track {
  position: relative;
  min-height: 120px;
}

.quotes-carousel__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
  pointer-events: none;
}

.quotes-carousel__item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  position: relative;
}

.quotes-carousel__item.exit {
  opacity: 0;
  transform: translateY(-30px);
}

.quotes-carousel__item p {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 900px;
}

.quotes-carousel__progress {
  width: 100%;
  height: 2px;
  background: var(--border);
  margin-top: 48px;
  border-radius: 2px;
  overflow: hidden;
}

.quotes-carousel__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.quotes-carousel__dots {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.quotes-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--text-tertiary);
  background: transparent;
  transition: all 0.3s var(--ease-out);
  padding: 0;
}

.quotes-carousel__dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-dim);
}

/* ============================================
   CTA — Full-width image, bottom gradient
   ============================================ */
.section--cta {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  z-index: 10;
}

.cta__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(13, 13, 13, 0.95) 0%,
    rgba(13, 13, 13, 0.6) 40%,
    rgba(13, 13, 13, 0.15) 70%,
    transparent 100%
  );
  z-index: 1;
}

.cta__content {
  position: relative;
  z-index: 2;
  padding: 80px var(--container-pad) 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.cta__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 48px;
}

.cta__actions {
  margin-bottom: 32px;
}

.cta__btn-wrapper {
  display: inline-block;
  position: relative;
}

.cta__pulse-ring {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(184, 255, 61, 0.3);
  border-radius: var(--radius-md);
  animation: cta-pulse 2s ease-out infinite;
  pointer-events: none;
}

.cta__pulse-ring--2 {
  animation-delay: 0.5s;
}

@keyframes cta-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0; }
}

.cta__whatsapp {
  font-size: 14px;
  color: var(--text-tertiary);
}

.cta__whatsapp a {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  position: relative;
  z-index: 10;
}

.footer__line-draw {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 1.5s var(--ease-out);
}

.footer__line-draw.visible { width: 100%; }

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 12px;
  max-width: 280px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.footer__nav a:hover { color: var(--accent); transform: translateX(4px); }

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__social a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.footer__social a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer__bottom p {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* ============================================
   SCROLL ANIMATION STATES
   ============================================ */
[data-animate] {
  opacity: 0;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="card-3d-enter"] {
  transform: perspective(600px) rotateY(15deg) translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate="card-3d-enter"].visible {
  opacity: 1;
  transform: perspective(600px) rotateY(0deg) translateY(0);
}

[data-animate="tag-pop"] {
  transition: opacity 0.5s var(--ease-elastic), transform 0.5s var(--ease-elastic);
}

[data-animate="tag-pop"].visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --container-pad: 32px;
  }

  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

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

  .split--reverse { direction: ltr; }

  .split__image {
    min-height: 400px;
    clip-path: none !important;
  }

  .split__content {
    padding: 48px 32px;
  }

  .metodo__cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: -40px;
    padding: 0 24px;
  }

  .metodo__hero-img {
    height: 50vh;
  }

  .jesus__features-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 24px 60px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__stats {
    gap: 32px;
  }

  .hero__content {
    max-width: 100%;
    padding: 120px 32px 80px;
  }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  :root {
    --container-pad: 20px;
  }

  .hero__img { display: none; }
  .hero__img-mobile,
  .hero__img-mobile-img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__gradient {
    background: linear-gradient(
      180deg,
      rgba(13, 13, 13, 0.85) 0%,
      rgba(13, 13, 13, 0.5) 40%,
      rgba(13, 13, 13, 0.3) 60%,
      rgba(13, 13, 13, 0.8) 100%
    );
  }

  .hero__particles { width: 100%; }

  .hero__content {
    padding: 140px 20px 80px;
    max-width: 100%;
  }

  .hero__title-line {
    font-size: clamp(28px, 8vw, 42px);
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

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

  .split__image {
    min-height: 300px;
  }

  .split__content {
    padding: 32px 20px;
  }

  .section__title--large {
    font-size: clamp(28px, 7vw, 40px);
  }

  .metodo__hero-img {
    height: 40vh;
  }

  .metodo__cards {
    margin-top: -30px;
    padding: 0 16px;
  }

  .jesus__features-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 16px 60px;
  }

  .jesus__title {
    font-size: clamp(56px, 18vw, 100px);
  }

  .about__stats {
    flex-direction: column;
    gap: 24px;
  }

  .about__stat-number { font-size: 44px; }

  .cta__content {
    padding: 60px 20px;
  }

  .cta__title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .quotes__mark {
    font-size: 80px;
  }

  .quotes-carousel__item p {
    font-size: clamp(20px, 5vw, 30px);
  }

  .section--quotes {
    padding: 100px 0;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .mobile-menu__link {
    font-size: 24px;
  }
}

/* ============================================
   SVG ICON ANIMATIONS
   ============================================ */
.method-icon {
  display: block;
  margin-bottom: 20px;
}

.icon-draw {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: iconDraw 1.5s ease forwards;
}

.icon-scan {
  animation: iconScan 2s ease-in-out infinite;
}

.icon-rotate {
  animation: iconRotate 8s linear infinite;
  transform-origin: center;
}

.icon-pulse {
  animation: iconPulse 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes iconDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes iconScan {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.6; }
}

@keyframes iconRotate {
  to { transform: rotate(360deg); }
}

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

/* Step indicator */
.step-indicator {
  flex-shrink: 0;
  margin-right: 12px;
}

/* Iconify icon styling in symptom cards */
.symptom-card .iconify {
  color: var(--accent);
  font-size: 1.2em;
  vertical-align: middle;
  margin-right: 6px;
}

/* Symptom Cards */
.symptom-card {
  background: rgba(22,22,22,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184,255,61,0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s, border-color 0.3s;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(10px) scale(0.95);
}

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

.symptom-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,255,61,0.3);
  color: var(--accent);
}

.symptom-card__img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* Jesus feature icons */
.jesus-feature-icon {
  color: var(--accent);
  font-size: 1.5em;
  margin-bottom: 8px;
  display: block;
}

/* Offer card icons */
.offer-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

.offer-icon .iconify {
  color: var(--accent);
  font-size: 1.3em;
}

/* Footer icons */
.footer__social a .iconify {
  font-size: 1.2em;
  margin-right: 4px;
  vertical-align: middle;
}

/* Section Dividers */
.section-divider {
  padding: 0 80px;
  opacity: 0;
  transition: opacity 0.5s;
}

.section-divider.visible {
  opacity: 1;
}

.section-divider.visible .divider-line {
  animation: drawLine 1.5s ease forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .particle { display: none; }
  .hero__scanlines { display: none; }
}

/* --- Section Images --- */
.method-card__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 12px 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.method-card:hover .method-card__img { opacity: 1; }

.step__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.jesus-feature__img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin-bottom: 6px;
}

/* Ensure images are always visible even if JS animation hasn't triggered */
.split__img,
.method-card__img,
.step__img,
.jesus-feature__img,
.hero__img {
  opacity: 1 !important;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}
.whatsapp-float .iconify { font-size: 28px; color: white; }

@media (max-width: 768px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 48px; height: 48px; }
}

/* Image visibility guaranteed */

/* Split image containers */
.split__image {
  min-height: 400px;
}

/* ============================================
   GPU COMPOSITING — will-change for animations
   ============================================ */
[data-animate], .icon-draw, .icon-rotate, .icon-pulse, .marquee__track {
  will-change: transform, opacity;
}

/* ============================================
   TOUCH TARGET SIZE — minimum 48x48px
   ============================================ */
.quotes-carousel__dot {
  min-width: 48px;
  min-height: 48px;
}

.nav__link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.nav__hamburger {
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.footer__nav a,
.footer__social a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.icon-dot { color: var(--accent); font-size: 0.8em; }
