/* =========================
RESET
========================= */

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:#f4f7fb;
  color:#0f172a;
  overflow-x:hidden;
}

/* =========================
SCROLLBAR
========================= */

::-webkit-scrollbar{
  width:10px;
}

::-webkit-scrollbar-thumb{
  background:#cbd5e1;
  border-radius:20px;
}

/* =========================
VERIFY WARNING
========================= */

.verify-warning{
  width:100%;
  background:#fef3c7;
  color:#92400e;
  text-align:center;
  padding:14px;
  font-weight:600;
  font-size:.95rem;
}

/* =========================
SIDEBAR
========================= */

.side-menu{
  position:fixed;
  top:0;
  left:-280px;
  width:280px;
  height:100vh;
  background:white;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  z-index:999;
  transition:.4s;
  padding:30px 20px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.side-menu.active{
  left:0;
}

.menu-header{
  margin-bottom:20px;
}

.menu-header h2{
  color:#2563eb;
  margin-bottom:5px;
}

.menu-header p{
  color:#64748b;
  font-size:.9rem;
}

.side-menu a{
  text-decoration:none;
  color:#1e293b;
  background:#f8fafc;
  padding:14px 16px;
  border-radius:14px;
  font-weight:600;
  transition:.3s;
}

.side-menu a:hover{
  background:#2563eb;
  color:white;
  transform:translateX(5px);
}

/* =========================
TOPBAR
========================= */

.topbar{
  width:100%;
  height:75px;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 30px;
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid #e2e8f0;
}

.left-section{
  display:flex;
  align-items:center;
  gap:18px;
}

.menu-icon{
  font-size:1.5rem;
  cursor:pointer;
  transition:.3s;
}

.menu-icon:hover{
  transform:scale(1.1);
}

.logo{
  font-size:1.4rem;
  font-weight:800;
  color:#2563eb;
}

.btn-login{
  text-decoration:none;
  background:linear-gradient(135deg,#2563eb,#3b82f6);
  color:white;
  padding:12px 22px;
  border-radius:14px;
  font-weight:700;
  transition:.3s;
}

.btn-login:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(37,99,235,.25);
}

/* =========================
USER MENU
========================= */

.user-menu{
  position:fixed;
  top:90px;
  right:20px;
  z-index:200;
}

.avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  background:#2563eb;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  cursor:pointer;
}

.dropdown{
  margin-top:10px;
  background:white;
  border-radius:14px;
  padding:10px;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.dropdown a{
  text-decoration:none;
  color:#1e293b;
  font-weight:600;
}

/* =========================
HERO
========================= */

.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  background:
  linear-gradient(rgba(15,23,42,.75),rgba(15,23,42,.75)),
  url('https://images.unsplash.com/photo-1517849845537-4d257902454a?q=80&w=1600&auto=format&fit=crop') center/cover;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.2),rgba(0,0,0,.55));
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:900px;
  padding:20px;
  color:white;
}

.hero-badge{
  display:inline-block;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  padding:10px 18px;
  border-radius:999px;
  margin-bottom:25px;
  font-weight:600;
  backdrop-filter:blur(10px);
}

.hero h1{
  font-size:4rem;
  line-height:1.1;
  margin-bottom:25px;
  font-weight:800;
}

.hero p{
  font-size:1.2rem;
  line-height:1.8;
  max-width:760px;
  margin:auto;
  color:#e2e8f0;
}

.hero-buttons{
  margin-top:35px;
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
  text-decoration:none;
  padding:16px 28px;
  border-radius:16px;
  font-weight:700;
  transition:.3s;
}

.btn-primary{
  background:#2563eb;
  color:white;
}

.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(37,99,235,.3);
}

.btn-secondary{
  background:white;
  color:#0f172a;
}

.btn-secondary:hover{
  transform:translateY(-3px);
}

