
        :root {
            --bg-color: #fffef8;
            --text-main: #111111;
            --container-w: 1222px;
        }

        html {
            overflow-x: hidden;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Nunito Sans', sans-serif;
            color: var(--text-main);
            background-color: var(--bg-color);
            overflow-x: hidden;
            width: 100%;
        }

        .container {
            max-width: var(--container-w);
            margin: 0 auto;
            padding: 0 40px;
            position: relative;
        }

        /* HEADER */
        header {
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(5px);
            z-index: 1000;
            padding: 20px 0;
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: var(--container-w);
            margin: 0 auto;
            padding: 0 40px;
        }

        .header-logo img {
            height: 43px; /* 10% más grande */
            object-fit: contain;
            display: block; /* Centra mejor verticalmente quitando espacio inferior */
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 25px;
            height: 18px;
            cursor: pointer;
            z-index: 1001; /* Above mobile menu */
        }
        
        .menu-toggle span {
            display: block;
            height: 2px;
            width: 100%;
            background-color: #000;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        nav {
            flex: 1;
            display: flex;
            justify-content: flex-end; /* Alinea los items a la derecha en el contenedor */
        }

        nav ul {
            display: flex;
            gap: 35px; /* Añadido equivalente a un ancho de caracter en escritorio */
            list-style: none;
            align-items: center;
        }

        nav a {
            text-decoration: none;
            color: #000;
            font-size: 0.8rem; /* Un punto más grande */
            font-weight: 600; /* No tan bold por defecto */
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.2s;
        }

        nav a:hover {
            color: #777;
            font-weight: 800; /* Se pone bold en hover */
        }

        /* DROPDOWN MENU */
        .dropdown {
            position: relative;
            cursor: pointer;
        }
        
        .dropdown-text {
            color: inherit;
            font-size: inherit;
            font-weight: inherit;
            text-transform: inherit;
            letter-spacing: inherit;
            transition: all 0.2s;
        }
        
        nav .dropdown-text {
            color: #000;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        nav .dropdown:hover .dropdown-text {
            color: #777;
            font-weight: 800;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #fff;
            min-width: 140px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            padding: 10px 0;
            border-radius: 4px;
            z-index: 1000;
            flex-direction: column;
            gap: 10px;
            margin-top: 5px; /* Spacing */
        }
        
        /* Bridge the gap so hover doesn't disappear */
        .dropdown-menu::before {
            content: '';
            position: absolute;
            top: -10px;
            left: 0;
            width: 100%;
            height: 10px;
            background: transparent;
        }

        .dropdown:hover .dropdown-menu {
            display: flex;
        }

        .dropdown-menu a {
            display: block;
            padding: 5px 15px;
            font-size: 0.75rem;
            text-align: center;
            text-transform: uppercase;
            font-weight: 600;
            color: #111;
        }

        .dropdown-menu a:hover {
            background-color: #f0f0f0;
            color: #777;
        }

        /* Footer Dropdown Specifics */
        .footer-dropdown .dropdown-text {
            color: #777;
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            display: inline-block;
            transform: translateY(-1px); /* Ajuste visual de alineación */
        }
        .footer-dropdown .dropdown-menu a {
            color: #111;
        }
        .footer-dropdown .dropdown-menu a:hover {
            color: #777;
        }
        .footer-dropdown:hover .dropdown-text {
            color: #777;
        }
        .footer-dropdown .dropdown-menu {
            top: auto;
            bottom: 100%;
            margin-bottom: 10px;
            margin-top: 0;
        }
        .footer-dropdown .dropdown-menu::before {
            top: auto;
            bottom: -10px;
        }

        /* HERO SECTION */
        .hero {
            position: relative;
            min-height: 1000px;
            width: 100%;
            /* overflow: hidden; Eliminado para que los anillos puedan solapar hacia abajo */
        }

        .hero-inner {
            max-width: var(--container-w);
            margin: 0 auto;
            position: relative;
            height: 100%;
        }

        /* RINGS & MASKS */
        .ring {
            position: absolute;
            border-radius: 50%;
            border-style: solid;
            border-color: #000;
            box-sizing: border-box;
            pointer-events: none;
        }

        .ring.masked {
            border: none;
            --inner-radius: calc((var(--size) / 2) - var(--border-width));
            -webkit-mask-image: radial-gradient(circle, transparent var(--inner-radius), black calc(var(--inner-radius) + 0.5px));
            mask-image: radial-gradient(circle, transparent var(--inner-radius), black calc(var(--inner-radius) + 0.5px));
            background-size: var(--bg-size, cover);
            background-position: var(--bg-pos, center);
            background-repeat: no-repeat;
            background-attachment: fixed; /* Parallax Effect */
            
        }

        /* Central Large Ring */
        .ring-water {
            --size: 1012px; /* 4% más grande */
            --border-width: 59px;
            width: var(--size);
            height: var(--size);
            top: 50px;
            left: 50px;
            z-index: 1;
        }

        .ring-water video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        /* Top Right Leaf Ring */
        .ring-leaf {
            --size: 482px; /* 3% más grande */
            --border-width: 123px; 
            width: var(--size);
            height: var(--size);
            top: 170px; /* Bajado 50px */
            right: 0px; /* Movido 50px a la izquierda */
            z-index: 2;
            --bg-pos: center;
            --bg-size: cover;
            background-image: url('../images/leave.jpg');
            
        }
        



        /* Bottom Left Cloud Ring */
        .ring-cloud {
            --size: 357px; 
            --border-width: 50px;
            width: var(--size);
            height: var(--size);
            top: 750px; 
            left: -30px; 
            z-index: 0; /* Pasado detrás del anillo central (z-index: 1) */
            background-image: url('../images/clouds.jpg');
            --bg-size: cover;
            --bg-pos: center;
        }

        /* HERO TEXT BLOCK */
        .hero-content {
            position: absolute;
            top: 280px; 
            left: 310px; /* Movido a la derecha (aprox el tamaño de media S) */
            z-index: 10;
        }

        .hero-title {
            font-weight: 800; 
            font-size: 3.4rem;
            line-height: 0.95;
            letter-spacing: 2px;
            color: #111;
            margin-bottom: 10px; /* Menos salto de línea a la fecha */
        }

        .hero-details {
            font-size: 0.75rem;
            line-height: 1.5;
            font-weight: 600;
            letter-spacing: 1px;
            color: #444;
            margin-bottom: 35px;
        }

        .hero-date-highlight {
            font-size: 0.95rem; /* Fecha algo más grande */
            font-weight: 800; /* En bold */
            display: inline-block;
            margin-bottom: 2px;
            color: #111;
        }

        /* ROTATING TEXT */
        .stage {
            display: block;
            height: 0.95em;
            position: relative;
            perspective: 1000px;
            margin-bottom: 0.1em;
        }
        .cubespinner {
            animation-name: spincube;
            animation-timing-function: ease-in-out;
            animation-iteration-count: infinite;
            animation-duration: 12s; /* 5 words, slightly slower to read */
            transform-style: preserve-3d;
            transform-origin: 50% 50%;
            position: absolute;
            width: 100%;
            height: 0.95em;
            top: 50%;
            margin-top: -0.475em;
        }
        .cubespinner div {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            color: #111;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }
        .cubespinner .face1 { transform: rotateX(0deg) translateZ(0.65em); animation: fade1 12s infinite ease-in-out; }
        .cubespinner .face2 { transform: rotateX(-72deg) translateZ(0.65em); animation: fade2 12s infinite ease-in-out; }
        .cubespinner .face3 { transform: rotateX(-144deg) translateZ(0.65em); animation: fade3 12s infinite ease-in-out; }
        .cubespinner .face4 { transform: rotateX(-216deg) translateZ(0.65em); animation: fade4 12s infinite ease-in-out; }
        .cubespinner .face5 { transform: rotateX(-288deg) translateZ(0.65em); animation: fade5 12s infinite ease-in-out; }

        @keyframes spincube {
            0%, 12% { transform: translateZ(-0.65em) rotateX(0deg); }
            20%, 32% { transform: translateZ(-0.65em) rotateX(72deg); }
            40%, 52% { transform: translateZ(-0.65em) rotateX(144deg); }
            60%, 72% { transform: translateZ(-0.65em) rotateX(216deg); }
            80%, 92% { transform: translateZ(-0.65em) rotateX(288deg); }
            100% { transform: translateZ(-0.65em) rotateX(360deg); }
        }

        @keyframes fade1 {
            0%, 12% { opacity: 1; }
            18%, 94% { opacity: 0; }
            100% { opacity: 1; }
        }
        @keyframes fade2 {
            0%, 14% { opacity: 0; }
            20%, 32% { opacity: 1; }
            38%, 100% { opacity: 0; }
        }
        @keyframes fade3 {
            0%, 34% { opacity: 0; }
            40%, 52% { opacity: 1; }
            58%, 100% { opacity: 0; }
        }
        @keyframes fade4 {
            0%, 54% { opacity: 0; }
            60%, 72% { opacity: 1; }
            78%, 100% { opacity: 0; }
        }
        @keyframes fade5 {
            0%, 74% { opacity: 0; }
            80%, 92% { opacity: 1; }
            98%, 100% { opacity: 0; }
        }

        .btn-outline {
            display: inline-block;
            background: transparent;
            border: 1px solid #111;
            padding: 12px 35px;
            font-size: 0.65rem;
            font-weight: 800; /* Botón en bold */
            /* text-transform: uppercase; */
            letter-spacing: 2px;
            color: #111;
            text-decoration: none;
            transition: all 0.2s;
            margin-bottom: 45px;
        }
        
  

        .btn-outline:hover {
            background: linear-gradient(90deg, #c0d800 0%, #fa9500 35%, #b94e39 65%, #352a71 100%);
            color: #fff;
            border: none;
            padding: 13px 36px; /* Compensamos el pixel de borde para que no haya saltos */
            box-shadow: 0 4px 15px rgba(250, 149, 0, 0.3); /* Brillo cálido adaptado al nuevo degradado */
        }
      
      .btn-programa{
            display:block;
            background: transparent;
            padding: 3px 4px;
            font-size: 0.7rem;
            font-weight: 600; 
            text-transform: uppercase; 
            border-radius: 4px;
            background-color:#ea6;
            color: #fff;
            text-decoration: none;
            transition: all 0.2s;
            margin-top: 10px;
            width:180px;
            text-align: center;
         

            
        }
        
        .btn-programa:hover {
            background: linear-gradient(90deg, #c0d800 0%, #fa9500 35%, #b94e39 65%, #352a71 100%);
            color: #fff;
            border: none;
            padding: 3px 8px; /* Compensamos el pixel de borde para que no haya saltos */
            box-shadow: 0 4px 15px rgba(250, 149, 0, 0.3); /* Brillo cálido adaptado al nuevo degradado */
        }
        
        /* TIMER */
        .timer-block {
            width: 350px; 
        }

        .faltan-lbl {
            font-size: 1.2rem; /* El doble de tamaño */
            font-weight: 800; 
            letter-spacing: 2px;
            color: #555;
            border-bottom: 1px solid #aaa; 
            padding-bottom: 8px;
            margin-bottom: 12px;
        }

        .timer-grid {
            display: flex;
            justify-content: flex-start;
            gap: 40px; /* Espaciado entre los números */
            border-bottom: none; /* Línea inferior eliminada */
            padding-bottom: 0;
        }

        .t-col {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .t-col span:first-child {
            font-size: 2.2rem;
            font-weight: 300;
            line-height: 1;
            color: #111;
            margin-bottom: 5px;
        }

        .t-col span:last-child {
            font-size: 0.5rem;
            font-weight: 700;
            letter-spacing: 1px;
            color: #888;
        }

        /* FOOTER */
        footer {
            background-color: #fffef8;
            color: #fff;
            padding: 60px 0 40px;
        }

        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #fffef8;
            padding-bottom: 40px;
            margin-bottom: 40px;
        }

        .footer-logo {
            margin-right: auto; /* Mantiene el logo a la izquierda separado de los partners */
        }
        
        .footer-logo img {
            height: 28px;
            max-width: 100%; /* Evita que desborde la pantalla en móviles */
            object-fit: contain;
        }

        .footer-partners {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .footer-partners img {
            height: 32px;
            object-fit: contain;
            filter: grayscale(100%) brightness(200%);
            opacity: 0.9;
        }

        .partner-divider {
            width: 1px;
            height: 40px;
            background-color: #555;
            margin: 0 10px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 50px;
            margin-bottom: 40px;
        }

        .footer-links a {
            color: #777;
            text-decoration: none;
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .footer-social {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 50px;
        }

        .social-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: #888;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: transform 0.2s;
        }
        
        .social-icon:hover {
            transform: scale(1.1);
        }

        .social-icon svg {
            width: 14px;
            height: 14px;
            fill: none;
            stroke: #fff;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .footer-legal {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            font-size: 0.8rem; /* Más grande para ser legible */
            color: #666; /* En blanco por defecto */
        }

        .footer-legal a {
            color: #777; /* En blanco por defecto */
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-legal a:hover {
            color: #ccc; /* Un poco más gris en hover para indicar interactividad */
        }

        .legal-div {
            color: #fff; /* En blanco también */
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .ring-water { --size: 800px; left: 0; }
            .hero-content { left: 150px; top: 220px; }
            .ring-leaf { right: -100px; --size: 350px; }
            .ring-cloud { left: -50px; top: 650px; }
            
            .info-section { flex-direction: column; padding: 0 20px; margin-top: 50px; }
            .info-header { flex-direction: column; align-items: flex-start; gap: 20px; }
            .info-title-col { text-align: left; }
            .info-text-col { margin-left: 0; }
            
            .footer-top { flex-direction: column; gap: 30px; }
            .footer-partners { flex-wrap: wrap; justify-content: center; }
            .footer-links { flex-direction: column; gap: 20px; text-align: center; }
        }

        @media (max-width: 900px) {
            .ring-leaf, .ring-cloud { display: none; }
            .ring-water {
                --size: 700px;
                top: 50px;
                left: 50%;
                transform: translateX(-50%);
            }
            .hero-content {
                left: 50%;
                transform: translateX(-50%);
                top: 190px;
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            .hero-title { font-size: 2.8rem; text-align: center; }
            .hero-details { text-align: center; }
            .timer-block { margin: 0 auto; width: 320px; }
            .info-header { align-items: center; text-align: center; border-bottom: none; }
            .info-title-col { text-align: center; }
        }

        @media (max-width: 650px) {
            .hero { min-height: auto; padding: 120px 20px 80px; overflow: hidden; } /* overflow:hidden recorta el anillo al contenedor */
            .ring-water { 
                display: block; 
                --size: 1500px; /* Tamaño gigante para que solo se vea el arco inferior */
                --border-width: 40px; /* Grosor del divisor */
                top: auto;
                bottom: -5em; /* El arco del anillo queda en el borde inferior del hero, clipeado por overflow:hidden */
                left: 50%;
                transform: translateX(-50%);
                z-index: 0;
            }
            .hero-content {
                position: relative;
                top: 0;
                left: 0;
                transform: none;
                width: 100%;
                margin: 0 auto;
                z-index: 10;
            }
            .hero-title { font-size: 2.2rem; }
            .header-inner { flex-direction: row; justify-content: space-between; gap: 0; }
            .menu-toggle { display: flex; }
            .menu-toggle.active span:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }
            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }
            .menu-toggle.active span:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }
            nav#nav-menu {
                position: fixed;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100vh;
                background-color: rgba(255, 255, 255, 0.98);
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: left 0.3s ease;
                z-index: 1000;
            }
            nav#nav-menu.active {
                left: 0;
            }
            .header-inner nav ul { flex-direction: column; gap: 25px; flex-wrap: nowrap; align-items: center; }
            nav#nav-menu a,
            nav#nav-menu .dropdown-text { font-size: 1.2rem; }
            .timer-block { width: 100%; max-width: 320px; }
            .timer-grid { gap: 10px; justify-content: space-between; }
        }
    
/* === QUE ES === */

    

    

    #quees { width: 100%; }

    .quees-inner {
      max-width: 1222px;
      margin: 0 auto;
      padding: 80px 40px 100px;
      position: relative;
    }

    #quees-svg {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      pointer-events: none;
      overflow: visible;
    }

    /*
      Cada bloque: 2 columnas x 2 filas
        Fila 1 → [título | subtítulo (solo bloque 1, vacío en los demás)]
        Fila 2 → [vacío  | párrafos]
      La línea SVG cruza justo en el borde inferior de la fila 1.
    */
    .quees-block {
      display: grid;
      grid-template-columns: 1fr 26% 5% 27% 1fr;
      grid-template-rows: auto auto;
      row-gap: 3.5rem;
      position: relative;
      z-index: 1;
      padding: 72px 0;
    }

    .quees-block:first-child { padding-top: 0; }
    .quees-block:last-child  { padding-bottom: 0; }

    /* Fila 1, col 2 — título */
    .quees-title {
      grid-column: 2;
      grid-row: 1;
      align-self: end;
      text-align: right;
      padding-bottom: 30px;
    }

    .quees-title h2 {
      font-size: clamp(1.5rem, 2.3vw, 2.1rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.02em;
      /* text-transform: uppercase; */
      color: #111;
    }

    /* Fila 1, col 3 — subtítulo (bloque 1) o placeholder (otros) */
    .quees-row1-right {
      grid-column: 4;
      grid-row: 1;
      align-self: end;
      padding-bottom: 30px;
    }

    .quees-subtitle {
      font-size: clamp(1rem, 1.4vw, 1.1rem);
      font-weight: 700;
      line-height: 1.45;
      color: #111;
    }

    /* Fila 2, col 3 — párrafos */
    .quees-content {
      grid-column: 4;
      grid-row: 2;
      display: flex;
      flex-direction: column;
      gap: 1.1rem;
    }

    .quees-content p {
      font-size: clamp(0.9rem, 1.15vw, 1rem);
      font-weight: 400;
      line-height: 1.75;
      color: #3a3a3a;
    }

    @media (max-width: 700px) {
      #quees-svg { display: none; }

      .quees-inner { padding: 48px 24px 64px; }

      .quees-block {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 1.25rem;
        padding: 40px 0;
      }

      .quees-block:first-child { padding-top: 0; }
      .quees-block:last-child  { padding-bottom: 0; }

      /* Todas las celdas: una sola columna, orden natural */
      .quees-title,
      .quees-row1-right,
      .quees-content {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        padding-right: 0 !important;
        text-align: left !important;
      }

      /* Línea bajo cada título en móvil */
      .quees-title {
        padding-bottom: 1rem;
        border-bottom: 0.9px solid #111;
      }

      /* Subtítulo: separación respecto a la línea */
      .quees-row1-right {
        margin-top: 0.25rem;
      }

      /* Título h2: alineado izquierda, mismo grosor */
      .quees-title h2 {
        text-align: left !important;
      }
    }
  
/* === PROGRAMA === */

.wrapper-programa { padding: 40px 0; }




.programa-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.programa-item {
  border-bottom: 1px solid #dcdcdc;
}

.programa-header {
  display: grid;
  grid-template-columns: 120px 140px 1fr 40px;
  align-items: start;
  gap: 15px;
  padding: 20px 0;
  cursor: pointer;
}

.programa-time {
  font-weight: 800;
  color: #1c3f7a;
}

.programa-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  min-width:105px; 
  line-height: 1em;
}
.tag.bienve{ background: #eaaf39; }
.tag.inspira{ background: #1f3262; }
.tag.pausa { background: #8fd0c9; }
.tag.panel { background: #86b96a; }
.tag.track { background: #c08ca5; }
.linked {
    text-decoration: none;
    color: #2a4d93;
    transition: color 0.3s ease;
}

.linked:hover {
    color: #567fc1;
}

.programa-main h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.programa-main p {
  margin: 3px 0 0;
  font-size: 0.85rem;
  color: #555;
}

.programa-icon {
  width: 16px;
  height: 16px;
  border-right: 2px solid #1c3f7a;
  border-bottom: 2px solid #1c3f7a;
  transform: rotate(45deg);
  justify-self: end;
}

.programa-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.programa-content-inner {
  display: grid;
  grid-template-columns: 120px 140px 1fr 40px;
  gap: 15px;
  padding: 0 0 20px;
}

.programa-content-text {
  grid-column: 3;
}

.programa-content-text p {
  font-size: 0.9rem;
  color: #333;
  margin: 10px 0;
}

.programa-item.active {
  border-top: 1px solid #dcdcdc;
}

.programa-item.active .programa-content {
  max-height: 2000px;
}

.programa-item.active .programa-icon {
  transform: rotate(-135deg);
}

/* RESPONSIVE */
@media (max-width: 700px) {

  .programa-header {
  grid-template-columns: 1fr;
  }

  .programa-content-inner {
  grid-template-columns: 1fr;
  }

  .programa-content-text {
  grid-column: 1;
  }

}


/* === PONENTES === */


/* SECCIÓN */
.speakers-section {
  padding: 100px 20px 120px;
}



/* CABECERA */
.speakers-header {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.speakers-header h2 {
  font-size: 1.8rem;
  font-weight: 300;
  margin: 0;
  text-transform: uppercase;
}

.speakers-header p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #111;
  margin-top: 5px;
  text-transform: uppercase;
}

/* GRID */
.speakers-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 40px;
  list-style: none;
  padding: 0;
  justify-items: center;
}

/* ITEM */
.speaker {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* FOTO */
.speaker-photo {
  width: 140px;
  height: 140px;
  margin-bottom: 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #000;
  padding: 4px;
  background: #fff;
  transition: all 0.4s ease;
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* NOMBRE */
.speaker-name {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 4px;
  max-width: 160px;
}

/* INFO EXTRA */
.speaker-extra {
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

/* CARGO */
.speaker-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: #000;
  line-height: 1.2;
  margin: 0;
}

/* EMPRESA */
.speaker-company {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5cab5c;
  letter-spacing: 0.3px;
  /* text-transform: uppercase; */
  margin-top: 2px;
}

/* LÍNEA */
.speaker-extra::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #000;
  margin: 12px auto 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* HOVER */
.speaker:hover .speaker-photo {
  transform: translateY(-10px) scale(1.05);
  border: 5px solid #a2ca90;
  padding: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.speaker:hover .speaker-extra {
  opacity: 1;
  transform: translateY(0);
}

.speaker:hover .speaker-extra::after {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .speakers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .speakers-grid {
    grid-template-columns: 1fr;
  }

  .hero-circle {
    width: 160px;
    height: 160px;
    border-width: 20px;
  }
}

/* MODAL */
.speaker-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1100;
}

.speaker-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  max-width: 500px;
  width: 90%;
  border-radius: 12px;
  text-align: center;
  position: relative;
  animation: modalFade 0.3s ease;
  display: flex;
  flex-direction: column;
  max-height: 82dvh;
  overflow: hidden;
}

.modal-body {
  overflow-y: auto;
  padding: 20px 40px 40px;
  -webkit-overflow-scrolling: touch;
}

.modal-scroll-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(to bottom, transparent, #fff);
  border-radius: 0 0 12px 12px;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 1;
}

.modal-scroll-fade.hidden {
  opacity: 0;
}
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
#modal-name {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modal-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

#modal-name::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A66C2'%3E%3Cpath d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.95v5.66H9.37V9h3.41v1.56h.05c.48-.9 1.66-1.85 3.42-1.85 3.65 0 4.32 2.4 4.32 5.52v6.22zM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12zM7.12 20.45H3.56V9h3.56v11.45z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}

#modal-name:hover {
  color: #0A66C2;
  border-bottom-color: #0A66C2;
}

#modal-name:hover::after {
  opacity: 1;
}

.modal-content h2 {
  margin: 0;
  font-size: 1.4rem;
}

#modal-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
}

#modal-company {
  font-size: 0.85rem;
  font-weight: 700;
  color: #5cab5c;
  /* text-transform: uppercase; */
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 0.9rem;
  color: #555;
}

.modal-content a {
  display: inline-block;
  margin-top: 15px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

.modal-close {
  position: sticky;
  align-self: flex-end;
  top: 0;
  right: 0;
  padding: 12px 16px 4px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
  flex-shrink: 0;
}


/* === EXPOSITORES === */

.wrapper-expositores { padding: 40px 0; }


/* SECTION */
.expositores-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

/* GRID */
.expositores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px 60px;
}

/* ITEM */
.expositor {
  text-align: left;
}

/* BLOQUE SUPERIOR (CLAVE) */
.expositor-top {
  height: 140px; /* 👈 controla alineación */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 👈 todo crece hacia arriba */
}

/* LOGO */
.expositor-logo {
  height: 70px;
  display: flex;
  align-items: flex-center;
  justify-content: center;
}

.expositor-logo img {
  max-height: 100%;
  max-width: 160px;
  object-fit: contain;
  align-items: flex-end;
  display: block;
}

/* NOMBRE */
.expositor-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 12px;
  line-height: 1.2;
  text-align:center;
}

