/* conferencias.html */

.hero{
      position:relative;overflow:hidden;padding:6.5rem 0 5rem;
      background:linear-gradient(135deg,var(--dark),var(--dark-blue),var(--primary));
      color:var(--white);
    }

    .hero::before{
      content:"";position:absolute;inset:0;
      background:
        radial-gradient(circle at top right,rgba(111,163,240,.38),transparent 34%),
        linear-gradient(rgba(10,15,30,.62),rgba(10,15,30,.68));
      opacity:.9;
      pointer-events:none;
    }

    .hero-grid{
      position:relative;
      z-index:1;
      display:grid;
      grid-template-columns:1.05fr .95fr;
      gap:3rem;
      align-items:center;
    }

    .eyebrow{
      display:inline-flex;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.12);
      border-radius:999px;
      padding:.5rem 1rem;
      font-size:.85rem;
      margin-bottom:1.5rem;
    }

    h1{
      font-family:var(--font-display);
      font-size:clamp(2.6rem,5.8vw,5rem);
      line-height:1.05;
      margin-bottom:1.3rem;
    }

    .hero p{
      font-size:1.06rem;
      line-height:1.8;
      color:rgba(255,255,255,.86);
      max-width:690px;
    }

    .hero-actions{
      display:flex;
      flex-wrap:wrap;
      gap:1rem;
      margin-top:2rem;
    }

    .hero-card{
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.14);
      backdrop-filter:blur(18px);
      border-radius:30px;
      padding:2rem;
      box-shadow:0 20px 60px rgba(0,0,0,.22);
    }

    .hero-card h3{font-size:1.5rem;margin-bottom:1rem}
    .hero-card ul{list-style:none;display:grid;gap:.9rem;color:rgba(255,255,255,.78);line-height:1.6}

    .section{padding:5.5rem 0}
    .section--soft{background:var(--bg-2)}
    .section--dark{background:var(--dark);color:var(--white)}
    .section-header{margin-bottom:2.4rem}

    .section-tag{
      display:inline-flex;
      padding:.5rem 1rem;
      border-radius:999px;
      background:var(--primary-pale);
      color:var(--primary);
      font-size:.82rem;
      font-weight:800;
      margin-bottom:1rem;
    }

    .section--dark .section-tag{background:rgba(255,255,255,.1);color:var(--white)}

    .section-title{
      font-family:var(--font-display);
      font-size:clamp(2rem,4vw,3.35rem);
      margin-bottom:1rem;
      max-width:940px;
    }

    .section-subtitle{max-width:820px;color:var(--muted);line-height:1.8}
    .section--dark .section-subtitle{color:rgba(255,255,255,.75)}

    .theme-grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:1.5rem;
    }

    .theme-card{
      min-height:560px;
      border-radius:36px;
      overflow:hidden;
      position:relative;
      color:var(--white);
      display:flex;
      align-items:stretch;
      box-shadow:var(--shadow);
      border:1px solid rgba(255,255,255,.12);
      height:auto;
    }

    .theme-card::before{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(to top,rgba(10,15,30,.82),rgba(27,79,168,.12));
      z-index:0;
    }

    .theme-card > div{
      position:relative;
      z-index:1;
      padding:2rem;
      display:flex;
      flex-direction:column;
      width:100%;
    }

    .theme-card > div > .btn{
      margin-top:auto;
      align-self:flex-start;
    }

    .theme-card h3{
      font-family:var(--font-display);
      font-size:clamp(2rem,4vw,3rem);
      line-height:1.1;
      margin-bottom:1rem;
    }

    .theme-card p{
      color:rgba(255,255,255,.78);
      line-height:1.7;
      margin-bottom:1.5rem;
    }

    .theme-list{
      list-style:none;
      display:grid;
      gap:.65rem;
      margin:1.5rem 0;
    }

    .theme-list li{
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.12);
      border-radius:14px;
      padding:.75rem .9rem;
      color:rgba(255,255,255,.88);
      font-weight:700;
    }

    .theme-gastro{
      background:linear-gradient(135deg,#1B4FA8 0%,#2d6fd4 45%,#0A1628 100%);
    }

    .theme-pi{
      background:linear-gradient(135deg,#6FA3F0 0%,#1B4FA8 55%,#0A1628 100%);
    }

    .formats-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:1rem;
    }

    .format-card{
      background:var(--white);
      border:1px solid var(--border);
      border-radius:26px;
      padding:1.5rem;
      box-shadow:0 12px 35px rgba(10,15,30,.08);
    }

    .format-card strong{
      display:block;
      color:var(--primary);
      font-size:1.05rem;
      margin-bottom:.5rem;
    }

    .format-card span{
      color:var(--muted);
      line-height:1.55;
      font-size:.92rem;
    }

    .audience-grid{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:1rem;
    }

    .audience-card{
      background:rgba(255,255,255,.08);
      border:1px solid rgba(255,255,255,.12);
      border-radius:28px;
      padding:1.6rem;
    }

    .audience-card h3{
      font-size:1.15rem;
      margin-bottom:1rem;
      color:var(--white);
    }

    .audience-card ul{
      list-style:none;
      display:grid;
      gap:.55rem;
      color:rgba(255,255,255,.72);
      line-height:1.5;
    }

    .featured-talks{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:1.4rem;
    }

    .talk-card{
      background:var(--white);
      border:1px solid var(--border);
      border-radius:30px;
      padding:2rem;
      box-shadow:var(--shadow);
      transition:.3s;
    }

    .talk-card:hover{transform:translateY(-6px)}

    .talk-type{
      display:inline-flex;
      padding:.45rem .8rem;
      border-radius:999px;
      background:var(--primary-pale);
      color:var(--primary);
      font-size:.78rem;
      font-weight:800;
      margin-bottom:1rem;
    }

    .talk-card h3{
      font-size:1.35rem;
      line-height:1.3;
      margin-bottom:1rem;
    }

    .talk-card p{
      color:var(--muted);
      line-height:1.7;
      margin-bottom:1.2rem;
    }

        .gallery-grid{
      display:grid;
      grid-template-columns:1.2fr .8fr .8fr;
      gap:1rem;
    }

    .gallery-item{
      width:100%;
      min-width:0;
      min-height:260px;
      border-radius:30px;
      overflow:hidden;
      background:center/cover no-repeat;
      box-shadow:var(--shadow);
      border:1px solid var(--border);
    }

    .gallery-item.large{
      grid-row:span 2;
      min-height:540px;
      background-image:url('/assets/img/Conferencia_montecinos1.webp');
    }

    .gallery-2{background-image:url('/assets/img/Conferencia_montecinos2.webp')}
    .gallery-3{background-image:url('/assets/img/Conferencia_montecinos3.webp')}
    .gallery-4{background-image:url('/assets/img/Conferencia_montecinos4.webp')}
    .gallery-5{background-image:url('/assets/img/Conferencia_montecinos5.webp')}

    @media(max-width:980px){
      .hero-grid,
      .theme-grid{
        grid-template-columns:1fr;
      }

      .theme-card{
        min-height:0;
        aspect-ratio:auto;
        height:auto;
      }

      .formats-grid,
      .audience-grid,
      .featured-talks{
        grid-template-columns:1fr 1fr;
      }

      .gallery-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
      }

      .gallery-item.large{
        grid-row:auto;
        grid-column:span 2;
      }

      }

    @media(max-width:640px){
      .hero{padding-top:5.3rem}
      h1{font-size:2.35rem}
      .hero-actions{flex-direction:column}
      .btn{width:100%}
      .formats-grid,
      .audience-grid,
      .featured-talks,
      .gallery-grid{
        grid-template-columns:1fr;
      }

      .gallery-item.large{
        grid-column:span 1;
      }

      .theme-card{
        min-height:0;
        aspect-ratio:auto;
        height:auto;
      }

      .theme-card > div{
        padding:1.5rem;
      }

      .theme-card h3{
        font-size:clamp(1.55rem,6vw,2.1rem);
      }

      .theme-list li{
        font-size:.88rem;
        line-height:1.45;
        padding:.65rem .8rem;
      }

      .theme-card > div > .btn{
        width:100%;
        align-self:stretch;
      }

      }
