/* ==========================================================================
   CECILIA GORTARI - SITIO WEB OFICIAL
   Estilos Globales | Branding Manual de Marca
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Variables de Marca)
   -------------------------------------------------------------------------- */
:root {
  --header-h: 80px;
  /* Colores Primarios */
  --color-magenta: #9F57A7;
  --color-blue: #1C5CFF;

  /* Layout Dimensions */
  --header-h: 80px;

  /* Colores Secundarios */
  --color-turquoise: #24BCDE;
  --color-orange: #FBA85F;

  /* Neutros */
  --color-dark: #2C2C31;
  --color-light: #F7F7FD;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;

  /* Gradientes */
  --gradient-brand: linear-gradient(135deg, var(--color-blue) 0%, var(--color-magenta) 100%);
  --gradient-brand-hover: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);

  /* Tipografía */
  --font-family: 'Outfit', sans-serif;
  --font-regular: 400;
  --font-medium: 500;
  --font-bold: 700;
  --font-black: 900;

  /* Espaciado */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Bordes */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transiciones */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* --------------------------------------------------------------------------
   BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-weight: var(--font-regular);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--spacing-md);
  font-weight: var(--font-black);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 var(--spacing-md);
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title--semibold {
  font-weight: 600;
}

.title--black {
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section--dark {
  background-color: var(--color-dark);
  color: white;
}

.section--gradient {
  background: var(--gradient-brand);
  color: white;
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(44, 44, 49, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
  padding: 0;
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  max-width: 1280px;
  margin: 0 auto;
  transition: padding 250ms ease;
}

.navbar__logo {
  height: 48px;
  width: auto;
  transition: height 250ms ease;
}

.navbar__logo--v2 {
  height: 48px;
  width: auto;
  transition: height 250ms ease;
}

/* Navbar Scrolled (Compact) State */
.navbar--scrolled {
  background: rgba(44, 44, 49, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar--scrolled .navbar__inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar--scrolled .navbar__logo,
.navbar--scrolled .navbar__logo--v2 {
  height: 36px;
}

.navbar__menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--spacing-xl);
}

@media (min-width: 1024px) {
  .navbar__menu {
    display: flex;
  }
}

.navbar__link {
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link:hover,
.navbar__link--active {
  color: #ffffff;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-base);
}

.navbar__link:hover::after,
.navbar__link--active::after {
  width: 100%;
}

/* Dark navbar variant cleanup - defaults are now dark-friendly */
.navbar[style*="background: #2C2C31"] .navbar__link {
  color: rgba(255, 255, 255, 0.75);
}

.navbar[style*="background: #2C2C31"] .navbar__link:hover {
  color: white;
}

.navbar[style*="background: #2C2C31"] .navbar__toggle span {
  background: white;
}

.navbar__cta {
  display: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid var(--color-magenta);
  border-radius: var(--radius-full);
  color: var(--color-magenta);
  font-weight: var(--font-bold);
  transition: var(--transition-base);
}

@media (min-width: 1024px) {
  .navbar__cta {
    display: inline-block;
  }
}

.navbar__cta:hover {
  background: var(--color-magenta);
  color: white;
}

/* Mobile Menu Toggle */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--spacing-md);
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .navbar__toggle {
    display: none;
  }
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: var(--transition-base);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.navbar__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
}

.navbar__mobile.active {
  display: block;
}

@media (min-width: 1024px) {
  .navbar__mobile {
    display: none !important;
  }
}

.navbar__mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__mobile-menu li {
  border-bottom: 1px solid var(--color-gray-200);
}

.navbar__mobile-menu a {
  display: block;
  padding: var(--spacing-md);
  font-weight: var(--font-medium);
  color: var(--color-gray-600);
  transition: var(--transition-fast);
}

.navbar__mobile-menu a:hover {
  color: var(--color-magenta);
  background: var(--color-gray-100);
}

.navbar__mobile-cta {
  display: block;
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--gradient-brand);
  color: white;
  text-align: center;
  font-weight: var(--font-bold);
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: var(--font-bold);
  font-size: 1rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.btn--primary {
  background: var(--gradient-brand);
  color: white;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background: white;
  color: var(--color-blue);
  border: 2px solid white;
}

.btn--secondary:hover {
  background: transparent;
  color: white;
}

.btn--outline {
  background: transparent;
  color: var(--color-magenta);
  border: 2px solid var(--color-magenta);
}

.btn--outline:hover {
  background: var(--color-magenta);
  color: white;
}

.btn--white {
  background: white;
  color: var(--color-dark);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn--orange {
  background: var(--color-orange);
  color: var(--color-dark);
}

.btn--hero-cta {
  background: linear-gradient(90deg, var(--color-orange), var(--color-magenta));
  background-size: 150% auto;
  color: white;
  border: none;
  font-weight: 800;
  /* Extra strong */
}

.btn--hero-cta:hover {
  background-position: right center;
  /* Subtle flow */
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25), 0 0 20px rgba(255, 255, 255, 0.4);
  /* Glow */
  transform: translateY(-3px);
  color: white;
}

.btn--orange:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-100);
  transition: var(--transition-base);
}

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

.card--accent-magenta {
  border-top: 4px solid var(--color-magenta);
}

.card--accent-blue {
  border-top: 4px solid var(--color-blue);
}

.card--accent-turquoise {
  border-top: 4px solid var(--color-turquoise);
}

.card--accent-orange {
  border-top: 4px solid var(--color-orange);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.card__icon--magenta {
  background: rgba(159, 87, 167, 0.1);
  color: var(--color-magenta);
}

.card__icon--blue {
  background: rgba(28, 92, 255, 0.1);
  color: var(--color-blue);
}

.card__icon--turquoise {
  background: rgba(36, 188, 222, 0.1);
  color: var(--color-turquoise);
}

.card__icon--orange {
  background: rgba(251, 168, 95, 0.1);
  color: var(--color-orange);
}

.card__title {
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark);
}

.card__text {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: var(--font-bold);
  color: var(--color-dark);
  transition: var(--transition-fast);
}

.card__link:hover {
  color: var(--color-magenta);
}

/* Updated premium icon containers */
.card__icon-box {
  width: 56px;
  height: 56px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  background: var(--color-gray-100);
  /* Subtle gray as requested */
  overflow: hidden;
  /* To contain watermarks */
}

.card__icon-main {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon-main img {
  width: 32px;
  height: auto;
}

.card__icon-main svg {
  width: 28px;
  height: 28px;
  color: var(--color-gray-700);
  /* Dark gray for icons */
}

/* Watermarks */
.card__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0.08;
  /* Low opacity 6-10% */
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__watermark svg {
  width: 80%;
  /* Almost full filling the box */
  height: 80%;
  fill: var(--color-dark);
}

/* Override old icon colors if needed or remove them. keeping generic classes just in case */

/* --------------------------------------------------------------------------
   HERO SECTIONS
   -------------------------------------------------------------------------- */
.hero__logo {
  height: clamp(34px, 4.2vw, 56px);
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  display: block;
}

@media (max-width: 768px) {
  .hero__logo {
    max-width: 160px;
    /* Prevent overflow on very small screens if needed */
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  /* Better for mobile to avoid overlap */
  padding-top: calc(140px + env(safe-area-inset-top));
  /* Mobile safe area + navbar + extra spacing */
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    align-items: center;
    padding-top: 140px;
  }
}

.hero--gradient {
  background: var(--gradient-brand);
  color: white;
}

.hero__content {
  position: relative;
  z-index: 10;
}

.hero__badge {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-orange);
  color: white;
  font-size: 0.875rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-lg);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--font-black);
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: var(--font-regular);
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.hero__image {
  position: relative;
}

.hero__image img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* Decorative elements */
.hero__decoration {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-dark);
  color: var(--color-gray-400);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  height: 40px;
  margin-bottom: var(--spacing-md);
  filter: brightness(0) invert(1);
}

.footer__description {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   TERRITORIO SECTION (Instagram Widget)
   -------------------------------------------------------------------------- */
.territorio-section {
  background-color: var(--color-light);
  background-image:
    radial-gradient(at 0% 0%, rgba(159, 87, 167, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(28, 92, 255, 0.03) 0px, transparent 50%);
  position: relative;
  overflow: hidden;
}

/* Texture noise overlay */
.territorio-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.territorio-title {
  font-family: var(--font-family);
  font-weight: 900;
  /* Black */
  text-transform: uppercase;
  background: linear-gradient(135deg, #9F57A7 0%, #1C5CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
  font-size: clamp(2rem, 4vw, 3rem);
  /* Matches h2 sizing */
  line-height: 1.1;
}

.ig-widget-wrap {
  width: 100%;
  max-width: 1100px;
  margin: var(--spacing-xl) auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--spacing-xs);
  /* Thin clean frame */
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  /* Soft shadow */
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 2;
}

.ig-widget-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -12px rgba(28, 92, 255, 0.12);
  /* Blue hint shadow */
}

/* Aspect Ratio / Height Control */
.ig-widget-frame {
  width: 100%;
  border: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  /* Inner radius matches wrapper */
  display: block;
}

/* Responsive Heights */
@media (min-width: 1024px) {
  .ig-widget-frame {
    height: 700px;
    /* Adjustable desktop height */
  }
}

@media (max-width: 1023px) {
  .ig-widget-frame {
    height: 600px;
    /* Tablet */
  }
}

@media (max-width: 640px) {
  .ig-widget-frame {
    height: 580px;
    /* Mobile */
  }

  .ig-widget-wrap {
    padding: 0;
    /* Remove padding on mobile for flush look if preferred, or keep small */
    border-radius: var(--radius-lg);
  }
}

.footer__title {
  color: white;
  font-weight: var(--font-bold);
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   2026 REFINEMENTS (HERO, SCHOOL, METRICS)
   ========================================================================== */

/* HERO REFINEMENTS */
.hero-new__title {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}

.hero-new__badge {
  display: inline-flex;
  width: fit-content;
  max-width: max-content;
  flex: 0 0 auto;
  align-self: flex-start;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-md);
  z-index: 10;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  /* Optional subtle shadow for premium look */
}

.hero-new__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: var(--spacing-lg);
}

/* Hero Actions Layout (New) */
.hero-new__actions-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  width: fit-content;
  /* Contain width to align inner items */
}

.hero-new__actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Instagram Button (Static in Layout) */
.hero-new__instagram-btn {
  position: relative;
  /* Not absolute */
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 24px;
  background: rgba(43, 47, 54, 0.8);
  /* Dark Gray/Glass */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  align-self: center;
  /* Center relative to the container of buttons */
}

