/* ================================================
   TEACH IN IRELAND - Main Stylesheet
   Colores: Azul primario + Marrón acento
   ================================================ */

/* Las fuentes se cargan vía <link rel="preconnect"> + <link> en el <head> de cada página (mejor rendimiento) */

/* --- Variables --- */
:root {
  /* Paleta cian / sky — marca Teacher Cloudia (cielo claro + nubes) */
  --blue-deepest: #0C5778;   /* fondos oscuros (hero, footer) — más luminoso */
  --blue-dark:    #1577A4;   /* titulares, secciones oscuras */
  --blue-main:    #1597C7;   /* brand principal (cian cielo) */
  --blue-mid:     #34B2DC;   /* cian medio */
  --blue-bright:  #6FD6EE;   /* acento cian brillante */
  --blue-light:   #CDEEF8;   /* superficie suave */
  --blue-pale:    #F2FBFE;   /* tinte de fondo */
  --blue-glass:   rgba(21,151,199,0.08);

  /* Acento cálido (arena/terracota) — complementa el cian */
  --brown-dark:   #875234;
  --brown-main:   #B5793F;
  --brown-light:  #E0B583;
  --brown-pale:   #FDF4EA;
  --sand:         #E8C99B;

  --text-dark:    #122530;
  --text-mid:     #33454F;
  --text-gray:    #647580;
  --text-light:   #9AAAB3;
  --white:        #FFFFFF;
  --bg-light:     #F6FAFB;
  --bg-section:   #EFF4F6;
  --border:       #E2EAEE;

  /* Degradados de marca (cielo claro) */
  --grad-sky:     linear-gradient(135deg, #6FD6EE 0%, #1597C7 55%, #1577A4 100%);
  --grad-deep:    linear-gradient(160deg, #1577A4 0%, #0C5778 100%);
  --grad-soft:    linear-gradient(160deg, #F2FBFE 0%, #FFFFFF 70%);

  /* Sombras tintadas en cian */
  --shadow-sm:    0 1px 3px rgba(7,52,75,0.08);
  --shadow-md:    0 6px 20px rgba(12,74,110,0.10);
  --shadow-lg:    0 14px 40px rgba(12,74,110,0.14);
  --shadow-xl:    0 24px 60px rgba(12,74,110,0.20);
  --glow-sky:     0 12px 36px rgba(43,196,224,0.30);

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    34px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-hand:    'Kalam', 'Comic Sans MS', cursive;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: clip; /* clip (no 'hidden') para no crear contenedor de scroll y que window siga siendo el scroller */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Tipografía --- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--blue-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-mid); font-size: 1rem; line-height: 1.75; }

/* --- Layout --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-main);
  background: var(--brown-pale);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid var(--brown-light);
}

.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.05rem; color: var(--text-gray); }

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-main);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(14,127,168,0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12,74,110,0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-main);
  border: 2px solid var(--blue-main);
}
.btn-secondary:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
}

.btn-brown {
  background: var(--brown-main);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(155,107,58,0.35);
}
.btn-brown:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 46'%3E%3Ccircle cx='47' cy='14' r='6' fill='%23E8C99B'/%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='22' cy='28' r='11'/%3E%3Ccircle cx='37' cy='23' r='13'/%3E%3Ccircle cx='48' cy='30' r='9'/%3E%3Crect x='20' y='28' width='30' height='12' rx='6'/%3E%3C/g%3E%3C/svg%3E") center / 28px no-repeat,
    linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0; /* oculta el emoji del HTML; el logo es la nube SVG */
  box-shadow: 0 4px 12px rgba(14,127,168,0.35);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.1;
}

.nav-logo-tagline {
  font-size: 0.7rem;
  color: var(--brown-main);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links { flex-wrap: nowrap; }
.nav-links a {
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--blue-main);
  background: var(--blue-pale);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.lang-btn {
  display: flex;
  align-items: center;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gray);
  transition: var(--transition);
  opacity: 0.55;
}
.lang-btn .flag { width: 1.5em; height: 1.05em; }

.lang-btn.active {
  background: var(--blue-main);
  opacity: 1;
}
.lang-btn:hover { opacity: 1; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child { border-bottom: none; }

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* arriba (no centrado) para que la insignia no suba bajo la navbar en pantallas bajas */
  background: linear-gradient(150deg, var(--blue-deepest) 0%, var(--blue-dark) 42%, var(--blue-main) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 124px; /* separación garantizada bajo la navbar (72px) */
  padding-bottom: 56px;
}

/* Estrellas/partículas sutiles del cielo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 75% 35%, rgba(43,196,224,0.18) 0%, transparent 70%),
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.5) 0.8px, transparent 1.4px),
    radial-gradient(circle at 35% 12%, rgba(255,255,255,0.35) 0.8px, transparent 1.4px),
    radial-gradient(circle at 60% 25%, rgba(255,255,255,0.4) 0.8px, transparent 1.4px),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.3) 0.8px, transparent 1.4px);
  background-size: 100% 100%, 200px 200px, 260px 260px, 320px 320px, 180px 180px;
  pointer-events: none;
}

/* Nubes blancas en SVG al pie del hero (divisor onda-nube) */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 90h1440V58c-70 0-90-22-170-22s-104 26-190 26-110-30-200-30-130 28-220 28-120-24-210-24S150 64 80 64 0 50 0 50z'/%3E%3C/svg%3E") bottom/100% 90px no-repeat;
  z-index: 3;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-blob-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(155,107,58,0.15) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.hero-badge span { font-size: 1rem; }

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

.hero-text h1 em,
.hand {
  font-family: var(--font-hand);
  font-style: normal;
  color: var(--brown-light);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-text h1 em { font-size: 1.08em; }

.hero-text p {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-item {}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* Hero image side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  max-width: 360px;
  width: 100%;
}

.hero-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--brown-light), var(--brown-main));
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 4px solid rgba(255,255,255,0.3);
  overflow: hidden;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.hero-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero-flags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 2.2rem;
}

