/* ==========================================================================
   SISTEMA DE DISEÑO IMPECCABLE — LANDING PRINCIPAL VICAT PREUNIVERSITARIO
   ========================================================================== */

:root {
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --primary-glow: rgba(79, 70, 229, 0.25);

  --coral: #FF5940;
  --coral-hover: #EA432A;
  --coral-light: #FFF1F0;
  --coral-glow: rgba(255, 89, 64, 0.25);

  --mint: #10B981;
  --mint-dark: #059669;
  --mint-light: #ECFDF5;
  --mint-glow: rgba(16, 185, 129, 0.25);

  --orange: #F97316;
  --orange-hover: #EA580C;
  --orange-light: #FFF7ED;
  --orange-glow: rgba(249, 115, 22, 0.28);

  --navy-950: #060B1A;
  --navy-900: #0B132B;
  --navy-800: #141E3C;
  --navy-700: #1E293B;

  --text-title: #0B132B;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-subtle: #F1F5F9;

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

  --shadow-sm: 0 4px 12px -2px rgba(11, 19, 43, 0.05);
  --shadow-md: 0 12px 28px -6px rgba(11, 19, 43, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(11, 19, 43, 0.12);
  --shadow-primary: 0 12px 28px -6px rgba(79, 70, 229, 0.4);
  --shadow-mint: 0 12px 28px -6px rgba(16, 185, 129, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  font-size: 15.5px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-title);
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

/* UI Elements */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(79, 70, 229, 0.15);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

.eyebrow-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(79, 70, 229, 0.55);
}

.btn-outline {
  border-color: var(--border-color);
  color: var(--navy-900);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: #ffffff;
  box-shadow: var(--shadow-mint);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(16, 185, 129, 0.5);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.86rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy-900);
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(229, 160, 36, 0.35));
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.logo:hover .logo-img {
  transform: rotate(-6deg) scale(1.08);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.logo small {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: -3px;
}

.logo-white {
  color: #ffffff;
}

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

.nav-links a {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-highlight {
  color: var(--primary) !important;
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy-900);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 80px 0 70px;
  background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255, 89, 64, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  margin: 14px 0 20px;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--navy-900);
}

/* Minimalist Elegant Highlight */
.hero h1 .hl {
  position: relative;
  display: inline-block;
  color: var(--primary);
  background: linear-gradient(120deg, #4F46E5 0%, #6366F1 35%, #A5B4FC 50%, #6366F1 65%, #4F46E5 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: minimalShimmer 5.5s ease-in-out infinite;
  padding-bottom: 2px;
}

/* Minimalist Clean Underline */
.hero h1 .hl::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #4F46E5 0%, rgba(79, 70, 229, 0.25) 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes minimalShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero h1:hover .hl::after {
  opacity: 1;
  transform: scaleY(1.3);
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 34px;
  max-width: 540px;
}

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

.hero-stats-mini {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-separator {
  width: 1px;
  height: 32px;
  background: var(--border-color);
}

/* Visual Photo Container & Liquid Glass Cards */
.hero-visual {
  position: relative;
  padding: 24px 36px;
}

.hero-visual-wrap {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.hero-photo-container {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #ffffff;
}

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

/* Liquid Glass Floating Cards (Sobresalen del marco de la foto) */
.liquid-glass-card {
  position: absolute;
  z-index: 10;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.55) 100%);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  padding: 14px 22px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(11, 19, 43, 0.22), 
              inset 0 1px 2px 0 rgba(255, 255, 255, 0.95), 
              inset 0 -1px 2px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
  overflow: hidden; /* Confinamiento estricto: la estela nunca se desborda fuera de la tarjeta */
  isolation: isolate;
}

/* Liquid Sheen Shimmer (Estela de brillo confinada a la forma exacta de la tarjeta) */
.liquid-glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 1;
  animation: liquidShimmer 5s infinite linear;
}

@keyframes liquidShimmer {
  0% { transform: translate(-35%, -35%) rotate(25deg); }
  50% { transform: translate(35%, 35%) rotate(25deg); }
  100% { transform: translate(-35%, -35%) rotate(25deg); }
}

.lg-top {
  top: 18%;
  left: -42px;
  animation: liquidFloat1 5.5s ease-in-out infinite;
}

.lg-bottom {
  bottom: 10%;
  right: -42px;
  animation: liquidFloat2 6.5s ease-in-out infinite;
}

@keyframes liquidFloat1 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

@keyframes liquidFloat2 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(-1.5deg);
  }
}

.liquid-glass-card:hover {
  transform: translateY(-6px) scale(1.04) !important;
  box-shadow: 0 26px 50px -10px rgba(79, 70, 229, 0.3), 
              inset 0 1px 3px 0 rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
}

