/**
* Template Name: OnePage - v2.0.0
* Template URL: https://bootstrapmade.com/onepage-multipurpose-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*==============================================================
  CEPL — Design System Moderno — Colegio Pedro Leconte
==============================================================*/

/* ---- Variables globales ---- */
:root {
  --cepl-red:       #CC2200;
  --cepl-red-dark:  #991800;
  --cepl-red-light: rgba(204, 34, 0, 0.10);
  --cepl-black:     #1A1A1A;
  --cepl-dark:      #0F1117;
  --cepl-light:     #F5F5F7;
  --cepl-white:     #FFFFFF;
  --cepl-gray:      #6B7280;
  --cepl-border:    #E5E7EB;
  --cepl-shadow:    0 4px 24px rgba(0,0,0,0.08);
  --cepl-shadow-r:  0 8px 32px rgba(204,34,0,0.20);
  --nav-height:     72px;
}

/* ---- Tipografía base ---- */
body { font-family: 'Inter', 'Open Sans', sans-serif; color: #374151; background: #080C12; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', 'Raleway', sans-serif; color: var(--cepl-black); }

/* ---- Utilidades compartidas ---- */
.cepl-section-title {
  text-align: center;
  margin-bottom: 52px;
}
.cepl-section-title .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cepl-red);
  margin-bottom: 10px;
}
.cepl-section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cepl-section-title h2 .accent {
  color: var(--cepl-red);
}
.cepl-section-title p {
  font-size: 1.05rem;
  color: var(--cepl-gray);
  max-width: 560px;
  margin: 0 auto;
}
.cepl-section-title.light h2,
.cepl-section-title.light p { color: #fff; }
.cepl-section-title.light p { opacity: 0.8; }
.cepl-section-title h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--cepl-red);
  border-radius: 2px;
  margin: 14px auto 0;
}
.cepl-section-title.light h2::after { background: rgba(255,255,255,0.5); }

/* ---- Animations ---- */
@keyframes fadeInDown {
  from { opacity:0; transform: translateY(-24px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes bounceY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/*--------------------------------------------------------------
  NAVBAR — glassmorphism con cambio al hacer scroll
--------------------------------------------------------------*/
.cepl-navbar {
  padding: 0;
  height: var(--nav-height);
  background: rgba(8,10,18,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(204,34,0,0.18);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.cepl-navbar.header-scrolled {
  background: rgba(8,10,18,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(204,34,0,0.30);
}
/* Brand */
.cepl-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff !important;
  text-decoration: none;
  transition: color 0.3s;
}
.cepl-navbar.header-scrolled .navbar-brand { color: #fff !important; }
.cepl-nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cepl-red);
}
/* Nav links */
.cepl-navbar .navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.90) !important;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.3px;
}
.cepl-navbar .navbar-nav .nav-link:hover,
.cepl-navbar .navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(204,34,0,0.25);
}
.cepl-navbar.header-scrolled .navbar-nav .nav-link { color: rgba(255,255,255,0.88) !important; }
.cepl-navbar.header-scrolled .navbar-nav .nav-link:hover,
.cepl-navbar.header-scrolled .navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(204,34,0,0.30);
}
/* Logout pill */
.cepl-navbar .nav-link.btn-salir {
  background: var(--cepl-red);
  color: #fff !important;
  border-radius: 20px;
  padding: 6px 18px !important;
  margin-left: 6px;
}
.cepl-navbar .nav-link.btn-salir:hover {
  background: var(--cepl-red-dark);
  color: #fff !important;
}
/* Dropdown */
.cepl-navbar .dropdown-menu {
  border: 1px solid rgba(204,34,0,0.20);
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.70);
  padding: 8px 0;
  min-width: 200px;
  background: #0f1320;
}
.cepl-navbar .dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 20px;
  color: rgba(255,255,255,0.80);
  transition: color 0.2s, background 0.2s;
}
.cepl-navbar .dropdown-item:hover {
  background: rgba(204,34,0,0.22);
  color: #fff;
}
/* Hamburger */
.cepl-toggler {
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 8px;
  padding: 6px 10px;
  background: transparent;
}
.cepl-toggler .toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: background 0.3s;
}
.cepl-navbar.header-scrolled .cepl-toggler { border-color: rgba(255,255,255,0.6); }
.cepl-navbar.header-scrolled .cepl-toggler .toggler-bar { background: #fff; }

/*--------------------------------------------------------------
  HERO — Swiper fullscreen
--------------------------------------------------------------*/
.cepl-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.cepl-hero .swiper,
.cepl-hero .swiper-wrapper,
.cepl-hero .swiper-slide { height: 100%; }
.cepl-hero .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cepl-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(153,24,0,0.65) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}
.cepl-hero .hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: #fff;
}
.cepl-hero .hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  animation: fadeInDown 0.8s ease both;
}
.cepl-hero .hero-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.35);
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease 0.1s both;
}
.cepl-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  margin-bottom: 14px;
  color: #fff;
  animation: fadeInUp 0.9s ease 0.2s both;
  line-height: 1.15;
}
.cepl-hero .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.85;
  margin-bottom: 36px;
  animation: fadeInUp 0.9s ease 0.35s both;
  max-width: 540px;
}
.cepl-hero .hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.9s ease 0.5s both;
}
.btn-cepl-solid {
  padding: 13px 34px;
  border-radius: 30px;
  background: #fff;
  color: var(--cepl-red);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cepl-solid:hover { background: var(--cepl-red); color: #fff; text-decoration: none; }
.btn-cepl-outline {
  padding: 12px 32px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cepl-outline:hover { background: #fff; color: var(--cepl-red); text-decoration: none; border-color: #fff; }
/* Scroll-down arrow */
.hero-scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.7);
  font-size: 1.6rem;
  animation: bounceY 2s infinite ease-in-out;
  text-decoration: none;
  transition: color 0.3s;
}
.hero-scroll-down:hover { color: #fff; }
.cepl-hero .swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.cepl-hero .swiper-pagination-bullet-active { background: #fff; }

/*--------------------------------------------------------------
  ACCESOS RÁPIDOS
--------------------------------------------------------------*/
.cepl-accesos {
  padding: 80px 0 60px;
  background: #0D1117;
}
.cepl-accesos .acceso-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #131825;
  border-radius: 16px;
  padding: 40px 24px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  text-decoration: none;
  color: rgba(255,255,255,0.90);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-top: 4px solid rgba(204,34,0,0.25);
  margin-bottom: 24px;
  height: calc(100% - 24px);
}
.cepl-accesos .acceso-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cepl-shadow-r);
  border-top-color: var(--cepl-red);
  color: rgba(255,255,255,0.90);
  text-decoration: none;
}
.cepl-accesos .acceso-icon {
  width: 72px;
  height: 72px;
  background: var(--cepl-red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.cepl-accesos .acceso-card:hover .acceso-icon { background: var(--cepl-red); }
.cepl-accesos .acceso-icon i {
  font-size: 2rem;
  color: var(--cepl-red);
  transition: color 0.3s;
}
.cepl-accesos .acceso-card:hover .acceso-icon i { color: #fff; }
.cepl-accesos .acceso-card h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}
.cepl-accesos .acceso-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.50);
  margin: 0 0 16px;
  flex: 1;
}
.cepl-accesos .acceso-arrow {
  font-size: 1.2rem;
  color: var(--cepl-red);
  transition: transform 0.3s;
}
.cepl-accesos .acceso-card:hover .acceso-arrow { transform: translateX(4px); }

/*--------------------------------------------------------------
  SOBRE EL COLEGIO
--------------------------------------------------------------*/
.cepl-about {
  padding: 90px 0;
  background: #080C12;
}
.cepl-about .about-img {
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}
.cepl-about .about-content { padding: 20px 0 20px 20px; }
.cepl-about .about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
  color: #fff;
}
.cepl-about .about-content p {
  color: rgba(255,255,255,0.70);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.cepl-about .about-list { list-style: none; padding: 0; margin-bottom: 32px; }
.cepl-about .about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  font-weight: 500;
}
.cepl-about .about-list li .check {
  width: 22px;
  height: 22px;
  background: var(--cepl-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.cepl-about .about-list li .check i { font-size: 0.7rem; color: #fff; }
.btn-cepl-red-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 30px;
  border: 2px solid var(--cepl-red);
  color: var(--cepl-red);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-cepl-red-outline:hover {
  background: var(--cepl-red);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 991px) {
  .cepl-about .about-content { padding: 32px 0 0; }
  .cepl-about .about-img { max-height: 300px; }
}

/*--------------------------------------------------------------
  ESTADÍSTICAS
--------------------------------------------------------------*/
.cepl-stats {
  background: var(--cepl-red);
  padding: 70px 0;
  color: #fff;
}
.cepl-stats .stat-item { text-align: center; padding: 16px; }
.cepl-stats .stat-icon {
  font-size: 2.2rem;
  opacity: 0.55;
  margin-bottom: 10px;
  display: block;
}
.cepl-stats .stat-number {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  display: inline;
  font-family: 'Poppins', sans-serif;
}
.cepl-stats .stat-suffix { font-size: 2rem; font-weight: 700; }
.cepl-stats .stat-label {
  font-size: 0.8rem;
  opacity: 0.80;
  margin-top: 8px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.cepl-stats .stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.25);
  margin: 0 auto;
}

/*--------------------------------------------------------------
  GALERÍA
--------------------------------------------------------------*/
.cepl-galeria {
  padding: 80px 0;
  background: #0D1117;
}
.galeria-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  display: block;
}
.galeria-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.galeria-item .galeria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(204,34,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.galeria-item .galeria-overlay i { font-size: 2rem; color: #fff; }
.galeria-item:hover img { transform: scale(1.08); }
.galeria-item:hover .galeria-overlay { opacity: 1; }

/*--------------------------------------------------------------
  NOVEDADES
--------------------------------------------------------------*/
.cepl-novedades {
  padding: 80px 0;
  background: #080C12;
}
.nov-card {
  background: #131825;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--cepl-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 24px;
}
.nov-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cepl-shadow-r);
}
.nov-img {
  height: 190px;
  overflow: hidden;
  position: relative;
}
.nov-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.nov-card:hover .nov-img img { transform: scale(1.06); }
.nov-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cepl-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}
.nov-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nov-body h5 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.90);
  line-height: 1.4;
}
.nov-body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  flex: 1;
  line-height: 1.6;
}
.nov-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cepl-red);
  text-decoration: none;
  transition: gap 0.25s;
}
.nov-link:hover { color: var(--cepl-red-dark); gap: 10px; text-decoration: none; }