.hero-new__instagram-btn:hover {
  /* Instagram Gradient on Hover */
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-new__instagram-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

/* Base Panel Style (Desktop: transparent/layout wrapper) */
.hero-new__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

/* Mobile Adjustments (Fixed Hero Layout) */
@media (max-width: 640px) {
  .hero-new {
    min-height: 92vh;
    padding-top: calc(85px + env(safe-area-inset-top));
  }

  /* 1. Face Visibility: Focus Top */
  .hero-new__image {
    object-position: center 20%;
  }

  /* Overlay Gradient Adjustment for Mobile Legibility */
  .hero-new__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
  }

  /* 2. Push Content to Bottom */
  .hero-new__content {
    justify-content: flex-end;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    height: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* 3. Glass Panel "Safe Zone" */
  .hero-new__panel {
    background: rgba(17, 16, 59, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 24px 20px;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    margin-top: auto;
  }

  /* 4. Typography Adjustments */
  .hero-new__title {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

  .hero-new__subtitle {
    font-size: 15px;
    line-height: 1.4;
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
  }

  .hero-new__badge {
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 1rem;
    align-self: center;
  }

  /* 5. Actions & Buttons */
  .hero-new__actions-container {
    width: 100%;
    margin-top: 0.5rem;
    gap: 1rem;
    align-items: stretch;
  }

  .hero-new__actions-row {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-new__cta-primary,
  .hero-new__cta-secondary,
  .hero-new__instagram-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
  }

  .hero-new__instagram-btn {
    margin-top: 0;
  }
}

/* Optional Blur for Right Side of Hero Image */
.hero-new__background::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  pointer-events: none;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.1);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}

.hero-new__content {
  position: relative;
  z-index: 10;
  padding-top: 2rem;
  max-width: 700px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* METRICS REFINEMENTS */
.impact-logo img {
  max-width: clamp(140px, 30vw, 220px);
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* SCHOOL SECTION REFINEMENTS */
/* SCHOOL SECTION REFINEMENTS */
.escuela-home__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* Space between content and carousel */
}

.escuela-home__content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.escuela-home__ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* School Buttons Premium Style */
.btn-school {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #2B2F36;
  /* Dark Gray Base */
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-school:hover {
  background-image: linear-gradient(135deg, var(--color-magenta), var(--color-blue));
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  /* soft white glow */
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

/* Horizontal Carousel Container */
.escuela-home__carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 14px 2px 20px;
  /* Bottom padding for shadow */
  width: 100%;
  max-width: 1200px;
  /* Or 100% depending on container */
  margin: 0 auto;

  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.escuela-home__carousel::-webkit-scrollbar {
  display: none;
}

/* Individual Slide */
.escuela-home__carousel-item {
  flex: 0 0 auto;
  width: clamp(280px, 35vw, 420px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: center;
  /* Center snap feels nicer */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.escuela-home__carousel-item:hover {
  transform: scale(1.02);
}

.escuela-home__carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel Adjustments */
.escuela-home__carousel {
  width: 100%;
  padding-bottom: 20px;
  /* Space for shadow */
}

.escuela-home__carousel-item {
  /* Ensure consistent sizing */
  flex: 0 0 85vw;
  /* Mobile: show most of one */
}

@media (min-width: 768px) {
  .escuela-home__carousel-item {
    flex: 0 0 45%;
    /* Tablet: show 2 */
  }
}

@media (min-width: 1024px) {
  .escuela-home__carousel-item {
    flex: 0 0 32%;
    /* Desktop: show 3 */
  }
}

/* --------------------------------------------------------------------------
   NEW COMPONENTS (Biography Revamp V2)
   -------------------------------------------------------------------------- */

/* Text Gradient: Magenta -> Blue */
.text-gradient-primary {
  background: linear-gradient(90deg, #9F57A7 0%, #1C5CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1C5CFF;
  /* Fallback */
}

/* Background Washes for Sections */
.bg-wash-magenta {
  background-color: rgba(159, 87, 167, 0.03);
}

.bg-wash-blue {
  background-color: rgba(28, 92, 255, 0.03);
}

.bg-gray-softer {
  background-color: #fcfcfd;
}

/* Info Cards (Cuadraditos Hero) */
.info-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

/* 5 items: On desktop, maybe 5 columns? On mobile, 2 or 3? */
@media (min-width: 640px) {
  .info-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .info-card-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.info-card {
  background: white;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center content for "Cuadraditos" look */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0.8;
}

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

.info-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.info-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: 0.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.info-card__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

/* Quick Facts Grid */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

@media (min-width: 768px) {
  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fact-card {
  background: var(--color-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-base);
}

.fact-card:hover {
  background: white;
  box-shadow: var(--shadow-sm);
}

.fact-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
  margin-bottom: 0.25rem;
}

.fact-value {
  font-weight: var(--font-bold);
  color: var(--color-dark);
}

/* Timeline/Trajectory Refinements */
.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -9px;
  /* adjust based on border width and marker size */
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: white;
  border: 4px solid var(--color-magenta);
  /* Default accent */
  border-radius: 50%;
  z-index: 10;
  transition: transform 0.3s ease;
}

.timeline-content:hover .timeline-marker {
  transform: scale(1.2);
}

/* Territory Cards Grid */
.grid-cards-sm {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 640px) {
  .grid-cards-sm {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards-sm {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in,
  .hover-lift:hover {
    transform: none !important;
    opacity: 1 !important;
  }
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: var(--spacing-sm);
}

.footer__links a {
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: white;
}

.footer__social {
  display: flex;
  gap: var(--spacing-sm);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.footer__social a:hover {
  background: var(--color-magenta);
  color: white;
}

.footer__bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  text-align: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   FORMS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--color-gray-100);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-dark);
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 3px rgba(159, 87, 167, 0.1);
}

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

/* Honeypot (hidden) */
.hp-field {
  position: absolute;
  left: -9999px;
}

/* Success message */
.form-success {
  display: none;
  padding: var(--spacing-lg);
  background: rgba(36, 188, 222, 0.1);
  border: 1px solid var(--color-turquoise);
  border-radius: var(--radius-lg);
  color: var(--color-dark);
  text-align: center;
}

.form-success.show {
  display: block;
}

/* --------------------------------------------------------------------------
   ANIMATIONS
   -------------------------------------------------------------------------- */
/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover lift effect */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Pulse animation */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Float animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   LIGHTBOX
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}

.lightbox.active {
  display: flex;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox__close:hover {
  color: var(--color-magenta);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox__nav:hover {
  background: var(--color-magenta);
}

.lightbox__nav--prev {
  left: -70px;
}

.lightbox__nav--next {
  right: -70px;
}

/* --------------------------------------------------------------------------
   GALLERY GRID
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-lg);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__caption {
  color: white;
  font-weight: var(--font-medium);
}

/* --------------------------------------------------------------------------
   ORNAMENT / DECORATIVE PATTERNS
   -------------------------------------------------------------------------- */
.ornament-dots {
  background-image: radial-gradient(var(--color-magenta) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
}

.ornament-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ornament-circle--magenta {
  background: var(--color-magenta);
  opacity: 0.2;
}

.ornament-circle--blue {
  background: var(--color-blue);
  opacity: 0.2;
}

.ornament-circle--orange {
  background: var(--color-orange);
  opacity: 0.15;
}

/* --------------------------------------------------------------------------
   ESCUELA PAGE SPECIFIC STYLES
   -------------------------------------------------------------------------- */
.escuela-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a1e 100%);
  position: relative;
  overflow: hidden;
}

.escuela-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: var(--gradient-brand);
  transform: rotate(-15deg);
  opacity: 0.1;
}

.escuela-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   SEARCH & FILTERS
   -------------------------------------------------------------------------- */
.search-box {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.search-input {
  flex: 1;
  min-width: 250px;
  padding: var(--spacing-md) var(--spacing-lg);
  background: white;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-blue);
}

.filter-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: white;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-magenta);
  color: var(--color-magenta);
}

/* --------------------------------------------------------------------------
   UTILITIES
   -------------------------------------------------------------------------- */
.text-magenta {
  color: var(--color-magenta);
}

.text-blue {
  color: var(--color-blue);
}

.text-turquoise {
  color: var(--color-turquoise);
}

.text-orange {
  color: var(--color-orange);
}

.text-dark {
  color: var(--color-dark);
}

.text-gray {
  color: var(--color-gray-500);
}

.text-white {
  color: white;
}

.bg-magenta {
  background-color: var(--color-magenta);
}

.bg-blue {
  background-color: var(--color-blue);
}

.bg-turquoise {
  background-color: var(--color-turquoise);
}

.bg-orange {
  background-color: var(--color-orange);
}

.bg-dark {
  background-color: var(--color-dark);
}

.bg-light {
  background-color: var(--color-light);
}

.bg-white {
  background-color: white;
}

.bg-gradient {
  background: var(--gradient-brand);
}

.font-regular {
  font-weight: var(--font-regular);
}

.font-medium {
  font-weight: var(--font-medium);
}

.font-bold {
  font-weight: var(--font-bold);
}

.font-black {
  font-weight: var(--font-black);
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gap-md {
  gap: var(--spacing-md);
}

.gap-lg {
  gap: var(--spacing-lg);
}

.gap-xl {
  gap: var(--spacing-xl);
}

@media (max-width: 768px) {
  .md\:grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

/* Spacing */
.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.py-sm {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}

.py-md {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.bg-magenta {
  background-color: var(--color-magenta);
}

.bg-blue {
  background-color: var(--color-blue);
}

.bg-turquoise {
  background-color: var(--color-turquoise);
}

.bg-orange {
  background-color: var(--color-orange);
}

.bg-dark {
  background-color: var(--color-dark);
}

.bg-light {
  background-color: var(--color-light);
}

.bg-white {
  background-color: white;
}

.bg-gradient {
  background: var(--gradient-brand);
}

.font-regular {
  font-weight: var(--font-regular);
}

.font-medium {
  font-weight: var(--font-medium);
}

.font-bold {
  font-weight: var(--font-bold);
}

.font-black {
  font-weight: var(--font-black);
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gap-md {
  gap: var(--spacing-md);
}

.gap-lg {
  gap: var(--spacing-lg);
}

.gap-xl {
  gap: var(--spacing-xl);
}

@media (max-width: 768px) {
  .md\:grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

/* Spacing */
.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.py-sm {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}

.py-md {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.bg-magenta {
  background-color: var(--color-magenta);
}

.bg-blue {
  background-color: var(--color-blue);
}

.bg-turquoise {
  background-color: var(--color-turquoise);
}

.bg-orange {
  background-color: var(--color-orange);
}

.bg-dark {
  background-color: var(--color-dark);
}

.bg-light {
  background-color: var(--color-light);
}

.bg-white {
  background-color: white;
}

.bg-gradient {
  background: var(--gradient-brand);
}

.font-regular {
  font-weight: var(--font-regular);
}

.font-medium {
  font-weight: var(--font-medium);
}

.font-bold {
  font-weight: var(--font-bold);
}

.font-black {
  font-weight: var(--font-black);
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gap-md {
  gap: var(--spacing-md);
}

.gap-lg {
  gap: var(--spacing-lg);
}

.gap-xl {
  gap: var(--spacing-xl);
}

@media (max-width: 768px) {
  .md\:grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

/* Spacing */
.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.py-sm {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}

.py-md {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.py-lg {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.py-xl {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

/* ==========================================================================
   NAVBAR REDESIGN - Alternative B
   ========================================================================== */

/* Brand group container - aligns logo and home icon together */
.navbar__brand-group {
  opacity: 0.94;
  max-width: 520px;
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

/* Underline gradient for "vos" - no background, just underline */
.underline-gradient {
  position: relative;
  display: inline;
  font-weight: var(--font-bold);
}

.underline-gradient::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-magenta) 100%);
  border-radius: 1px;
}

/* Hero actions - Alternative B with larger border-radius */
.hero__actions--b {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  align-items: center;
}

.hero__actions--b .btn {
  border-radius: 16px;
}

/* ==========================================================================
   PHOTO CARD - Alternative B (labels as siblings, not absolute)
   ========================================================================== */

.hero__photo-card-b {
  background: white;
  padding: 16px;
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: rotate(2deg);
  transition: transform var(--transition-slow);
  max-width: 420px;
  margin: 0 auto;
}

.hero__photo-card-b:hover {
  transform: rotate(0deg);
}

/* Label inside card - not absolute, stacked above/below image */
.hero__card-label {
  display: block;
  padding: 8px 0;
  font-weight: var(--font-bold);
  text-align: left;
}

.hero__card-label--name {
  color: var(--color-dark);
  font-size: 1.1rem;
  font-weight: var(--font-black);
  margin-bottom: 8px;
}

.hero__card-label--title {
  color: var(--color-orange);
  font-size: 0.95rem;
  margin-top: 8px;
}

.hero__photo-card-b img {
  border-radius: calc(var(--radius-2xl) - 8px);
  width: 100%;
  display: block;
}

@media (max-width: 767px) {
  .hero__photo-card-b {
    padding: 12px;
    max-width: 320px;
  }
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gap-md {
  gap: var(--spacing-md);
}

.gap-lg {
  gap: var(--spacing-lg);
}

.gap-xl {
  gap: var(--spacing-xl);
}

@media (max-width: 768px) {
  .md\:grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

/* Spacing */
.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.py-sm {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}

.py-md {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.py-lg {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.py-xl {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

/* ==========================================================================
   NAVBAR REDESIGN - Alternative B
   ========================================================================== */

/* Brand group container - aligns logo and home icon together */
.navbar__brand-group {
  opacity: 0.94;
  max-width: 520px;
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

/* Underline gradient for "vos" - no background, just underline */
.underline-gradient {
  position: relative;
  display: inline;
  font-weight: var(--font-bold);
}

.underline-gradient::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-magenta) 100%);
  border-radius: 1px;
}

/* Hero actions - Alternative B with larger border-radius */
.hero__actions--b {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  align-items: center;
}

.hero__actions--b .btn {
  border-radius: 16px;
}

/* ==========================================================================
   PHOTO CARD - Alternative B (labels as siblings, not absolute)
   ========================================================================== */

.hero__photo-card-b {
  background: white;
  padding: 16px;
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: rotate(2deg);
  transition: transform var(--transition-slow);
  max-width: 420px;
  margin: 0 auto;
}

.hero__photo-card-b:hover {
  transform: rotate(0deg);
}

/* Label inside card - not absolute, stacked above/below image */
.hero__card-label {
  display: block;
  padding: 8px 0;
  font-weight: var(--font-bold);
  text-align: left;
}

.hero__card-label--name {
  color: var(--color-dark);
  font-size: 1.1rem;
  font-weight: var(--font-black);
  margin-bottom: 8px;
}

.hero__card-label--title {
  color: var(--color-orange);
  font-size: 0.95rem;
  margin-top: 8px;
}

.hero__photo-card-b img {
  border-radius: calc(var(--radius-2xl) - 8px);
  width: 100%;
  display: block;
}

@media (max-width: 767px) {
  .hero__photo-card-b {
    padding: 12px;
    max-width: 320px;
  }

  .hero__card-label--name {
    font-size: 1rem;
  }

  .hero__card-label--title {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   USER FEEDBACK ADJUSTMENTS
   ========================================================================== */

/* Logo - bigger, no border, more left position */
.navbar__logo--v2 {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.20));
  transition: transform var(--transition-base), filter var(--transition-base);
}

.navbar__logo--v2:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
}

@media (max-width: 767px) {
  .navbar__logo--v2 {
    height: 56px;
  }
}

/* Brand group - logo more to left */
.navbar__brand-group--left {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

/* Contrasting highlight for Corrientes - white with orange glow */
.text-highlight-white {
  color: white;
  font-weight: 900;
  position: relative;
  display: inline;
  text-shadow: 0 2px 15px rgba(251, 168, 95, 0.5);
}

.text-highlight-white::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-magenta) 100%);
  border-radius: 2px;
}

/* Photo card - more horizontal/wider */
/* Photo card - Clean White Premium Style */
.hero__photo-card-wide {
  position: relative;
  background: #ffffff;
  /* Pure white */
  padding: 12px;
  border-radius: var(--radius-2xl);
  /* Soft elegant shadow, no gray/pink borders */
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  transform: rotate(1deg);
  transition: all var(--transition-base);
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  /* Ensures overlay stays within rounded corners */
  z-index: 1;
}

/* Instagram Hover Effect (Overlay + Glow) */
.hero__photo-card-wide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  /* Above image, below text */
  pointer-events: none;
}

.hero__photo-card-wide:hover {
  transform: rotate(0deg) translateY(-5px);
  /* Subtle colored glow on hover */
  /* Subtle colored glow on hover */
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.hero__photo-card-wide:hover::after {
  opacity: 0.1;
  /* Keep it subtle */
}

.hero__photo-card-wide img {
  position: relative;
  z-index: 1;
  border-radius: calc(var(--radius-2xl) - 8px);
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top center;
}

/* Ensure Text stays readable above overlay */
.hero__card-label {
  position: relative;
  z-index: 10;
  display: block;
  text-align: center;
}

.hero__card-label--name {
  color: var(--color-dark);
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  margin-bottom: 8px;
}

.hero__card-label--title {
  color: var(--color-gray-500);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .hero__photo-card-wide {
    padding: 10px;
    max-width: 320px;
    /* Reduced max-width for mobile */
  }
}

/* ===== BUTTON VARIANTS ===== */

/* White button with yellow hover */
.btn--white-yellow {
  background: white;
  color: var(--color-dark);
  border: 2px solid white;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: var(--font-bold);
  transition: var(--transition-base);
}

.btn--white-yellow:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-dark);
}

/* Gray button with dark gold hover */
.btn--gray-gold {
  background: rgba(100, 100, 110, 0.85);
  color: white;
  border: 2px solid rgba(100, 100, 110, 0.85);
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: var(--font-bold);
  transition: var(--transition-base);
}

.btn--gray-gold:hover {
  background: #B8860B;
  border-color: #B8860B;
  color: white;
}

/* Instagram orange button */
.btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: var(--font-bold);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn--instagram:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

/* ==========================================================================
   PREMIUM REFINEMENTS (Final Polish)
   ========================================================================== */

/* NAVBAR: Logo adjustments */
.navbar__logo--v2 {
  height: 78px;
  /* +10% from 72px */
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition-base);
  /* Removed box-shadow/background as requested */
}

.navbar__logo--v2:hover {
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .navbar__logo--v2 {
    height: 60px;
  }
}

/* Brand group - tighter left alignment */
.navbar__brand-group--left {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  margin-left: -10px;
  /* Pull closer to edge */
}

/* HERO: Text Contrast */
.text-highlight-contrast {
  color: white;
  font-weight: 900;
  position: relative;
  display: inline;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  /* Better legibility on gradient */
}

.text-highlight-contrast::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-orange);
  opacity: 0.8;
}

.text-highlight-subtle {
  position: relative;
  display: inline-block;
  font-weight: var(--font-bold);
}

.text-highlight-subtle::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange) 0%, var(--color-magenta) 100%);
  opacity: 0.8;
}

/* HERO: Photo Card - Horizontal & Harmonic */
/* HERO: Photo Card - Premium Frame Style */


/* HERO: Buttons - Consistent Family */
/* Shared base styles for all hero buttons */
.btn-hero-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  height: 54px;
  /* Fixed height for consistency */
  border-radius: 12px;
  /* Consistent radius */
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
  /* Reserve space for border */
  white-space: nowrap;
  gap: 8px;
}

/* Button 1: Ver Proyectos */
/* Button 1 & 2: Proyectos & Escuela (Gray Base) */
.btn--hero-white,
.btn--hero-gray {
  background: #2C2C31;
  /* Brand dark - stylish gray */
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.btn--hero-white:hover,
.btn--hero-gray:hover {
  background: var(--gradient-brand);
  /* Magenta to Blue */
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(159, 87, 167, 0.4);
}

/* Button 3: Instagram - Solid orange (NO gradient) */
.btn--hero-instagram {
  background: #F58529;
  /* Instagram orange, solid */
  color: white;
  border: none;
}

.btn--hero-instagram:hover {
  background: #E07326;
  /* Slightly darker on hover */
  transform: translateY(-2px);
  color: white;
}

/* Instagram icon size - max 18px */
.btn--hero-instagram svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  flex: 0 0 18px;
}

/* Hero Actions Container */
.hero__actions--premium {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

/* Hero title variant */
.hero__title--b {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-black);
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  color: white;
}

/* Hero subtitle variant */
.hero__subtitle--b {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: var(--font-regular);
  opacity: 0.95;
  max-width: 600px;
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* Card label styles */
.hero__card-label {
  display: block;
  text-align: center;
  font-weight: var(--font-bold);
  padding: 4px 0;
}

.hero__card-label--name {
  color: var(--color-dark);
  font-size: 1.1rem;
}

.hero__card-label--title {
  color: var(--color-gray-500);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card Header for Name + Icon */
.hero__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 8px 4px;
}

.hero__card-header .hero__card-label--name {
  margin-bottom: 0;
  text-align: left;
}

.hero__card-icon-top {
  color: var(--color-gray-400);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.hero__card-icon-top:hover {
  color: #dd2a7b;
  /* Instagram Brand Color */
  transform: scale(1.1);
}

/* ==========================================================================
   NAVBAR & HERO REFINEMENTS (2026-01-06)
   ========================================================================== */

/* Navbar - Fix alignment and overlap issues */
.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
}

/* Menu - allow shrinkage, prevent overlap with CTA */
.navbar__menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
  flex-shrink: 1;
  min-width: 0;
}

@media (min-width: 1024px) {
  .navbar__menu {
    display: flex;
    align-items: center;
  }
}

/* Dark navbar - Force WHITE links for contrast */
.navbar[style*="background: #2C2C31"] .navbar__link {
  color: #ffffff;
}

.navbar[style*="background: #2C2C31"] .navbar__link:hover {
  color: var(--color-orange);
}

/* Primary CTA Button - Prominent styling */
.navbar__cta--primary {
  display: none;
  padding: 10px 22px;
  background: transparent;
  border: 2px solid var(--color-orange);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-weight: var(--font-bold);
  font-size: 0.95rem;
  transition: var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .navbar__cta--primary {
    display: inline-block;
  }
}

.navbar__cta--primary:hover {
  background: var(--color-orange);
  color: var(--color-dark);
  transform: translateY(-1px);
}

/* Instagram Button - Gradient Hover Effect */
.btn--hero-instagram {
  background: #F58529;
  color: #fff !important;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--hero-instagram::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #F58529, #FEDA77, #DD2A7B, #F58529);
  background-size: 300% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.btn--hero-instagram:hover::before {
  opacity: 1;
  animation: instagram-shimmer 1.5s linear infinite;
}

/* Ensure ALL content (text + icon) stays above the gradient */
.btn--hero-instagram>* {
  position: relative;
  z-index: 1;
}

.btn--hero-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(221, 42, 123, 0.35);
  color: #fff !important;
}

/* Instagram icon size - ensure 18px */
.btn--hero-instagram svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  flex: 0 0 18px;
  position: relative;
  z-index: 1;
}

@keyframes instagram-shimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* Hero Photo Link - Clickable with hover effect */
/* Hero Photo Link - Clickable with hover trigger */
.hero__photo-link {
  display: block;
  cursor: pointer;
  text-decoration: none;
  /* Reset link default styles if any */
}

/* Forward hover state to card is handled by card's own :hover if valid, 
   but since it's wrapped, it's safer to use the wrapper to trigger. 
   However, my previous CSS targeted .hero__photo-card-wide:hover which works fine 
   as it is the child filling the link. 
   I will just remove the redundant shadow change here to let the main block handle it. */

/* Home icon in navbar - white color */
.navbar__home-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: color 0.2s ease;
}

.navbar__home-icon svg {
  width: 22px;
  height: 22px;
}

.navbar__home-icon:hover {
  color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   "CÓMO TRANSFORMAMOS CORRIENTES" SECTION - Premium Styles
   -------------------------------------------------------------------------- */

/* Premium section title */
.section-title-premium {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--color-blue);
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

/* Premium gradient underline bar */
.section-underline-premium {
  width: 100px;
  height: 7px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-magenta) 100%);
  border-radius: 9999px;
}

/* Transform cards grid - 3 columns desktop */
.transform-cards-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .transform-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .transform-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Flex card - equal height with bottom-aligned link */
.card--flex {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card--flex .card__text {
  flex: 1;
}

.card__link--bottom {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ==========================================================================
   NEW CTA BUTTONS (CARDS)
   ========================================================================== */

/* Push CTA to bottom */
.card__cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Base Button Style */
.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-position .25s ease;
  background-size: 160% 160%;
  background-position: 0% 50%;
  border: none;
  cursor: pointer;
}

/* Hover State */
.btn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  background-position: 100% 50%;
  filter: saturate(1.05);
  color: #fff;
}

/* Active State */
.btn-card:active {
  transform: translateY(0px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

/* Focus State */
.btn-card:focus-visible {
  outline: 3px solid rgba(251, 168, 95, 0.45);
  outline-offset: 3px;
}

/* Gradients by Type */
.btn-card--escuela {
  background-image: linear-gradient(135deg, #1C5CFF 0%, #24BCDE 100%);
}

.btn-card--proyectos {
  background-image: linear-gradient(135deg, #6D5EF9 0%, #9F57A7 100%);
}

.btn-card--involucrate {
  background-image: linear-gradient(135deg, #FBA85F 0%, #F472B6 100%);
}

/* Arrow Icon via Pseudo-element */
.btn-card::after {
  content: "→";
  margin-left: 4px;
  transition: transform .18s ease;
  display: inline-block;
  font-family: system-ui, sans-serif;
}

.btn-card:hover::after {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   PRE-INSCRIPCIONES (Escuela)
   -------------------------------------------------------------------------- */
.preinscripciones__section {
  position: relative;
  background: var(--gradient-brand);
  padding: var(--spacing-3xl) 0;
  color: white;
}

.preinscripciones__container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.preinscripciones__card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl) var(--spacing-xl);
  box-shadow: var(--shadow-2xl);
  margin-top: var(--spacing-xl);
  text-align: left;
  overflow: hidden;
}

@media (min-width: 768px) {
  .preinscripciones__card {
    padding: var(--spacing-3xl);
  }
}

.preinscripciones__form-group {
  margin-bottom: var(--spacing-lg);
}

.preinscripciones__label {
  display: block;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-xs);
  font-size: 0.875rem;
}

.preinscripciones__input,
.preinscripciones__textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-dark);
  background: white;
  transition: border-color var(--transition-fast);
}

.preinscripciones__input:focus,
.preinscripciones__textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(28, 92, 255, 0.1);
}

.preinscripciones__textarea {
  resize: vertical;
  min-height: 120px;
}

.preinscripciones__submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--gradient-brand);
  color: white;
  font-weight: var(--font-bold);
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.preinscripciones__submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.preinscripciones__submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.preinscripciones__status {
  margin-top: var(--spacing-md);
  text-align: center;
  font-weight: var(--font-medium);
  min-height: 1.5rem;
}

