:root{
      --blue:#2b3e8f;
      --dark:#333;
      --red:#e62121;
      --light:#f6f6f6;
      --white:#fff;
      --max-width:1200px;
      --radius:6px;
    }
    *{box-sizing:border-box}
    body{
      margin:0;
      font-family:"Open Sans",sans-serif;
      color:var(--dark);
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
      line-height:1.5;
      padding-top: 120px;
    }

    /* 1) Barra superior azul */
    .topbar{
      background:#2f3b4a;
      color:#fff;
      padding:8px 16px;
      font-size:14px;
    }
    .topbar .container{
      max-width:var(--max-width);
      margin:0 auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }
    .topbar .left, .topbar .right{
      display:flex;
      align-items:center;
      gap:16px;
    }
    .topbar a{color:#fff; text-decoration:none; opacity:0.95}
    .topbar .socials a{margin-left:8px;display:inline-block;padding:6px;background:rgba(255,255,255,0.06);border-radius:4px}

    /* Header / logo + nav */
    header{
      background:transparent;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
    }

    /* ---------- NAVBAR ---------- */
    .navbar { 
      background: #ffffff; 
      padding: 1rem 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .navbar .container {
      max-width: var(--max-width);
    }

    /* logo spacing */
    .navbar-brand img { 
      display:block; 
      height: 56px;
    }

    /* desktop nav links */
    .navbar .nav-link {
      color: var(--blue);
      font-weight:600;
      text-transform: uppercase;
      letter-spacing: .4px;
      padding: .5rem 1rem;
      font-size: 14px;
    }
    .navbar .nav-link:hover { 
      color: #1a2a6c; 
      text-decoration:none; 
    }

    /* CTA buttons desktop */
    .btn-cta {
      border-radius: 28px;
      padding: 10px 18px;
      box-shadow: 0 6px 12px rgba(0,0,0,0.12);
      font-weight:700;
      font-size: 14px;
      white-space: nowrap;
    }
    .btn-cta-outline {
      border-radius: 28px;
      padding: 10px 18px;
      color: var(--red);
      border: 2px solid var(--red);
      background: transparent;
      font-weight:700;
      font-size: 14px;
      white-space: nowrap;
    }
    .btn-cta-outline:hover {
      color: var(--red);
      background: rgba(230,33,33,0.05);
    }

    /* mobile offcanvas nav */
    .offcanvas {
      max-width: 300px;
    }
    .offcanvas .nav-link {
      font-size: 16px;
      padding: 12px 0;
      color: var(--dark);
      font-weight: 600;
      text-transform: uppercase;
    }
    .offcanvas .nav-link:hover { 
      color: var(--blue); 
    }

    /* CTA mobile */
    .offcanvas .btn-cta-mobile {
      padding: 14px;
      border-radius: 28px;
      font-weight:700;
      box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    }

    /* custom toggler bars */
    .navbar-toggler { 
      border: none; 
      background: transparent; 
      padding: 8px; 
      display:flex; 
      flex-direction:column; 
      gap:5px; 
      align-items:center; 
      justify-content:center;
      width: 40px;
      height: 40px;
    }
    .navbar-toggler:focus {
      box-shadow: none;
    }
    .toggler-bar { 
      width:24px; 
      height:3px; 
      background:var(--blue); 
      display:block; 
      transition: transform .25s ease, opacity .2s ease;
      border-radius: 2px;
    }

    /* toggler open -> X */
    .navbar-toggler.open .toggler-bar:nth-child(1){ transform: translateY(8px) rotate(45deg); }
    .navbar-toggler.open .toggler-bar:nth-child(2){ opacity: 0; }
    .navbar-toggler.open .toggler-bar:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

    /* 3) Slider (hero) */
    .hero{
      position:relative;
      height:70vh;
      min-height:420px;
      overflow:hidden;
      color:#fff;
    }
    .slides{
      height:100%;
      display:flex;
      transition:transform 0.7s ease;
    }
    .slide{
      min-width:100%;
      height:100%;
      position:relative;
      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
      background-size:cover;
      background-position:center;
      padding:20px;
    }
    .slide-overlay{
      position:absolute; inset:0; background:rgba(0,0,0,0.35);
    }
    .hero .content{
      position:relative;
      z-index:2;
      max-width:900px;
    }
    .hero h1{
      font-family:"Montserrat",sans-serif;
      font-weight:600;
      font-size:48px;
      margin:0 0 12px;
    }
    .hero p{font-size:18px; margin:0 0 18px; opacity:0.95}
    .hero .buttons{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
    .btn{
      display:inline-block;
      padding:12px 22px;
      border-radius:30px;
      text-decoration:none;
      color:var(--white);
      background:var(--red);
      box-shadow:0 6px 12px rgba(0,0,0,0.18);
      font-weight:600;
    }
    .btn.outline{background:transparent;border:2px solid rgba(255,255,255,0.6);color:#fff;box-shadow:none}

    /* slider controls */
    .hero .dots{
      position:absolute;
      left:50%; transform:translateX(-50%);
      bottom:28px;
      display:flex; gap:10px; z-index:3;
    }
    .hero .dot{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,0.5);cursor:pointer}
    .hero .dot.active{background:#fff}

    /* 4) Newsletter banner */
    .newsletter{
      background:linear-gradient(90deg,#233f7a, #2b6bd6);
      color:#fff;
      padding:28px 16px;
      text-align:center;
    }
    .newsletter .wrap{max-width:var(--max-width); margin:0 auto; display:flex; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap}
    .newsletter h3{margin:0; font-size:20px; font-weight:700}
    .newsletter form{display:flex; gap:8px; align-items:center}
    .newsletter input[type="email"]{padding:10px 12px;border-radius:6px;border:none;min-width:220px}
    .newsletter button{background:var(--red); color:#fff;padding:10px 14px;border-radius:6px;border:none;cursor:pointer}
    
    .seccion-newsletter{
      background:linear-gradient(90deg,#233f7a, #2b6bd6);
      color:#000;
      padding:28px 16px;
      text-align:center;
    }
    .seccion-newsletter .wrap{max-width:var(--max-width); margin:0 auto; display:flex; gap:18px; align-items:center; justify-content:space-between; flex-wrap:wrap}
    .seccion-newsletter h3{margin:0; font-size:20px; font-weight:700}
    .seccion-newsletter form{display:flex; gap:8px; align-items:center}
    .seccion-newsletter input[type="email"]{padding:10px 12px;border-radius:6px;border:none;min-width:220px}
    .seccion-newsletter button{background:var(--red); color:#fff;padding:10px 14px;border-radius:6px;border:none;cursor:pointer}

    /* 5) Parallax info section */
    .parallax{
      background-image:url('https://images.unsplash.com/photo-1588776814546-1a1a7a7a7a7a?auto=format&fit=crop&w=1470&q=80');
      background-attachment:fixed;
      background-size:cover;
      background-position:center;
      color:#fff;
      padding:80px 16px;
      text-align:center;
    }
    .parallax .card{background:rgba(0,0,0,0.45);display:inline-block;padding:28px;border-radius:8px;max-width:900px}

    /* 6) 3 opciones (features) */
    .features{
      background:#fff;
      padding:60px 16px;
    }
    .features .wrap{max-width:var(--max-width); margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:36px; align-items:start}
    .feature{ text-align:center; padding:20px}
    .feature .icon{width:110px;height:110px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 18px; box-shadow:0 10px 30px rgba(0,0,0,0.12)}
    .feature h4{font-family:"Montserrat",sans-serif; margin-bottom:12px; letter-spacing:1px}
    .feature p{opacity:0.8; margin-bottom:18px}
    .feature .smallbtn{background:var(--blue); color:#fff;padding:10px 14px;border-radius:6px;border:none;cursor:pointer}

    /* 7) Parallax con formulario */
    .parallax-form{
      background-image:url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1470&q=80');
      background-attachment:fixed;
      background-size:cover;
      background-position:center;
      padding:80px 16px;
      color:#fff;
    }
    .parallax-form .form-wrap{max-width:1000px;margin:0 auto;
      background:rgba(0,0,0,0.45); 
      padding:22px;border-radius:8px;display:flex;gap:18px;flex-wrap:wrap}
    .parallax-form input, .parallax-form textarea{padding:10px;border-radius:6px;border:1px solid rgba(255,255,255,0.2);background:rgba(255,255,255,0.03);color:#000;width:100%}
    .parallax-form .col{flex:1 1 320px; min-width:250px}
    .parallax-form button{cursor:pointer}

    .parallax-form input, textarea {background:rgb(237 237 237) !important; color:#000; border:1px solid #ccc;}

    /* 8) Carrusel clientes */
    .clients{
      padding:40px 16px;
      background:var(--light);
    }
    .clients .wrap{max-width:var(--max-width); margin:0 auto}
    .client-carousel{
      display:flex;
      gap:18px;
      overflow:auto;
      padding:12px 6px;
      scroll-snap-type:x mandatory;
    }
    /* .client{flex:0 0 160px;height:90px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(0,0,0,0.06);scroll-snap-align:center} */
    .client{flex:0 0 220px;height:120px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(0,0,0,0.06);scroll-snap-align:center}

    /* 9) Footer */
    footer{
      background:var(--red);
      color:#fff;
      padding:40px 16px;
    }
    footer .wrap{max-width:var(--max-width);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;align-items:start}
    footer a{color:#fff; text-decoration:underline}

    /* Responsive */
    @media (max-width:991px){
      .features .wrap{grid-template-columns:1fr; text-align:center}
      .hero h1{font-size:36px}
      .parallax, .parallax-form{background-attachment:scroll}
      footer .wrap{grid-template-columns:1fr 1fr}
    }
    @media (max-width:480px){
      .topbar .container{flex-direction:column;align-items:flex-start}
      .newsletter .wrap{flex-direction:column;align-items:stretch}
      .seccion-newsletter .wrap{flex-direction:column;align-items:stretch}
      .hero h1{font-size:28px}
      .navbar-brand img { height: 46px; }
    }

    /* small utility */
    .center{display:flex;align-items:center;justify-content:center}
    
    /* Carrusel */
    .carousel-section {
      padding: 3rem 0;
      background: var(--light);
    }
    
    .carousel-section .carousel {
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .carousel-section .carousel-inner img {
      height: 400px;
      object-fit: cover;
    }
    
    .carousel-caption {
      background: rgba(0,0,0,0.5);
      padding: 1.5rem;
    }
    
    .carousel-caption h5 {
      font-weight: 700;
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }

    nav ul li{
      text-transform: uppercase;
    }

    /* newsletter*/
    /* .seccion-newsletter {
      padding: 60px 20px;
      /* background: #fff; * /
    } */

    .newsletter {
      padding: 60px 20px;
      /*background: #fff;*/
    }

    .seccion-newsletter {
      padding: 60px 20px;
      background: #fff;
    } */

    .newsletter-header {
      background: linear-gradient(135deg, #0066b3 0%, #004d8c 100%);
      color: white;
      padding: 40px 30px;
      text-align: center;
      border-radius: 8px 8px 0 0;
      margin-bottom: 0;
    }

    .newsletter-header h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: 3em;
      letter-spacing: 8px;
      font-weight: 300;
      margin: 0;
    }

    .newsletter-header p {
      font-size: 1.2em;
      margin-top: 10px;
      margin-bottom: 0;
    }

    .newsletter-date {
      background-color: white;
      padding: 15px 30px;
      border-bottom: 3px solid #0066b3;
      font-weight: 600;
    }

    .newsletter-content {
      background: #f8f9fa;
      padding: 20px;
    }

    .article-card {
      display: flex;
      gap: 30px;
      padding: 40px;
      border: 2px solid #ddd;
      border-radius: 12px;
      margin: 20px 0;
      background-color: white;
      transition: box-shadow 0.3s ease;
    }

    .article-card:hover {
      box-shadow: 0 5px 20px rgba(0, 102, 179, 0.2);
    }

    .article-image {
      flex-shrink: 0;
      width: 200px;
      height: 280px;
      overflow: hidden;
      border-radius: 8px;
    }

    .article-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .article-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .article-title {
      color: #0000EE;
      font-size: 1.5em;
      font-weight: bold;
      margin-bottom: 15px;
      text-decoration: underline;
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
    }

    .article-title:hover {
      color: #551A8B;
    }

    .article-source {
      color: #0066b3;
      font-style: italic;
      font-size: 1.1em;
      margin-bottom: 15px;
    }

    .article-description {
      color: #333;
      line-height: 1.6;
      font-size: 1em;
      margin-bottom: 20px;
    }

    .button-group {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }

    .btn-article {
      padding: 10px 25px;
      border: none;
      border-radius: 25px;
      font-size: 0.95em;
      font-weight: bold;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      color: white;
    }

    .btn-article:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      color: white;
    }

    .btn-primary-article {
      background-color: #0066b3;
    }

    .btn-danger-article {
      background-color: #c41e3a;
    }

    /* Responsive */
   @media (max-width: 768px) {
  .article-card {
    flex-direction: column;
    padding: 20px;
  }

  .article-image {
    width: 100%;
    height: 250px;
  }

  .newsletter-header h2 {
    font-size: 2em;
    letter-spacing: 4px;
  }

  .features h2 {
    font-size: 2rem;
  }

  .wrap {
    flex-direction: column;
  }

  /* AGREGAR ESTO: */
  .newsletter-grid {
    grid-template-columns: 1fr;
  }

  .newsletters-sidebar {
    position: static;
    order: -1; /* Mueve el sidebar arriba en móvil */
  }
}

    /* Grid de 2 columnas para newsletter */
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  align-items: start;
}


/* Sidebar de newsletters */
.newsletters-sidebar {
  position: sticky;
  top: 140px;
}

.sidebar-card {
  background: white;
  border: 2px solid #0066b3;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 102, 179, 0.1);
}

.sidebar-title {
  font-family: 'Montserrat', sans-serif;
  color: #0066b3;
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #0066b3;
}

.newsletter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.newsletter-list li {
  margin-bottom: 12px;
}

.newsletter-list a {
  color: #c41e3a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  display: block;
  padding: 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.newsletter-list a:hover {
  background: #f8f9fa;
  color: #0066b3;
  padding-left: 15px;
}

.newsletter-list li::before {
  content: "• ";
  color: #0066b3;
  font-weight: bold;
  margin-right: 8px;
}

/* Premio section styling */
.premio-section {
  margin-bottom: 40px;
  padding: 20px 0;
}

.premio-section h1, .premio-section h2 {
  margin-bottom: 20px;
  color: var(--blue);
}

.premio-section p {
  margin-bottom: 15px;
  line-height: 1.6;
}