.lg-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.lg-icon-green {
  background: linear-gradient(135deg, var(--mint), #059669);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.lg-icon-orange,
.lg-icon-purple {
  background: linear-gradient(135deg, var(--orange), #EA580C);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

.lg-content {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.lg-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.lg-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--navy-900);
  font-size: 1.55rem;
  line-height: 1.1;
}

/* Unis Banner */
.unis-banner {
  background: #ffffff;
  padding: 28px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.unis-banner-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.unis-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.unis-calc-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.unis-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.uni-pill {
  background: var(--bg-page);
  border: 1.5px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-700);
  transition: all 0.2s ease;
}

.uni-pill:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Section Header */
.section-header {
  max-width: 680px;
  margin-bottom: 50px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-top: 8px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-top: 12px;
}

/* Courses */
.course-filter-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-pill {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-pill.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.course-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.course-badge-type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.tag-razonamiento {
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: #ffffff;
}

.tag-conocimientos {
  background: rgba(59, 130, 246, 0.95);
  color: #ffffff;
}

.tag-intensivo {
  background: rgba(245, 158, 11, 0.95);
  color: #ffffff;
}

.course-image {
  height: 180px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.06);
}

.course-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-content h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.course-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.55;
}

.course-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.course-price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: auto;
}

.price-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
}

.price-period {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 700;
}

/* Callout Section */
.calc-callout-section {
  padding: 50px 0;
}

.calc-callout-card {
  background: linear-gradient(135deg, #1E3A8A 0%, #3730A3 50%, #4F46E5 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.calc-callout-text h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.calc-callout-text p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 26px;
  line-height: 1.6;
}

.preview-mini-calc {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.pmc-header {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  font-weight: 700;
}

.pmc-score {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #FCD34D;
  margin: 6px 0;
}

.pmc-target {
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.pmc-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.pmc-fill {
  height: 100%;
  width: 93%;
  background: #10B981;
}

/* Teachers */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.teacher-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.teacher-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 4px solid var(--primary-light);
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease;
}

.teacher-card:hover .teacher-photo img {
  transform: scale(1.08);
}

.teacher-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin: 4px 0 10px;
}

.teacher-desc {
  font-size: 0.88rem;
  color: var(--text-body);
}

/* Testimonials Section & Animations */
.testimonials-section {
  background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.04) 0%, transparent 60%);
  position: relative;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.testi-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--coral));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.18);
  border-color: rgba(79, 70, 229, 0.35);
}

.testi-card:hover::before {
  opacity: 1;
}

.quote-mark {
  font-family: 'Outfit', serif;
  font-size: 3.5rem;
  color: var(--coral);
  line-height: 0.8;
  margin-bottom: 12px;
  font-weight: 800;
  opacity: 0.85;
  transition: transform 0.3s ease, color 0.3s ease;
}

.testi-card:hover .quote-mark {
  transform: scale(1.15) rotate(-5deg);
  color: var(--primary);
}

.testi-text {
  color: var(--navy-700);
  margin-bottom: 28px;
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #DBEAFE);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  border: 2px solid rgba(79, 70, 229, 0.2);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.12);
  transition: transform 0.3s ease, background 0.3s ease;
}

.testi-card:hover .testi-avatar {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #ffffff;
}

.testi-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-900);
}

.testi-role {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.blog-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.blog-thumb {
  height: 170px;
  overflow: hidden;
}

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

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-category {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.blog-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--navy-900);
}

.blog-content p {
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 16px;
}

.blog-footer {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: auto;
}

/* Footer */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 30px;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-main p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h5 {
  color: #FCD34D;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Redes Sociales Footer */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.social-btn svg {
  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.social-tiktok:hover {
  background: #010101;
  border-color: #00f2fe;
  box-shadow: 0 6px 18px rgba(0, 242, 254, 0.35);
}

.social-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #e6683c;
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.4);
}

.social-youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.4);
}

.social-wa:hover {
  background: #10B981;
  border-color: #10B981;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* FAQ Accordion Section */
.faq-section {
  background: #ffffff;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer {
  display: block;
  padding-top: 14px;
}

/* Floating WhatsApp Widget */
.wa-floating-widget {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-tooltip {
  background: #0B132B;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-floating-widget:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.55);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.wa-btn:hover {
  transform: scale(1.1) rotate(5deg);
}

.wa-ping {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FF5940;
  border: 2px solid #ffffff;
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 89, 64, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 89, 64, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 89, 64, 0);
  }
}

@media (max-width: 640px) {
  .wa-tooltip {
    display: none;
  }

  .wa-floating-widget {
    bottom: 18px;
    right: 18px;
  }

  .wa-btn {
    width: 50px;
    height: 50px;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .calc-callout-card {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-visual {
    padding: 20px 14px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stats-mini {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  .stat-separator {
    display: none;
  }

  .stat-item strong {
    font-size: 1.25rem;
  }

  .stat-item span {
    font-size: 0.72rem;
  }

  .course-filter-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 4px 10px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }

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

  .unis-banner-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .unis-tags {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .uni-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .lg-top {
    left: -8px;
    top: 12%;
  }

  .lg-bottom {
    right: -8px;
    bottom: 5%;
  }

  .liquid-glass-card {
    padding: 10px 14px;
    gap: 10px;
  }

  .lg-icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }

  .lg-value {
    font-size: 1.3rem;
  }

  .testi-card {
    padding: 28px 22px;
  }
}