/*--------------------------------------------------------------
  TESTIMONIOS
--------------------------------------------------------------*/
.cepl-testimonios {
  padding: 80px 0;
  background: var(--cepl-dark);
}
.testimonios-carousel .item { padding: 10px 30px; }
.testi-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  position: relative;
}
.testi-card .testi-quote {
  font-size: 4rem;
  line-height: 1;
  color: var(--cepl-red);
  font-family: Georgia, serif;
  margin-bottom: 8px;
  display: block;
}
.testi-card .testi-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 24px;
}
.testi-card .testi-name {
  font-weight: 700;
  color: var(--cepl-white);
  font-size: 0.95rem;
}
.testi-card .testi-role {
  font-size: 0.8rem;
  color: var(--cepl-red);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}
.testimonios-carousel .owl-dots .owl-dot span {
  background: rgba(255,255,255,0.3);
  transition: background 0.3s;
}
.testimonios-carousel .owl-dots .owl-dot.active span { background: var(--cepl-red); }

/*--------------------------------------------------------------
  CTA INSCRIPCIÓN
--------------------------------------------------------------*/
.cepl-cta {
  position: relative;
  padding: 110px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cepl-cta .cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
}
.cepl-cta .container { position: relative; z-index: 2; }
.cepl-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}
.cepl-cta p {
  font-size: 1.1rem;
  opacity: 0.80;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.btn-cepl-inscripcion {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  border-radius: 40px;
  background: var(--cepl-red);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, transform 0.25s;
  box-shadow: 0 8px 32px rgba(204,34,0,0.4);
}
.btn-cepl-inscripcion:hover {
  background: var(--cepl-red-dark);
  transform: translateY(-3px);
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
  FOOTER
--------------------------------------------------------------*/
.cepl-footer {
  background: var(--cepl-dark);
  color: rgba(255,255,255,0.70);
  padding: 70px 0 0;
}
.cepl-footer h4 {
  color: var(--cepl-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cepl-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cepl-footer .footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cepl-red);
}
.cepl-footer .footer-brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cepl-white);
  line-height: 1.25;
}
.cepl-footer .footer-brand-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.50);
}
.cepl-footer p { font-size: 0.9rem; line-height: 1.7; }
.cepl-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.cepl-footer .footer-links li { margin-bottom: 10px; }
.cepl-footer .footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s, gap 0.25s;
}
.cepl-footer .footer-links a i { font-size: 0.8rem; color: var(--cepl-red); }
.cepl-footer .footer-links a:hover { color: var(--cepl-red); gap: 12px; }
.cepl-footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.cepl-footer .footer-contact-item i {
  font-size: 1.1rem;
  color: var(--cepl-red);
  margin-top: 2px;
  flex-shrink: 0;
}
/* Bar inferior */
.cepl-footer-bar {
  background: rgba(0,0,0,0.30);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding: 20px 0;
}
.cepl-footer-bar .copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.50);
}
.cepl-footer-bar .copyright span { color: var(--cepl-red); }
/* Redes sociales */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.70);
  font-size: 1rem;
  margin-left: 8px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.social-icons a:hover { transform: translateY(-3px); text-decoration: none; }
