:root {
  --bg: #FFFBF4;
  --bg-alt: #FFF2DE;
  --ink: #1E2A28;
  --ink-soft: #55625E;
  --teal: #1FA05C;
  --teal-dark: #0B5C34;
  --coral: #FF7A29;
  --coral-dark: #E85D0B;
  --blue: #1CA7C7;
  --blue-dark: #0E7690;
  --yellow: #FFC93C;
  --pink: #F2455C;
  --line: #EFE2C8;
  --white: #FFFFFF;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --radius: 20px;
  --shadow-sm: 0 4px 16px rgba(30, 42, 40, 0.06);
  --shadow-md: 0 12px 40px rgba(30, 42, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 42, 40, 0.14);
  --font-display: "Fraunces", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

body.no-scroll { overflow: hidden; height: 100%; }

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06110C;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.preloader.is-hidden { opacity: 0; pointer-events: none; }
.preloader-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.preloader-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,18,13,0.55) 0%, rgba(4,18,13,0.35) 45%, rgba(4,18,13,0.72) 100%);
}
.preloader-brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 0 24px;
}
.preloader-logo { height: 84px; width: auto; margin-bottom: 6px; filter: drop-shadow(0 6px 20px rgba(0,0,0,0.4)); }
.preloader-name {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.preloader-name em { font-style: normal; color: var(--yellow); }
.preloader-tag {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
}
.preloader-skip {
  position: absolute;
  bottom: 28px; right: 28px;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.preloader-skip:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
@media (max-width: 620px) {
  .preloader-logo { height: 60px; }
  .preloader-skip { bottom: 20px; right: 20px; font-size: 12px; padding: 9px 16px; }
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; color: var(--teal-dark); }
p { margin: 0; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  z-index: 999;
  transition: width 0.05s linear;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.75);
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--teal-dark); transform: translateY(-2px); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.35s ease;
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--teal-dark); }
.logo-img { height: 44px; width: auto; display: block; }
.logo-fallback { display: none; align-items: center; gap: 10px; }
.logo-mark { display: flex; color: var(--yellow); }
.logo-text {
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.logo-text em { font-style: normal; color: var(--yellow); }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 0%; height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}
.main-nav a:hover { color: var(--yellow); }
.main-nav a:hover::after { width: 100%; }
.nav-toggle span { background: #fff; transition: background 0.3s ease; }

.site-header.scrolled .logo-mark { color: var(--coral); }
.site-header.scrolled .logo-text { color: var(--teal-dark); text-shadow: none; }
.site-header.scrolled .logo-text em { color: var(--coral); }
.site-header.scrolled .main-nav a { color: var(--ink-soft); text-shadow: none; }
.site-header.scrolled .main-nav a::after { background: var(--coral); }
.site-header.scrolled .main-nav a:hover { color: var(--teal-dark); }
.site-header.scrolled .nav-toggle span { background: var(--teal-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; transform: scale(1.15); }
.hero-img svg { width: 100%; height: 100%; display: block; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,18,13,0.9) 0%, rgba(4,18,13,0.76) 42%, rgba(4,18,13,0.6) 68%, rgba(4,18,13,0.52) 100%),
              linear-gradient(180deg, rgba(4,18,13,0.55) 0%, rgba(4,18,13,0.38) 45%, rgba(4,18,13,0.62) 82%, var(--bg) 100%);
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  z-index: 1;
}
.hero-shape-1 { width: 240px; height: 240px; background: radial-gradient(circle, rgba(255,122,41,0.4), transparent 70%); top: 12%; right: 8%; }
.hero-shape-2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(31,160,92,0.3), transparent 70%); bottom: 6%; left: 4%; }
.hero-shape-3 { width: 180px; height: 180px; background: radial-gradient(circle, rgba(28,167,199,0.35), transparent 70%); top: 46%; left: 12%; z-index: 1; }

.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-content .eyebrow { color: var(--yellow); text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.hero-title {
  font-size: clamp(42px, 6.4vw, 84px);
  color: #fff;
  text-shadow: 0 4px 28px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.3);
  margin-bottom: 22px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; will-change: transform; }