.preinscripciones__status--success {
  color: #10B981;
  /* Green */
}

.preinscripciones__status--error {
  color: #EF4444;
  /* Red */
}

/* Visually Hidden for Honeypot */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --------------------------------------------------------------------------
   DOCENTES SECTION (Premium Light Style)
   -------------------------------------------------------------------------- */
.docentes__section {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
  padding: var(--spacing-3xl) 0;
  color: var(--color-dark);
  overflow: hidden;
}

/* Subtle pattern overlay */
.docentes__section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(#9F57A7 0.5px, transparent 0.5px), radial-gradient(#1C5CFF 0.5px, #f3f4f6 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.03;
  pointer-events: none;
}

.docentes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .docentes__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.docentes__content {
  text-align: left;
}

.docentes__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-black);
  margin-bottom: var(--spacing-md);
  color: var(--color-dark);
  line-height: 1.1;
}

.docentes__highlight {
  color: var(--color-magenta);
}

.docentes__subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-500);
  margin-bottom: var(--spacing-lg);
  font-weight: var(--font-medium);
}

.docentes__text {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.docentes__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.docentes__bullets li {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-weight: var(--font-bold);
  color: var(--color-gray-700);
}

.docentes__bullets li svg {
  width: 24px;
  height: 24px;
  color: var(--color-magenta);
  flex-shrink: 0;
}

/* Card Styling */
.docentes__card {
  background: white;
  border-radius: 24px;
  padding: var(--spacing-2xl);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.docentes__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-magenta), var(--color-orange));
}