.social-icons a.tw:hover  { background: #1DA1F2; color: #fff; }
.social-icons a.fb:hover  { background: #1877F2; color: #fff; }
.social-icons a.ig:hover  { background: radial-gradient(circle at 30% 107%, #fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%); color: #fff; }
.social-icons a.ln:hover  { background: #0A66C2; color: #fff; }

/*--------------------------------------------------------------
  AUTHENTICATION — Split-screen layout
--------------------------------------------------------------*/
/* Cuerpo en páginas de autenticación (sin navbar ni footer) */
.cepl-auth-body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #080C12;
}

.auth-page {
  display: flex;
  height: 100vh;
  background: #080C12;
  overflow: hidden;
}

/* ── Panel izquierdo: Marca ── */
.auth-brand-panel {
  width: 42%;
  background: linear-gradient(155deg, #1c0805 0%, #2e1000 45%, #0d0306 100%);
  border-right: 1px solid rgba(204,34,0,0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 52px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
/* Detalles decorativos */
.auth-brand-panel::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,34,0,0.14) 0%, transparent 65%);
  top: -120px; right: -120px;
  pointer-events: none;
}
.auth-brand-panel::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,34,0,0.08) 0%, transparent 65%);
  bottom: -80px; left: -60px;
  pointer-events: none;
}
.auth-brand-content { position: relative; z-index: 1; }
/* Icono decorativo grande (reemplaza logo cuando no hay imagen) */
.auth-brand-icon {
  width: 80px;
  height: 80px;
  background: rgba(204,34,0,0.15);
  border: 1px solid rgba(204,34,0,0.35);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.auth-brand-icon i {
  font-size: 2.4rem;
  color: var(--cepl-red);
}
/* Logo (si se usa imagen) */
.auth-brand-logo {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(204,34,0,0.55);
  object-fit: cover;
  margin-bottom: 24px;
  box-shadow: 0 0 0 8px rgba(204,34,0,0.08), 0 8px 32px rgba(0,0,0,0.4);
  display: block;
}
.auth-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}
.auth-brand-sub {
  color: rgba(255,255,255,0.40);
  font-size: 0.82rem;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.auth-brand-sub i { color: var(--cepl-red); font-size: 0.9rem; }
.auth-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(204,34,0,0.13);
  border: 1px solid rgba(204,34,0,0.28);
  border-radius: 40px;
  padding: 11px 22px;
  color: rgba(255,255,255,0.80);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 32px;
}
.auth-role-badge i { font-size: 1.15rem; color: var(--cepl-red); }
.auth-brand-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  max-width: 240px;
}
.auth-brand-back {
  position: relative; z-index: 1;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  font-size: 0.80rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s;
}
.auth-brand-back:hover { color: rgba(255,255,255,0.65); text-decoration: none; }