.hero-flags span.arrow {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}

.hero-trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.trust-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ================================================
   PROCESS / CÓMO FUNCIONA
   ================================================ */
.process { background: var(--bg-light); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--brown-light));
}

.step-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(14,127,168,0.3);
}

.step-card h4 { margin-bottom: 10px; }
.step-card p  { font-size: 0.9rem; color: var(--text-gray); }

/* ================================================
   SERVICIOS
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-main), var(--blue-mid));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.service-card:hover::after { opacity: 1; }

.service-card.featured {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
  border-color: var(--blue-main);
  color: var(--white);
}

.service-card.featured h3,
.service-card.featured h4 { color: var(--white); }

.service-card.featured p { color: rgba(255,255,255,0.82); }

/* ===== Icono de servicio/pack — badge premium con profundidad y brillo ===== */
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-main);
  font-size: 1.7rem; /* tamaño del emoji iOS dentro del badge */
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #ffffff 0%, var(--blue-pale) 100%);
  border: 1px solid rgba(21,151,199,0.16);
  box-shadow: 0 8px 18px -6px rgba(21,151,199,0.32), inset 0 1px 0 rgba(255,255,255,0.95);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .5s ease, background .5s ease;
}
/* destello diagonal que recorre el icono cada cierto tiempo (vida) */
.service-icon::after {
  content: '';
  position: absolute;
  top: 0; left: -135%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-18deg);
  animation: iconShine 7s ease-in-out infinite;
}
.service-icon svg { width: 27px; height: 27px; position: relative; z-index: 1;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes iconShine { 0%, 16% { left: -135%; } 34%, 100% { left: 135%; } }
/* desfase del destello por tarjeta para que no brillen a la vez */
.service-card:nth-child(2) .service-icon::after { animation-delay: .9s; }
.service-card:nth-child(3) .service-icon::after { animation-delay: 1.8s; }
.service-card:nth-child(4) .service-icon::after { animation-delay: 2.7s; }

/* hover: el badge se eleva, gira un poco, intensifica sombra y el icono rebota */
.service-card:hover .service-icon {
  transform: translateY(-5px) scale(1.07) rotate(-4deg);
  box-shadow: 0 16px 30px -8px rgba(21,151,199,0.48), inset 0 1px 0 rgba(255,255,255,0.95);
  background: linear-gradient(150deg, var(--blue-pale) 0%, #cdeef8 100%);
}
.service-card:hover .service-icon svg { transform: scale(1.12) rotate(4deg); }

/* tarjeta destacada (fondo oscuro): badge de cristal claro */
.service-card.featured .service-icon {
  color: #fff;
  background: linear-gradient(150deg, rgba(255,255,255,0.30), rgba(255,255,255,0.10));
  border-color: rgba(255,255,255,0.38);
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.45);
}
.service-card.featured:hover .service-icon {
  background: linear-gradient(150deg, rgba(255,255,255,0.42), rgba(255,255,255,0.16));
}

.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { font-size: 0.92rem; margin-bottom: 20px; line-height: 1.7; }

.service-list {
  margin-bottom: 24px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-gray);
  padding: 6px 0;
  border-top: 1px solid var(--border);
}

