/* ============================================================= */
/* NK CHAMBERGO · style.css                                       */
/* Estilos, animaciones y componentes personalizados              */
/* ============================================================= */

:root {
  --brand: #8b4789;
  --brand-700: #5e305d;
  --brand-900: #311931;
  --gold: #d4af37;
  --sky2: #60a5fa;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; width: 100%; }
body { -webkit-font-smoothing: antialiased; position: relative; }

/* Selección de texto */
::selection { background: var(--brand); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-700); }

/* ============================================================= */
/* PRELOADER                                                      */
/* ============================================================= */
#preloader { transition: opacity .6s ease, visibility .6s ease; }
#preloader.hidden-preloader { opacity: 0; visibility: hidden; }
.preloader-logo { animation: pulseScale 1.4s ease-in-out infinite; }
.preloader-bar { width: 0; animation: loadBar 1.6s ease forwards; }
@keyframes loadBar { to { width: 100%; } }
@keyframes pulseScale { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ============================================================= */
/* NAVBAR                                                         */
/* ============================================================= */
#navbar #logo-text, #navbar #logo-sub, #navbar .nav-item { color: #fff; }
#navbar.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(31,41,55,.10);
}
#navbar.scrolled #logo-text { color: #1f2937; }
#navbar.scrolled #logo-sub { color: #8b4789; }
#navbar.scrolled .nav-item { color: #374151; }

.nav-item {
  position: relative;
  padding: .5rem .85rem;
  border-radius: 9999px;
  transition: color .3s, background .3s;
}
.nav-item::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .3s ease;
}
.nav-item:hover::after { width: 50%; }
#navbar.scrolled .nav-item:hover { color: var(--brand); }
#navbar:not(.scrolled) .nav-item:hover { background: rgba(255,255,255,.15); }

/* Item Intranet (acceso) */
.nav-intranet {
  border: 1.5px solid rgba(255,255,255,.45); border-radius: 9999px; gap: .4rem;
}
.nav-intranet:hover { background: var(--gold) !important; border-color: var(--gold); color: var(--brand-900) !important; }
.nav-intranet::after { display: none; }
#navbar.scrolled .nav-intranet { border-color: var(--brand); color: var(--brand) !important; }
#navbar.scrolled .nav-intranet:hover { background: var(--brand); border-color: var(--brand); color: #fff !important; }

/* Dropdown "Propuesta Educativa" (desktop) */
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border-radius: 1rem; padding: .5rem;
  box-shadow: 0 22px 50px rgba(31,41,55,.18); border: 1px solid #f1f5f9;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s; z-index: 60;
}
.nav-dropdown::before { /* puente invisible para no perder el hover */
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.group:hover .nav-dropdown,
.group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li a {
  display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem;
  border-radius: .65rem; color: #374151 !important; font-size: .95rem; transition: all .25s;
}
.nav-dropdown li a:hover { background: #f7eef7; color: var(--brand) !important; padding-left: 1.15rem; }
.nav-dropdown li a i { color: var(--brand); width: 1.15rem; text-align: center; }

/* Botón hamburguesa: visible sobre el hero (morado) y sobre el navbar blanco */
#burger {
  background: rgba(255,255,255,.18); color: #fff;
  border: 1px solid rgba(255,255,255,.4); transition: all .3s;
}
#burger:hover { background: rgba(255,255,255,.3); }
#navbar.scrolled #burger {
  background: var(--brand); color: #fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(139,71,137,.35);
}