.docentes__form-group {
  margin-bottom: var(--spacing-lg);
}

.docentes__label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--font-bold);
  color: var(--color-gray-700);
  margin-bottom: var(--spacing-xs);
}

.docentes__input,
.docentes__textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-gray-100);
  transition: all var(--transition-base);
}

.docentes__input:focus,
.docentes__textarea:focus {
  outline: none;
  background: white;
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 4px rgba(159, 87, 167, 0.1);
}

.docentes__textarea {
  resize: vertical;
  min-height: 100px;
}

/* Error state */
.docentes__input.error,
.docentes__textarea.error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.docentes__error-msg {
  display: none;
  font-size: 0.75rem;
  color: #EF4444;
  margin-top: 4px;
  font-weight: var(--font-medium);
}

.docentes__input.error+.docentes__error-msg,
.docentes__textarea.error+.docentes__error-msg {
  display: block;
}

.docentes__btn {
  width: 100%;
  padding: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-orange) 100%);
  color: white;
  font-weight: var(--font-bold);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 6px rgba(159, 87, 167, 0.2);
}

.docentes__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(159, 87, 167, 0.3);
  filter: brightness(1.05);
}

.docentes__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Alert Card */
.docentes__alert {
  display: none;
  /* Hidden by default */
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: var(--spacing-md);
}

.docentes__alert--error {
  background: #FEF2F2;
  border-color: #EF4444;
  color: #991B1B;
}

.docentes__success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.docentes__icon-check {
  width: 48px;
  height: 48px;
  color: #10B981;
  margin-bottom: var(--spacing-sm);
}

/* INSTAGRAM BUTTON FIX */
.btn--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  /* Match other buttons */
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn--instagram:hover span,
.btn--instagram:hover {
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(220, 39, 67, 0.4);
}

/* Glow effect helper */
.btn-glow {
  position: relative;
  z-index: 1;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: inherit;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.btn-glow:hover::after {
  opacity: 0.6;
}

/* ==========================================================================
   MODERNIZATION 2026 (New Sections & Animations)
   ========================================================================== */

/* 1. SECTIONS & BACKGROUNDS */
/* Tints */
.section--tint-a {
  /* Warm white / Soft gradient */
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF5 100%);
  position: relative;
}

.section--tint-b {
  /* Cool light blue / Gray */
  background: linear-gradient(135deg, #F0F4F8 0%, #E2E8F0 100%);
  position: relative;
}

.section--tint-c {
  /* Soft Lilac */
  background: linear-gradient(180deg, #FDF7FF 0%, #F5E6FA 100%);
  position: relative;
}

.section--tint-d {
  /* Pearl / Noise */
  background-color: #FAFAFA;
  position: relative;
}

/* Subtle texture overlay for tints */
.section--tint-a::before,
.section--tint-b::before,
.section--tint-c::before,
.section--tint-d::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.03;
  z-index: 0;
}

.section--tint-b::before {
  color: var(--color-blue);
  opacity: 0.04;
}

.section--tint-c::before {
  color: var(--color-magenta);
  opacity: 0.04;
}

/* Ensure content is above background */
.section--tint-a>.container,
.section--tint-b>.container,
.section--tint-c>.container,
.section--tint-d>.container {
  position: relative;
  z-index: 1;
}

/* Pattern Utility */
.bg-pattern-dots {
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
}

/* 2. BUTTONS & INTERACTION */
.btn-gradient-flow {
  background-size: 200% auto;
  background-image: linear-gradient(to right, var(--color-orange) 0%, #1C5CFF 51%, var(--color-orange) 100%);
  transition: 0.5s;
  border: none;
  animation: gradientFlow 3s ease infinite;
}

.btn-gradient-flow:hover {
  background-position: right center;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* 3. ANIMATIONS */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .btn-gradient-flow {
    animation: none;
  }
}

/* 4. UTILS & OTHERS */
details>summary {
  list-style: none;
}

details>summary::-webkit-details-marker {
  display: none;
}

details[open] summary~* {
  animation: slideUpFade 0.3s ease-in-out;
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

.stats-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Scroll Margins */
#inscripcion,
#docentes,
#cronograma,
#tu-oficio {
  scroll-margin-top: 120px;
}

/* --------------------------------------------------------------------------
   ANIMATIONS (Celebration)
   -------------------------------------------------------------------------- */
@keyframes floatUpFade {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0;
  }

  20% {
    transform: translateY(-20px) scale(1);
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translateY(-150px) scale(0.8);
    opacity: 0;
  }
}

.confetti-emoji {
  position: absolute;
  font-size: 2rem;
  z-index: -1;
  /* Behind the card */
  pointer-events: none;
  animation: floatUpFade 1.5s ease-out forwards;
}

/* Ensure stats card is relative for positioning */
.stats-card {
  position: relative;
  /* z-index: 10; already governed by parent usually, but ensure it creates a stacking context */
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   HOME REDESIGN 2026 - NEW SECTIONS
   ========================================================================== */

/* --------------------------------------------------------------------------
   NAVBAR INSTAGRAM ICON
   -------------------------------------------------------------------------- */
.navbar__brand-group--left {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.navbar__instagram-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
  border-radius: var(--radius-sm);
}

.navbar__instagram-icon:hover {
  color: #E1306C;
  background: rgba(225, 48, 108, 0.1);
}

.navbar__instagram-icon svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   NEW HERO WITH SCROLL EFFECT
   Mobile: Wrapper (200vh) + Stage (sticky 100vh) pattern for scroll-driven animation
   -------------------------------------------------------------------------- */
.hero-new {
  --scroll-progress: 0;
  position: relative;
  min-height: 100vh;
  /* Desktop default */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* MOBILE: Wrapper with extended height for scroll distance */
@media (max-width: 768px) {
  .hero-new {
    display: block;
    height: 200vh;
    /* Scroll distance control (adjustable 180-240vh) */
    min-height: auto;
    overflow: visible;
  }
}

/* Desktop: Stage is just a wrapper, no special behavior */
.hero-new__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* MOBILE: Stage becomes sticky container that pins during scroll */
@media (max-width: 768px) {
  .hero-new__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
  }
}

.hero-new__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Desktop: dynamic blur based on scroll */
  transition: filter 0.1s linear;
  will-change: filter;
  filter: blur(calc(var(--scroll-progress) * 8px)) saturate(calc(1 - var(--scroll-progress) * 0.2));
  transform: scale(calc(1 + var(--scroll-progress) * 0.03));
}

/* MOBILE: Scroll-driven blur animation (0px → 6px max) */
@media (max-width: 768px) {
  .hero-new__image {
    object-position: center 20%;
    /* Scroll-driven blur: 0px at start → 6px max at end */
    filter: blur(calc(var(--scroll-progress) * 6px));
    transform: scale(calc(1 + var(--scroll-progress) * 0.02));
    transition: filter 0.08s linear, transform 0.08s linear;
    will-change: filter, transform;
  }
}

.hero-new__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-magenta);
  /* Desktop: dynamic overlay */
  opacity: calc(var(--scroll-progress) * 0.5);
  pointer-events: none;
  transition: opacity 0.1s linear;
  will-change: opacity;
  z-index: 2;
}