.hero-stats{
  margin-top:50px;
  display:flex;
  justify-content:center;
  gap:25px;
  flex-wrap:wrap;
}

.hero-stat{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15);
  padding:18px 28px;
  border-radius:20px;
  backdrop-filter:blur(10px);
}

.hero-stat strong{
  display:block;
  font-size:1.5rem;
  margin-bottom:5px;
}

/* =========================
SECTIONS
========================= */

.section{
  padding:90px 20px;
}

.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title span{
  color:#2563eb;
  font-weight:700;
  letter-spacing:1px;
  display:block;
  margin-bottom:10px;
}

.section-title h2{
  font-size:2.6rem;
  max-width:700px;
  margin:auto;
  line-height:1.2;
}

.intro-section{
  background:white;
}

.intro-text{
  max-width:950px;
  margin:auto;
  text-align:center;
  line-height:2;
  font-size:1.08rem;
  color:#475569;
}

/* =========================
FEATURES
========================= */

.features-grid{
  width:100%;
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.feature-card{
  background:white;
  padding:35px;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  transition:.3s;
  border:1px solid #e2e8f0;
}

.feature-card:hover{
  transform:translateY(-8px);
}

.feature-icon{
  font-size:2.3rem;
  margin-bottom:20px;
}

.feature-card h3{
  margin-bottom:12px;
  font-size:1.3rem;
}

.feature-card p{
  line-height:1.7;
  color:#64748b;
}

.premium-card{
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:white;
}

.premium-card p{
  color:#dbeafe;
}

/* =========================
COURSES
========================= */

.courses-section{
  background:#f8fafc;
}

.courses-grid{
  width:100%;
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:28px;
}

.course-card{
  background:white;
  border-radius:28px;
  padding:30px;
  position:relative;
  overflow:hidden;
  transition:.35s;
  border:1px solid #e2e8f0;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.course-card:hover{
  transform:translateY(-10px);
}

.course-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.course-icon{
  font-size:4rem;
  margin-bottom:20px;
}

.course-card h3{
  font-size:1.7rem;
  margin-bottom:15px;
}

.course-card p{
  color:#64748b;
  line-height:1.8;
  margin-bottom:25px;
}

.free-badge{
  background:#dcfce7;
  color:#166534;
  padding:8px 14px;
  border-radius:999px;
  font-size:.85rem;
  font-weight:700;
}

.premium-overlay{
  position:absolute;
  top:20px;
  right:20px;
  background:#facc15;
  color:#78350f;
  padding:8px 14px;
  border-radius:999px;
  font-size:.8rem;
  font-weight:800;
}

.course-btn{
  width:100%;
  border:none;
  padding:15px;
  border-radius:14px;
  cursor:pointer;
  font-weight:700;
  font-size:1rem;
  transition:.3s;
}

.free-btn{
  background:#2563eb;
  color:white;
  text-decoration:none;
  display:flex;
  justify-content:center;
}

.free-btn:hover{
  background:#1d4ed8;
}

.premium-btn{
  background:#0f172a;
  color:white;
}

.premium-btn:hover{
  background:#1e293b;
}

/* =========================
PREMIUM SECTION
========================= */

.premium-section{
  padding:100px 20px;
  background:
  linear-gradient(rgba(15,23,42,.88),rgba(15,23,42,.88)),
  url('https://images.unsplash.com/photo-1500595046743-cd271d694d30?q=80&w=1600&auto=format&fit=crop') center/cover;
  text-align:center;
  color:white;
}

.premium-content{
  max-width:800px;
  margin:auto;
}

.premium-mini{
  color:#93c5fd;
  font-weight:700;
  letter-spacing:1px;
}

.premium-content h2{
  font-size:3rem;
  margin:20px 0;
}

.premium-content p{
  line-height:2;
  color:#e2e8f0;
  margin-bottom:35px;
}

.premium-main-btn{
  text-decoration:none;
  background:#2563eb;
  color:white;
  padding:18px 30px;
  border-radius:18px;
  font-weight:700;
  display:inline-block;
  transition:.3s;
}

.premium-main-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(37,99,235,.35);
}