.service-card.featured .service-list li {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.15);
}

.service-list li::before {
  content: '✓';
  color: var(--blue-main);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-card.featured .service-list li::before {
  color: var(--brown-light);
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brown-main);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== Asesoría gateway (puerta de entrada a los servicios) ===== */
.asesoria-gateway {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
}

.asesoria-gateway-deco {
  position: absolute;
  top: -60px;
  right: 30%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(14,162,201,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.asesoria-gateway-left {
  padding: 44px 44px 44px 48px;
}

.gateway-step {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-main);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.asesoria-gateway-left h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.asesoria-gateway-left > p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 90%;
}

.gateway-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.gateway-feat {
  font-size: 0.86rem;
  color: var(--text-mid);
  font-weight: 500;
}

.asesoria-gateway-right {
  background: linear-gradient(155deg, var(--blue-main), var(--blue-dark));
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  position: relative;
}

.gateway-price-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}

.gateway-price {
  font-family: var(--font-head);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 24px;
}

.gateway-price span { font-size: 1.6rem; font-weight: 600; }

.gateway-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin: 0;
}

/* Etiqueta "requiere asesoría previa" en los packs */
.pack-req {
  display: block;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-main);
  background: var(--blue-pale);
  border-radius: 100px;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.pack-req::before { content: '🔒 '; }
.pack-req.on-dark {
  color: var(--white);
  background: rgba(255,255,255,0.18);
}

@media (max-width: 860px) {
  .asesoria-gateway { grid-template-columns: 1fr; }
  .asesoria-gateway-left { padding: 32px 28px; }
  .asesoria-gateway-left > p { max-width: 100%; }
  .gateway-features { grid-template-columns: 1fr; }
  .asesoria-gateway-right { padding: 32px 28px; }
}

/* ================================================
   ABOUT / SOBRE MÍ
   ================================================ */
.about { background: var(--brown-pale); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-pale));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

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

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-float .icon { font-size: 2rem; }

.about-badge-float .num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
}

.about-badge-float .label {
  font-size: 0.78rem;
  color: var(--text-gray);
}

.about-text .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-main);
  margin-bottom: 12px;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p  { margin-bottom: 16px; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--blue-pale); color: var(--blue-main);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-icon svg { width: 22px; height: 22px; }
.hero-stat-num svg { width: 26px; height: 26px; vertical-align: middle; }

.value-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.value-item p  { font-size: 0.82rem; color: var(--text-gray); }

/* ================================================
   CURSO DESTACADO
   ================================================ */
.curso-section { background: var(--blue-dark); position: relative; overflow: hidden; }

.curso-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.curso-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.curso-text { color: var(--white); }
.curso-text .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 16px;
}

.curso-text h2 { color: var(--white); margin-bottom: 16px; }
.curso-text p  { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 1.05rem; }

.curso-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.curso-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.curso-feat span:first-child { font-size: 1.2rem; }

.curso-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.curso-card-header {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-main));
  padding: 32px;
  text-align: center;
  color: var(--white);
}

.curso-card-header h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.curso-card-header p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

.curso-price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin: 16px 0 0;
  line-height: 1;
}

.curso-price span {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.curso-card-body { padding: 28px 32px; }

.curso-modules li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-mid);
}

.curso-modules li:last-child { border-bottom: none; }
.curso-modules li::before { content: '▶'; color: var(--blue-main); font-size: 0.7rem; margin-top: 4px; flex-shrink: 0; }

