/* =========================================================
   IN.GROUP CONSULTORA — Landing Page Styles
   Mobile-first · AOS animations · Swiper slider
   Paleta: Azul #1A35B5 · Oscuro #0D1B6E · Esmeralda #10B981
   Tipografía: Figtree (Google Fonts) — sistema completo
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500&display=swap');

/* ── Variables ── */
:root {
  /* Colores */
  --blue:        #1A35B5;
  --blue-dark:   #0D1B6E;
  --blue-deeper: #07103F;
  --emerald:     #10B981;
  --emerald-dim: #0D9268;
  --white:       #F4F6FF;
  --gray:        #8B95B0;
  --gray-light:  #E8EBF5;
  --text:        #1A1F3A;

  /* Tipografía — Figtree única fuente, sistema de pesos */
  --font:           'Figtree', sans-serif;

  /* Pesos semánticos */
  --fw-light:       300;
  --fw-regular:     400;
  --fw-medium:      500;
  --fw-semibold:    600;
  --fw-bold:        700;
  --fw-extrabold:   800;
  --fw-black:       900;

  /* Tamaños tipográficos (escala modular 1.25) */
  --text-xs:    0.70rem;   /* 11.2px — labels, tags, microcopy */
  --text-sm:    0.82rem;   /* 13.1px — captions, meta */
  --text-base:  0.93rem;   /* 14.9px — body small */
  --text-md:    1rem;      /* 16px   — body principal */
  --text-lg:    1.1rem;    /* 17.6px — body destacado */
  --text-xl:    1.25rem;   /* 20px   — subtítulos pequeños */
  --text-2xl:   1.5rem;    /* 24px   — subtítulos */
  --text-3xl:   1.875rem;  /* 30px   — títulos sección mobile */
  --text-4xl:   2.25rem;   /* 36px   — títulos sección desktop */
  --text-5xl:   3rem;      /* 48px   — hero subtitle */
  --text-hero:  clamp(2.6rem, 8.5vw, 5.4rem); /* hero H1 fluido */

  /* Line-heights */
  --lh-tight:   1.1;
  --lh-snug:    1.25;
  --lh-normal:  1.5;
  --lh-relaxed: 1.7;
  --lh-loose:   1.85;

  /* Letter-spacing */
  --ls-tight:   -0.02em;
  --ls-normal:  0em;
  --ls-wide:    0.04em;
  --ls-wider:   0.1em;
  --ls-widest:  0.2em;

  /* Estructura */
  --radius:    12px;
  --radius-lg: 24px;
  --shadow:    0 4px 32px rgba(13,27,110,0.13);
  --shadow-lg: 0 12px 48px rgba(13,27,110,0.22);
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font);
  font-weight: var(--fw-regular);
  font-size: var(--text-md);
  line-height: var(--lh-relaxed);
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Sistema tipográfico base ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

/* H1 — Hero */
h1 {
  font-weight: var(--fw-black);
  font-size: var(--text-hero);
}

/* H2 — Títulos de sección */
h2 {
  font-weight: var(--fw-extrabold);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
}

/* H3 — Cards, subttítulos */
h3 {
  font-weight: var(--fw-bold);
  font-size: var(--text-xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-normal);
}

/* H4 — Items, listas */
h4 {
  font-weight: var(--fw-semibold);
  font-size: var(--text-md);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-normal);
}

/* Párrafos */
p {
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
}

/* Texto fuerte */
strong, b {
  font-weight: var(--fw-semibold);
}

/* ── Componentes tipográficos reutilizables ── */
.label-tag {
  display: inline-block;
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.section-title span { color: var(--emerald); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 5rem 0; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 1.25rem;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(7,16,63,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img { height: 38px; width: auto; }

.nav__links {
  display: none;
  gap: 2rem;
}

.nav__links a {
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  color: var(--white);
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
}

.nav__links a:hover { opacity: 1; color: var(--emerald); }

.nav__cta {
  display: none;
  padding: 0.55rem 1.35rem;
  background: var(--emerald);
  color: #fff !important;
  border-radius: 999px;
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  opacity: 1 !important;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover { background: var(--emerald-dim); transform: translateY(-1px); }

/* Hamburger */
.nav__burger {
  width: 36px; height: 36px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 6px;
  cursor: pointer; background: none; border: none;
  padding: 4px;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

.nav__burger span:last-child { width: 60%; }
.nav__burger:hover span:last-child { width: 100%; }

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--blue-deeper);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

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

.nav__mobile a {
  font-family: var(--font);
  font-size: var(--text-5xl);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  letter-spacing: var(--ls-tight);
  transition: color var(--transition);
}

.nav__mobile a:hover { color: var(--emerald); }

.nav__mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: var(--text-2xl); line-height: 1;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  background: var(--blue-deeper);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
}

/* animated gradient mesh */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  animation: blobFloat 10s ease-in-out infinite alternate;
}

.hero__blob--1 {
  width: 480px; height: 480px;
  background: var(--blue);
  top: -120px; right: -100px;
  animation-duration: 12s;
}

.hero__blob--2 {
  width: 360px; height: 360px;
  background: var(--emerald);
  bottom: 0px; left: -80px;
  animation-duration: 9s;
  animation-delay: -3s;
}

.hero__blob--3 {
  width: 240px; height: 240px;
  background: #3B6FE8;
  top: 40%; left: 40%;
  animation-duration: 15s;
  animation-delay: -6s;
}

@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 40px) scale(1.12); }
}

