/* =========================================
   EXPERIENCIA POSITIVA — Stylesheet
   ========================================= */

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

:root {
  --brand-dark:    #36363d;
  --brand-blue:    #2ca3ea;
  --brand-border:  #e0e0e0;
  --brand-gray-bg: #f8f9fa;
  --white:         #ffffff;
  --gray-400:      #9ca3af;
  --gray-500:      #6b7280;
  --gray-600:      #4b5563;
  --red-500:       #ef4444;

  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-head: 'Outfit', sans-serif;

  --px: clamp(1.5rem, 6%, 7rem);
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  color: var(--brand-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--px);
}

.scroll-mt { scroll-margin-top: 6rem; }

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--right {
  transform: translateX(2rem);
}
.reveal.active {
  opacity: 1;
  transform: none;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 5rem;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition), height var(--transition);
}
.navbar.scrolled {
  height: 4rem;
  background: var(--white);
  box-shadow: 0 1px 12px rgba(0,0,0,0.07);
}
.navbar-logo img {
  height: 3rem;
  object-fit: contain;
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Nav menu */
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--brand-border);
  border-radius: 0.375rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.nav-link:hover {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}
.nav-link--cta {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}
.nav-link--cta:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

/* Mobile menu overlay */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand-dark);
  z-index: 110;
}
.menu-toggle svg { width: 2rem; height: 2rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  .nav-link { font-size: 1rem; padding: 0.75rem 1.5rem; }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn--dark {
  background: var(--brand-dark);
  color: var(--white);
  border-color: var(--brand-dark);
}
.btn--dark:hover {
  background: transparent;
  color: var(--brand-dark);
}
.btn--blue {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}
.btn--blue:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}
.btn--outline {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--brand-dark);
}
.btn--outline:hover {
  background: var(--brand-dark);
  color: var(--white);
}
.btn--white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn--white-outline:hover { background: rgba(255,255,255,0.1); }
.btn--sm { padding: 0.6rem 1.25rem; }
.btn--full { display: block; width: 100%; text-align: center; padding: 1.1rem; border-radius: 0.75rem; }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 90vh;
  padding: 9rem var(--px) 6rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  border-bottom: 1px solid var(--brand-border);
}
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 8rem; }
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(44,163,234,0.1);
  color: var(--brand-blue);
  border-radius: 9999px;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-accent {
  color: var(--brand-blue);
  text-decoration: underline;
  text-decoration-color: rgba(44,163,234,0.3);
  text-underline-offset: 0.5rem;
}

.hero-sub {
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--gray-600);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--brand-border);
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-dark);
}
.stat-ted { color: #eb0028 !important; }
.stat span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gray-400);
  line-height: 1.4;
  margin-top: 0.25rem;
  display: block;
}

.hero-image {
  position: relative;
  height: 600px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.12);
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(54,54,61,0.2), transparent);
  z-index: 1;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.7s ease;
}
.hero-image:hover img { filter: grayscale(0); }

@media (max-width: 1024px) {
  .hero-image { height: 420px; }
}

/* =========================================
   LOGOS MARQUEE
   ========================================= */
.logos-section {
  background: var(--brand-gray-bg);
  padding: 3rem 0;
  border-bottom: 1px solid var(--brand-border);
  overflow: hidden;
}
.logos-track { overflow: hidden; }
.logos-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 35s linear infinite;
  padding: 0 2rem;
}
.logos-inner img {
  width: 8rem;
  height: 3.5rem;
  object-fit: contain;
  object-position: center;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}
.logos-inner img:hover { opacity: 1; filter: grayscale(0); transform: scale(1.08); }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
   PROBLEM
   ========================================= */
.problem-section {
  background: var(--brand-dark);
  color: var(--white);
  padding: 6rem var(--px);
}
.problem-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
@media (max-width: 900px) {
  .problem-header { grid-template-columns: 1fr; }
}
.problem-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.problem-image img { width: 100%; height: 100%; object-fit: cover; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card { cursor: default; }
.problem-line {
  width: 3rem; height: 2px;
  background: var(--brand-blue);
  margin-bottom: 2rem;
  transition: width 0.5s ease;
}
.problem-card:hover .problem-line { width: 100%; }
.problem-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.problem-card p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.7; }

/* =========================================
   METHOD
   ========================================= */