.curso-card-footer {
  padding: 0 32px 28px;
  text-align: center;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials { background: var(--bg-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--blue-light);
  line-height: 1;
}

.stars {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--text-mid);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-main));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-avatar { color: #fff; }
.author-avatar svg { width: 22px; height: 22px; }

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* ================================================
   FAQ
   ================================================ */
.faq { background: var(--white); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.faq-q:hover { background: var(--blue-pale); color: var(--blue-main); }
.faq-q.open   { background: var(--blue-main); color: var(--white); }

.faq-icon { font-size: 0.8rem; transition: var(--transition); flex-shrink: 0; }
.faq-q.open .faq-icon { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.7;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.faq-a.open { display: block; }

/* ================================================
   BLOG PREVIEW
   ================================================ */
.blog-preview { background: var(--bg-light); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--blue-main);
  position: relative;
  overflow: hidden;
}
.blog-thumb svg { width: 54px; height: 54px; }

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue-main);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-body { padding: 24px; }
.blog-date { font-size: 0.78rem; color: var(--text-light); margin-bottom: 8px; }
.blog-body h4 { margin-bottom: 10px; font-size: 1rem; }
.blog-body p  { font-size: 0.88rem; color: var(--text-gray); line-height: 1.65; margin-bottom: 16px; }

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-read-more:hover { gap: 10px; }

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(155,107,58,0.2) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  text-align: center;
  color: var(--white);
}

.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto 36px; }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   CONTACTO / WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: pulse-green 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ================================================
   CONTACT FORM SECTION
   ================================================ */
.contact-section { background: var(--white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact-info .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-main);
  margin-bottom: 12px;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 28px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-item:hover { border-color: var(--blue-light); background: var(--blue-pale); }

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text strong { display: block; font-size: 0.85rem; color: var(--text-dark); margin-bottom: 2px; }
.contact-item-text span   { font-size: 0.82rem; color: var(--text-gray); }

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-section);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-btn:hover { background: var(--blue-pale); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
/* Logos de marca (monocromo, en el azul de la web) en iconos de contacto/redes/footer */
.contact-item-icon { color: var(--blue-main); }
.contact-item-icon svg { width: 26px; height: 26px; display: block; }
.social-btn { color: var(--blue-main); overflow: hidden; }
.social-btn svg { width: 24px; height: 24px; display: block; }
.footer-social a svg { width: 18px; height: 18px; display: block; }

/* Form */
.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-main);
  box-shadow: 0 0 0 3px rgba(14,127,168,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* Selects más estéticos: flecha propia y mejor aspecto (la lista desplegada la dibuja el sistema) */
.form-group select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231577A4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}
.form-group select:hover { border-color: var(--blue-light); }
.form-group select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231597C7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E");
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-gray); }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

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

.footer-brand {}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 46'%3E%3Ccircle cx='47' cy='14' r='6' fill='%23E8C99B'/%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='22' cy='28' r='11'/%3E%3Ccircle cx='37' cy='23' r='13'/%3E%3Ccircle cx='48' cy='30' r='9'/%3E%3Crect x='20' y='28' width='30' height='12' rx='6'/%3E%3C/g%3E%3C/svg%3E") center / 24px no-repeat,
    rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.footer-logo-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover { background: var(--blue-main); }

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--white); }

/* ================================================
   UTILITIES & ANIMATIONS
   ================================================ */
.text-center { text-align: center; }
.text-blue { color: var(--blue-main); }
.text-brown { color: var(--brown-main); }
.bg-blue-pale { background: var(--blue-pale); }
.bg-brown-pale { background: var(--brown-pale); }

/* ===== Banderas SVG (renderizan en cualquier sistema, también Windows) ===== */
.flag {
  display: inline-block;
  width: 1.3em; height: 0.92em;
  border-radius: 2px;
  vertical-align: -0.12em;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.14);
}
.flag-lg { width: 1.7em; height: 1.2em; }
.flag-es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Crect width='9' height='6' fill='%23c60b1e'/%3E%3Crect y='1.5' width='9' height='3' fill='%23ffc400'/%3E%3C/svg%3E"); }
.flag-ie { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Crect width='3' height='6' fill='%23169b62'/%3E%3Crect x='3' width='3' height='6' fill='%23fff'/%3E%3Crect x='6' width='3' height='6' fill='%23ff883e'/%3E%3C/svg%3E"); }
/* Reino Unido (Union Jack) — para el idioma inglés */
.flag-en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/%3E%3C/clipPath%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); background-size: 100% 100%; }