/* MOBILE: Scroll-driven brand overlay (0 → 0.22 opacity) */
@media (max-width: 768px) {
  .hero-new__overlay {
    /* Brand gradient overlay that fades in with scroll */
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
    opacity: calc(var(--scroll-progress) * 0.22);
    transition: opacity 0.08s linear;
    will-change: opacity;
  }
}

.hero-new__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(44, 44, 49, 0.9) 0%,
      rgba(44, 44, 49, 0.7) 40%,
      rgba(44, 44, 49, 0.3) 70%,
      transparent 100%);
  z-index: 3;
}

@media (max-width: 768px) {
  .hero-new__gradient {
    display: none;
  }
}

.hero-new__content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  padding: calc(120px + env(safe-area-inset-top)) var(--spacing-lg) var(--spacing-3xl);
}

@media (min-width: 1024px) {
  .hero-new__content {
    padding: 0 var(--spacing-lg);
    max-width: 650px;
  }
}

/* MOBILE: Content positioned at bottom of sticky stage */
@media (max-width: 768px) {
  .hero-new__content {
    position: absolute;
    inset: 0;
    padding: 0;
    margin: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
  }

  /* Mobile Hero Scrub (blur + card fade) - The card/panel that reveals on scroll */
  .hero-new__panel {
    /* Position: Inside stage, at bottom, NOT fixed */
    position: relative;
    margin: 0 16px 18px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    border-radius: 22px;

    /* Styling */
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    background: rgba(44, 44, 49, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);

    /* Scroll-driven animation: opacity 0→1, translateY 18→0 */
    opacity: var(--scroll-progress);
    transform: translateY(calc(18px * (1 - var(--scroll-progress))));
    transition: opacity 0.08s ease-out, transform 0.08s ease-out;
    will-change: opacity, transform;

    /* Pointer events controlled by JS when progress >= 0.95 */
    pointer-events: none;
  }
}

.hero-new__badge {
  display: inline-flex;
  width: fit-content;
  max-width: max-content;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  line-height: 1;
  margin-bottom: var(--spacing-lg);
}

.hero-new__title {
  font-size: clamp(38px, 4.2vw, 72px);
  line-height: 1.05;
  margin-bottom: var(--spacing-lg);
  color: white;
}

@media (max-width: 768px) {
  .hero-new__title {
    font-size: clamp(28px, 6vw, 36px);
    margin-bottom: 16px;
  }
}

.hero-new__title .semibold {
  font-weight: 600;
}

.hero-new__title .black {
  font-weight: 900;
  display: block;
  background: linear-gradient(90deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-new__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  max-width: 52ch;
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
  .hero-new__subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
}

.hero-new__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.hero-new__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  color: white;
  font-weight: var(--font-bold);
  font-size: 1rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(159, 87, 167, 0.4);
}

.hero-new__cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 8px 30px rgba(159, 87, 167, 0.5);
}

.hero-new__cta-primary:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.hero-new__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: transparent;
  color: white;
  font-weight: var(--font-bold);
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.hero-new__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Hero Actions Layout Hotfix */
.hero-new__actions-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.hero-new__actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.hero-new__instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-gray-800);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-base);
  margin-top: var(--spacing-xs);
  position: relative;
  z-index: 10;
}

.hero-new__instagram-btn:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
  .hero-new__actions-container {
    align-items: stretch;
    width: 100%;
  }

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

  .hero-new__cta-primary,
  .hero-new__cta-secondary,
  .hero-new__instagram-btn {
    justify-content: center;
    width: 100%;
  }
}

/* Escuela Slider (Hotfix) */
.escuela-home__slider {
  position: relative;
  width: 100%;
  height: clamp(220px, 34vw, 420px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-xl);
  grid-column: 1 / -1;
}

.escuela-home__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 800ms ease-in-out;
  z-index: 1;
}

.escuela-home__slide.is-active {
  opacity: 1;
  z-index: 2;
}

.escuela-home__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Escuela Buttons */
.btn-school {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-gray-800);
  color: white;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-school:hover {
  background: var(--gradient-brand);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: transparent;
}

/* Brand Yellow Utility */
.text-brand-yellow {
  color: #FFD700 !important;
  /* Gold/Yellow */
}

/* Reduced motion - show final state immediately (accessibility) */
@media (prefers-reduced-motion: reduce) {
  .hero-new__image {
    filter: blur(6px) !important;
    /* Show final blur */
    transition: none !important;
    transform: none !important;
  }

  .hero-new__overlay {
    opacity: 0.22 !important;
    /* Show final overlay */
    transition: none !important;
  }

  .hero-new__panel {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
  }
}

/* --------------------------------------------------------------------------
   IMPACT / METRICS SECTION
   -------------------------------------------------------------------------- */
.impact-section {
  background: var(--color-dark);
  padding: var(--spacing-2xl) 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.impact-grid--new {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  text-align: center;
  justify-items: center;
}

@media (min-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
  }

  .impact-grid--new {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}

.impact-item {
  text-align: center;
  padding: var(--spacing-lg);
}

.impact-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(10px, 2vw, 14px);
}

.impact-item__icon svg {
  width: clamp(34px, 7vw, 56px);
  height: clamp(34px, 7vw, 56px);
  line-height: 1;
}

.impact-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-black);
  color: white;
  line-height: 1;
  margin-bottom: var(--spacing-sm);
  font-variant-numeric: tabular-nums;
}

.impact-number .prefix {
  color: var(--color-magenta);
}

.impact-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   ESCUELA SECTION (PROTAGONISTA)
   -------------------------------------------------------------------------- */
.escuela-home {
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.05) 0%, rgba(28, 92, 255, 0.05) 100%);
  padding: var(--spacing-3xl) 0;
  overflow: hidden;
}

/* Mobile fix for escuela section - ensure content is not clipped */
@media (max-width: 430px) {
  .escuela-home {
    padding: var(--spacing-xl) 0;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .escuela-home .container {
    max-width: 100%;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: visible;
    box-sizing: border-box;
  }

  .escuela-home__grid {
    gap: var(--spacing-xl);
  }

  .escuela-home__content {
    max-width: 100%;
  }

  /* Text wrapping fix to prevent clipping */
  .escuela-home__text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  .escuela-showcase {
    margin-left: calc(-1 * var(--spacing-sm));
    margin-right: calc(-1 * var(--spacing-sm));
  }
}

.escuela-home__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .escuela-home__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.escuela-home__content {
  max-width: 560px;
}

.escuela-home__label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.75rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-magenta);
  margin-bottom: var(--spacing-md);
}

.escuela-home__label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-magenta);
}

.escuela-home__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-lg);
  color: var(--color-dark);
}

.escuela-home__text {
  font-size: 1.1rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
}

.escuela-home__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.escuela-home__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: white;
  color: var(--color-dark);
  font-weight: var(--font-bold);
  font-size: 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.escuela-home__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-magenta);
  color: var(--color-magenta);
}

.escuela-home__cta--primary {
  background: var(--gradient-brand);
  color: white;
  border: none;
}

.escuela-home__cta--primary:hover {
  color: white;
  box-shadow: 0 8px 25px rgba(159, 87, 167, 0.4);
}

/* Carrusel de fotos */
.escuela-home__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.escuela-home__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
}

.escuela-home__photo:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.escuela-home__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.escuela-home__photo:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.escuela-home__photo:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   BIOGRAFÍA SECTION
   -------------------------------------------------------------------------- */
.bio-home {
  background: white;
  padding: var(--spacing-3xl) 0;
}

.bio-home__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .bio-home__grid {
    grid-template-columns: 350px 1fr;
  }
}

.bio-home__photo {
  position: relative;
}

.bio-home__photo img {
  width: 100%;
  max-width: 350px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.bio-home__photo::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 3px solid var(--color-magenta);
  border-radius: var(--radius-2xl);
  opacity: 0.3;
  z-index: -1;
  transform: translate(15px, 15px);
}

.bio-home__content {
  max-width: 600px;
}

.bio-home__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--spacing-lg);
  color: var(--color-dark);
}

.bio-home__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-xl);
  display: grid;
  gap: var(--spacing-md);
}

.bio-home__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  font-size: 1rem;
  color: var(--color-gray-700);
}

.bio-home__item-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.bio-home__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--color-dark);
  color: white;
  font-weight: var(--font-bold);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.bio-home__cta:hover {
  background: var(--color-magenta);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   PROYECTOS SECTION
   -------------------------------------------------------------------------- */
.proyectos-home {
  background: var(--color-gray-100);
  padding: var(--spacing-3xl) 0;
}

.proyectos-home__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-2xl);
}

.proyectos-home__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-md);
  color: var(--color-dark);
}

.proyectos-home__intro {
  font-size: 1.1rem;
  color: var(--color-gray-600);
}

.proyectos-home__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .proyectos-home__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proyecto-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-magenta);
  transition: var(--transition-base);
}

.proyecto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.proyecto-card__title {
  font-size: 1.1rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.proyecto-card__desc {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin: 0;
}

.proyectos-home__footer {
  text-align: center;
  margin-top: var(--spacing-2xl);
}

.proyectos-home__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--gradient-brand);
  color: white;
  font-weight: var(--font-bold);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.proyectos-home__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(159, 87, 167, 0.4);
}

/* --------------------------------------------------------------------------
   INSTAGRAM SECTION
   -------------------------------------------------------------------------- */
.instagram-home {
  background: white;
  padding: var(--spacing-3xl) 0;
}

.instagram-home__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-2xl);
}

.instagram-home__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--spacing-md);
  color: var(--color-dark);
}

.instagram-home__subtitle {
  font-size: 1rem;
  color: var(--color-gray-600);
}

.instagram-home__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .instagram-home__grid {
    grid-template-columns: 1fr;
  }
}

.instagram-home__item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-gray-100);
  min-height: 350px;
}

.instagram-home__item iframe {
  width: 100% !important;
  min-width: 100% !important;
}

.instagram-home__footer {
  text-align: center;
  margin-top: var(--spacing-2xl);
}

.instagram-home__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  font-weight: var(--font-bold);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.instagram-home__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.instagram-home__cta svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   PARTICIPÁ SECTION
   -------------------------------------------------------------------------- */
.participa-home {
  background: var(--gradient-brand);
  padding: var(--spacing-3xl) 0;
}

.participa-home__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.participa-home__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: var(--spacing-md);
}

.participa-home__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-2xl);
}

.participa-home__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

.participa-home__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: var(--font-bold);
  font-size: 1rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.participa-home__cta--white {
  background: white;
  color: var(--color-dark);
}

.participa-home__cta--white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.participa-home__cta--ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.participa-home__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Participá Cards Grid */
.participa-home__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

@media (max-width: 768px) {
  .participa-home__cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

/* Participá Card */
.participa-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.participa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25),
    0 12px 40px rgba(0, 0, 0, 0.15);
}

.participa-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.participa-card:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

.participa-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xs);
}

.participa-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin: 0;
  line-height: 1.3;
}

.participa-card__text {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   NAVBAR LINK HIGHLIGHT (Escuela)
   -------------------------------------------------------------------------- */
.navbar__link--highlight {
  position: relative;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.15) 0%, rgba(28, 92, 255, 0.15) 100%);
  color: white !important;
  transition: var(--transition-base);
}

.navbar__link--highlight:hover {
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.3) 0%, rgba(28, 92, 255, 0.3) 100%);
}