.method-section {
  padding: 6rem var(--px);
  background: var(--white);
}
.section-header {
  border-left: 8px solid var(--brand-blue);
  padding-left: 2.5rem;
  margin-bottom: 4rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-title--white { color: var(--white); }
.section-title--italic { font-style: italic; letter-spacing: -0.03em; }
.section-sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  font-weight: 300;
  max-width: 40rem;
}
.section-sub--gray { color: var(--gray-400); max-width: 44rem; }
.section-sub--italic { font-style: italic; font-size: 1.4rem; margin: 0 auto; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--brand-border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  gap: 1px;
  background: var(--brand-border);
}
@media (max-width: 900px) { .method-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .method-grid { grid-template-columns: 1fr; } }

.method-card {
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 18rem;
  cursor: default;
  transition: background 0.3s ease;
}
.method-card:hover { background: var(--brand-blue); }
.method-num {
  display: block;
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 900;
  color: var(--brand-blue);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: auto;
  transition: color 0.3s, opacity 0.3s;
}
.method-card:hover .method-num { color: var(--white); opacity: 0.25; }
.method-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.method-card:hover h3 { color: var(--white); }
.method-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; transition: color 0.3s; }
.method-card:hover p { color: rgba(255,255,255,0.8); }

/* =========================================
   TRANQUILIDAD PROACTIVA
   ========================================= */
.tq-section {
  background: var(--brand-dark);
  padding: 5rem var(--px);
}
.tq-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.tq-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}
.tq-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.tq-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin: 0 auto 3rem;
}
.tq-pillars {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}
.tq-pillar {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
}
.tq-pillar-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}
.tq-pillar h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.tq-pillar p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}
.tq-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .tq-pillars { flex-direction: column; gap: 2rem; }
  .tq-divider { display: none; }
  .tq-pillar { padding: 0; }
}

/* =========================================
   IMPACT
   ========================================= */
.impact-section {
  background: var(--brand-gray-bg);
  padding: 6rem var(--px);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.impact-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--brand-blue);
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 0.25rem;
  transition: gap 0.3s;
}
.link-arrow:hover { gap: 1rem; }
.link-disabled {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gray-400);
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.25rem;
  display: inline-block;
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 900px) { .impact-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .impact-cards { grid-template-columns: 1fr; } }

.impact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224,224,224,0.5);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.impact-icon {
  width: 3rem; height: 3rem;
  background: rgba(44,163,234,0.1);
  color: var(--brand-blue);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.impact-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.impact-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  aspect-ratio: 3/2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: box-shadow 0.5s;
}
.gallery-item:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.18); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

/* =========================================
   PUBLICATIONS
   ========================================= */
.publications-section {
  padding: 6rem var(--px);
  background: var(--white);
}
.publications-section > .container > .reveal { margin-bottom: 4rem; }

.pub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) { .pub-grid { grid-template-columns: 1fr; } }

.pub-card {
  background: var(--brand-gray-bg);
  border: 1px solid var(--brand-border);
  padding: 3rem;
  border-radius: var(--radius-xl);
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  transition: border-color 0.3s;
}
.pub-card:hover { border-color: var(--brand-blue); }
@media (max-width: 600px) { .pub-card { flex-direction: column; align-items: center; text-align: center; } }

.pub-book {
  width: 10rem;
  height: 15rem;
  flex-shrink: 0;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
  transition: transform 0.5s ease;
}
.pub-card:hover .pub-book { transform: translateY(-0.75rem); }
.pub-book img { width: 100%; height: 100%; object-fit: cover; }

.pub-info { display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; }
.pub-info h3 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.pub-info p { color: var(--gray-500); font-size: 1rem; line-height: 1.7; font-weight: 300; }

/* =========================================
   PRESS
   ========================================= */
.press-section {
  padding: 6rem var(--px);
  background: var(--brand-gray-bg);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.press-section > .container > .reveal { margin-bottom: 4rem; }

.press-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.press-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.press-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  transform: translateY(-0.25rem);
}
@media (max-width: 600px) { .press-card { flex-direction: column; align-items: center; text-align: center; } }

.press-preview {
  width: 9rem;
  height: 9rem;
  flex-shrink: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.press-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.press-card:hover .press-preview img { transform: scale(1.06); }
@media (max-width: 600px) { .press-preview { width: 7rem; height: 7rem; } }

.press-body { display: flex; flex-direction: column; gap: 0.75rem; }
.press-outlet {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
}
.press-body h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--brand-dark);
}
.press-body p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 300;
}
.press-body .link-arrow { margin-top: 0.25rem; }