/* ===== Emojis estilo iOS (Apple) — se activan vía emojify() en main.js ===== */
.emoji { display: inline-block; font-style: normal; }
.emoji.loaded {
  width: 1.15em; height: 1.15em; vertical-align: -0.18em;
  background-image: var(--es);
  background-size: contain; background-repeat: no-repeat; background-position: center;
  color: transparent;
}

/* ===== Iconos de línea (sustituyen a los emojis) ===== */
.licon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-icon svg, .value-icon svg, .step-icon svg, .icon-tile svg { width: 56%; height: 56%; stroke-width: 1.6; }
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-pale); color: var(--blue-main);
  flex-shrink: 0;
}

/* ===== Reveal / transiciones dinámicas ===== */
.fade-in, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.fade-in     { transform: translateY(28px); }
.reveal-left  { transform: translateX(-42px); }
.reveal-right { transform: translateX(42px); }
.reveal-scale { transform: scale(.93); }
.fade-in.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in, .reveal-left, .reveal-right, .reveal-scale { transition: none; opacity: 1; transform: none; }
  * { animation-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .sky-layer, .sun, .cloud-far, .cloud-near, .cl { animation: none !important; transition: none !important; }
  .route-path { stroke-dashoffset: 0 !important; }
  .step-num::after { animation: none !important; opacity: 0 !important; }
}

/* ================================================
   CIELO DINÁMICO (amanecer → día → atardecer)
   ================================================ */
.sky { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.sky-layer { position: absolute; inset: 0; will-change: opacity; }
/* Día tintado hacia el cian de marca; amanecer y atardecer cálidos para que se note la hora */
.sky-dawn { background: linear-gradient(180deg, #9DB0D6 0%, #D8B9C2 42%, #F0C9A8 72%, #F7DEC0 100%); opacity: 1; }
.sky-day  { background: linear-gradient(180deg, #A7DCEC 0%, #C9EAF3 45%, #E4F3F8 75%, #F2FBFE 100%); opacity: 0; }
.sky-gold { background: linear-gradient(180deg, #6E97B8 0%, #B79FBE 45%, #E7C49C 80%, #F3DCBE 100%); opacity: 0; }
.sun { position: absolute; left: 50%; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,247,232,.95) 0%, rgba(255,228,180,.5) 38%, transparent 68%);
  transform: translate(-50%, 0); will-change: transform, opacity; filter: blur(2px); }
.cloud-far, .cloud-near { position: absolute; will-change: transform; }
.cloud-far { opacity: .55; filter: blur(2px); }
.cloud-near { opacity: .9; }
.cl { position: absolute; background: #fff; border-radius: 50%; filter: blur(1px); }

/* Secciones translúcidas: dejan ver el cielo */
.process, .testimonials, .faq, .blog-preview { background: transparent !important; }
#servicios { background: transparent !important; position: relative; }

@media (max-width: 768px) {
  .cloud-far, .cloud-near { display: none; }
}

/* ================================================
   RUTA ANIMADA "EL PROCESO"
   ================================================ */
.process .steps-grid::before { display: none !important; }
.route-wrap { position: relative; }
.route-svg { position: absolute; top: 32px; left: 0; width: 100%; height: 80px; overflow: visible; z-index: 0; pointer-events: none; }
.route-path { fill: none; stroke: rgba(21,151,199,.45); stroke-width: 2.5; stroke-dasharray: 6 9; stroke-linecap: round;
  stroke-dashoffset: 1600; transition: stroke-dashoffset 2.4s cubic-bezier(.22,.61,.36,1); }
.route-wrap.in .route-path { stroke-dashoffset: 0; }
.route-dot { display: none; } /* sustituido por .route-sun (div que salta entre pasos, por delante) */
.route-sun {
  position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%;
  z-index: 5; pointer-events: none; will-change: transform, opacity;
  background: radial-gradient(circle at 38% 34%, #fff6db 0%, #ffd884 40%, rgba(255,184,92,0.38) 64%, rgba(255,184,92,0) 78%);
  box-shadow: 0 0 18px 5px rgba(255,196,110,0.6), 0 0 6px rgba(255,170,60,0.85);
}
.process .step-card { position: relative; z-index: 1; }
.step-num { position: relative; }
.step-num::after { content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid rgba(21,151,199,.30); opacity: 0; animation: tcRing 3.4s ease-out infinite; }
.step-card:nth-child(2) .step-num::after { animation-delay: .85s; }
.step-card:nth-child(3) .step-num::after { animation-delay: 1.7s; }
.step-card:nth-child(4) .step-num::after { animation-delay: 2.55s; }
@keyframes tcRing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.55); opacity: 0; } }

/* ================================================
   TESTIMONIOS ROTATIVOS
   ================================================ */
.tst-rotator { text-align: center; max-width: 760px; margin: 0 auto; }
.tst-quote-wrap { transition: opacity .4s ease; }
.tst-quote { font-family: var(--font-body); font-weight: 500; font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  line-height: 1.55; color: var(--text-dark); max-width: 23em; margin: 0 auto; font-style: normal; letter-spacing: -0.01em; }
.tst-quote em { font-style: italic; color: var(--blue-main); font-weight: 600; }
.tst-who { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 26px; }
.tst-av { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-main)); border: 3px solid #fff; box-shadow: var(--shadow-md); }
.tst-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; text-align: left; color: var(--text-dark); }
.tst-role { font-size: .84rem; color: var(--text-gray); text-align: left; }
.tst-dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.tst-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); cursor: pointer;
  transition: background .25s, width .25s; }