.navbar__link--highlight::after {
  display: none;
}

/* --------------------------------------------------------------------------
   NAVBAR CTA - ESCUELA DE EMPRENDEDORES (Nuevo estilo premium)
   -------------------------------------------------------------------------- */
.navbar__cta--escuela {
  display: none;
  padding: 10px 20px;
  background: var(--color-dark);
  border: none;
  border-radius: var(--radius-lg);
  color: white;
  font-weight: var(--font-bold);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}

@media (min-width: 1024px) {
  .navbar__cta--escuela {
    display: inline-block;
  }
}

.navbar__cta--escuela:hover {
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 4px 15px rgba(159, 87, 167, 0.4);
}

/* Focus visible para accesibilidad con glow */
.navbar__cta--escuela:focus-visible {
  outline: none;
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6), 0 0 25px rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   INSTAGRAM FALLBACK (cuando el embed no carga)
   -------------------------------------------------------------------------- */
.instagram-home__fallback {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
  border-radius: var(--radius-xl);
  align-items: center;
  justify-content: center;
}

.instagram-home__fallback a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-xl);
  text-decoration: none;
  color: var(--color-gray-600);
  transition: var(--transition-base);
}

.instagram-home__fallback a:hover {
  color: var(--color-magenta);
}

.instagram-home__fallback-icon {
  font-size: 3rem;
}

/* Mostrar fallback cuando el embed falla (controlado por JS) */
.instagram-home__item.embed-failed .instagram-home__fallback {
  display: flex;
}

.instagram-home__item.embed-failed .instagram-media {
  display: none;
}

/* Asegurar posicion relativa para el fallback */
.instagram-home__item[data-ig-fallback] {
  position: relative;
}

/* --------------------------------------------------------------------------
   BIO PHOTO - Mejor estilizado para nueva foto
   -------------------------------------------------------------------------- */
.bio-home__photo img {
  width: 100%;
  max-width: 350px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* --------------------------------------------------------------------------
   IMPACT METRICS - Mejoras
   -------------------------------------------------------------------------- */
.impact-item--no-value .impact-number {
  display: none;
}

.impact-item--no-value .impact-label {
  font-size: 1rem;
  opacity: 0.8;
}

/* ==========================================================================
   BIOGRAFÍA PAGE - COMPLETE REDESIGN (2026)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Bio Page Base
   -------------------------------------------------------------------------- */
.bio-page {
  font-family: var(--font-family);
  background-color: var(--color-light);
  color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   1. HERO BIOGRAFÍA
   -------------------------------------------------------------------------- */
.bio-hero {
  padding-top: calc(100px + env(safe-area-inset-top));
  padding-bottom: var(--spacing-2xl);
  background: var(--color-light);
  position: relative;
  overflow: hidden;
}

.bio-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(159, 87, 167, 0.05);
  pointer-events: none;
}

.bio-hero__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.bio-hero__title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: var(--font-black);
  background: linear-gradient(90deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-blue);
  display: inline-block;
  position: relative;
  margin-bottom: 0.5rem;
}

.bio-hero__accent-bar {
  display: block;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
  opacity: 0.8;
}

.bio-hero__subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-500);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--spacing-md);
}

/* Hero Grid: Photo + Content */
.bio-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

@media (min-width: 1024px) {
  .bio-hero__grid {
    grid-template-columns: 400px 1fr;
    gap: var(--spacing-3xl);
  }
}

/* Photo Card */
.bio-hero__photo-wrapper {
  display: flex;
  justify-content: center;
}

.bio-hero__photo-card {
  background: white;
  padding: 12px;
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.06);
  max-width: 380px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bio-hero__photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 10px 25px rgba(0, 0, 0, 0.08);
}

.bio-hero__photo {
  width: 100%;
  border-radius: var(--radius-xl);
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}

/* Hero Content */
.bio-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.bio-hero__intro-title {
  font-size: 1rem;
  font-weight: var(--font-bold);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--spacing-sm);
}

/* Chips Grid (Horizontal) */
.bio-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

@media (min-width: 640px) {
  .bio-chips {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .bio-chips {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bio-chip {
  background: white;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.bio-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  opacity: 0.6;
}

.bio-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bio-chip--highlight {
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.08) 0%, rgba(28, 92, 255, 0.08) 100%);
  border-color: rgba(159, 87, 167, 0.2);
}

.bio-chip--highlight::before {
  opacity: 1;
  height: 4px;
}

.bio-chip__icon {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.bio-chip__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
  font-weight: var(--font-medium);
}

.bio-chip__value {
  font-size: 0.85rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   2. PERFIL / PRESENTACIÓN
   -------------------------------------------------------------------------- */
.bio-profile {
  padding: var(--spacing-3xl) 0;
  background: white;
}

.bio-profile__content {
  max-width: 800px;
  margin: 0 auto;
}

.bio-profile__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-black);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.bio-profile__tagline {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  font-weight: var(--font-medium);
  margin-bottom: var(--spacing-xl);
}

.bio-profile__text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-gray-700);
}

.bio-profile__text p {
  margin-bottom: var(--spacing-lg);
}

.bio-profile__text strong {
  color: var(--color-dark);
  font-weight: var(--font-bold);
}

/* --------------------------------------------------------------------------
   3. MI CAMINO (Timeline)
   -------------------------------------------------------------------------- */
.bio-timeline-section {
  padding: var(--spacing-3xl) 0;
  background: #fcfcfd;
  position: relative;
}

.bio-timeline__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.bio-timeline__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--font-black);
  color: var(--color-dark);
  margin-bottom: var(--spacing-md);
}

.bio-timeline__bar {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.bio-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.bio-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  border-radius: var(--radius-full);
}

.bio-timeline-item {
  position: relative;
  padding-bottom: var(--spacing-xl);
  padding-left: var(--spacing-lg);
}

.bio-timeline-item:last-child {
  padding-bottom: 0;
}

.bio-timeline-item__marker {
  position: absolute;
  left: calc(-2rem + 1px);
  top: 4px;
  width: 18px;
  height: 18px;
  background: white;
  border: 4px solid var(--color-magenta);
  border-radius: 50%;
  z-index: 5;
  transition: transform 0.3s ease;
}

.bio-timeline-item:hover .bio-timeline-item__marker {
  transform: scale(1.2);
}

.bio-timeline-item__year {
  font-size: 0.9rem;
  font-weight: var(--font-bold);
  color: var(--color-magenta);
  margin-bottom: 4px;
}

.bio-timeline-item__title {
  font-size: 1.125rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: 4px;
}

.bio-timeline-item__desc {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* Color variations for timeline markers */
.bio-timeline-item--blue .bio-timeline-item__marker {
  border-color: var(--color-blue);
}

.bio-timeline-item--blue .bio-timeline-item__year {
  color: var(--color-blue);
}

.bio-timeline-item--turquoise .bio-timeline-item__marker {
  border-color: var(--color-turquoise);
}

.bio-timeline-item--turquoise .bio-timeline-item__year {
  color: var(--color-turquoise);
}

.bio-timeline-item--gray .bio-timeline-item__marker {
  border-color: var(--color-gray-400);
}

.bio-timeline-item--gray .bio-timeline-item__year {
  color: var(--color-gray-500);
}

/* --------------------------------------------------------------------------
   4. GESTIONES CAROUSEL
   -------------------------------------------------------------------------- */
.bio-gestiones {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, rgba(28, 92, 255, 0.03) 0%, rgba(159, 87, 167, 0.03) 100%);
}

.bio-gestiones__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.bio-gestiones__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-black);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.bio-gestiones__subtitle {
  font-size: 1.0625rem;
  color: var(--color-gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.gestiones-carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.gestiones-carousel__track {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.gestiones-carousel__slide {
  display: none;
  flex-direction: column;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.gestiones-carousel__slide.active {
  display: flex;
}

.gestiones-carousel__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
}

.gestiones-carousel__info {
  padding: var(--spacing-lg);
  text-align: center;
}

.gestiones-carousel__name {
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: 4px;
}

.gestiones-carousel__desc {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.4;
}

/* Navigation Arrows */
.gestiones-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.gestiones-carousel__nav:hover {
  background: var(--color-dark);
  color: white;
  border-color: var(--color-dark);
  transform: scale(1.05);
}

.gestiones-carousel__nav:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(159, 87, 167, 0.3);
}

.gestiones-carousel__nav svg {
  width: 20px;
  height: 20px;
}

/* Dots Indicator */
.gestiones-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--spacing-lg);
}

.gestiones-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gestiones-carousel__dot.active {
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  transform: scale(1.2);
}

.gestiones-carousel__dot:hover:not(.active) {
  background: var(--color-gray-400);
}

/* Placeholder style for missing images */
.gestiones-carousel__placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-gray-400);
}

/* --------------------------------------------------------------------------
   5. TRABAJO LEGISLATIVO
   -------------------------------------------------------------------------- */
.bio-legislativo {
  padding: var(--spacing-3xl) 0;
  background: white;
}

.bio-legislativo__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.bio-legislativo__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-black);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.bio-legislativo__subtitle {
  font-size: 1.0625rem;
  color: var(--color-gray-500);
}

.bio-legislativo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .bio-legislativo__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bio-leg-card {
  background: var(--color-light);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-gray-100);
}

.bio-leg-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.bio-leg-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.bio-leg-card__title {
  font-size: 1.125rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.bio-leg-card__text {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   6. EN TERRITORIO
   -------------------------------------------------------------------------- */
.bio-territorio {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.05) 0%, rgba(28, 92, 255, 0.05) 100%);
}

.bio-territorio__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.bio-territorio__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--font-black);
  color: var(--color-dark);
  margin-bottom: var(--spacing-md);
}

.bio-territorio__text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-gray-700);
}

.bio-territorio__text strong {
  color: var(--color-dark);
}

/* --------------------------------------------------------------------------
   7. VALORES
   -------------------------------------------------------------------------- */
.bio-valores {
  padding: var(--spacing-3xl) 0;
  background: white;
}

.bio-valores__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.bio-valores__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-black);
  color: var(--color-dark);
  margin-bottom: var(--spacing-md);
}

.bio-valores__bar {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.bio-valores__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 640px) {
  .bio-valores__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bio-valores__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bio-valor-card {
  background: var(--color-light);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.bio-valor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(159, 87, 167, 0.15);
  background: white;
}

.bio-valor-card__icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.bio-valor-card__title {
  font-size: 1.125rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.bio-valor-card__text {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   8. CTA FINAL
   -------------------------------------------------------------------------- */
.bio-cta {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  position: relative;
  overflow: hidden;
}

.bio-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.08"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  pointer-events: none;
}

.bio-cta__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.bio-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-black);
  color: white;
  margin-bottom: var(--spacing-md);
}

.bio-cta__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.bio-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

/* ==========================================================================
   PRENSA PAGE STYLES
   ========================================================================== */

/* Navbar CTA Escuela de Emprendedores - Special Styling */
.navbar__cta--escuela {
  display: none;

  padding: var(--spacing-sm) var(--spacing-lg);
  background: linear-gradient(90deg, var(--color-magenta), var(--color-blue));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: white;
  font-weight: var(--font-bold);
  transition: all 300ms ease;
}

@media (hover: hover) {
  .navbar__cta--escuela:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(28, 92, 255, 0.18);
    background: linear-gradient(90deg, var(--color-magenta), var(--color-blue));
    /* Ensure gradient persists */
  }
}

@media (min-width: 1024px) {
  .navbar__cta--escuela {
    display: inline-block;
  }
}