.hero-subtitle {
  font-size: 19px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-family: var(--font-display); font-size: 26px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.stat span { font-size: 13px; color: rgba(255,255,255,0.78); }

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-cue-line { width: 1px; height: 42px; background: rgba(255,255,255,0.35); overflow: hidden; position: relative; }
.scroll-cue-line i {
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--coral);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* Section generic */
section { position: relative; padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 14px; }
.section-lead { font-size: 17px; color: var(--ink-soft); line-height: 1.7; }

/* Trust bar */
.trust-bar { background: var(--bg-alt); }
.trust-header { max-width: 720px; margin-bottom: 56px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.trust-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(31,160,92,0.14), rgba(28,167,199,0.14));
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.trust-card:nth-child(2) .trust-icon { background: linear-gradient(135deg, rgba(28,167,199,0.14), rgba(255,122,41,0.14)); color: var(--blue-dark); }
.trust-card:nth-child(3) .trust-icon { background: linear-gradient(135deg, rgba(255,122,41,0.16), rgba(255,201,60,0.2)); color: var(--coral-dark); }
.trust-card:nth-child(4) .trust-icon { background: linear-gradient(135deg, rgba(255,201,60,0.22), rgba(31,160,92,0.14)); color: var(--coral-dark); }
.trust-card h3 { font-size: 19px; margin-bottom: 10px; }
.trust-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* Experiencias */
.exp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.exp-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.exp-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.exp-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  transition: transform 0.7s ease;
}
.exp-media svg { transition: transform 0.7s ease; }
.exp-card:hover .exp-media svg { transform: scale(1.1) rotate(-2deg); }
.exp-art-1 { background: linear-gradient(135deg, #FF9A4D, #E85D0B); }
.exp-art-2 { background: linear-gradient(135deg, #3CAE82, #0B5C34); }
.exp-art-3 { background: linear-gradient(135deg, #5FC9E8, #0E7690); }
.exp-art-4 { background: linear-gradient(135deg, #FFC93C, #E85D0B); }
.exp-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
}
.exp-body { padding: 28px; }
.exp-body h3 { font-size: 22px; margin-bottom: 10px; }
.exp-body p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.exp-meta { display: flex; gap: 10px; font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.exp-link { color: var(--teal); font-weight: 700; font-size: 14.5px; }
.exp-link:hover { color: var(--coral-dark); }

/* Como funciona */
.como-funciona { background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 70px; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--coral);
  margin-bottom: 14px;
}
.step:nth-child(2) .step-num { color: var(--blue-dark); }
.step:nth-child(3) .step-num { color: var(--teal); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

.wa-panel {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  border-radius: 28px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
}
.wa-panel-text h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.wa-panel-text p { color: rgba(255,255,255,0.82); font-size: 15px; }

/* Testimonios */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--coral);
}
.testi-card:nth-child(2) { border-top-color: var(--blue); }
.testi-card:nth-child(3) { border-top-color: var(--teal); }
.testi-card p { font-size: 15.5px; line-height: 1.7; color: var(--ink); font-style: italic; margin-bottom: 20px; }
.testi-card footer { display: flex; flex-direction: column; }
.testi-card strong { color: var(--teal-dark); font-size: 15px; }
.testi-card span { font-size: 13px; color: var(--ink-soft); }

/* CTA final */
.cta-final { padding: 120px 0; }
.cta-final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-final-inner h2 { font-size: clamp(30px, 4vw, 46px); max-width: 620px; }

/* Footer */
.site-footer { background: var(--teal-dark); color: rgba(255,255,255,0.85); padding-top: 70px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 50px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text em { color: var(--coral); }
.footer-brand p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 260px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.55); }

/* Whatsapp float */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
  z-index: 90;
  animation: floatPulse 2.6s ease-in-out infinite;
}
.whatsapp-float:hover { background: var(--wa-dark); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* Reveal helpers (animated via GSAP, base state hidden) */
.from-left, .from-right, .reveal-up, .reveal-word { will-change: transform, opacity; }

/* Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 120px; }
  .hero-stats { gap: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .wa-panel { flex-direction: column; align-items: flex-start; }
  .cta-final-inner { flex-direction: column; align-items: flex-start; }
}