.tst-dots span.on { background: var(--blue-main); width: 24px; border-radius: 5px; }

/* ================================================
   PÁGINAS LEGALES
   ================================================ */
.legal-head {
  background: var(--grad-deep); color: #fff; text-align: center;
  padding: 130px 0 70px; position: relative; overflow: hidden;
}
.legal-head h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-head p { color: rgba(255,255,255,0.8); margin-top: 8px; }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-wrap h2 { font-size: 1.25rem; color: var(--blue-dark); margin: 34px 0 12px; }
.legal-wrap h3 { font-size: 1.02rem; color: var(--blue-dark); margin: 22px 0 8px; }
.legal-wrap p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.8; margin-bottom: 12px; }
.legal-wrap ul { margin: 8px 0 14px; padding-left: 22px; list-style: disc; }
.legal-wrap li { color: var(--text-mid); font-size: 0.95rem; line-height: 1.75; margin-bottom: 6px; }
.legal-wrap a { color: var(--blue-main); }
.legal-updated { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 6px; }
.legal-note {
  background: var(--blue-pale); border: 1px solid var(--blue-light);
  border-radius: 12px; padding: 16px 18px; font-size: 0.88rem;
  color: var(--blue-dark); margin: 20px 0;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 0.9rem; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--blue-pale); color: var(--blue-dark); font-weight: 700; }

/* ================================================
   BANNER DE COOKIES
   ================================================ */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 5000;
  max-width: 720px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.cookie-bar p { font-size: 0.85rem; color: var(--text-mid); margin: 0; flex: 1; min-width: 220px; line-height: 1.6; }
.cookie-bar p a { color: var(--blue-main); font-weight: 600; }
.cookie-bar .cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .cookie-bar { bottom: 80px; }
  .cookie-bar .cookie-btns { width: 100%; }
  .cookie-bar .cookie-btns .btn { flex: 1; justify-content: center; }
}