/* ── Panel derecho: Formulario ── */
.auth-form-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centrado vertical (main axis = column) */
  align-items: center;       /* centrado horizontal (cross axis = column) */
  padding: 0 52px;
  background: #080C12;
  overflow-y: auto;
  min-height: 0;             /* fix flex overflow bug en algunos browsers */
}
.auth-form-inner {
  width: 100%;
  max-width: 400px;
  padding: 20px 0;           /* respiro arriba/abajo por si el panel es muy alto */
}
.auth-form-header { margin-bottom: 36px; }
.auth-form-header h2 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}
.auth-form-header p {
  color: rgba(255,255,255,0.68);  /* antes 0.40 — más visible */
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ── Campos de formulario ── */
.cepl-form-group { margin-bottom: 22px; }
.cepl-form-group label {
  color: rgba(255,255,255,0.88);   /* antes 0.65 — bien visible */
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}
.cepl-form-group label i { color: var(--cepl-red); font-size: 0.95rem; }
.cepl-input {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  height: auto !important;
  width: 100% !important;
  font-size: 0.92rem !important;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s !important;
}
textarea.cepl-input { resize: vertical; }
.cepl-input:focus {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(204,34,0,0.60) !important;
  box-shadow: 0 0 0 3px rgba(204,34,0,0.12) !important;
  color: #fff !important;
  outline: none !important;
}
.cepl-input::placeholder { color: rgba(255,255,255,0.20) !important; }
.cepl-input-group .cepl-input {
  border-right: none !important;
  border-radius: 10px 0 0 10px !important;
}
.cepl-eye-btn {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-left: none !important;
  color: rgba(255,255,255,0.35) !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 0 14px !important;
  transition: color 0.2s, background 0.2s !important;
}
.cepl-eye-btn:hover { color: rgba(255,255,255,0.75) !important; background: rgba(255,255,255,0.08) !important; }
.btn-auth-submit {
  width: 100%;
  padding: 13px;
  background: var(--cepl-red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(204,34,0,0.30);
}
.btn-auth-submit:hover {
  background: var(--cepl-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(204,34,0,0.40);
  color: #fff;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.auth-links a {
  color: rgba(255,255,255,0.58);   /* antes 0.35 — más visible */
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.auth-links a:hover { color: var(--cepl-red); text-decoration: none; }

/* ── Alertas dark ── */
.cepl-alert {
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 0.855rem;
  border: 1px solid transparent;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cepl-alert i { flex-shrink: 0; margin-top: 2px; }
.cepl-alert ul { margin: 0; padding-left: 16px; }
.cepl-alert-success { background: rgba(16,185,129,0.10); border-color: rgba(16,185,129,0.28); color: #34d399; }
.cepl-alert-danger  { background: rgba(204,34,0,0.10);  border-color: rgba(204,34,0,0.28);  color: #ff8080; }
.cepl-alert-warning { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.28); color: #fbbf24; }
.cepl-alert-info    { background: rgba(59,130,246,0.10); border-color: rgba(59,130,246,0.28); color: #60a5fa; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .auth-brand-panel { width: 36%; padding: 48px 36px; }
  .auth-form-panel  { padding: 48px 36px; }
}
@media (max-width: 700px) {
  .auth-page { flex-direction: column; height: auto; min-height: 100vh; overflow: visible; }
  .cepl-auth-body { overflow: auto; }
  .auth-brand-panel {
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 18px 22px;
    border-right: none;
    border-bottom: 1px solid rgba(204,34,0,0.15);
    justify-content: flex-start;
    gap: 14px;
    flex-shrink: 0;
  }
  .auth-brand-panel::before, .auth-brand-panel::after { display: none; }
  .auth-brand-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
  }
  .auth-brand-logo { width: 40px; height: 40px; margin-bottom: 0; box-shadow: none; flex-shrink: 0; }
  .auth-brand-name { font-size: 0.95rem; margin-bottom: 0; }
  .auth-brand-sub, .auth-role-badge, .auth-brand-tagline { display: none; }
  .auth-brand-back { margin-left: auto; flex-shrink: 0; }
  .auth-form-panel { padding: 32px 22px 40px; justify-content: flex-start; align-items: center; overflow-y: visible; }
  .auth-form-inner { max-width: 100%; padding: 0; }
}

/*--------------------------------------------------------------
  PANEL DOCENTE / TUTOR — Module cards
--------------------------------------------------------------*/
.cepl-panel-section {
  padding: calc(var(--nav-height) + 48px) 0 72px;
  background: #080C12;
  min-height: 100vh;
}
.doc-card {
  display: flex;
  flex-direction: column;
  background: #131825;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px 22px 20px;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  margin-bottom: 24px;
  height: calc(100% - 24px);
  position: relative;
  overflow: hidden;
}
.doc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cepl-red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.50), 0 0 0 1px rgba(204,34,0,0.25);
  border-color: rgba(204,34,0,0.25);
  color: #fff;
  text-decoration: none;
}
.doc-card:hover::before { opacity: 1; }
.doc-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(204,34,0,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s;
}
.doc-card:hover .doc-card-icon { background: var(--cepl-red); }
.doc-card-icon i { font-size: 1.5rem; color: var(--cepl-red); transition: color 0.3s; }
.doc-card:hover .doc-card-icon i { color: #fff; }
.doc-card h5 { font-weight: 700; font-size: 0.97rem; margin-bottom: 7px; color: #fff; }
.doc-card p  { font-size: 0.83rem; color: rgba(255,255,255,0.42); line-height: 1.55; flex: 1; margin: 0 0 12px; }
.doc-card-arrow { font-size: 1.1rem; color: var(--cepl-red); opacity: 0.55; align-self: flex-end; transition: opacity 0.3s, transform 0.3s; }
.doc-card:hover .doc-card-arrow { opacity: 1; transform: translateX(4px); }
.doc-card-special { border-color: rgba(204,34,0,0.15); }
.doc-card-special .doc-card-icon { background: rgba(204,34,0,0.18); }
/* Notification bar */
.cepl-notif-bar {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 40px;
}
.cepl-notif-bar .notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.notif-close {
  background: none; border: none;
  color: rgba(255,255,255,0.35); font-size: 1.1rem;
  cursor: pointer; padding: 0; line-height: 1; transition: color 0.2s;
}
.notif-close:hover { color: var(--cepl-red); }
.notif-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.83rem;
}
.notif-date  { color: rgba(255,255,255,0.35); white-space: nowrap; font-size: 0.78rem; }
.notif-asunto { color: rgba(255,255,255,0.72); flex: 1; }
.notif-link  { color: var(--cepl-red); text-decoration: none; font-weight: 600; font-size: 0.78rem; white-space: nowrap; display: flex; align-items: center; gap: 3px; }
.notif-link:hover { color: #fff; text-decoration: none; }
/* Empty state */
.cepl-empty-state { text-align: center; padding: 80px 20px; color: rgba(255,255,255,0.30); }
.cepl-empty-state i { font-size: 3.5rem; display: block; margin-bottom: 16px; color: rgba(204,34,0,0.35); }
.cepl-empty-state h4 { color: rgba(255,255,255,0.55); margin-bottom: 10px; }
.cepl-empty-state p  { font-size: 0.92rem; }

/*--------------------------------------------------------------
  PANEL UTILITY CLASSES — tables, breadnav, buttons, badges
--------------------------------------------------------------*/
.cepl-table-wrap { background: #131825; border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow-x: auto; overflow-y: hidden; margin-bottom: 28px; }
.cepl-table { width: 100%; border-collapse: collapse; margin: 0; }
.cepl-table th { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.45); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); white-space: nowrap; }
.cepl-table td { padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.82); font-size: 0.88rem; vertical-align: middle; }
.cepl-table tbody tr:last-child td { border-bottom: none; }
.cepl-table tbody tr:hover { background: rgba(255,255,255,0.025); }
.cepl-table .row-danger { background: rgba(204,34,0,0.07); }
.cepl-table .row-danger:hover { background: rgba(204,34,0,0.13); }
.cepl-table .row-warning { background: rgba(245,158,11,0.07); }
.cepl-table tfoot td { border-top: 1px solid rgba(255,255,255,0.10); font-weight: 700; color: rgba(255,255,255,0.65); }

.cepl-breadnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.cepl-breadnav a { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); color: rgba(255,255,255,0.60); border-radius: 8px; padding: 5px 14px; font-size: 0.81rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: all 0.2s; }
.cepl-breadnav a:hover { background: var(--cepl-red); border-color: var(--cepl-red); color: #fff; text-decoration: none; }

.btn-panel { display: inline-flex; align-items: center; gap: 6px; border-radius: 9px; padding: 7px 15px; font-size: 0.83rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: 1px solid transparent; text-decoration: none; line-height: 1.4; }
.btn-panel:hover { text-decoration: none; }
.btn-panel-sm { padding: 4px 11px; font-size: 0.78rem; }
.btn-panel-primary { background: rgba(204,34,0,0.12); border-color: rgba(204,34,0,0.32); color: #ff8080; }
.btn-panel-primary:hover { background: var(--cepl-red); border-color: var(--cepl-red); color: #fff; }
.btn-panel-success { background: rgba(16,185,129,0.10); border-color: rgba(16,185,129,0.35); color: #10b981; }
.btn-panel-success:hover { background: #10b981; border-color: #059669; color: #fff; }
.btn-panel-danger { background: rgba(239,68,68,0.10); border-color: rgba(239,68,68,0.35); color: #ef4444; }
.btn-panel-danger:hover { background: #ef4444; border-color: #dc2626; color: #fff; }
.btn-panel-info { background: rgba(59,130,246,0.10); border-color: rgba(59,130,246,0.35); color: #3b82f6; }
.btn-panel-info:hover { background: #3b82f6; border-color: #2563eb; color: #fff; }
.btn-panel-warning { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.35); color: #d97706; }
.btn-panel-warning:hover { background: #f59e0b; border-color: #d97706; color: #fff; }

.nota-input { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; color: #fff; text-align: center; width: 72px; padding: 5px 8px; font-size: 0.9rem; }
.nota-input:focus { outline: none; border-color: var(--cepl-red); background: rgba(204,34,0,0.08); }
.nota-input.error { border-color: var(--cepl-red) !important; }

.cepl-badge { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; }
.cepl-badge-danger  { background: rgba(204,34,0,0.20);   color: #ff8080; }
.cepl-badge-warning { background: rgba(245,158,11,0.20); color: #fbbf24; }
.cepl-badge-success { background: rgba(16,185,129,0.20); color: #34d399; }
.cepl-badge-info    { background: rgba(59,130,246,0.20); color: #60a5fa; }

.cepl-dark-modal .modal-content { background: #131825; border: 1px solid rgba(255,255,255,0.09); border-radius: 16px; color: rgba(255,255,255,0.82); }
.cepl-dark-modal .modal-header { border-bottom: 1px solid rgba(255,255,255,0.07); padding: 18px 22px; }
.cepl-dark-modal .modal-footer { border-top: 1px solid rgba(255,255,255,0.07); padding: 14px 22px; }
.cepl-dark-modal .modal-title { color: #fff; font-weight: 700; font-size: 1rem; }
.cepl-dark-modal .close { color: rgba(255,255,255,0.45); text-shadow: none; opacity: 1; font-size: 1.4rem; }
.cepl-dark-modal .close:hover { color: var(--cepl-red); }
.cepl-dark-modal .modal-body { padding: 20px 22px; color: rgba(255,255,255,0.72); }
.cepl-dark-modal .form-control { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #fff; border-radius: 10px; }
.cepl-dark-modal .form-control:focus { background: rgba(255,255,255,0.09); border-color: var(--cepl-red); color: #fff; box-shadow: none; }
.cepl-dark-modal label { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-bottom: 5px; }

/* Modal claro — usado en vistas de Docentes */
.cepl-modal-light .modal-content { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; color: #1f2937; }
.cepl-modal-light .modal-header { border-bottom: 1px solid #e5e7eb; padding: 18px 22px; background: #f9fafb; border-radius: 16px 16px 0 0; }
.cepl-modal-light .modal-footer { border-top: 1px solid #e5e7eb; padding: 14px 22px; background: #f9fafb; border-radius: 0 0 16px 16px; }
.cepl-modal-light .modal-title { color: #1a1a2e; font-weight: 700; font-size: 1rem; }
.cepl-modal-light .close { color: #9ca3af; text-shadow: none; opacity: 1; font-size: 1.4rem; }
.cepl-modal-light .close:hover { color: var(--cepl-red); }
.cepl-modal-light .modal-body { padding: 20px 22px; color: #374151; }
.cepl-modal-light .form-control { background: #fff; border: 1px solid #d1d5db; color: #1f2937; border-radius: 10px; }
.cepl-modal-light .form-control:focus { background: #fff; border-color: var(--cepl-red); color: #1f2937; box-shadow: none; }
.cepl-modal-light label { color: #6b7280; font-size: 0.82rem; margin-bottom: 5px; }
.cepl-modal-light p { color: #374151; }
/* Tabla dentro del modal claro */
.cepl-modal-light .cepl-table-wrap { background: #fff; border: 1px solid #e5e7eb; }
.cepl-modal-light .cepl-table th { background: #f3f4f6; color: #6b7280; border-bottom: 1px solid #e5e7eb; }
.cepl-modal-light .cepl-table td { color: #1f2937; border-bottom: 1px solid #f3f4f6; }
.cepl-modal-light .cepl-table tbody tr:hover { background: #f9fafb; }
.cepl-modal-light .form-check-label { color: #374151; }

.cepl-countdown { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.22); border-radius: 12px; padding: 8px 16px; font-size: 0.82rem; color: #fbbf24; }
.cepl-countdown .cd-unit { text-align: center; min-width: 36px; }
.cepl-countdown .cd-num { font-size: 1.1rem; font-weight: 800; display: block; }
.cepl-countdown .cd-label { font-size: 0.65rem; opacity: 0.7; text-transform: uppercase; }
.cepl-countdown.text-danger { border-color: rgba(204,34,0,0.40); background: rgba(204,34,0,0.10); color: #ff8080; }

.cepl-stat-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.cepl-stat-box { display: inline-flex; align-items: center; gap: 10px; background: #131825; border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 10px 18px; font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.cepl-stat-box .stat-num { font-size: 1.4rem; font-weight: 800; }
.cepl-stat-box.stat-green { border-color: rgba(16,185,129,0.25); }
.cepl-stat-box.stat-green .stat-num { color: #34d399; }
.cepl-stat-box.stat-red { border-color: rgba(204,34,0,0.25); }
.cepl-stat-box.stat-red .stat-num { color: #ff8080; }

/* Card contenedor para formularios internos del panel */
.cepl-form-card {
  background: #131825;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 32px 28px 28px;
}

/*--------------------------------------------------------------
  PANEL LIGHT — override para sección Docentes (fondo blanco)
--------------------------------------------------------------*/
.cepl-panel-light { background: #f5f6f8 !important; }

/* Título bienvenido (cepl-section-title light) */
.cepl-panel-light .cepl-section-title.light h2,
.cepl-panel-light .cepl-section-title.light p { color: #1a1a2e !important; }
.cepl-panel-light .cepl-section-title.light p  { opacity: 1 !important; color: #6b7280 !important; }
.cepl-panel-light .cepl-section-title.light h2::after { background: var(--cepl-red) !important; }

/* Textos generales — override de inline styles blancos */
.cepl-panel-light .cepl-panel-title  { color: #1a1a2e !important; }
.cepl-panel-light .cepl-panel-title i { color: var(--cepl-red) !important; }
.cepl-panel-light .cepl-panel-sub    { color: #6b7280 !important; }
.cepl-panel-light p   { color: #374151 !important; }
.cepl-panel-light li  { color: #374151; }
.cepl-panel-light span:not(.cepl-badge):not(.eyebrow):not(.accent) { color: #374151; }
.cepl-panel-light label { color: #374151 !important; }
.cepl-panel-light strong { color: #1a1a2e !important; }
.cepl-panel-light small  { color: #6b7280 !important; }
.cepl-panel-light h1, .cepl-panel-light h2, .cepl-panel-light h3,
.cepl-panel-light h4, .cepl-panel-light h5, .cepl-panel-light h6 { color: #1a1a2e !important; }

/* Form card */
.cepl-panel-light .cepl-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Inputs */
.cepl-panel-light .cepl-input,
.cepl-panel-light .form-control,
.cepl-panel-light select.cepl-input {
  background: #fff !important;
  border: 1px solid #d1d5db !important;
  color: #1a1a2e !important;
}
.cepl-panel-light .cepl-input:focus,
.cepl-panel-light .form-control:focus { border-color: var(--cepl-red) !important; box-shadow: none !important; }
.cepl-panel-light .nota-input { background: #fff; border-color: #d1d5db; color: #1a1a2e; }
.cepl-panel-light .nota-input:focus { border-color: var(--cepl-red); background: #fff8f8; }

/* Tablas */
.cepl-panel-light .cepl-table-wrap { background: #fff; border: 1px solid #e5e7eb; }
.cepl-panel-light .cepl-table th { background: #f9fafb; color: #6b7280; border-bottom: 1px solid #e5e7eb; }
.cepl-panel-light .cepl-table td { color: #1f2937; border-bottom: 1px solid #f3f4f6; }
.cepl-panel-light .cepl-table tbody tr:hover { background: #f9fafb; }
.cepl-panel-light .cepl-table tfoot td { border-top: 1px solid #e5e7eb; color: #374151; }
.cepl-panel-light .cepl-table .row-danger  { background: rgba(204,34,0,0.05); }
.cepl-panel-light .cepl-table .row-danger:hover { background: rgba(204,34,0,0.09); }
.cepl-panel-light .cepl-table .row-warning { background: rgba(245,158,11,0.06); }

/* Breadnav */
.cepl-panel-light .cepl-breadnav a { background: #fff; border-color: #d1d5db; color: #6b7280; }
.cepl-panel-light .cepl-breadnav a:hover { background: var(--cepl-red); border-color: var(--cepl-red); color: #fff; }
.cepl-panel-light .breadcrumb-item.active { color: #374151; }

/* Stat boxes */
.cepl-panel-light .cepl-stat-box { background: #fff; border-color: #e5e7eb; color: #374151; }
.cepl-panel-light .cepl-stat-box.stat-green { border-color: rgba(16,185,129,0.30); }
.cepl-panel-light .cepl-stat-box.stat-red   { border-color: rgba(204,34,0,0.25); }

/* Alerts */
.cepl-panel-light .cepl-alert-success { background: #f0fdf4; border-color: #86efac; color: #166534; }
.cepl-panel-light .cepl-alert-danger  { background: #fff1f1; border-color: #fca5a5; color: #991b1b; }
.cepl-panel-light .cepl-alert-warning { background: #fffbeb; border-color: #fcd34d; color: #92400e; }
.cepl-panel-light .cepl-alert-info    { background: #eff6ff; border-color: #93c5fd; color: #1e40af; }

/* Notif bar */
.cepl-panel-light .cepl-notif-bar { background: #fffbeb; border-color: #fcd34d; }
.cepl-panel-light .cepl-notif-bar .notif-header { color: #92400e; }
.cepl-panel-light .notif-close { color: #9ca3af; }
.cepl-panel-light .notif-item { border-top-color: #f3f4f6; }
.cepl-panel-light .notif-date   { color: #9ca3af; }
.cepl-panel-light .notif-asunto { color: #374151; }

/* Empty state */
.cepl-panel-light .cepl-empty-state { color: #9ca3af; }
.cepl-panel-light .cepl-empty-state h4 { color: #6b7280; }

/* Modales — cuando se abren desde panel light */
.cepl-panel-light .cepl-dark-modal .modal-content { background: #fff; border-color: #e5e7eb; color: #1f2937; }
.cepl-panel-light .cepl-dark-modal .modal-header  { border-bottom-color: #e5e7eb; }
.cepl-panel-light .cepl-dark-modal .modal-footer  { border-top-color: #e5e7eb; }
.cepl-panel-light .cepl-dark-modal .modal-title   { color: #1a1a2e; }
.cepl-panel-light .cepl-dark-modal .close         { color: #9ca3af; }
.cepl-panel-light .cepl-dark-modal .modal-body    { color: #374151; }
.cepl-panel-light .cepl-dark-modal .form-control  { background: #f9fafb; border-color: #d1d5db; color: #1f2937; }
.cepl-panel-light .cepl-dark-modal label          { color: #6b7280; }

/* Override forzado de inline styles blancos en vistas de docentes */
.cepl-panel-light [style*="color:#fff"],
.cepl-panel-light [style*="color: #fff"]            { color: #1a1a2e !important; }
.cepl-panel-light [style*="color:rgba(255,255,255,0.8"],
.cepl-panel-light [style*="color:rgba(255,255,255,0.9"] { color: #374151 !important; }
.cepl-panel-light [style*="color:rgba(255,255,255,0.6"],
.cepl-panel-light [style*="color:rgba(255,255,255,0.7"] { color: #6b7280 !important; }
.cepl-panel-light [style*="color:rgba(255,255,255,0.3"],
.cepl-panel-light [style*="color:rgba(255,255,255,0.4"],
.cepl-panel-light [style*="color:rgba(255,255,255,0.5"] { color: #9ca3af !important; }
/* #ff8080 (rojo claro sobre oscuro) → rojo estándar */
.cepl-panel-light [style*="color:#ff8080"]          { color: var(--cepl-red) !important; }
/* Excepciones: botones e íconos no deben verse afectados */
.cepl-panel-light .btn-panel [style*="color"],
.cepl-panel-light .bx[style*="color"],
.cepl-panel-light i[style*="color"]                 { color: inherit !important; }

/* Doc cards (panel de acceso) */
.cepl-panel-light .doc-card { background: #fff; border-color: #e5e7eb; color: #374151; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.cepl-panel-light .doc-card h5 { color: #1a1a2e; }
.cepl-panel-light .doc-card p  { color: #6b7280; }
.cepl-panel-light .doc-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.10), 0 0 0 1px rgba(204,34,0,0.20); color: #1a1a2e; }

/* Panel header (title row + notification widget) */
.cepl-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.cepl-panel-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff !important;
  margin: 0 0 6px;
}
.cepl-panel-title i { color: var(--cepl-red) !important; margin-right: 8px; }
.cepl-panel-sub { color: rgba(255,255,255,0.55) !important; font-size: 0.88rem; margin: 0; }

/* doc-card body wrapper */
.doc-card-body { flex: 1; }

/* Disabled card state */
.doc-card-disabled { opacity: 0.45; pointer-events: none; }

/* Admin tab pills */
.cepl-admin-tabs .nav-link {
  color: rgba(255,255,255,0.60);
  border-radius: 10px;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  border: none;
}
.cepl-admin-tabs .nav-link:hover:not(.active) {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.90);
}
.cepl-admin-tabs .nav-link.active {
  background: var(--cepl-red);
  color: #fff;
  box-shadow: 0 4px 18px rgba(204,34,0,0.35);
}
.cepl-admin-tabs .nav-link i { margin-right: 6px; font-size: 1rem; }

/* Notification dropdown widget */
.cepl-notif-wrapper { position: relative; }
.cepl-notif-btn {
  position: relative;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.30);
  border-radius: 12px;
  padding: 8px 16px;
  color: #fbbf24;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.cepl-notif-btn:hover { background: rgba(245,158,11,0.18); }
.cepl-notif-count {
  background: var(--cepl-red);
  color: #fff;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 7px;
  line-height: 1.6;
}
.cepl-notif-drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-width: 94vw;
  background: #131825;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  z-index: 999;
  overflow: hidden;
}
.cepl-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.85rem;
}
.cepl-notif-mark {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.cepl-notif-mark:hover { border-color: var(--cepl-red); color: var(--cepl-red); }
.cepl-notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}
.cepl-notif-item {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cepl-notif-item:last-child { border-bottom: none; }
.cepl-notif-date   { font-size: 0.73rem; color: rgba(255,255,255,0.30); }
.cepl-notif-item strong { font-size: 0.86rem; color: rgba(255,255,255,0.88); }
.cepl-notif-msg    { font-size: 0.83rem; color: rgba(255,255,255,0.55); }
.cepl-notif-author { font-size: 0.76rem; color: var(--cepl-red); font-style: normal; }

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #2487ce;
}

a:hover {
  color: #469fdf;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #2487ce;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #3e9bdd;
  color: #fff;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #2487ce;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  background: #fff;
  z-index: 997;
  padding: 15px 0;
  border-bottom: 1px solid #e6f2fb;
}

#header.header-scrolled {
  border-color: #fff;
  box-shadow: 0px 2px 15px rgba(18, 66, 101, 0.08);
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: #16507b;
}

#header .logo img {
  max-height: 40px;
}

@media (max-width: 992px) {
  #header .logo {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  display: flex;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  padding: 14px 0 14px 28px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #124265;
  transition: 0.3s;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #2487ce;
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 15px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 20px rgba(18, 66, 101, 0.1);
  transition: 0.3s;
  border-radius: 5px;
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #124265;
}

.nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
  color: #2487ce;
}

.nav-menu .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down > a:after {
  content: "\eaa0";
  font-family: IcoFont;
  position: absolute;
  right: 15px;
}

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }
  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }
  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}

/* Get Startet Button */
.get-started-btn {
  margin-left: 25px;
  background: #2487ce;
  color: #fff;
  border-radius: 5px;
  padding: 10px 30px 11px 30px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.get-started-btn:hover {
  background: #2079b8;
  color: #fff;
}

@media (max-width: 768px) {
  .get-started-btn {
    margin: 0 48px 0 0;
    padding: 5px 18px 6px 18px;
    border-radius: 3px;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 18px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #124265;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #124265;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #2487ce;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\eaa1";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(10, 38, 58, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  background: url("../img/hero-bg.jpg") top center;
  background-size: cover;
  position: relative;
}

#hero:before {
  content: "";
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  padding-top: 80px;
}

#hero h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 72px;
  color: #124265;
  font-family: "Poppins", sans-serif;
}

#hero h2 {
  color: #5e5e5e;
  margin: 10px 0 0 0;
  font-size: 22px;
}

#hero .btn-get-started {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 14px 50px;
  border-radius: 5px;
  transition: 0.5s;
  margin-top: 30px;
  color: #fff;
  background: #2487ce;
}

#hero .btn-get-started:hover {
  background: #3194db;
}

#hero .icon-boxes {
  margin-top: 100px;
}

#hero .icon-box {
  padding: 50px 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(18, 66, 101, 0.08);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}

#hero .icon-box .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#hero .icon-box .title a {
  color: #124265;
  transition: 0.3s;
}

#hero .icon-box .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

#hero .icon-box .icon {
  margin-bottom: 20px;
  padding-top: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 36px;
  line-height: 1;
  color: #2487ce;
}

#hero .icon-box:hover {
  transform: scale(1.08);
}

#hero .icon-box:hover .title a {
  color: #2487ce;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 992px), (max-height: 500) {
  #hero {
    height: auto;
  }
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 80px 0;
}

.section-bg {
  background-color: #f8fbfe;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: #124265;
}

.section-title p {
  margin-bottom: 0;
  font-size: 14px;
  color: #919191;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-left: 28px;
  position: relative;
}

.about .content ul li + li {
  margin-top: 10px;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: #2487ce;
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .btn-learn-more {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.3s;
  line-height: 1;
  color: #2487ce;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid #2487ce;
}

.about .content .btn-learn-more:hover {
  background: #2487ce;
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 60px 0;
}

.counts .count-box {
  width: 100%;
  text-align: center;
}

.counts .count-box span {
  font-size: 48px;
  line-height: 48px;
  display: block;
  font-weight: 700;
  color: #124265;
  margin-left: 80px;
  margin: auto;
}

.counts .count-box p {
  padding: 8px 0 0 0;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1e6ca6;
}

/*--------------------------------------------------------------
# About Video
--------------------------------------------------------------*/
.about-video .content {
  font-size: 15px;
}

.about-video .content h3 {
  font-weight: 700;
  font-size: 24px;
  color: #124265;
}

.about-video .content ul {
  list-style: none;
  padding: 0;
}

.about-video .content ul li {
  padding-bottom: 10px;
  padding-left: 28px;
  position: relative;
}

.about-video .content ul i {
  font-size: 24px;
  color: #2487ce;
  position: absolute;
  left: 0;
  top: -2px;
}

.about-video .content p:last-child {
  margin-bottom: 0;
}

.about-video .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#2487ce 50%, rgba(36, 135, 206, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about-video .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about-video .play-btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(36, 135, 206, 0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.about-video .play-btn:hover::after {
  border-left: 15px solid #2487ce;
  transform: scale(20);
}

.about-video .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  padding: 15px 0;
  text-align: center;
}

.clients img {
  max-width: 45%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
  -webkit-filter: grayscale(100);
  filter: grayscale(100);
}

.clients img:hover {
  -webkit-filter: none;
  filter: none;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .clients img {
    max-width: 40%;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
  color: #c9e3f5;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: #f3f9fd;
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid #f3f9fd;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .owl-nav, .testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.testimonials .owl-dot.active {
  background-color: #2487ce !important;
}

@media (max-width: 767px) {
  .testimonials {
    margin: 30px 10px;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.05);
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .icon-box .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .icon-box .icon svg path {
  transition: 0.5s;
  fill: #f5f5f5;
}

.services .icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .icon-box h4 a {
  color: #124265;
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
}

.services .iconbox-blue i {
  color: #47aeff;
}

.services .iconbox-blue:hover .icon i {
  color: #fff;
}

.services .iconbox-blue:hover .icon path {
  fill: #47aeff;
}

.services .iconbox-orange i {
  color: #ffa76e;
}

.services .iconbox-orange:hover .icon i {
  color: #fff;
}

.services .iconbox-orange:hover .icon path {
  fill: #ffa76e;
}

.services .iconbox-pink i {
  color: #e80368;
}

.services .iconbox-pink:hover .icon i {
  color: #fff;
}

.services .iconbox-pink:hover .icon path {
  fill: #e80368;
}

.services .iconbox-yellow i {
  color: #ffbb2c;
}

.services .iconbox-yellow:hover .icon i {
  color: #fff;
}

.services .iconbox-yellow:hover .icon path {
  fill: #ffbb2c;
}

.services .iconbox-red i {
  color: #ff5828;
}

.services .iconbox-red:hover .icon i {
  color: #fff;
}

.services .iconbox-red:hover .icon path {
  fill: #ff5828;
}

.services .iconbox-teal i {
  color: #11dbcf;
}

.services .iconbox-teal:hover .icon i {
  color: #fff;
}

.services .iconbox-teal:hover .icon path {
  fill: #11dbcf;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: #2487ce;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 35px;
  border-radius: 5px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #fff;
  color: #2487ce;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #2487ce;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(36, 135, 206, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #fff;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(18, 66, 101, 0.08);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
}

.team .member .social a {
  transition: color 0.3s;
  color: #124265;
  margin: 0 10px;
  padding-top: 8px;
  display: inline-block;
}

.team .member .social a:hover {
  color: #2487ce;
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #124265;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: #fefefe;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
}

.pricing .box h3 {
  font-weight: 400;
  padding: 15px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  color: #124265;
}

.pricing .box h4 {
  font-size: 42px;
  color: #2487ce;
  font-weight: 500;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 20px;
}

.pricing .box h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .box h4 span {
  color: #bababa;
  font-size: 16px;
  font-weight: 300;
}

.pricing .box ul {
  padding: 0;
  list-style: none;
  color: #124265;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .box ul li {
  padding-bottom: 16px;
}

.pricing .box ul .na {
  color: #ccc;
  text-decoration: line-through;
}

.pricing .box .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .box .btn-buy {
  display: inline-block;
  padding: 10px 40px;
  border-radius: 4px;
  color: #2487ce;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  transition: 0.3s;
  border: 2px solid #2487ce;
}

.pricing .box .btn-buy:hover {
  background: #2487ce;
  color: #fff;
}

.pricing .featured {
  background: #2487ce;
}

.pricing .featured h3, .pricing .featured h4, .pricing .featured h4 span, .pricing .featured ul, .pricing .featured ul .na {
  color: #fff;
}

.pricing .featured .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .featured .btn-buy {
  color: #fff;
  border: 2px solid #fff;
}

.pricing .featured .btn-buy:hover {
  background: #fff;
  color: #2487ce;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0 100px;
}

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li + li {
  margin-top: 15px;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  position: relative;
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 0 30px;
  outline: none;
}

.faq .faq-list .icon-help {
  font-size: 24px;
  position: absolute;
  right: 0;
  left: 20px;
  color: #87c1ea;
}

.faq .faq-list .icon-show, .faq .faq-list .icon-close {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #343a40;
}

.faq .faq-list a.collapsed:hover {
  color: #2487ce;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

@media (max-width: 1200px) {
  .faq .faq-list {
    padding: 0;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #2487ce;
  float: left;
  width: 44px;
  height: 44px;
  background: #e3f0fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #124265;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #217bbc;
}

.contact .info .email, .contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #2487ce;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: #2487ce;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: #2487ce;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #3194db;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f8fbfe;
  min-height: 40px;
  margin-top: 80px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 62px;
  }
}

.breadcrumbs h2 {
  font-size: 24px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #1a5e90;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-container {
  position: relative;
}

.portfolio-details .portfolio-details-carousel {
  position: relative;
  z-index: 1;
}

.portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: left;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 10px 0 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #2487ce !important;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  position: absolute;
  right: 0;
  bottom: -70px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 50px;
}

.portfolio-details .portfolio-description h2 {
  width: 50%;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0 0 0 0;
}

@media (max-width: 768px) {
  .portfolio-details .portfolio-description h2 {
    width: 100%;
  }
  .portfolio-details .portfolio-info {
    position: static;
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #444444;
  font-size: 14px;
  background: #f8fbfe;
  box-shadow: 0px 2px 15px rgba(18, 66, 101, 0.08);
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 26px;
  margin: 0 0 10px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 300;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #777777;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #124265;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #2487ce;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #2487ce;
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 5px;
  text-align: left;
  border: 1px solid #cde5f6;
}

#footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: -1px;
  right: -2px;
  bottom: -1px;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px 2px 20px;
  background: #2487ce;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 5px 5px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type="submit"]:hover {
  background: #3194db;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
  color: #444444;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #2487ce;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 5px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #3194db;
  color: #fff;
  text-decoration: none;
}

/*==============================================================
  CEPL — Sección Contacto
==============================================================*/
.cepl-contact-section {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  background: #080C12;
  min-height: 100vh;
}
/* Info cards izquierda */
.cepl-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cepl-contact-info-card {
  background: #131825;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cepl-contact-info-card:hover {
  border-color: rgba(204,34,0,0.30);
  box-shadow: 0 4px 24px rgba(0,0,0,0.30);
}
.cepl-contact-info-card .cci-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(204,34,0,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cepl-contact-info-card .cci-icon i {
  font-size: 1.4rem;
  color: var(--cepl-red);
}
.cepl-contact-info-card .cci-body h6 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 4px;
}
.cepl-contact-info-card .cci-body p,
.cepl-contact-info-card .cci-body a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88) !important;
  margin: 0;
  text-decoration: none;
  line-height: 1.5;
}
.cepl-contact-info-card .cci-body a:hover { color: var(--cepl-red) !important; }

/* Horario texto */
.cepl-horario-card h6 { color: var(--cepl-red) !important; }
.cepl-horario-card .horario-row { color: rgba(255,255,255,0.80) !important; }
.cepl-horario-card .horario-row span:first-child { color: rgba(255,255,255,0.50) !important; }

/* Horario card */
.cepl-horario-card {
  background: linear-gradient(135deg, rgba(204,34,0,0.15) 0%, rgba(204,34,0,0.05) 100%);
  border: 1px solid rgba(204,34,0,0.25);
  border-radius: 14px;
  padding: 22px 20px;
}
.cepl-horario-card h6 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cepl-red) !important;
  margin-bottom: 12px;
}
.cepl-horario-card .horario-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.80) !important;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cepl-horario-card .horario-row:last-child { border-bottom: none; }
.cepl-horario-card .horario-row span:first-child { color: rgba(255,255,255,0.55); }

/* Formulario derecha */
.cepl-contact-form-wrap {
  background: #131825;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 36px 32px;
}
.cepl-contact-form-wrap label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.cepl-contact-form-wrap .form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  color: rgba(255,255,255,0.90);
  padding: 11px 14px;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cepl-contact-form-wrap .form-control::placeholder {
  color: rgba(255,255,255,0.25);
}
.cepl-contact-form-wrap .form-control:focus {
  background: rgba(255,255,255,0.07);
  border-color: var(--cepl-red);
  box-shadow: 0 0 0 3px rgba(204,34,0,0.15);
  color: #fff;
  outline: none;
}
.cepl-contact-form-wrap textarea.form-control { resize: vertical; min-height: 150px; }

/* Honeypot — nunca visible */
.cepl-hp-field { display: none !important; visibility: hidden !important; }

/* Botón enviar */
.btn-cepl-send {
  background: var(--cepl-red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  width: 100%;
}
.btn-cepl-send:hover {
  background: var(--cepl-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--cepl-shadow-r);
  color: #fff;
}
.btn-cepl-send:active { transform: translateY(0); }

/* Alerts CEPL en contacto */
.cepl-alert-contact {
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.93rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cepl-alert-contact.success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.30);
  color: #86efac;
}
.cepl-alert-contact.danger {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.30);
  color: #fca5a5;
}
.cepl-alert-contact.warning {
  background: rgba(234,179,8,0.12);
  border: 1px solid rgba(234,179,8,0.30);
  color: #fde047;
}
/* reCAPTCHA nota */
.cepl-recaptcha-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  text-align: center;
  margin-top: 12px;
}
.cepl-recaptcha-note a { color: rgba(255,255,255,0.40); text-decoration: underline; }
.cepl-recaptcha-note a:hover { color: rgba(255,255,255,0.70); }
