/** De Home **/

:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1f2933;
  --muted: #667085;
  --brand: #143d59;
  --brand-2: #f4a261;

  --line: #e7e1d6;
  --shadow: 0 18px 45px rgba(25, 35, 45, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: auto; }

.logo { font-size: 34px; font-weight: 800; letter-spacing: -1px; color: var(--brand); }

.logo-brand{
    display:flex;
    align-items:center;
    gap:12px;
	margin-left: 12px;
}

.logo-brand img{
    width:72px;
    height:auto;
    transition:.3s ease;
}

.logo-brand:hover img{
    transform:scale(1.08);
}

.logo-brand span{
    font-size:28px;
    font-weight:900;
    letter-spacing:4px;
    color:var(--brand);
}

.header-actions a { font-weight: 600; color: var(--brand); }
.menu-toggle { display: none; border: 0; background: var(--brand); color: white; border-radius: 10px; padding: 9px 12px; }
.eyebrow { color: var(--brand-2); text-transform: uppercase; font-weight: 800; letter-spacing: .12em; font-size: 12px; }
.section { margin-bottom: 64px; }

.whatsapp 
{ position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: white; display: grid; place-items: center; font-size: 28px; box-shadow: var(--shadow); z-index: 30; 
  transition: all .25s ease;
}

.whatsapp:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(37,211,102,.45);
}

@media (max-width: 960px) {
  .search, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav__inner { flex-direction: column; align-items: flex-start; padding: 16px 0; }
  .hero__grid, .split-section { grid-template-columns: 1fr; }
  .features, .product-grid, .promo-grid, .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .slide { padding: 34px; }
}

@media (max-width: 640px) {
    .logo-brand span{
        display:none;
    }
    
    .logo-brand img{
        width:60px;
    }  
}

@media (max-width: 620px) {
  .topbar nav { display: none; }
  .features, .product-grid, .promo-grid, .footer__grid { grid-template-columns: 1fr; }
  .hero-slider { min-height: 500px; }
  .slide h1 { font-size: 38px; }
}



/* Alternative clean home */

.clean-header {
  background: #ffffff;
  box-shadow:
    0 4px 10px rgba(0,0,0,.12),
    0 18px 35px rgba(0,0,0,.22);
}

.clean-nav {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.clean-nav {
  position: relative;
}

.single-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-right: 12px;
}
.single-menu a {
  font-weight: 800;
  color: #374151;
  padding: 12px 0;
  position: relative;
}
.single-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  border-radius: 99px;
  background: var(--brand-2);
  transform: scaleX(0);
  transition: .25s ease;
}
.single-menu a:hover::after,
.single-menu a.active::after { transform: scaleX(1); }

/********************/

.product-page-title {
  padding: 54px 0 42px;
  background:
    linear-gradient(135deg, rgba(20,61,89,.92), rgba(16,47,69,.86)),
    radial-gradient(circle at 82% 24%, rgba(244,162,97,.48) 0 16%, transparent 17%);
  color: #fff;
  text-align: center;
}
.product-page-title h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -1.6px;
}

.product-page-title {
  position: relative;
  padding: 54px 0 42px;
  color: #fff;
  text-align: center;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;  
}

.product-page-title h1 {
  color: var(--brand);
  text-shadow: none;
}

.product-breadcrumb {
  color: var(--muted);
}


/* Elementos decorativos educativos, sin depender de una imagen externa */
.product-page-title .container {
  position: relative;
  z-index: 1;
}

.product-page-title .container::before,
.product-page-title .container::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  color: rgba(20,61,89,.16);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
  white-space: pre-line;
}

.product-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.product-breadcrumb a,
.product-breadcrumb strong {
  color: var(--brand);
  text-decoration: none;
}


@media (max-width: 560px) {
  .product-page-title h1 {
    font-size: 34px;
  }
}

/**********************/
/**********************/

.view-btn.active {
  background: var(--brand-2);
  border-color: var(--brand-2);
  color: #fff;
}