/* ================================================
   ACCESIBILIDAD
   ================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Foco visible solo con teclado */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue-mid);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Skip link (saltar al contenido) */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 4000;
  background: var(--blue-dark); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; font-weight: 700; font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ================================================
   CTA FIJA EN MÓVIL (Reservar)
   ================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(12,74,110,0.10);
}
.mobile-cta-bar .btn { width: 100%; justify-content: center; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 70px; }
  .whatsapp-float { bottom: 84px; }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: repeat(2, 1fr) !important; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { gap: 40px; }
  .about-inner { gap: 40px; }
  .curso-inner { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text p { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; gap: 24px; }
  .hero-visual { order: -1; }

  .about-inner { grid-template-columns: 1fr; }
  .about-badge-float { right: 0; }

  .curso-inner { grid-template-columns: 1fr; }

  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr !important; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .curso-features { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section-pad { padding: 60px 0; }
  .section-pad-sm { padding: 40px 0; }

  .contact-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ================================================
   CIELO VISIBLE EN TODA LA WEB
   Secciones y paneles transparentes para que se vea la
   animación amanecer→día; el texto antes blanco pasa a
   oscuro porque el cielo es claro. (No se tocan las
   tarjetas de precios ni el formulario.)
   ================================================ */
.hero, .process, .services, #servicios, .about,
.testimonials, .faq, .blog-preview, .contact-section,
.curso-section, .cta-section, .legal-head, .page-hero, .footer {
  background: transparent !important;
}
/* Overlays, patrones y divisores oscuros de los heroes → fuera */
.hero::before, .hero::after,
.page-hero::before, .page-hero::after,
.legal-head::before, .cta-section::before, .curso-section::before {
  display: none !important;
}

/* Texto antes claro → oscuro (cielo claro) */
.hero-text, .hero-text h1, .hero-stat-num,
.cta-inner h2, .curso-text h2,
.legal-head h1, .page-hero h1, .hero-card h3 {
  color: var(--text-dark) !important;
}
.hero-text p, .hero-stat-label, .hero-card p,
.cta-inner p, .curso-text p,
.legal-head p, .page-hero p {
  color: var(--text-mid) !important;
}
/* Acentos legibles sobre cielo claro */
.hero-text h1 em, .curso-text .eyebrow, .page-hero .eyebrow { color: var(--brown-dark) !important; }
.hero-stat-num svg { stroke: var(--blue-main) !important; }
.hero-flags span.arrow { color: var(--blue-main) !important; }

/* Píldoras/insignias de cristal → claras y legibles */
.hero-badge { background: rgba(255,255,255,0.55) !important; border-color: rgba(21,151,199,0.28) !important; color: var(--blue-deepest) !important; }
.hero-stats { border-top-color: rgba(12,87,120,0.15) !important; }
.curso-feat { background: rgba(255,255,255,0.58) !important; border-color: rgba(21,151,199,0.18) !important; color: var(--text-mid) !important; }

/* Tarjeta de cristal del hero → frost claro legible */
.hero-card { background: rgba(255,255,255,0.6) !important; border-color: rgba(255,255,255,0.8) !important; }
.trust-badge { background: rgba(21,151,199,0.1) !important; color: var(--blue-deepest) !important; border-color: rgba(21,151,199,0.2) !important; }

/* Trío de confianza del hero (rediseñado: icono + título + subtítulo) */
.hero-stats { display: flex; gap: 26px; padding-top: 30px; flex-wrap: wrap; }
.hero-stat-item { display: flex; align-items: center; gap: 12px; }
.hero-stat-ic {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-main);
  background: linear-gradient(150deg, rgba(255,255,255,0.78), rgba(255,255,255,0.45));
  border: 1px solid rgba(21,151,199,0.22);
  box-shadow: 0 6px 14px -5px rgba(21,151,199,0.35), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .45s ease;
}
.hero-stat-ic svg { width: 21px; height: 21px; }
.hero-stat-item:hover .hero-stat-ic {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 11px 20px -6px rgba(21,151,199,0.5), inset 0 1px 0 rgba(255,255,255,0.9);
}
.hero-stat-txt { display: flex; flex-direction: column; line-height: 1.18; }
.hero-stat-t { font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; color: var(--text-dark); }
.hero-stat-s { font-size: 0.75rem; color: var(--text-gray); margin-top: 1px; }

/* Botones "outline" que eran blancos sobre fondo oscuro → azul legible sobre cielo */
.hero-ctas .btn[style], .cta-buttons .btn[style] {
  background: rgba(21,151,199,0.12) !important;
  border-color: var(--blue-main) !important;
  color: var(--blue-deepest) !important;
}

/* Footer legible sobre el atardecer */
.footer { color: var(--text-mid) !important; }
.footer-logo-name, .footer-col h5 { color: var(--text-dark) !important; }
.footer-brand p, .footer-col ul li a, .footer-bottom, .footer-bottom a { color: var(--text-mid) !important; }
.footer-col ul li a:hover, .footer-bottom a:hover { color: var(--blue-main) !important; }
.footer-social a { background: rgba(21,151,199,0.12) !important; color: var(--blue-deepest) !important; }
.footer-bottom { border-top-color: rgba(12,87,120,0.14) !important; }

/* Navbar y menú móvil: cristal translúcido (dejan ver el cielo a través) */
.navbar {
  background: rgba(255,255,255,0.5) !important;
  backdrop-filter: blur(20px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.45) !important;
  box-shadow: 0 4px 24px rgba(12,87,120,0.06) !important;
}
.navbar.scrolled { background: rgba(255,255,255,0.62) !important; box-shadow: 0 6px 26px rgba(12,87,120,0.10) !important; }
.mobile-menu { background: rgba(255,255,255,0.9) !important; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* ================================================
   CHECKER DE RUTA (herramienta interactiva del home)
   ================================================ */
.rt-checker { background: transparent !important; }
.rt-card { max-width: 640px; margin: 0 auto; background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.7); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 36px; }
.rt-progress { height: 6px; background: var(--blue-pale); border-radius: 100px; overflow: hidden; margin-bottom: 18px; }
.rt-progress span { display: block; height: 100%; background: var(--grad-sky); transition: width .35s ease; }
.rt-step { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-main); margin-bottom: 8px; }
.rt-q { font-family: var(--font-head); font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--blue-dark); margin-bottom: 22px; line-height: 1.35; }
.rt-opts { display: flex; flex-direction: column; gap: 10px; }
.rt-opt { text-align: left; padding: 15px 18px; border: 1.5px solid var(--border); border-radius: 14px; font-size: .95rem;
  font-weight: 500; color: var(--text-dark); background: var(--white); transition: transform .2s ease, border-color .2s, background .2s; }