/* =========================================
   TEAM
   ========================================= */
.team-section {
  background: var(--brand-dark);
  color: var(--white);
  padding: 6rem var(--px);
}
.team-header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 6rem;
}

.team-members { display: flex; flex-direction: column; gap: 6rem; }
.team-member {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.team-member--reverse { direction: rtl; }
.team-member--reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .team-member { grid-template-columns: 1fr; }
  .team-member--reverse { direction: ltr; }
}

.team-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  filter: grayscale(1);
  transition: filter 1s ease;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.team-photo:hover { filter: grayscale(0); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-bio { display: flex; flex-direction: column; gap: 1.5rem; }
.team-role {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--brand-blue);
}
.team-bio h3 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.team-bio p { color: var(--gray-400); font-size: 1.15rem; font-weight: 300; line-height: 1.7; }

.team-social { display: flex; gap: 1rem; padding-top: 1rem; }
.team-social a {
  width: 3rem; height: 3rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.3s, color 0.3s;
}
.team-social a:hover { background: var(--white); color: var(--brand-dark); }

/* =========================================
   CONTACT
   ========================================= */
.contact-section {
  padding: 6rem var(--px);
  background: var(--white);
}
.contact-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 768px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-card {
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--brand-border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  transition: border-color 0.3s;
}
.contact-card:hover { border-color: var(--brand-blue); }
.contact-card--featured {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
  transform: scale(1.04);
  box-shadow: 0 20px 48px rgba(0,0,0,0.15);
  z-index: 1;
}
.contact-card--featured:hover { border-color: var(--brand-blue); }
.contact-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
}
.contact-card--featured h3 { color: var(--white); }
.contact-card p { font-size: 0.9rem; line-height: 1.6; color: var(--gray-500); flex: 1; }
.contact-card--featured p { color: var(--gray-400); }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--brand-dark);
  padding: 4rem var(--px);
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-logo img { height: 3rem; object-fit: contain; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a {
  color: var(--gray-400);
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--brand-blue); }

.footer-text {
  max-width: 28rem;
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-copy { text-align: right; color: var(--gray-400); font-size: 0.85rem; }
.footer-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  margin-top: 0.5rem;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .footer { flex-direction: column; text-align: center; align-items: center; }
  .footer-logo { display: flex; flex-direction: column; align-items: center; }
  .footer-copy { text-align: center; }
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 4rem; height: 4rem;
  background: #25d366;
  color: var(--white);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  z-index: 50;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 2.25rem; height: 2.25rem; }

/* =========================================
   PROGRAMA PAGE
   ========================================= */
.prog-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 5rem;
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-border);
}
.prog-navbar img { height: 3rem; object-fit: contain; }

/* Program Hero */
.prog-hero {
  background: var(--brand-dark);
  color: var(--white);
  padding: 9rem var(--px) 5rem;
  text-align: center;
}
.prog-hero .badge { background: rgba(44,163,234,0.2); }
.prog-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 1.5rem auto;
  max-width: 52rem;
}
.prog-hero-sub {
  font-size: 1.25rem;
  color: var(--gray-400);
  font-weight: 300;
  max-width: 40rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
}
.prog-video {
  max-width: 64rem;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}
.prog-video iframe { width: 100%; height: 100%; border: none; display: block; }

.prog-intro {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}
@media (max-width: 900px) { .prog-intro { grid-template-columns: 1fr; } }

.prog-intro-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}
.prog-intro-image img { width: 100%; height: 100%; object-fit: cover; }

.prog-intro-points {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.prog-point {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.prog-point:last-child { border-bottom: none; padding-bottom: 0; }
.prog-point-circle {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44,163,234,0.08);
  border-radius: 9999px;
}
.prog-point-circle svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.prog-point-circle circle {
  fill: none;
  stroke: var(--brand-blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  animation: ring-draw 1.4s ease-out forwards;
}
.prog-point:nth-child(2) .prog-point-circle circle { animation-delay: 0.3s; }
.prog-point:nth-child(3) .prog-point-circle circle { animation-delay: 0.6s; }

@keyframes ring-draw {
  from { stroke-dashoffset: 176; }
  to   { stroke-dashoffset: 0; }
}

.prog-point-num {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brand-blue);
  text-align: center;
}
.prog-point p {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
}

/* Diagnostic */
.diag-section {
  padding: 6rem var(--px);
  background: var(--white);
}
.diag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 76rem;
  margin: 0 auto;
}
@media (max-width: 900px) { .diag-grid { grid-template-columns: 1fr; } }
.diag-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  border-left: 8px solid var(--brand-blue);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.diag-sub { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 2.5rem; line-height: 1.7; font-weight: 300; }