/* =========================
FOOTER
========================= */

footer{
  background:#0a1628;
  color:white;
  padding:64px 20px 0;
}

.footer-grid{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.6fr 1fr 1.2fr 1fr;
  gap:48px;
  padding-bottom:48px;
}

/* COLUMNA BRAND */
.footer-brand{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.footer-logo{
  height:100px;
  width:auto;
  filter:brightness(1.1);
}

.footer-desc{
  color:#94a3b8;
  font-size:.93rem;
  line-height:1.75;
}

/* ICONOS REDES */
.footer-social{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.social-icon-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:10px;
  background:rgba(255,255,255,.07);
  color:#94a3b8;
  text-decoration:none;
  transition:.25s;
  border:1px solid rgba(255,255,255,.08);
}

.social-icon-btn:hover{
  background:#2563eb;
  color:white;
  border-color:#2563eb;
  transform:translateY(-2px);
}

/* COLUMNAS GENERICAS */
.footer-col{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.footer-title{
  color:white;
  font-size:.85rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:4px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

/* LINKS DE NAVEGACIÓN */
.footer-links{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:9px;
}

.footer-links a{
  color:#94a3b8;
  text-decoration:none;
  font-size:.9rem;
  transition:.2s;
  display:flex;
  align-items:center;
  gap:6px;
}

.footer-links a:hover{
  color:white;
  padding-left:4px;
}

/* BOTÓN MAPA */
.footer-map-btn{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:rgba(37,99,235,.15);
  color:#93c5fd;
  text-decoration:none;
  padding:9px 14px;
  border-radius:8px;
  font-size:.88rem;
  font-weight:500;
  border:1px solid rgba(37,99,235,.3);
  transition:.2s;
  width:fit-content;
}

.footer-map-btn:hover{
  background:rgba(37,99,235,.3);
  color:white;
}

/* DIRECCIÓN */
.footer-address{
  color:#94a3b8;
  font-size:.9rem;
  line-height:1.9;
}

/* BADGE NICARAGUA */
.footer-badge span{
  display:inline-block;
  background:rgba(255,255,255,.06);
  color:#64748b;
  font-size:.8rem;
  padding:5px 12px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.07);
}

/* FOOTER BOTTOM */
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.07);
  padding:20px 0;
}

.footer-bottom-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}

.footer-copy-text{
  color:#475569;
  font-size:.85rem;
}

.footer-bottom-links{
  display:flex;
  gap:20px;
}

.footer-bottom-links a{
  color:#475569;
  text-decoration:none;
  font-size:.85rem;
  transition:.2s;
}

.footer-bottom-links a:hover{
  color:#94a3b8;
}

/* RESPONSIVE FOOTER */
@media(max-width:1024px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:36px;
  }
}

@media(max-width:600px){
  .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .footer-bottom-inner{
    flex-direction:column;
    text-align:center;
  }
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:900px){

.hero h1{
  font-size:3rem;
}

.section-title h2{
  font-size:2rem;
}

.premium-content h2{
  font-size:2.2rem;
}

}

@media(max-width:768px){

.topbar{
  padding:0 18px;
}

.hero{
  min-height:92vh;
}

.hero h1{
  font-size:2.4rem;
}

.hero p{
  font-size:1rem;
}

.hero-buttons{
  flex-direction:column;
}

.btn-primary,
.btn-secondary{
  width:100%;
}

.hero-stats{
  gap:15px;
}

.hero-stat{
  width:100%;
}

.section{
  padding:70px 18px;
}

.course-card{
  padding:25px;
}

}