#product-count {
  margin-left: 8px;
  font-size: 13px;
  color: #5f6b7a;
}

@media (max-width: 900px) {
  .clean-nav { min-height: 72px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .single-menu {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 10000;
  }
  
  .single-menu.open { display: flex; }
  .single-menu a { padding: 12px 8px; }
  .review-grid, .logo-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .product-page {
    grid-template-columns: 1fr;
  }
   
  .products-sidebar {
    padding: 0;
    overflow: hidden;
  }

  .products-sidebar h3 {
    margin: 0 0 6px;
    font-size: 30px;
    font-weight: 800;
    padding: 6px 14px;
  }

  .filters-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: var(--brand);
    color: #fff;

    border: 0;
    padding: 16px 18px;

    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }

  .filters-toggle i {
    transition: transform .3s ease;
  }

  .filters-content {
    padding: 20px;
  }

  .filters-content.collapsed {
    display: none;
  }

  .filters-toggle.active i {
    transform: rotate(180deg);
  }  
}

@media (max-width: 560px) {
  .product-page-title h1 {
    font-size: 34px;
  }
}

/* ==========================
   PRODUCTS - PUBLICISTAS
========================== */

.products-publishers {
  padding-top: 48px;
  padding-bottom: 70px;
}

.products-intro {
  max-width: 780px;
  margin-bottom: 34px;
}

.products-intro h2 {
  margin: 8px 0 12px;
  color: var(--brand);
  font-size: clamp(30px, 4vw, 44px);
}

.products-intro p {
  color: #667085;
  line-height: 1.7;
}

.publisher-showcase {
  display: grid;
  gap: 30px;
}

.publisher-showcase-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: center;

  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
  transition: .3s ease;
}

.publisher-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(0,0,0,.11);
}

.publisher-showcase-logo {
  min-height: 220px;
  border-right: 1px solid #e8ecf2;

  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 26px;
}

.publisher-showcase-logo img {
    display:block;
    width:100%;
    max-width:240px;
    height:auto;
    max-height:145px;
    object-fit:contain; 
}

.publisher-showcase-info h3 {
  color: var(--brand);
  font-size: 26px;
  margin-bottom: 12px;
}

.publisher-showcase-info p {
  color: #667085;
  line-height: 1.7;
  max-width: 760px;
}

.publisher-showcase-card > * {
    min-width: 0;
}

.publisher-showcase-info {
    min-width: 0;
}

.publisher-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0;
}

.publisher-benefits span {
  background: #f6f8fb;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: 16px 12px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.publisher-benefits i {
  font-size: 22px;
  color: var(--brand-2);
}

.publisher-main-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: var(--brand);
  color: #fff;
  text-decoration: none;

  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: .3s ease;
}

.publisher-main-link:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
}

.products-value-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 22px;
  overflow: hidden;
}

.products-value-strip article {
  padding: 26px 22px;
  border-right: 1px solid #e8ecf2;
}

.products-value-strip article:last-child {
  border-right: 0;
}

.products-value-strip i {
  font-size: 26px;
  color: var(--brand-2);
  margin-bottom: 12px;
}

.products-value-strip h4 {
  color: var(--brand);
  margin-bottom: 8px;
}

.products-value-strip p {
  color: #667085;
  line-height: 1.5;
}

