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

:root {
  --slate-950: #0a0e1a;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --accent-600: #4f6d8f;
  --accent-500: #5b8ab5;
  --accent-400: #7ba7cf;
  --accent-300: #a3c4e0;
  --accent-200: #c8ddf0;

  --warm-50: #fefdfb;
  --warm-100: #faf8f5;

  --white: #ffffff;
  --green-wa: #25d366;
  --green-wa-hover: #1fba59;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  --shadow-soft: 0 2px 12px rgba(10, 14, 26, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 14, 26, 0.08);
  --shadow-glow: 0 0 40px rgba(91, 138, 181, 0.12);
}

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

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--warm-50);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 600; letter-spacing: -0.01em; }

p {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.8;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent-400);
  border-radius: 1px;
}

/* ===== CTA BUTTON ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--green-wa);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-button:hover {
  background: var(--green-wa-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}

.cta-button:active { transform: translateY(0); }

.cta-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  padding: 12px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.4s;
}

.logo span { color: var(--accent-300); }

.header.scrolled .logo { color: var(--slate-900); }
.header.scrolled .logo span { color: var(--accent-500); }

.nav-cta {
  padding: 10px 22px;
  font-size: 0.85rem;
  border-radius: var(--radius-lg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--slate-950) 0%, var(--slate-900) 40%, var(--slate-800) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(91, 138, 181, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--warm-50), transparent);
  z-index: 2;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 3;
}

.hero-content { padding: 40px 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-300);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--green-wa);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-300), var(--accent-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--slate-400);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.8;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image .credential {
  position: absolute;
  bottom: 20px;
  left: -16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.credential-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.credential-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-600);
}

.credential-text {
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.3;
}

.credential-text strong {
  display: block;
  color: var(--slate-900);
  font-size: 0.85rem;
}

/* ===== IDENTIFICATION ===== */
.identification {
  padding: 88px 0;
  background: var(--warm-50);
}

.identification .container {
  max-width: 680px;
  text-align: center;
}

.identification h2 {
  margin-bottom: 20px;
}

.identification p {
  font-size: 1.1rem;
  line-height: 1.9;
}

.identification .highlight-box {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.identification .highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-400), var(--accent-200));
  border-radius: 0 2px 2px 0;
}

.identification .highlight-box p {
  text-align: left;
  font-style: italic;
  color: var(--slate-600);
  font-size: 1rem;
}

/* ===== ABOUT ===== */
.about {
  padding: 88px 0;
  background: var(--white);
}

.about .container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 780px;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-photo::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-200);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content .section-tag { margin-bottom: 10px; }

.about-content h2 { margin-bottom: 14px; }

.about-content p {
  margin-bottom: 14px;
  font-size: 1rem;
}

.about-crp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-600);
  margin-top: 4px;
}

.about-crp svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-500);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 72px 0;
  background: var(--slate-50);
}

.how-it-works .container {
  max-width: 680px;
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 18px;
}

.how-it-works p {
  font-size: 1.05rem;
  line-height: 1.85;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(160deg, var(--slate-900) 0%, var(--slate-800) 100%);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(91,138,181,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta .container {
  max-width: 600px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.final-cta > .container > p {
  font-size: 1.05rem;
  color: var(--slate-400);
  margin-bottom: 28px;
}

.final-cta .cta-button {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.final-cta-note {
  margin-top: 18px;
  font-size: 0.8rem !important;
  color: var(--slate-500) !important;
  opacity: 0.7;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--warm-50);
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--accent-500); }

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  background: var(--accent-500);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-500);
  transition: fill 0.3s;
}

.faq-item.active .faq-icon svg { fill: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.75;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  background: var(--slate-950);
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--green-wa);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: wa-pulse 2.5s infinite;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.5); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.25s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-image-wrapper { order: -1; }
  .hero-image img { width: 240px; height: 240px; }
  .hero-image .credential { left: 50%; transform: translateX(-50%); bottom: -16px; }
  .hero { min-height: auto; padding: 120px 0 80px; }

  @keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
  }

  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo { max-width: 200px; margin: 0 auto; }

  .cta-button { width: 100%; justify-content: center; }

  .identification,
  .about,
  .how-it-works,
  .faq { padding: 64px 0; }

  .final-cta { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero-image .credential { padding: 8px 12px; }
  .credential-text { font-size: 0.7rem; }
  .credential-text strong { font-size: 0.78rem; }
  .nav-cta { padding: 8px 16px; font-size: 0.8rem; }
}