/* noise grain overlay */
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__eyebrow-line {
  width: 36px; height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}

.hero__eyebrow span {
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--emerald);
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: var(--fw-black);
  color: #fff;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--emerald); }
.hero h1 .outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.35);
  color: transparent;
}

.hero__sub {
  font-size: clamp(var(--text-md), 2.5vw, var(--text-lg));
  color: rgba(244,246,255,0.72);
  font-weight: var(--fw-light);
  max-width: 540px;
  line-height: var(--lh-relaxed);
  margin-bottom: 2.5rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.hero__tag {
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  backdrop-filter: blur(8px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 4px 24px rgba(16,185,129,0.35);
}

.btn--primary:hover {
  background: var(--emerald-dim);
  box-shadow: 0 8px 32px rgba(16,185,129,0.45);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.32);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 24px rgba(26,53,181,0.35);
}

.btn--blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 32px rgba(26,53,181,0.45);
}

.btn svg { width: 18px; height: 18px; }

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.4rem;
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

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

/* =========================================================
   SERVICIOS
   ========================================================= */
.servicios {
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.servicios::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,53,181,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.servicios__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.servicio-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.servicio-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.servicio-card:hover {
  border-color: rgba(26,53,181,0.12);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.servicio-card:hover::after { transform: scaleX(1); }

.servicio-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.servicio-card h3 {
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-normal);
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
}

.servicio-card p {
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  color: var(--gray);
  line-height: var(--lh-relaxed);
}

/* =========================================================
   CURSOS / SLIDER (DESTACADO)
   ========================================================= */
.cursos {
  background: var(--blue-deeper);
  position: relative;
  overflow: hidden;
}

.cursos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cursos .section-title { color: #fff; }
.cursos .label-tag { color: var(--emerald); }

.cursos__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cursos__desc {
  font-size: var(--text-md);
  font-weight: var(--fw-regular);
  color: rgba(244,246,255,0.65);
  line-height: var(--lh-relaxed);
  max-width: 520px;
}

/* Swiper container */
.cursos-swiper {
  width: 100%;
  padding-bottom: 3.5rem !important;
}

/* Mobile: cards verticales 9:16 */
.curso-slide {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.curso-slide:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.35); }

.curso-slide__video {
  position: relative;
  width: 100%;
  /* 9:16 en mobile */
  padding-top: 177.78%;
  background: var(--blue-dark);
  overflow: hidden;
}

.curso-slide__video iframe,
.curso-slide__video .video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(160deg, var(--blue-dark), var(--blue-deeper));
}

.video-placeholder__icon {
  width: 64px; height: 64px;
  background: var(--emerald);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-placeholder__icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 32px rgba(16,185,129,0.5);
}

.video-placeholder__icon svg { margin-left: 4px; }

.video-placeholder__label {
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.curso-slide__info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.curso-slide__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-black);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.5rem;
}

.curso-slide__info h3 {
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-normal);
  color: #fff;
  line-height: var(--lh-snug);
  margin-bottom: 0.5rem;
}

.curso-slide__info p {
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  color: rgba(244,246,255,0.55);
  line-height: var(--lh-relaxed);
}

.curso-slide__fecha {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  font-weight: var(--fw-medium);
}

/* Swiper bullets */
.cursos-swiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.3);
  opacity: 1;
  transition: background var(--transition), width var(--transition);
}

.cursos-swiper .swiper-pagination-bullet-active {
  background: var(--emerald);
  width: 20px;
  border-radius: 99px;
}

/* Nav buttons */
.cursos-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.swiper-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  color: #fff;
}

.swiper-btn:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}

/* =========================================================
   NOSOTROS
   ========================================================= */