@media(max-width:480px){

.hero h1{
  font-size:2rem;
}

.logo{
  font-size:1.1rem;
}

.btn-login{
  padding:10px 16px;
  font-size:.9rem;
}

.section-title h2{
  font-size:1.7rem;
}

.premium-content h2{
  font-size:1.8rem;
}

}

/* =========================
WARNING VERIFICACIÓN
========================= */

.verify-warning{
  position:fixed;
  top:0;
  left:0;

  width:100%;

  background:#fef3c7;
  color:#b45309;

  padding:12px 14px;

  text-align:center;

  font-size:.82rem;
  font-weight:700;

  border-bottom:1px solid #fcd34d;

  z-index:99999;

  box-shadow:
  0 4px 12px rgba(0,0,0,.08);
}

/* =========================
RATING CURSOS
========================= */

.course-rating{
  margin-top:18px;

  display:flex;
  align-items:center;
  gap:10px;

  flex-wrap:wrap;
}

.stars{
  color:#facc15;

  font-size:18px;
  letter-spacing:2px;

  font-weight:700;
}

.rating-text{
  font-size:14px;

  color:#64748b;

  font-weight:600;
}

/* =========================
BOTON OPINIONES
========================= */

.reviews-btn{
  width:100%;

  margin-top:14px;

  border:none;

  background:#eff6ff;

  color:#2563eb;

  padding:12px;

  border-radius:14px;

  font-weight:700;

  cursor:pointer;

  transition:.3s;
}

.reviews-btn:hover{
  background:#2563eb;
  color:white;
}

/* =========================
RATING CURSOS
========================= */

.course-rating{

margin-top:18px;

display:flex;
align-items:center;
gap:10px;

}

.stars{

color:#facc15;

font-size:18px;
letter-spacing:2px;

}

.rating-text{

font-size:.9rem;
color:#64748b;

}

/* =========================
BOTON OPINIONES
========================= */

.reviews-btn{

width:100%;

margin-top:14px;
margin-bottom:14px;

border:none;

background:#eff6ff;

color:#2563eb;

padding:12px;

border-radius:14px;

font-weight:700;

cursor:pointer;

transition:.3s;

}

.reviews-btn:hover{

background:#2563eb;
color:white;

}
/* =========================
INTRO CON LOGO MASCOTA
========================= */

.intro-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.intro-text-col {
  flex: 1;
}

.intro-logo-col {
  flex: 0 0 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-logo-svg {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(184,131,58,0.18));
  transition: transform 0.3s ease;
}

.intro-logo-svg:hover {
  transform: translateY(-6px) scale(1.04);
}

@media (max-width: 700px) {
  .intro-inner {
    flex-direction: column-reverse;
    gap: 24px;
    text-align: center;
  }
  .intro-logo-col {
    flex: none;
  }
  .intro-logo-svg {
    width: 160px;
  }
}

/* =========================
SECCIÓN LOGO MASCOTA
========================= */

.logo-mascota-section {
  background: white;
  padding: 48px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-mascota-inner {
  width: 100%;
  max-width: 700px;
  display: flex;
  justify-content: center;
}

.logo-mascota-svg {
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(15,42,74,0.10));
  transition: transform 0.3s ease;
}

.logo-mascota-svg:hover {
  transform: translateY(-4px);
}

@media (max-width: 500px) {
  .logo-mascota-section {
    padding: 32px 12px;
  }
}

/* Modo oscuro texto logo */
body.dark .logo-mascota-svg text {
  fill: #e0f4ff;
}

/* =========================
LOGO TOPBAR
========================= */

/* ← Cambia estos valores para ajustar el tamaño del logo */
.topbar-logo {
  height: 100px;      /* alto del logo en la barra */
  width: auto;       /* ancho se ajusta automáticamente */
  display: block;
  transition: opacity 0.2s;
}

.topbar-logo:hover {
  opacity: 0.85;
}

/* Mobile: logo un poco más pequeño */
@media (max-width: 600px) {
  .topbar-logo {
    height: 60px;
  }
}