.navbar__cta--escuela:hover,
.navbar__cta--escuela:focus-visible {
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 4px 15px rgba(159, 87, 167, 0.4);
  transform: translateY(-1px);
  color: white;
}

.navbar__cta--escuela:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   PRENSA HEADER
   -------------------------------------------------------------------------- */
.prensa-header {
  padding: calc(120px + var(--spacing-2xl)) 0 var(--spacing-2xl);
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a1e 100%);
  text-align: center;
}

.prensa-header__badge {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-md);
}

.prensa-header__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-black);
  color: white;
  margin-bottom: var(--spacing-md);
}

.prensa-header__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   PRENSA GRID
   -------------------------------------------------------------------------- */
.prensa-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-light);
}

.prensa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .prensa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .prensa-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   PRENSA CARDS (with photo)
   -------------------------------------------------------------------------- */
.prensa-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
  text-decoration: none;
  color: inherit;
}

.prensa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.prensa-card:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* Card Image */
.prensa-card__image-container {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e8f0 0%, #d8d8e4 100%);
}

.prensa-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.prensa-card:hover .prensa-card__image {
  transform: scale(1.03);
}

/* Placeholder for missing images */
.prensa-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0e0ec 0%, #d0d0dc 100%);
  color: var(--color-gray-400);
}

.prensa-card__placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

/* Card Body */
.prensa-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-lg);
}

/* Badge */
.prensa-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.12) 0%, rgba(28, 92, 255, 0.12) 100%);
  color: var(--color-magenta);
  font-size: 0.7rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-sm);
}

.prensa-card__title {
  font-size: 1.125rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.prensa-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.prensa-card__date {
  font-size: 0.8rem;
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-md);
}

.prensa-card__cta {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: var(--font-bold);
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 200ms ease;
}

.prensa-card:hover .prensa-card__cta {
  color: var(--color-magenta);
}

/* --------------------------------------------------------------------------
   PRENSA PLACEHOLDERS (Empty State)
   -------------------------------------------------------------------------- */
.prensa-card--placeholder {
  background: linear-gradient(135deg, #f8f8fc 0%, #f0f0f8 100%);
  border: 2px dashed var(--color-gray-300);
}

.prensa-card--placeholder .prensa-card__body {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
}

.prensa-card--placeholder .prensa-card__placeholder-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.prensa-card--placeholder .prensa-card__title {
  color: var(--color-gray-500);
}

/* --------------------------------------------------------------------------
   RECURSOS PARA MEDIOS
   -------------------------------------------------------------------------- */
.prensa-recursos {
  padding: var(--spacing-3xl) 0;
  background: white;
}

.prensa-recursos__content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: var(--spacing-2xl);
  background: var(--color-gray-100);
  border-radius: var(--radius-2xl);
}

.prensa-recursos__title {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.prensa-recursos__text {
  color: var(--color-gray-600);
  margin-bottom: var(--spacing-lg);
}

.prensa-recursos__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-blue) 100%);
  color: white;
  font-weight: var(--font-bold);
  border-radius: var(--radius-lg);
  transition: all 300ms ease;
}

.prensa-recursos__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(159, 87, 167, 0.3);
}

.prensa-recursos__btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   CONTACTO MEDIOS
   -------------------------------------------------------------------------- */
.prensa-contacto {
  padding: var(--spacing-2xl) 0 var(--spacing-3xl);
  background: white;
}

.prensa-contacto__content {
  text-align: center;
}

.prensa-contacto__title {
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.prensa-contacto__text {
  color: var(--color-gray-600);
  margin-bottom: var(--spacing-sm);
}

.prensa-contacto__email {
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  color: var(--color-magenta);
}

/* --------------------------------------------------------------------------
   BRANDING PAGE (Placeholder)
   -------------------------------------------------------------------------- */
.branding-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.branding-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.branding-back {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-gray-600);
  font-weight: var(--font-medium);
  margin-bottom: var(--spacing-xl);
  transition: color 200ms ease;
}

.branding-back:hover {
  color: var(--color-magenta);
}

.branding-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-black);
  color: var(--color-dark);
  margin-bottom: var(--spacing-xl);
}

.branding-placeholder {
  padding: var(--spacing-3xl);
  background: white;
  border-radius: var(--radius-2xl);
  border: 2px dashed var(--color-gray-300);
}

.branding-placeholder__icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.branding-placeholder__text {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.branding-placeholder__desc {
  color: var(--color-gray-600);
}

/* ==========================================================================
   HOME: PRENSA CAROUSEL SECTION (Redesign 2026)
   ========================================================================== */
.prensa-home {
  padding: var(--spacing-3xl) 0;
  position: relative;
  /* Option 2: "wash" suave en magenta/azul (casi imperceptible) */
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 1) 0%, rgba(249, 244, 250, 1) 90%);
  overflow: hidden;
}

/* Texture Pattern Overlay (Optional, very subtle) */
.prensa-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239F57A7' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.prensa-home__header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 2;
}

.prensa-home__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  /* Outfit Black equivalent */
  color: var(--color-dark);
  margin-bottom: var(--spacing-xs);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Gradient text accent or decoration if needed, keeping simple class for now */
.prensa-home__title span.highlight {
  background: linear-gradient(90deg, #9F57A7, #1C5CFF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated Title Icon */
.prensa-icon-anim {
  color: #9F57A7;
  /* Default color, or use gradient in SVG */
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
  .prensa-icon-anim {
    animation: prensa-bounce 3s infinite;
  }
}

@keyframes prensa-bounce {

  0%,
  10%,
  100% {
    transform: translateY(0);
  }

  5% {
    transform: translateY(-5px) rotate(-3deg);
  }

  7% {
    transform: translateY(0) rotate(0deg);
  }
}

.prensa-home__subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* Carousel Container */
.prensa-carousel {
  position: relative;
  z-index: 2;
}

.prensa-carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 4px;
  /* Space for shadows */
}

.prensa-carousel__track::-webkit-scrollbar {
  display: none;
}

/* Carousel Items */
.prensa-carousel__item {
  flex: 0 0 calc(100% - 24px);
  /* Mobile: 1 card visible */
  scroll-snap-align: center;
}

@media (min-width: 640px) {
  .prensa-carousel__item {
    flex: 0 0 calc(50% - 24px);
    /* Tablet: 2 cardsish, or verify sizing */
    /* User said: tablet 2, mobile 1. */
    /* 50% - gap creates 2 items. */
  }
}

@media (min-width: 1024px) {
  .prensa-carousel__item {
    flex: 0 0 calc(33.333% - 16px);
    /* Desktop: 3 cards */
    /* (100% / 3) approx */
  }
}

/* NEW CARD DESIGN (Applied to .prensa-card class for uniformity) */
.prensa-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 24px;
  /* Rounded 20-28px */
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  /* Soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  position: relative;
}

/* Accent Line (Gradient) */
.prensa-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  /* Thin line */
  background: linear-gradient(90deg, #9F57A7, #1C5CFF);
  opacity: 0.9;
}

/* Hover Effects */
.prensa-card:hover {
  transform: translateY(-4px);
  /* Lift */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  /* Stronger shadow */
}

/* Image Header / Placeholder */
.prensa-card__image-container {
  aspect-ratio: 16/9;
  width: 100%;
  background: linear-gradient(135deg, #f3e7f5 0%, #eef2ff 100%);
  /* Soft gradient wash */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Watermark Pattern inside image area */
.prensa-card__image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 100 16A8 8 0 008 0zm0 14A6 6 0 118 2a6 6 0 010 12z' fill='%239F57A7' fill-opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.prensa-card__placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.15;
  /* Watermark effect */
  filter: grayscale(100%);
  transform: rotate(-10deg);
}

.prensa-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.prensa-card:hover .prensa-card__image {
  transform: scale(1.03);
}

/* Card Body */
.prensa-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Tag Pill */
.prensa-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(159, 87, 167, 0.1);
  /* Tint magenta */
  color: #9F57A7;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
  margin-bottom: 12px;
}

.prensa-card__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--color-dark);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prensa-card__excerpt {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.prensa-card__date {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  margin-bottom: 16px;
  display: block;
}

/* Link Styling "Leer más" */
.prensa-card__cta {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1C5CFF;
  /* Brand Blue */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.prensa-card:hover .prensa-card__cta {
  gap: 10px;
  /* Desplazamiento flecha */
  color: #9F57A7;
  /* Brand Magenta on hover */
}

/* Carousel Navigation Arrows (Modern) */
.prensa-carousel__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.prensa-carousel__btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: var(--color-dark);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.prensa-carousel__btn:hover {
  background: rgba(159, 87, 167, 0.05);
  /* Tinte suave */
  border-color: #9F57A7;
  color: #9F57A7;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(159, 87, 167, 0.15);
}

.prensa-carousel__btn:focus-visible {
  outline: 2px solid #1C5CFF;
  outline-offset: 2px;
}

.prensa-carousel__btn:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.prensa-carousel__btn svg {
  width: 22px;
  height: 22px;
}

/* Footer CTA */
.prensa-home__footer {
  text-align: center;
  margin-top: 40px;
}

.prensa-home__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  border: 2px solid #e5e7eb;
  /* Gray 200 equivalent */
  color: var(--color-gray-600);
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.prensa-home__cta:hover {
  border-color: #9F57A7;
  color: #9F57A7;
  background: white;
}

/* --------------------------------------------------------------------------
   HERO CTAS REFINEMENTS (2026)
   -------------------------------------------------------------------------- */
.hero-new__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-brand);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.hero-new__cta-primary:hover {
  background: var(--gradient-brand-hover);
  /* Reverses or shifts */
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  /* White glow */
  transform: translateY(-2px);
  color: white;
}

.hero-new__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-new__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  color: white;
}

/* ==========================================================================
   HERO REFINEMENTS - 2026 (Added)
   ========================================================================== */

/* Container for the 3 buttons */
.hero-new__actions-container {
  display: flex;
  flex-direction: row !important;
  /* STRICT HORIZONTAL */
  flex-wrap: nowrap !important;
  /* STRICT HORIZONTAL */
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-top: var(--spacing-lg);
}

.hero-new__actions-container>a,
.hero-new__actions-container>button {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (min-width: 1024px) {

  /* Optional: slightly compact buttons if needed */
  .hero-new__actions-container .hero-new__cta-primary,
  .hero-new__actions-container .hero-new__cta-secondary {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 980px) {
  .hero-new__actions-container {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 640px) {
  .hero-new__actions-container {
    justify-content: center;
  }

  .hero-new__actions-container>a,
  .hero-new__actions-container>button {
    width: min(320px, 100%);
    justify-content: center;
  }
}

/* Lower content to show pill */
.hero-new__content {
  padding-top: calc(var(--header-h) + 40px);
}

@media (max-width: 640px) {
  .hero-new__content {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 20px);
  }
}

/* Button Icon Styles */
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  /* Gap handled by flex gap usually, but margin is safe */
}

.btn__icon svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255, 255, 255, 0.95);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Facebook Icon specific style (inherits generic icon styles usually, but ensuring) */
.navbar__facebook-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
}

.navbar__facebook-icon:hover {
  color: #1877F2;
  /* Facebook Brand Color or White */
}

/* Fallback for Instagram button if icon wrapper is missing */
.hero-new__cta-secondary[href*="instagram"] svg {
  margin-right: 8px;
  vertical-align: middle;
}

/* ==========================================================================
   INSTAGRAM PREMIUM BUTTON STYLE (Fixed & Resized)
   ========================================================================== */
.btn--instagram {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.4);
  isolation: isolate;
  /* Creates stacking context to fix layering bugs */
}