/* LÍNEA */
.expositor-line {
  width: 100%;
  height: 1px;
  background: #9a9a9a;
  margin: 15px 0;
}

/* TEXTO */
.expositor-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .expositores-grid {
  grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .expositores-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
  }
}

@media (max-width: 500px) {
  .expositores-grid {
  grid-template-columns: 1fr;
  gap: 50px;
  }
}



/* TRANSITIONS */
html { scroll-behavior: smooth; }

.transition-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
}

.container-1222 {
    width: 100%;
    max-width: 1222px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.transition-block.reverse .container-1222 {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    position: relative;
    padding-left: 100px; 
    z-index: 2;
}

.transition-block.reverse .text-content {
    padding-left: 0;
    padding-right: 100px; 
    transform: translateY(12px);
}

.transition-block.reverse .text-content h2,
.transition-block.reverse .text-content p {
    width: 100%;
    max-width: 420px;
    text-align: left;
    margin-left: auto;
    margin-right: 0;
}

.text-content h2 {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    color: #1d1d1b;
    position: relative;
    top: -5px;
}

.text-content p {
    font-size: 16px;
    max-width: 420px;
    color: #333;
    line-height: 1.5;
    margin-top: 35px;
}

.divider-horizontal {
    position: absolute;
    top: 50%;
    left: 119.5px;
    right: 500px;
    height: 0.5px;
    background-color: #1d1d1b;
    z-index: 1;
}

.transition-block.reverse .divider-horizontal {
    left: 500px;
    right: 119.5px;
}

.divider-curve {
    position: absolute;
    top: calc(50% - 139.5px);
    left: 20px;
    width: 100px;
    height: 140px;
    border: 0.5px solid #1d1d1b;
    border-right: none;
    border-radius: 70px 0 0 70px;
    z-index: 1;
    box-sizing: border-box;
}

.transition-block.reverse .divider-curve {
    left: auto;
    right: 20px;
    border: 0.5px solid #1d1d1b;
    border-left: none;
    border-radius: 0 70px 70px 0;
}

.right-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.transition-block.reverse .right-image {
    justify-content: flex-start;
}

.right-image img {
    width: 520px;
    height: 520px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* PROGRAMA HEADER */
.programa-header-section {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 40px 40px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.programa-title-area {
    flex: 1;
    position: relative;
    margin-top: 100px;
}

.programa-title-area h2 {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.1;
    color: #111;
    margin: 0;
    text-transform: uppercase;
}

.programa-title-area p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #111;
    margin: 5px 0 10px;
    text-transform: uppercase;
}

.programa-title-line {
    position: relative;
    width: calc(100% + 20px);
    margin-top: 5px;
    margin-bottom: 5px;
    height: 1px;
    background-color: #111;
    z-index: 1;
}

.programa-molino-img {
    width: 400px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transform: translateY(40px); 
}

.programa-molino-img img {
    width: 100%;
    border-radius: 50%;
    display: block;
}

/* EXPOSITORES HEADER */
.expositores-header {
    margin: 0 auto 40px;
    text-align: left;
}

.expositores-header h2 {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.1;
    color: #111;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.expositores-header p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #111;
    margin: 0;
    text-transform: uppercase;
}

.expositores-group-title {
    font-size: 1rem;
    font-weight: 600;
    color: #555252;
    text-transform: uppercase;
    text-align: left;
    margin: 60px 0 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

/* VIDEO MODAL */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1101; 
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-modal-content video {
  width: 100%;
  height: auto;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
  background: transparent;
  border: none;
  padding: 0;
}

@media (max-width: 1024px) {
    .container-1222 {
        flex-direction: column !important;
        text-align: center;
    }
    .right-image {
        margin-top: 50px;
        justify-content: center !important;
    }
    .right-image img {
        width: 300px;
        height: 300px;
    }
    .divider-horizontal, .divider-curve {
        display: none;
    }
    .text-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .text-content p {
        margin: 20px auto 0;
    }
}

/* ORGANIZA Y COLABORA */
.organiza-colabora { /* blend with expositores */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.oc-ring {
    width: 1200px;
    height: 1200px;
    border: 80px solid #c1d10e;
    border-radius: 50%;
    position: absolute;
    bottom: -600px; /* shift half down so it clips at the bottom */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

@media (max-width: 1024px) {
    .oc-ring {
        display: none !important;
    }
}

.oc-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 100px auto 0;
    padding-top: 150px; /* space within the ring */
}

.oc-label {
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    text-transform: uppercase; 
    letter-spacing: 2px;
    margin-bottom: 40px;
}



.oc-label::before,
.oc-label::after {
    content: "—";
    color: #c1d10e;
    font-size: 1.2em;
    font-weight: 400;
}
.oc-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.oc-logos img {
    height: 45px;
    object-fit: contain;
}


.oc-bottom-gradient {
    position: relative;
}

.oc-bottom-gradient::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 100px;

    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #c1d10e 100%
    );

    pointer-events: none;
}

@media (max-width: 700px) {
    .programa-header-section {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .programa-title-line { display: none; }
    .programa-molino-img { transform: translateY(0); }
    .oc-ring {
        width: 800px;
        height: 800px;
        border-width: 50px;
        bottom: -400px;
    }
    .oc-content { padding-top: 80px; }
}
    /* Ajustes solicitados para vista móvil */
    @media (max-width: 700px) {
        /* Reducir espacio vertical a la mitad */
        .quees-inner { padding: 24px 20px 32px !important; }
        .wrapper-programa { padding: 20px 0 !important; }
        .programa-section { margin: 40px auto !important; }
        .speakers-section { padding: 50px 20px 60px !important; }
        .wrapper-expositores { padding: 20px 0 !important; }
        .expositores-section { margin: 40px auto !important; }
        .transition-block { padding: 50px 0 !important; }
        .organiza-colabora { padding-top: 30px !important; padding-bottom: 30px !important; }

        /* Centrar botón programa */
        .btn-programa {
            margin: 20px auto 0 !important;

        }

        /* Línea gris #cccc fina entre secciones, 70% de ancho */
        #quees,
        .transition-block,
        .wrapper-programa,
        .speakers-section,
        .wrapper-expositores {
            position: relative;
        }
        
        #quees::after,
        .transition-block::after,
        .speakers-section::after,
        .wrapper-expositores::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 15%;
            width: 70%;
            height: 1px;
            background-color: #cccccc;
        }
    }
        /* BACK TO TOP */
        #back-to-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            width: 42px;
            height: 42px;
            background: rgba(17, 17, 17, 0.55);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            color: #fff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999;
            opacity: 0;
            transform: translateY(12px);
            transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
            pointer-events: none;
            box-shadow: 0 4px 14px rgba(0,0,0,0.12);
        }

        #back-to-top.visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        #back-to-top:hover {
            background: rgba(17, 17, 17, 0.82);
        }

        #back-to-top svg {
            width: 18px;
            height: 18px;
            stroke: #fff;
            fill: none;
            stroke-width: 2.2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        @media (max-width: 650px) {
            #back-to-top {
                bottom: 20px;
                right: 18px;
                width: 38px;
                height: 38px;
            }
        }