.rt-opt:hover { border-color: var(--blue-main); background: var(--blue-pale); transform: translateX(5px); }
.rt-back, .rt-restart { margin-top: 16px; font-size: .85rem; color: var(--text-gray); font-weight: 600; }
.rt-back:hover, .rt-restart:hover { color: var(--blue-main); }
.rt-badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brown-dark); background: var(--brown-pale); padding: 5px 12px; border-radius: 100px; margin-bottom: 12px; }
.rt-route { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--blue-dark); margin-bottom: 8px; }
.rt-route-d { color: var(--text-mid); font-size: .95rem; line-height: 1.6; margin-bottom: 22px; }
.rt-list { border-radius: 14px; padding: 15px 18px; margin-bottom: 14px; }
.rt-list b { display: block; font-size: .85rem; margin-bottom: 8px; }
.rt-list ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rt-list li { font-size: .88rem; padding-left: 22px; position: relative; line-height: 1.5; }
.rt-have { background: #ECFDF5; border: 1px solid #A7F3D0; }
.rt-have b { color: #065F46; } .rt-have li { color: #047857; }
.rt-have li::before { content: '✓'; position: absolute; left: 0; color: #10B981; font-weight: 800; }
.rt-need { background: var(--blue-pale); border: 1px solid var(--blue-light); }
.rt-need b { color: var(--blue-dark); } .rt-need li { color: var(--text-mid); }
.rt-need li::before { content: '→'; position: absolute; left: 0; color: var(--blue-main); font-weight: 800; }
.rt-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.rt-disclaimer { font-size: .76rem; color: var(--text-light); margin-top: 12px; line-height: 1.5; }
@media (max-width: 600px) { .rt-card { padding: 24px; } .rt-ctas .btn { width: 100%; justify-content: center; } }

/* Páginas internas con clases propias (sobre-mí, colaboradores, checklist):
   bandas de sección a transparente; texto de bandas oscuras → claro.
   (Las CTA contenidas .route-cta/.sidebar-cta/.discount-banner se mantienen como acento.) */
.sm-hero, .cloud-section, .stats-strip, .rrss-section,
.collab-hero, .collab-block, .together-strip, .cl-hero,
.booking-section, .mission-section, .creds-section {
  background: transparent !important;
}
.stats-strip .stat-num, .together-item h4 { color: var(--text-dark) !important; }
.stats-strip .stat-lbl, .together-item p { color: var(--text-mid) !important; }
.together-icon { background: rgba(21,151,199,0.12) !important; }
