@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
  --gold-base: #C5A059;
  --gold-light: #FEEBC1;
  --gold-dark: #7F592B;

  --emerald-base: #0B3B24;
  --emerald-light: #1E6E45;

  --black-deep: #0A0A0A;
  --black-soft: #1F1F1F;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background: radial-gradient(
    circle at top right,
    #1F1F1F,
    #0A0A0A 70%
  );
  color: #ffffff;
}



/* ===== ADMIN TOPBAR ===== */
.admin-topbar {
  background: linear-gradient(180deg, #012241, #011a33);
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow:
    0 10px 25px rgba(0,0,0,0.25),
    inset 0 -1px 0 rgba(255,255,255,0.08);
}

/* Links base */
.admin-topbar .admin-link {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Botón Inicio */
.admin-topbar .admin-home {
  color: #C7A35B;
  background: rgba(199,163,91,0.12);
  border: 1px solid rgba(199,163,91,0.35);
}

.admin-topbar .admin-home:hover {
  background: rgba(199,163,91,0.22);
  box-shadow: 0 6px 15px rgba(199,163,91,0.35);
  transform: translateY(-1px);
}

/* Botón Logout */
.admin-topbar .admin-logout {
  color: #ffffff;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
}

.admin-topbar .admin-logout:hover {
  background: rgba(255,255,255,0.18);
  box-shadow: 0 6px 15px rgba(0,0,0,0.35);
  transform: translateY(-1px);
}


/* =========================
   NAVBAR
========================= */
.custom-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 1050;
  background: transparent;
  transition: all 0.4s ease;
}

.custom-navbar.scrolled {
  background: linear-gradient(135deg, var(--black-deep), var(--emerald-base));
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  padding: 10px 0;
}

.custom-navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--gold-base) !important;
}

.logo-navbar {
  width: 280px;
}


.navbar-brand img {
  height: 100px;
  width: auto;
}

.social-icon {
  color: #ffffff;
}

.social-icon:hover {
  color: var(--gold-light);
}



/* Dropdown */
.custom-navbar .dropdown-menu {
  background: var(--black-soft);
  border: 1px solid var(--gold-dark);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.custom-navbar .dropdown-item {
  color: var(--gold-light);
}

.custom-navbar .dropdown-item:hover {
  background: var(--gold-base);
  color: var(--black-deep);
}

        /* Estilos específicos para la página Nosotros */
        .about-hero {
            background: var(--black-deep);   
            padding: 120px 0 80px;
            text-align: center;
            color: var(--white-soft);
            border-bottom: 3px solid var(--gold-base);
        }

        
        .about-hero .container{
            background: linear-gradient(135deg, var(--black-deep), var(--emerald-base));
        }


/* ----------------------------
   HERO DEL BLOG
---------------------------- */
.blog-hero{
  padding:90px 0 70px;
  text-align:center;
  background:linear-gradient(135deg,rgba(11,59,36,.75),rgba(10,10,10,.9));
  border-bottom:1px solid rgba(197,160,89,.35);
}

.blog-hero h1{
  color:var(--gold-base);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
}

.blog-hero p{
  color:#e5e5e5;
  max-width:700px;
  margin:10px auto 0;
  font-size:1rem;
}

/* ----------------------------
   GRID BLOG
---------------------------- */
.blog-grid{
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}


/* ----------------------------
   CARD DE ARTÍCULO
---------------------------- */
.blog-card{
  background:rgba(11,59,36,.35);
  border:1px solid rgba(197,160,89,.35);
  border-radius:18px;
  overflow:hidden;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 25px 50px rgba(0,0,0,.35);
  transition:.35s;
  display:flex;
  flex-direction:column;
}

.blog-card:hover{
  transform:translateY(-6px);
  box-shadow:0 35px 70px rgba(0,0,0,.55);
  border-color:var(--gold-base);
}

/* Imagen */
.blog-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-bottom:1px solid rgba(197,160,89,.25);
}

/* Contenido */
.card-body{
  padding:18px;
}

.card-body h3{
  color:var(--gold-light);
  font-weight:800;
  margin:0 0 6px;
  font-size:1.1rem;
}

.card-body p{
  color:#cfcfcf;
  font-size:.9rem;
  line-height:1.45;
  margin-bottom:18px;
}

/* ----------------------------
   BOTÓN LEER ARTÍCULO
---------------------------- */
.btn-read{
  display:inline-block;
  background:linear-gradient(135deg,var(--gold-base),var(--gold-dark));
  color:#000;
  padding:10px 18px;
  border-radius:50px;
  font-weight:800;
  letter-spacing:.4px;
  text-decoration:none;
  border:1px solid #000;
  box-shadow:0 14px 32px rgba(197,160,89,.35);
  transition:.35s;
}

.btn-read:hover{
  background:var(--gold-light);
  transform:translateY(-3px);
  box-shadow:0 22px 44px rgba(197,160,89,.55);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.blog-hero .container{
  max-width: 1100px;
}





/* ======= FOOTER PREMIUM ======= */
.site-footer {
  position: relative;
  background: linear-gradient(135deg, #0A0A0A, #0B3B24);
  color: #ffffff;
  padding: 80px 0 20px;
  border-top: 2px solid #C5A059;
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(197,160,89,.18), transparent 70%);
  opacity: .35;
}

/* GRID */
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

/* BRAND SECTION */
.footer-logo {
  width: 220px;
  margin-bottom: 14px;
}

.footer-desc {
  color: #e5e7eb;
  font-size: .9rem;
  margin-bottom: 10px;
  max-width: 320px;
}

.footer-badge {
  display: inline-block;
  color: #C5A059;
  border: 1px solid #C5A059;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: .8rem;
  letter-spacing: .5px;
}

/* TITULOS */
.footer-column h4 {
  color: #FEEBC1;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: .6px;
}

/* LISTAS */
.footer-column ul { list-style: none; padding: 0; }

.footer-column ul li { margin-bottom: 8px; }

.footer-column a {
  color: #e5e7eb;
  text-decoration: none;
  transition: .25s;
}

.footer-column a:hover {
  color: #C5A059;
  padding-left: 4px;
}

/* ICON TEXT */
.footer-column p i {
  color: #C5A059;
  margin-right: 6px;
}

/* SOCIAL */
.footer-social a {
  color: #ffffff;
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  margin-right: 10px;
  transition: .25s;
}

.footer-social a:hover {
  background: rgba(197,160,89,.25);
  border-color: #C5A059;
  transform: translateY(-2px);
}

/* BOTTOM LINE */
.footer-bottom {
  text-align: center;
  margin-top: 35px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: #d1d5db;
  font-size: .85rem;
}

/* BOTÓN FLOTANTE WHATSAPP */
.btn-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  z-index: 9999;
}

/* Hover */
.btn-whatsapp:hover {
  background-color: #1ebe5c;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

/* ----------------------------
   RESPONSIVE
---------------------------- */
@media (min-width:1400px){
  .blog-grid{
    max-width: 1050px;
  }
}

@media(max-width:992px){
  .blog-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:900px){
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section-title-premium h2 { font-size: 2rem; }
    .course-features { padding: 60px 20px; }
    
  .btn-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }      
}        

@media(max-width:640px){
  .blog-grid{
    grid-template-columns:1fr;
    max-width: 500px; /* mantiene la estética */
  }
}
@media(max-width:600px){
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 60px 0 20px; }
}