.diag-items { display: flex; flex-direction: column; gap: 1rem; }
.diag-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--brand-gray-bg);
  border: 1px solid rgba(224,224,224,0.05);
  transition: border-color 0.3s;
}
.diag-item:hover { border-color: var(--brand-blue); }
.diag-x {
  width: 2rem; height: 2rem;
  background: var(--white);
  color: var(--red-500);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  margin-top: 0.1rem;
}
.diag-x svg { width: 1.1rem; height: 1.1rem; }
.diag-item h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.diag-item p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

.diag-quote {
  background: var(--brand-dark);
  padding: 3.5rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.15);
}
.diag-quote-bg {
  position: absolute;
  top: 0; right: 0;
  padding: 2rem;
  opacity: 0.06;
}
.diag-quote-bg svg { width: 8rem; height: 8rem; color: var(--white); }
.diag-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.diag-quote-attr {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.diag-quote-photo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--brand-blue);
}
.diag-quote-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}
.diag-quote-role {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  margin-top: 0.15rem;
}

/* Structure */
.struct-section {
  background: var(--brand-gray-bg);
  padding: 6rem var(--px);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.struct-section .contact-header { margin-bottom: 4rem; }

.struct-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) { .struct-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .struct-cards { grid-template-columns: 1fr; } }

.struct-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(224,224,224,0.3);
  transition: transform 0.3s;
}
.struct-card:hover { transform: translateY(-0.5rem); }
.struct-icon {
  width: 3rem; height: 3rem;
  background: var(--brand-blue);
  color: var(--white);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 6px 16px rgba(44,163,234,0.25);
}
.struct-icon svg { width: 1.5rem; height: 1.5rem; }
.struct-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.struct-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.65; font-weight: 300; }

/* Photo strip marquee */
.photo-strip {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--brand-border);
  overflow: hidden;
}
.photo-strip-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 60s linear infinite;
  padding: 0 1rem;
}
.photo-strip-item {
  width: 22rem;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.photo-strip-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.7s;
}
.photo-strip-item:hover img { filter: grayscale(0); }
.photo-strip-label {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
}

/* Results */
.results-section {
  padding: 6rem var(--px);
  background: var(--white);
  max-width: 1400px;
  margin: 0 auto;
}
.results-header {
  border-left: 8px solid var(--brand-blue);
  padding-left: 2rem;
  margin-bottom: 4rem;
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) { .results-grid { grid-template-columns: 1fr; } }

.results-card {
  padding: 3rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--brand-border);
  transition: box-shadow 0.5s;
}
.results-card:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.1); }
.results-card--dark {
  background: var(--brand-dark);
  color: var(--white);
  border-color: var(--brand-dark);
}
.results-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 4px solid var(--brand-blue);
  display: inline-block;
}
.results-list { display: flex; flex-direction: column; gap: 1.5rem; }
.results-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  color: var(--gray-600);
}
.results-card--dark .results-item { color: var(--gray-400); }
.check-circle {
  width: 1.5rem; height: 1.5rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: rgba(44,163,234,0.1);
  color: var(--brand-blue);
}
.results-card--dark .check-circle {
  background: var(--brand-blue);
  color: var(--white);
}
.check-circle svg { width: 1rem; height: 1rem; }
.results-item span { font-size: 1rem; font-weight: 300; line-height: 1.4; }

/* Admission CTA */
.admission-section {
  background: var(--brand-blue);
  color: var(--white);
  padding: 7rem var(--px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.admission-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.admission-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 36rem;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.7;
}
.admission-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn--white {
  background: var(--white);
  color: var(--brand-blue);
  border-color: var(--white);
  font-size: 0.8rem;
  padding: 1.25rem 3rem;
  border-radius: 1rem;
  transform: scale(1.03);
}
.btn--white:hover {
  background: var(--brand-dark);
  color: var(--white);
  border-color: var(--brand-dark);
}