.nosotros {
  background: #fff;
}

.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.nosotros__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nosotros__img-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.nosotros__img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.nosotros__badge {
  position: absolute;
  bottom: -1.5rem; right: -1rem;
  background: var(--blue-dark);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.nosotros__badge strong {
  display: block;
  font-family: var(--font);
  font-size: var(--text-4xl);
  font-weight: var(--fw-black);
  color: var(--emerald);
  line-height: 1;
}

.nosotros__badge span {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.65);
  margin-top: 0.2rem;
  display: block;
}

.nosotros__items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.nosotros__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.nosotros__item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(26,53,181,0.1), rgba(16,185,129,0.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.nosotros__item h4 {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-normal);
  color: var(--blue-dark);
  margin-bottom: 0.3rem;
}

.nosotros__item p {
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  color: var(--gray);
  line-height: var(--lh-relaxed);
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deeper));
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  position: relative; z-index: 1;
}

.stat-item { text-align: center; }

.stat-item__number {
  font-family: var(--font);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 800;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  font-weight: 400;
}

/* =========================================================
   INVERSIONES
   ========================================================= */
.inversiones {
  background: var(--gray-light);
  overflow: hidden;
  position: relative;
}

.inversiones__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.inversiones__card {
  background: var(--blue-deeper);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.inversiones__card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(16,185,129,0.2), transparent 70%);
  pointer-events: none;
}

.inversiones__card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.inversiones__card ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.inversiones__card ul li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  align-items: flex-start;
}

.inversiones__card ul li::before {
  content: '→';
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonios {
  background: #fff;
  overflow: hidden;
}

.testimonios__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonio-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  border-left: 4px solid var(--emerald);
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonio-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.testimonio-card__quote {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--emerald);
  font-family: Georgia, serif;
  margin-bottom: 0.75rem;
}

.testimonio-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonio-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonio-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonio-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonio-card__name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue-dark);
}

.testimonio-card__role {
  font-size: 0.78rem;
  color: var(--gray);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: var(--blue-deeper);
  overflow: hidden;
}

.faq .section-title { color: #fff; }
.faq .label-tag { color: var(--emerald); }

.faq__list {
  max-width: 720px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: background var(--transition);
}

.faq__item.open { background: rgba(255,255,255,0.08); }

.faq__q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
}

.faq__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
  background: var(--emerald);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding var(--transition);
  padding: 0 1.5rem;
}

.faq__a p {
  font-size: 0.9rem;
  color: rgba(244,246,255,0.65);
  line-height: 1.75;
  padding-bottom: 1.25rem;
}

.faq__item.open .faq__a { max-height: 300px; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contacto {
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.contacto::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,53,181,0.08), transparent 70%);
  pointer-events: none;
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contacto__info h3 {
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.contacto__info p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.contacto__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contacto__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--blue-dark);
  font-weight: 500;
  transition: color var(--transition);
}

.contacto__link:hover { color: var(--emerald); }

.contacto__link-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Form */
.contacto__form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.form__title {
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
}

.form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,53,181,0.1);
}

.form__group textarea { resize: vertical; min-height: 110px; }

.form__submit {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
  padding: 1rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--blue-deeper);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__brand img { height: 38px; margin-bottom: 1rem; }

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--emerald); }

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background var(--transition), color var(--transition);
}

.footer__social-btn:hover { background: var(--emerald); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.footer__bottom p { font-size: 0.8rem; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 990;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fabPulse 3s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
  animation: none;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* =========================================================
   TABLET & DESKTOP — Media Queries
   ========================================================= */
@media (min-width: 640px) {
  .servicios__grid       { grid-template-columns: 1fr 1fr; }
  .stats__grid           { grid-template-columns: repeat(4, 1fr); }
  .testimonios__grid     { grid-template-columns: 1fr 1fr; }
  .form__row             { grid-template-columns: 1fr 1fr; }

  /* Slide horizontal en tablet+ */
  .curso-slide__video { padding-top: 56.25%; /* 16:9 */ }
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta   { display: inline-flex; }
  .nav__burger { display: none; }

  .cursos__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .servicios__grid      { grid-template-columns: repeat(3, 1fr); }
  .nosotros__grid       { grid-template-columns: 1fr 1.1fr; }
  .inversiones__inner   { grid-template-columns: 1fr 1fr; }
  .testimonios__grid    { grid-template-columns: 1fr 1fr; }
  .contacto__grid       { grid-template-columns: 1fr 1.3fr; }
  .footer__grid         { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* ── AOS custom tweaks ── */
[data-aos] { will-change: transform, opacity; }