.products-cta {
  margin-top: 34px;
  background: linear-gradient(135deg, var(--brand), #0d2d43);
  color: #fff;
  border-radius: 24px;
  padding: 34px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.products-cta span {
  color: var(--brand-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.products-cta h3 {
  margin-top: 8px;
  font-size: 24px;
}

.products-cta a {
  flex: 0 0 auto;

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

  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  text-decoration: none;

  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: .3s ease;
}

.products-cta a:hover {
  background: #fff;
  color: var(--brand);
}

@media (max-width: 900px) {
  .publisher-showcase-card {
    grid-template-columns: 1fr;
    width:100%;
  }
  
  .publisher-showcase-logo img{
    width:auto;
    max-width:100%;
  }  

  .publisher-showcase-logo {
    overflow:hidden;
    
    border-right: 0;
    border-bottom: 1px solid #e8ecf2;
    padding-right: 0;
    padding-bottom: 24px;
  }

  .publisher-benefits,
  .products-value-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .products-publishers {
    padding-top: 34px;
  }

  .publisher-showcase-card {
    padding: 24px;
  }

  .publisher-benefits,
  .products-value-strip {
    grid-template-columns: 1fr;
  }

  .products-value-strip article {
    border-right: 0;
    border-bottom: 1px solid #e8ecf2;
  }

  .products-value-strip article:last-child {
    border-bottom: 0;
  }
}

/* =====================================
   LMS BANNER
===================================== */

.products-lms-banner {
  margin-top: 34px;
  margin-bottom: 34px;

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

  padding: 22px 28px;

  background: #fff;
  border: 2px solid rgba(20,61,89,.10);
  border-radius: 20px;

  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.products-lms-icon {
  flex-shrink: 0;

  width: 72px;
  height: 72px;

  border-radius: 16px;

  background: rgba(20,61,89,.08);

  display: flex;
  align-items: center;
  justify-content: center;
}

.products-lms-icon i {
  font-size: 34px;
  color: var(--brand);
}

.products-lms-content {
  flex: 1;
}

.products-lms-tag {
  display: inline-block;

  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;

  color: var(--brand-2);

  margin-bottom: 6px;
}

.products-lms-content h3 {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 24px;
}

.products-lms-content p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.products-lms-button {
  flex-shrink: 0;

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

  padding: 14px 24px;

  background: var(--brand);
  color: #fff;
  text-decoration: none;

  border-radius: 999px;
  font-weight: 700;

  transition: .25s ease;
}

.products-lms-button:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 900px) {
  .products-lms-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-lms-button {
    width: 100%;
    justify-content: center;
  }
}

/*********************************
           Destacar LMS 
***********************************/

.products-lms-banner {
  background: linear-gradient(
    135deg,
    var(--brand),
    #0d2d43
  );

  border: none;
  box-shadow: 0 18px 40px rgba(20,61,89,.20);
}

.products-lms-content h3,
.products-lms-content p {
  color: #fff;
}

.products-lms-tag {
  color: var(--brand-2);
}

.products-lms-icon {
  background: rgba(255,255,255,.12);
}

.products-lms-icon i {
  color: #fff;
}

.products-lms-button {
  background: #fff;
  color: var(--brand);
}

.products-lms-button:hover {
  background: var(--brand-2);
  color: #fff;
}

/*********************************
     DT5 - Editorial Español
**********************************/

.products-spanish-banner {
  margin-top: 34px;
  margin-bottom: 34px;

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

  padding: 22px 28px;

  background: linear-gradient(
    135deg,
    #184f77,
    #0b2c46
  );

  border-radius: 20px;

  box-shadow: 0 18px 40px rgba(20,61,89,.20);
}

.products-spanish-logo {
  flex-shrink: 0;

  width: 120px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.products-spanish-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.products-spanish-content {
  flex: 1;
}

.products-spanish-tag {
  display: inline-block;

  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;

  color: var(--brand-2);

  margin-bottom: 6px;
}

.products-spanish-content h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
}

.products-spanish-content p {
  margin: 0;
  color: rgba(255,255,255,.90);
  line-height: 1.6;
}

.products-spanish-button {
  flex-shrink: 0;

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

  padding: 14px 24px;

  background: #fff;
  color: var(--brand);

  text-decoration: none;
  font-weight: 700;

  border-radius: 999px;

  transition: .25s ease;
}

.products-spanish-button:hover {
  background: var(--brand-2);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 900px) {

  .products-spanish-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-spanish-logo {
    width: 100px;
  }

  .products-spanish-button {
    width: 100%;
    justify-content: center;
  }

}