/* Mobile menu */
#mobile-menu { overflow-x: hidden; } /* evita que el panel off-canvas genere scroll horizontal */
#mobile-menu.open { visibility: visible; opacity: 1; }
#mobile-submenu.open { max-height: 320px; }
#mobile-submenu-btn[aria-expanded="true"] #mobile-submenu-chevron { transform: rotate(180deg); }
.mobile-sublink {
  display: flex; align-items: center; gap: .25rem; padding: .7rem 1rem;
  border-radius: .75rem; font-size: .95rem; color: #4b5563; transition: background .25s, color .25s;
}
.mobile-sublink:hover { background: #f7eef7; color: var(--brand); }
#mobile-menu.open #mobile-panel { transform: translateX(0); }
.mobile-link {
  display: flex; align-items: center; gap: .25rem;
  padding: .85rem 1rem; border-radius: .85rem;
  transition: background .25s, color .25s;
}
.mobile-link:hover { background: #f7eef7; color: var(--brand); }

/* ============================================================= */
/* HERO                                                           */
/* ============================================================= */
.hero-gradient {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(96,165,250,.35), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(212,175,55,.25), transparent 55%),
    linear-gradient(135deg, #5e305d 0%, #8b4789 45%, #472448 100%);
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(600px 600px at var(--mx,50%) var(--my,30%), rgba(255,255,255,.12), transparent 60%);
  pointer-events: none; transition: background .2s;
}
.hero-rings {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(255,255,255,.06) 0 1px, transparent 1px 60px);
  opacity: .6; pointer-events: none;
  animation: spinSlow 60s linear infinite;
}
@keyframes spinSlow { to { transform: translateY(-50%) rotate(360deg); } }

.floating-shape {
  position: absolute; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(2px); opacity: .5; pointer-events: none;
}
.shape-1 { width: 120px; height: 120px; left: 8%; top: 20%; background: rgba(212,175,55,.35); animation: floatY 7s ease-in-out infinite; }
.shape-2 { width: 180px; height: 180px; right: 12%; bottom: 12%; background: rgba(96,165,250,.30); animation: floatY 9s ease-in-out infinite reverse; }
.shape-3 { width: 80px; height: 80px; left: 45%; top: 12%; background: rgba(255,255,255,.18); animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-30px) rotate(20deg); } }

/* Particles */
.particle {
  position: absolute; background: rgba(255,255,255,.6);
  border-radius: 50%; pointer-events: none;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: .8; }
  100% { transform: translateY(-110vh) scale(.3); opacity: 0; }
}

/* Floating cards */
.glass-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.float-card { animation: floatCard 5s ease-in-out infinite; }
.float-card[data-float="2"] { animation-delay: .8s; }
.float-card[data-float="3"] { animation-delay: 1.6s; }
.float-card[data-float="4"] { animation-delay: 2.4s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.text-gradient-gold {
  background: linear-gradient(90deg, #ffe9a8, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Hero buttons */
.btn-primary, .btn-glass, .btn-outline-light, .btn-primary-dark {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 9999px;
  font-weight: 600; transition: all .3s ease;
}
.btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.btn-glass {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: var(--gold); border-color: var(--gold); color: var(--brand-900); transform: translateY(-3px); }
.btn-primary-dark { background: linear-gradient(90deg, var(--brand), var(--brand-700)); color:#fff; box-shadow: 0 12px 30px rgba(139,71,137,.35); }
.btn-primary-dark:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(139,71,137,.5); }

/* ============================================================= */
/* SECTION HEADERS                                                */
/* ============================================================= */
.section-eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .8rem; color: var(--brand);
  margin-bottom: .9rem;
}
.section-title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; color: #1f2937;
}
.section-sub { margin: 1rem auto 0; max-width: 640px; color: #6b7280; font-size: 1.05rem; }

/* ============================================================= */
/* SWIPER SHOWCASE                                                */
/* ============================================================= */
.showcaseSwiper { width: 100%; padding: 20px 0 50px; }
.showcaseSwiper .swiper-slide { width: 340px; }
.showcase-slide {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  height: 460px; box-shadow: 0 20px 50px rgba(31,41,55,.18);
}
.showcase-slide img { width: 100%; height: 100%; object-fit: cover; }
.showcase-overlay {
  position: absolute; inset: 0; padding: 1.8rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(49,25,49,.92) 10%, rgba(49,25,49,.3) 55%, transparent);
  color: #fff;
}
.showcase-tag {
  align-self: flex-start; background: var(--gold); color: var(--brand-900);
  font-weight: 700; font-size: .75rem; padding: .3rem .8rem; border-radius: 9999px;
  margin-bottom: .7rem; text-transform: uppercase; letter-spacing: .05em;
}
.showcase-overlay h3 { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700; }
.showcase-overlay p { color: rgba(255,255,255,.8); font-size: .92rem; margin: .4rem 0 1rem; }
.showcase-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  padding: .55rem 1.1rem; border-radius: 9999px; font-weight: 600; font-size: .9rem;
  backdrop-filter: blur(6px); transition: all .3s;
}
.showcase-btn:hover { background: #fff; color: var(--brand); }

.swiper-button-next, .swiper-button-prev { color: var(--brand); }
.swiper-pagination-bullet-active { background: var(--brand); }

/* ============================================================= */
/* NOSOTROS                                                       */
/* ============================================================= */
.value-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #f7eef7; color: var(--brand-700);
  padding: .55rem 1rem; border-radius: 9999px; font-weight: 600; font-size: .9rem;
  border: 1px solid #eed8ed; transition: all .3s;
}
.value-chip:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