/* Pseudo-element for the animated gradient */
.btn--instagram::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg,
      #f58529,
      #feda77,
      #dd2a7b,
      #8134af,
      #515bd4);
  background-size: 300% 300%;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: normal;
  /* Ensure no text fading */
}

/* Ensure content is strictly above the gradient */
.btn--instagram>* {
  position: relative;
  z-index: 2;
  /* Increased to be safe */
}

/* Force text and icon color to avoid disappearance */
.btn--instagram,
.btn--instagram span,
.btn--instagram svg {
  color: #fff;
}

/* Icon Resizing (22px) */
.btn--instagram .btn__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--instagram .btn__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Hover Animation */
@media (hover: hover) {
  .btn--instagram:hover::before {
    opacity: 1;
    animation: ig-gradient-move 1.6s ease infinite;
  }

  .btn--instagram:hover {
    color: #fff !important;
    /* Force white text */
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(221, 42, 123, 0.35);
  }

  /* Prevent text fill issues */
  .btn--instagram:hover span {
    color: #fff !important;
    -webkit-text-fill-color: currentColor;
    opacity: 1 !important;
  }
}

@keyframes ig-gradient-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--instagram:hover::before {
    animation: none;
  }
}

/* Instagram Widget Card */
.ig-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 24px;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

@media (max-width: 768px) {
  .ig-card {
    padding: 16px;
    border-radius: 12px;
  }
}


/* ==========================================================================
   F. NEW INSTAGRAM SECTION (2026 Redesign - Premium Polish)
   ========================================================================== */

.ig-section {
  position: relative;
  /* Espaciado Vertical Premium (Desktop) */
  padding-top: 96px;
  padding-bottom: 110px;
  width: 100%;
  overflow: hidden;
  /* Fondo Base: Blanco a Lavanda muy suave */
  background: linear-gradient(180deg, #FFFFFF 0%, #F9F4FA 100%);
}

/* Background Noise Sutil */
.ig-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* Background Blobs (Efecto de manchas difusas de color) */
.ig-section::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(28, 92, 255, 0.04) 0%, rgba(159, 87, 167, 0.02) 60%, transparent 80%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

/* Título Premium con Jerarquía */
.ig-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem);
  /* Un poco más grande pero bien integrado */
  text-transform: uppercase;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #9F57A7 0%, #1C5CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

/* Pequeño acento subrayado bajo el título */
.ig-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 5px;
  background: linear-gradient(90deg, #9F57A7, #1C5CFF);
  margin: 10px auto 0 auto;
  /* Centrado */
  border-radius: 4px;
}

.ig-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  max-width: 600px;
  margin: 20px auto 40px auto;
  /* Separación clara antes de la tarjeta */
  line-height: 1.6;
}

/* Tarjeta Principal "Premium" */
.ig-card {
  background: #ffffff;
  border-radius: 2.5rem;
  /* rounded-3xl equivalente */
  /* Sombra más sofisticada y suave */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 40px;
  /* Padding interno generoso en Desktop */
  max-width: 1000px;
  /* Ancho controlado */
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Header Estilo Perfil */
.ig-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  /* Separador sutil */
}

@media (min-width: 900px) {
  .ig-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .ig-stats {
    margin-left: auto;
    margin-right: 40px;
  }
}

/* User Info: Avatar + Text */
.ig-user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (min-width: 900px) {
  .ig-user-info {
    flex-direction: row;
    text-align: left;
  }
}

.ig-names {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 900px) {
  .ig-names {
    align-items: flex-start;
  }
}

/* Avatar con aro degradé más fino y elegante */
.ig-avatar-ring {
  padding: 2px;
  /* Más fino */
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* Sombra sutil */
}

.ig-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid #fff;
  /* Borde blanco limpio */
  object-fit: cover;
  display: block;
}

.ig-name {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ig-handle {
  color: var(--color-gray-500);
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
}

.ig-handle:hover {
  color: var(--color-blue);
  text-decoration: none;
}

/* Stats Clean */
.ig-stats {
  display: flex;
  gap: 40px;
  /* Más aire entre stats */
}

.ig-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ig-stat-num {
  font-weight: 800;
  /* Outfit Black/Bold */
  font-size: 1.25rem;
  color: var(--color-dark);
}

.ig-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Botón Action Premium */
.ig-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(90deg, #9F57A7 0%, #1C5CFF 100%);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 20px -4px rgba(28, 92, 255, 0.4);
}

.ig-follow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px -5px rgba(159, 87, 167, 0.5);
  filter: brightness(1.1);
  color: #fff;
}

/* Widget Wrap con Inset Style */
.ig-widget-wrap {
  width: 100%;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 1.5rem;
  padding: 1rem;
  /* Pequeño marco interno */
  min-height: 300px;
}

/* Responsive Specifics */
@media (max-width: 899px) {

  /* Mobile/Tablet Portrait */
  .ig-section {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .ig-card {
    padding: 24px;
    border-radius: 1.5rem;
    margin: 0 1rem;
    /* Espacio lateral seguro */
  }

  .ig-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .ig-stats {
    gap: 24px;
    margin: 10px 0;
  }

  .ig-follow-btn {
    width: 100%;
    /* Botón full en mobile? O mantener pastilla */
    min-width: 200px;
  }

  .ig-title {
    font-size: 2rem;
  }

  .ig-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}

/* ==========================================================================
   G. BIOGRAFÍA SECTION (REDESIGN 2026)
   ========================================================================== */

.bio-section {
  position: relative;
  padding: var(--spacing-3xl) 0;
  overflow: hidden;
  background-color: #FAFAFC;
  /* Off-white base */
}

/* Proyectos section - same style as bio-section */
.proyectos-section {
  position: relative;
  padding: var(--spacing-3xl) 0;
  overflow: hidden;
  background-color: #FAFAFC;
}

/* Background Wash (Gradient sutil) */
.bio-section__bg-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.03) 0%, rgba(28, 92, 255, 0.04) 100%);
  z-index: 0;
}

/* Background Texture (Noise/Ornament) */
.bio-section__bg-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239F57A7' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.bio-container {
  position: relative;
  z-index: 10;
}

/* Grid Layout */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .bio-grid {
    grid-template-columns: 5fr 7fr;
    /* Balanced: Photo slightly smaller than content */
    gap: var(--spacing-3xl);
  }
}

/* Column 1: Photo Card */
.bio-photo-wrapper {
  /* Wrapper for potential positioning */
}

.bio-card-photo {
  position: relative;
  border-radius: 32px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
  background: white;
}

.bio-card-photo:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -12px rgba(28, 92, 255, 0.2);
}

.bio-card-photo__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
  transition: transform 0.5s ease;
}

.bio-card-photo:hover .bio-card-photo__img {
  transform: scale(1.02);
}

/* Gradient Border / Glow */
.bio-card-photo__border {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  border: 2px solid rgba(255, 255, 255, 0.01);
  /* Transparent base */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  /* Inner delicate stroke */
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.3), rgba(28, 92, 255, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  /* This creates a border effect via mask but simple border is safer for cross-browser if mask fails. 
       Let's stick to simple overlay for Glow Effect requested */
  background: none;
  border: 2px solid transparent;
  /* We'll use a pseudo element for the gradient border if needed, or just box-shadow */
}

/* Let's redo the border glow to be simpler and more robust */
.bio-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 2px;
  /* Border width */
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.3), rgba(28, 92, 255, 0.3));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.bio-card-photo:hover::after {
  opacity: 1;
  background: linear-gradient(135deg, rgba(159, 87, 167, 0.8), rgba(28, 92, 255, 0.8));
}


/* Column 2: Content */
.bio-content {
  display: flex;
  flex-direction: column;
}

/* Header Typography */
.bio-header {
  margin-bottom: var(--spacing-lg);
}

.bio-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, #9F57A7 0%, #1C5CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.bio-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  max-width: 600px;
  font-weight: 500;
  line-height: 1.6;
}

/* Chips Grid */
.bio-chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
  .bio-chips {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Chip Item */
.bio-chip {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  background: white;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Very subtle border */
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.bio-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -4px rgba(0, 0, 0, 0.08);
  /* Lift effect */
  border-color: rgba(159, 87, 167, 0.3);
  /* Subtle magenta border on hover */
}

.bio-chip__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(159, 87, 167, 0.08);
  /* Light magenta tint */
  color: var(--color-magenta);
  border-radius: 12px;
  transition: background 0.3s ease;
}

.bio-chip:hover .bio-chip__icon {
  background: var(--color-magenta);
  color: white;
}

/* Alternate colors for visual rhythm */
.bio-chip:nth-child(even) .bio-chip__icon {
  background: rgba(28, 92, 255, 0.08);
  color: var(--color-blue);
}

.bio-chip:nth-child(even):hover .bio-chip__icon {
  background: var(--color-blue);
  color: white;
}

.bio-chip:nth-child(even):hover {
  border-color: rgba(28, 92, 255, 0.3);
}

.bio-chip__text {
  font-size: 0.95rem;
  color: var(--color-gray-700);
  font-weight: 500;
  line-height: 1.4;
  padding-top: 2px;
}

/* CTA Pill */
.bio-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--color-dark);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 100px;
  /* Pill */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 8px 15px rgba(44, 44, 49, 0.15);
  text-decoration: none;
}

.bio-btn:hover {
  background: var(--color-blue);
  /* Fallback */
  background: linear-gradient(90deg, #9F57A7 0%, #1C5CFF 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(28, 92, 255, 0.35);
  color: white;
}

.bio-btn svg {
  transition: transform 0.3s ease;
}

.bio-btn:hover svg {
  transform: translateX(4px);
}

/* Animations */
.fade-up {
  transform: translateY(40px);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000),
    transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000);
  will-change: transform, opacity;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 150ms;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
  .bio-title {
    font-size: 2.25rem;
  }

  .bio-chips {
    grid-template-columns: 1fr;
    /* Stack chips on mobile */
  }

  .bio-btn {
    width: 100%;
    justify-content: center;
  }

  .bio-card-photo {
    border-radius: 24px;
    max-width: 400px;
    /* Prevent it from being too huge */
    margin: 0 auto;
  }
}
/* --------------------------------------------------------------------------
   PRENSA BADGES
   -------------------------------------------------------------------------- */
.prensa-card__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: white;
}

.badge-blue {
  background-color: var(--color-blue);
}

.badge-magenta {
  background-color: var(--color-magenta);
}

.badge-purple {
  background-color: #7c3aed; /* Violeta sobrio */
}

.badge-orange {
  background-color: var(--color-orange);
}

.badge-turquoise, .badge-green {
  background-color: var(--color-turquoise);
}

.badge-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%); /* Celeste/Degrad */
}

.badge-gray {
  background-color: var(--color-gray-500);
}

.badge-gradient {
  background: var(--gradient-brand);
}

/* SEARCH & FILTER STYLES */
#prensa-search:focus {
    box-shadow: 0 0 0 3px rgba(28, 92, 255, 0.1);
}
#prensa-category-select {
    background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' fill=\'none\' viewBox=\'0 0 20 20\'%3e%3cpath stroke=\'%236b7280\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'1.5\' d=\'M6 8l4 4 4-4\'/%3e%3c/svg%3e');
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}


/* PRENSA DETAIL IMAGE FIX (Added by Antigravity) */
.prensa-detail__image-container {
    position: relative;
    margin-bottom: 3.5rem;
    border-radius: 18px;
    overflow: hidden; 
    display: grid;
    place-items: center;
    width: 100%;
    background: rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
}

.prensa-detail__image {
    display: block;
    max-width: 100%;
    max-height: 70vh; 
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    transition: transform 0.5s ease;
}