/* ============================================================= */
/* LEVEL CARDS                                                    */
/* ============================================================= */
.level-card {
  background: #fff; border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 10px 30px rgba(31,41,55,.08);
  transition: transform .4s ease, box-shadow .4s ease;
}
.level-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 28px 60px rgba(139,71,137,.25);
}
.level-cover {
  height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center; padding: 0 1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
}
.level-cover::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(140px 140px at 82% 18%, rgba(255,255,255,.18), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px);
}
.level-cover span {
  position: relative; z-index: 1; color: #fff; font-family: 'Sora', sans-serif;
  font-weight: 800; letter-spacing: .12em; font-size: 1.55rem; line-height: 1.1;
  text-transform: uppercase; transition: transform .5s ease;
}
.level-card:hover .level-cover span { transform: scale(1.08); }
.lv-1 { background: linear-gradient(135deg, #b562b1, #763c74); }
.lv-2 { background: linear-gradient(135deg, #9d4f9b, #5e305d); }
.lv-3 { background: linear-gradient(135deg, #8b4789, #472448); }
.lv-4 { background: linear-gradient(135deg, #763c74, #311931); }
.level-body { padding: 1.6rem; }
.level-icon {
  width: 54px; height: 54px; border-radius: 1rem; display: flex;
  align-items: center; justify-content: center; font-size: 1.4rem; margin: -3rem 0 1rem;
  position: relative; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.level-body h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.3rem; }
.level-body p { color: #6b7280; font-size: .92rem; margin: .5rem 0 1.1rem; }
.level-link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600;
  color: var(--brand); transition: gap .3s;
}
.level-link:hover { gap: .85rem; }

/* ============================================================= */
/* DIFERENCIALES                                                  */
/* ============================================================= */
.diff-card {
  background: #fff; border: 1px solid #f1f5f9; border-radius: 1.25rem;
  padding: 1.8rem; text-align: center; transition: all .4s ease;
}
.diff-card i {
  font-size: 1.8rem; color: var(--brand);
  width: 64px; height: 64px; line-height: 64px; border-radius: 1rem;
  background: #f7eef7; display: inline-block; margin-bottom: 1rem; transition: all .4s;
}
.diff-card h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; }
.diff-card p { color: #6b7280; font-size: .9rem; }
.diff-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(139,71,137,.18); border-color: transparent; }
.diff-card:hover i { background: var(--brand); color: #fff; transform: rotateY(360deg); }

/* ============================================================= */
/* ACADEMIA PREUNIVERSITARIA                                      */
/* ============================================================= */
.academia-dark {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(139,71,137,.5), transparent 60%),
    linear-gradient(135deg, #1f2937 0%, #311931 60%, #0f172a 100%);
}
.academia-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.1rem; padding: 1.3rem; transition: all .35s; backdrop-filter: blur(4px);
}
.academia-feature:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(212,175,55,.4); }
.academia-feature i { color: var(--gold); font-size: 1.4rem; margin-top: .2rem; }
.academia-feature h4 { color: #fff; font-weight: 700; margin-bottom: .25rem; }
.academia-feature p { color: rgba(255,255,255,.65); font-size: .88rem; }

.academia-cta {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.5rem; padding: 2rem; backdrop-filter: blur(6px);
}
.uni-badge {
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.35);
  color: var(--gold); font-weight: 800; padding: .8rem; border-radius: .85rem;
  letter-spacing: .05em; transition: all .3s;
}
.uni-badge:hover { background: var(--gold); color: var(--brand-900); }

/* ============================================================= */
/* INGRESANTES                                                    */
/* ============================================================= */
.ingresantesSwiper .swiper-slide { height: auto; }
.ingresante-card {
  background: #fff; border-radius: 1.4rem; padding: 1.8rem 1.4rem 1.6rem;
  text-align: center; box-shadow: 0 12px 35px rgba(31,41,55,.10);
  border: 1px solid #f1f5f9; height: 100%; transition: all .4s;
}
.ingresante-card:hover { transform: translateY(-8px); box-shadow: 0 24px 55px rgba(139,71,137,.22); }
.ingresante-photo {
  width: 110px; height: 110px; margin: 0 auto 1rem; border-radius: 50%;
  padding: 4px; background: linear-gradient(135deg, var(--brand), var(--gold));
}
.ingresante-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.ingresante-logo {
  width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff;
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.ingresante-logo span {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.8rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ingresante-score {
  display: inline-block; background: #f7eef7; color: var(--brand-700);
  font-weight: 700; font-size: .75rem; padding: .3rem .8rem; border-radius: 9999px; margin-bottom: .7rem;
}
.ingresante-card h4 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; }
.ingresante-card .career { color: var(--brand); font-weight: 600; font-size: .92rem; margin-top: .2rem; }
.ingresante-card .uni { color: #6b7280; font-size: .85rem; margin-top: .4rem; }

/* ============================================================= */
/* MASONRY / GALERÍA                                              */
/* ============================================================= */
.masonry { column-count: 1; column-gap: 1rem; }
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
@media (min-width: 1280px) { .masonry { column-count: 4; } }
.masonry-item {
  break-inside: avoid; margin-bottom: 1rem; border-radius: 1rem; overflow: hidden;
  position: relative; cursor: pointer; box-shadow: 0 8px 24px rgba(31,41,55,.10);
}
.masonry-item img { width: 100%; display: block; transition: transform .6s ease; }
.masonry-item:hover img { transform: scale(1.1); }
.masonry-item figcaption {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem;
  background: linear-gradient(to top, rgba(49,25,49,.8), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.masonry-item:hover figcaption { opacity: 1; }
.masonry-item figcaption span { color: #fff; font-weight: 700; }
.gallery-item { transition: opacity .4s, transform .4s; }
.gallery-item.hide { display: none; }

.gallery-filter {
  padding: .55rem 1.2rem; border-radius: 9999px; font-weight: 600; font-size: .9rem;
  background: #fff; color: #374151; border: 1px solid #e5e7eb; transition: all .3s;
}
.gallery-filter:hover { border-color: var(--brand); color: var(--brand); }
.gallery-filter.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================= */
/* RESULTADOS                                                     */
/* ============================================================= */
.result-card {
  background: #fff; border-radius: 1.4rem; padding: 2rem; text-align: center;
  border: 1px solid #f1f5f9; box-shadow: 0 10px 30px rgba(31,41,55,.06); transition: all .4s;
}
.result-card i {
  font-size: 2rem; color: var(--gold); background: var(--brand-900);
  width: 70px; height: 70px; line-height: 70px; border-radius: 1.2rem;
  display: inline-block; margin-bottom: 1rem;
}
.result-card h4 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: .5rem; }
.result-card p { color: #6b7280; font-size: .92rem; }
.result-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(139,71,137,.18); }

/* ============================================================= */
/* STATS                                                          */
/* ============================================================= */
.counter { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; }
.counter::after { content: "+"; }
.stat-label { display: block; margin-top: .5rem; color: rgba(255,255,255,.8); font-weight: 500; letter-spacing: .03em; }

/* ============================================================= */
/* CAMPAÑAS                                                       */
/* ============================================================= */
.campaignSwiper .swiper-slide { height: auto; }
.campaign-card {
  height: 100%; border-radius: 1.5rem; padding: 2rem; color: #fff;
  background-image: linear-gradient(135deg, var(--tw-gradient-stops));
  box-shadow: 0 16px 40px rgba(31,41,55,.18); position: relative; overflow: hidden;
  min-height: 240px; display: flex; flex-direction: column; transition: transform .4s;
}
.campaign-card:hover { transform: translateY(-6px); }
.campaign-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.12);
}
.campaign-label {
  align-self: flex-start; background: rgba(255,255,255,.22); font-size: .72rem; font-weight: 700;
  padding: .3rem .8rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem;
}
.campaign-card h3 { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 800; }
.campaign-card p { color: rgba(255,255,255,.85); margin: .5rem 0 1.3rem; font-size: .92rem; flex: 1; }
.campaign-btn {
  align-self: flex-start; background: #fff; color: var(--brand); font-weight: 700;
  padding: .6rem 1.3rem; border-radius: 9999px; transition: all .3s;
}
.campaign-btn:hover { transform: translateX(4px); }

/* ============================================================= */
/* TESTIMONIOS                                                    */
/* ============================================================= */
.testimonial-card {
  background: #fff; border-radius: 1.5rem; padding: 2.2rem; text-align: center;
  box-shadow: 0 12px 35px rgba(31,41,55,.10); border: 1px solid #f1f5f9; margin: 0 auto; max-width: 720px;
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 1rem; font-size: 1.05rem; }
.testimonial-card p { font-size: 1.15rem; color: #374151; line-height: 1.7; font-style: italic; }
.t-author { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: 1.5rem; }
.t-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #f7eef7; }
.author-logo {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
  border: 3px solid #f7eef7;
}
.author-logo span { color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1rem; }
.t-author strong { display: block; color: #1f2937; }
.t-author span { color: var(--brand); font-size: .85rem; }

/* ============================================================= */
/* TIMELINE ADMISIÓN                                              */
/* ============================================================= */
.timeline { position: relative; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.timeline-step { position: relative; text-align: center; }
.t-num {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(139,71,137,.35); position: relative; z-index: 2;
}
@media (min-width: 768px) {
  .timeline-step:not(:last-child)::after {
    content: ""; position: absolute; top: 28px; left: 60%; width: 80%; height: 2px;
    background: repeating-linear-gradient(90deg, #d4b3d3 0 6px, transparent 6px 12px);
  }
}
.t-content { background: #fff; border: 1px solid #f1f5f9; border-radius: 1.2rem; padding: 1.5rem 1.2rem; box-shadow: 0 8px 24px rgba(31,41,55,.06); transition: all .4s; }
.t-content:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(139,71,137,.18); }
.t-content i { color: var(--gold); font-size: 1.4rem; margin-bottom: .6rem; }
.t-content h4 { font-weight: 700; margin-bottom: .35rem; }
.t-content p { color: #6b7280; font-size: .88rem; }

/* ============================================================= */
/* CONTACTO                                                       */
/* ============================================================= */
.form-label { display: block; font-weight: 600; font-size: .88rem; color: #374151; margin-bottom: .4rem; }
.form-input {
  width: 100%; padding: .85rem 1rem; border-radius: .85rem; border: 1px solid #e5e7eb;
  background: #f8fafc; transition: all .3s; font-size: .95rem;
}
.form-input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(139,71,137,.12); }
.contact-info { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: .9rem;
  background: #f7eef7; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-info h4 { font-weight: 700; font-size: .95rem; }
.contact-info p { color: #6b7280; font-size: .9rem; }
.social-btn, .social-btn-dark {
  width: 42px; height: 42px; border-radius: .8rem; display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.social-btn { background: #f7eef7; color: var(--brand); }
.social-btn:hover { transform: translateY(-3px); }
.social-btn-dark { background: rgba(255,255,255,.1); color: #fff; }
.social-btn-dark:hover { transform: translateY(-3px); }

/* Colores de marca en hover (aplica a botones de contacto y footer) */
[aria-label="Facebook"]:hover { background: #1877f2 !important; color: #fff !important; box-shadow: 0 8px 20px rgba(24,119,242,.45); }
[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%) !important;
  color: #fff !important; box-shadow: 0 8px 20px rgba(214,41,118,.45);
}
[aria-label="TikTok"]:hover { background: #010101 !important; color: #fff !important; box-shadow: 0 8px 20px rgba(0,0,0,.45); }

/* Enlaces de texto del footer (@usuario): color de marca en hover */
a[href*="facebook"]:not([aria-label]):hover { color: #4293ff; }
a[href*="instagram"]:not([aria-label]):hover { color: #fe5b9b; }
a[href*="tiktok"]:not([aria-label]):hover { color: #25f4ee; }

/* ============================================================= */
/* FOOTER                                                         */
/* ============================================================= */
.footer-title { font-weight: 700; font-size: 1rem; margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .92rem; transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }

/* ============================================================= */
/* WHATSAPP FLOTANTE                                              */
/* ============================================================= */
#whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .3s;
}
#whatsapp-float:hover { transform: scale(1.1); }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%; background: #25d366;
  z-index: -1; animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* Back to top */
#back-to-top.show { opacity: 1; visibility: visible; }

/* ============================================================= */
/* TILT EFFECT                                                    */
/* ============================================================= */
[data-tilt] { transform-style: preserve-3d; transition: transform .15s ease; will-change: transform; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
