/* Conferencias: estilos aislados de la página. */
.regil-conferencias-template{
      --midnight:#00072D;
      --navy:#001C55;
      --royal-blue:#0A2472;
      --sky-blue:#0E6BA8;
      --ice-blue:#A6E1FA;
      --pure-white:#FFFFFF;
      --off-white:#FAFAFA;
      --gray-oxford:#333333;
      --gray-light:#EFEFEF;
      --nav-h:72px;
      --dock-max:1340px;
      --radius-card:28px;
      font-family:'Roboto',system-ui,sans-serif;
      color:var(--gray-oxford);
      -webkit-font-smoothing:antialiased;
      width:100%;
      overflow-x:hidden;
    }
    .regil-conferencias-template img{display:block;max-width:100%;height:auto}
    .regil-conferencias-template .partner-logo-slot img{max-width:none}
    .regil-conferencias-template a{text-decoration:none}
    .regil-conferencias-template :focus-visible{outline:2px solid var(--sky-blue);outline-offset:3px}

    /* —— SECTION 1: Conference Hero —— */
    .regil-conferencias-template .mar-conf-hero{
      position:relative!important;
      width:100%!important;
      padding:calc(var(--nav-h) + 100px) 20px clamp(80px,12vw,120px)!important;
      display:flex!important;
      align-items:center!important;
      justify-content:center!important;
      overflow:hidden!important;
      background-color:var(--midnight)!important;
      background-image:
        linear-gradient(135deg,rgba(0,7,45,0.85) 0%,rgba(0,28,85,0.75) 50%,rgba(10,36,114,0.82) 100%),
        url('../images/conferencias/bg_hero_marco_conferencias.jpg')!important;
      background-position:center center!important;
      background-size:cover!important;
      background-repeat:no-repeat!important;
    }
    .regil-conferencias-template .mar-conf-hero-inner{
      position:relative;z-index:1;width:100%;max-width:860px;text-align:center;color:var(--pure-white);
    }
    .regil-conferencias-template .mar-conf-eyebrow{
      display:inline-flex;align-items:center;min-height:32px;margin:0 0 20px;
      padding:0 16px;border-radius:99px;
      border:1px solid rgba(166,225,250,.35);
      background:rgba(255,255,255,.06);
      color:var(--ice-blue);font-size:clamp(.75rem,2vw,.85rem);
      font-weight:700;letter-spacing:.08em;text-transform:uppercase;
    }
    .regil-conferencias-template .mar-conf-hero h1{
      margin:0 0 20px;font-weight:800;letter-spacing:-.02em;line-height:1.15;
      font-size:clamp(1.85rem,5.2vw,3.1rem);
      background:linear-gradient(135deg,var(--pure-white) 40%,var(--ice-blue) 100%);
      -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
    }
    .regil-conferencias-template .mar-conf-hero-sub{
      margin:0 auto 36px;max-width:58ch;
      font-size:clamp(1rem,2.8vw,1.2rem);line-height:1.6;
      color:rgba(255,255,255,.88);text-wrap:pretty;
    }
    .regil-conferencias-template .mar-conf-cta-row{
      display:flex;flex-wrap:wrap;gap:14px;justify-content:center;align-items:center;
    }
    .regil-conferencias-template .mar-btn-primary{
      display:inline-flex;align-items:center;justify-content:center;gap:10px;
      min-height:52px;padding:0 28px;border-radius:99px;
      font-family:'Roboto',sans-serif;font-weight:700;font-size:.95rem;
      letter-spacing:.05em;text-transform:uppercase;cursor:pointer;
      transition:transform .3s cubic-bezier(.16,1,.3,1),background .3s ease,box-shadow .3s ease;
      background:var(--pure-white);color:var(--midnight)!important;
      border:none;box-shadow:0 12px 28px rgba(0,7,45,.25);
    }
    .regil-conferencias-template .mar-btn-primary:hover{
      transform:translateY(-2px);background:var(--ice-blue);
      box-shadow:0 16px 36px rgba(166,225,250,.3);
    }

    /* —— SECTION 2: Partners Marquee —— */
    @keyframes marqueeContinuous{
      0%{transform:translate3d(0,0,0)}
      100%{transform:translate3d(-50%,0,0)}
    }
    @media(prefers-reduced-motion:reduce){
      .regil-conferencias-template .mar-marquee-track{animation:none}
      .regil-conferencias-template .mar-gallery-carousel-track{animation:none}
      .regil-conferencias-template .mar-nav-drawer{transition:none}
    }
    .regil-conferencias-template .mar-partners{background:var(--pure-white);padding:48px 0 40px;overflow:hidden}
    .regil-conferencias-template .mar-partners h3{
      margin:0 0 28px;text-align:center;color:var(--midnight);
      font-size:clamp(1.1rem,3vw,1.5rem);font-weight:700;padding:0 20px;
    }
    .regil-conferencias-template .mar-marquee-mask{overflow:hidden;width:100%}
    .regil-conferencias-template .mar-marquee-track{
      display:flex;width:max-content;gap:50px;will-change:transform;
      animation:marqueeContinuous 30s linear infinite;
    }
    .regil-conferencias-template .partner-logo-slot{
      width:120px;aspect-ratio:3/1;flex-shrink:0;
      background:var(--gray-light);border-radius:8px;overflow:hidden;
      padding:3px!important;box-sizing:border-box!important;
      display:flex!important;align-items:center!important;justify-content:center!important;
    }
    .regil-conferencias-template .partner-logo-slot img{
      width:100%!important;height:100%!important;object-fit:contain!important;
      filter:grayscale(100%);opacity:.4;transition:all .3s ease;
    }
    .regil-conferencias-template .partner-logo-slot:hover img,
    .regil-conferencias-template .partner-logo-slot:focus-within img{
      filter:grayscale(0);opacity:1;
    }

    /* —— SECTION 2-B: Featured Bunny.net Video Showcase —— */
    .regil-conferencias-template .mar-conf-video-section{
      background:var(--off-white)!important;
      padding:clamp(60px,8vw,100px) 20px!important;
    }
    .regil-conferencias-template .mar-conf-video-container{
      width:100%!important;
      max-width:1000px!important;
      margin:0 auto!important;
    }
    .regil-conferencias-template .mar-conf-video-header{
      text-align:center!important;
      margin-bottom:clamp(24px,4vw,40px)!important;
    }
    .regil-conferencias-template .mar-conf-video-header h2{
      margin:0 0 12px 0!important;
      font-size:clamp(1.5rem,4vw,2.2rem)!important;
      font-weight:800!important;
      color:var(--midnight)!important;
      line-height:1.25!important;
      letter-spacing:-0.01em!important;
    }
    .regil-conferencias-template .mar-conf-video-header p{
      margin:0 auto!important;
      max-width:58ch!important;
      font-size:1.05rem!important;
      color:var(--gray-oxford)!important;
      line-height:1.6!important;
    }
    .regil-conferencias-template .mar-conf-video-wrapper{
      position:relative!important;
      width:100%!important;
      aspect-ratio:16 / 9!important;
      background:var(--midnight)!important;
      border-radius:var(--radius-card)!important;
      overflow:hidden!important;
      box-shadow:0 25px 50px -12px rgba(0,7,45,0.25)!important;
      border:1px solid rgba(0,7,45,0.08)!important;
    }
    .regil-conferencias-template .mar-conf-video-wrapper iframe{
      position:absolute!important;
      top:0!important;
      left:0!important;
      width:100%!important;
      height:100%!important;
      border:0!important;
    }

    /* —— SECTION 2-C: Authority & Credibility Showcase —— */
    .regil-conferencias-template .mar-conf-authority{
      background:var(--pure-white)!important;
      padding:clamp(60px,8vw,100px) 20px!important;
    }
    .regil-conferencias-template .mar-conf-authority-grid{
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:40px!important;
      max-width:1140px!important;
      margin:0 auto!important;
      align-items:center!important;
    }
    @media(min-width:860px){
      .regil-conferencias-template .mar-conf-authority-grid{
        grid-template-columns:0.9fr 1.1fr!important;
        gap:60px!important;
      }
    }
    .regil-conferencias-template .mar-conf-authority-visual{
      position:relative!important;
      border-radius:var(--radius-card)!important;
      overflow:hidden!important;
      box-shadow:0 20px 40px rgba(0,7,45,0.12)!important;
      background:var(--midnight)!important;
    }
    .regil-conferencias-template .mar-conf-authority-visual img{
      width:100%!important;
      height:100%!important;
      object-fit:cover!important;
      display:block!important;
    }
    .regil-conferencias-template .mar-conf-badge-pill{
      position:absolute!important;
      bottom:20px!important;
      left:20px!important;
      right:20px!important;
      background:rgba(0,7,45,0.85)!important;
      backdrop-filter:blur(15px)!important;
      -webkit-backdrop-filter:blur(15px)!important;
      border:1px solid rgba(166,225,250,0.25)!important;
      border-radius:16px!important;
      padding:14px 18px!important;
      color:var(--pure-white)!important;
    }
    .regil-conferencias-template .mar-conf-badge-pill strong{
      display:block!important;
      color:var(--ice-blue)!important;
      font-size:0.9rem!important;
      margin-bottom:2px!important;
    }
    .regil-conferencias-template .mar-conf-badge-pill span{
      font-size:0.82rem!important;
      color:rgba(255,255,255,0.9)!important;
      line-height:1.3!important;
      display:block!important;
    }
    .regil-conferencias-template .mar-conf-authority-text h2{
      margin:0 0 20px 0!important;
      font-size:clamp(1.6rem,4vw,2.3rem)!important;
      font-weight:800!important;
      color:var(--midnight)!important;
      line-height:1.25!important;
      letter-spacing:-0.01em!important;
    }
    .regil-conferencias-template .mar-conf-authority-text p{
      margin:0 0 18px 0!important;
      font-size:1.05rem!important;
      line-height:1.65!important;
      color:var(--gray-oxford)!important;
      text-wrap:pretty!important;
    }
    .regil-conferencias-template .mar-conf-authority-text p:last-child{
      margin-bottom:0!important;
    }

    /* —— SECTION 3: Transformation Pillars —— */
    .regil-conferencias-template .mar-conf-pillars{
      background:var(--off-white);padding:clamp(60px,8vw,100px) 20px;
    }
    .regil-conferencias-template .mar-conf-pillars-inner{
      width:92%;max-width:1200px;margin:0 auto;text-align:center;
    }
    .regil-conferencias-template .mar-conf-pillars h2{
      margin:0 0 clamp(36px,6vw,52px);color:var(--midnight);font-weight:800;
      font-size:clamp(1.5rem,4vw,2.1rem);letter-spacing:-.01em;line-height:1.25;
    }
    .regil-conferencias-template .mar-conf-pillars-grid{
      display:grid;grid-template-columns:1fr;gap:24px;text-align:left;
    }
    @media(min-width:768px){
      .regil-conferencias-template .mar-conf-pillars-grid{grid-template-columns:repeat(3,1fr);gap:28px}
    }
    .regil-conferencias-template .mar-light-premium-card{
      background:var(--pure-white)!important;
      border:1px solid rgba(0,7,45,.06)!important;
      border-top:4px solid var(--sky-blue)!important;
      border-radius:var(--radius-card)!important;
      padding:28px 24px!important;
      box-shadow:0 10px 30px rgba(0,7,45,.04)!important;
      text-align:left!important;
      backdrop-filter:blur(8px);
      transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s ease;
    }
    .regil-conferencias-template .mar-light-premium-card:hover{
      transform:translateY(-4px);
      box-shadow:0 18px 40px rgba(0,7,45,.08)!important;
    }
    .regil-conferencias-template .mar-light-premium-card h3{
      margin:0 0 12px 0!important;font-size:1.15rem!important;font-weight:800!important;
      color:var(--midnight)!important;line-height:1.35!important;
    }
    .regil-conferencias-template .mar-light-premium-card p{
      margin:0!important;font-size:1rem!important;line-height:1.6!important;color:#334155!important;
    }
    .regil-conferencias-template .mar-pillar-icon-slot{
      width:56px;height:56px;margin-bottom:20px;border-radius:14px;
      background:rgba(14,107,168,.08);border:1px solid rgba(14,107,168,.18);
      display:flex;align-items:center;justify-content:center;flex-shrink:0;
      color:var(--sky-blue);
    }

    /* —— SECTION 4: Event Gallery Photo Marquee —— */
    @keyframes galleryMarquee{
      0%{transform:translate3d(0,0,0)}
      100%{transform:translate3d(-50%,0,0)}
    }
    .regil-conferencias-template .mar-conf-gallery{
      background:var(--pure-white)!important;
      padding:clamp(60px,8vw,100px) 0!important;
      overflow:hidden!important;
    }
    .regil-conferencias-template .mar-conf-gallery-inner{
      width:100%!important;
      max-width:none!important;
    }
    .regil-conferencias-template .mar-conf-gallery h2{
      margin:0 0 clamp(32px,5vw,48px)!important;
      text-align:center!important;
      color:var(--midnight)!important;
      font-weight:800!important;
      font-size:clamp(1.5rem,4vw,2.1rem)!important;
      letter-spacing:-0.01em!important;
      line-height:1.25!important;
      padding:0 20px!important;
    }
    .regil-conferencias-template .mar-gallery-carousel-mask{
      overflow:hidden!important;
      width:100%!important;
      padding:10px 0!important;
    }
    .regil-conferencias-template .mar-gallery-carousel-track{
      display:flex!important;
      width:max-content!important;
      gap:24px!important;
      will-change:transform!important;
      animation:galleryMarquee 40s linear infinite!important;
    }
    .regil-conferencias-template .mar-gallery-carousel-track:hover{
      animation-play-state:paused!important;
    }
    .regil-conferencias-template .mar-gallery-card-item{
      width:clamp(380px,45vw,560px)!important;
      height:clamp(260px,30vw,360px)!important;
      flex-shrink:0!important;
      display:flex!important;
      align-items:center!important;
      justify-content:center!important;
      border-radius:var(--radius-card)!important;
      overflow:hidden!important;
      background:var(--midnight)!important;
      box-shadow:0 20px 40px rgba(0,7,45,0.12)!important;
      position:relative!important;
      border:1px solid rgba(0,7,45,0.08)!important;
    }
    .regil-conferencias-template .mar-gallery-card-item img{
      width:100%!important;
      height:100%!important;
      min-width:100%!important;
      min-height:100%!important;
      max-width:none!important;
      object-fit:cover!important;
      object-position:center!important;
      display:block!important;
      transition:transform 0.5s cubic-bezier(.16,1,.3,1)!important;
    }
    .regil-conferencias-template .mar-gallery-card-item:hover img{
      transform:scale(1.05)!important;
    }

    /* —— SECTION 5: Numeric Banner —— */
    .regil-conferencias-template .mar-about-stats{
      background:var(--midnight);padding:60px 20px;color:var(--pure-white);
    }
    .regil-conferencias-template .mar-about-stats-grid{
      display:grid;grid-template-columns:1fr;gap:40px;
      width:92%;max-width:1000px;margin:0 auto;text-align:center;align-items:center;
    }
    @media(min-width:768px){
      .regil-conferencias-template .mar-about-stats-grid{grid-template-columns:repeat(3,1fr);gap:32px}
    }
    .regil-conferencias-template .mar-about-stat strong{
      display:block;color:var(--ice-blue)!important;font-size:clamp(2.4rem,5vw,3rem);font-weight:800;
      line-height:1.1;margin:0 0 8px 0;
    }
    .regil-conferencias-template .mar-about-stat span{
      display:block;font-size:1rem;font-weight:500;color:rgba(255,255,255,.82);line-height:1.5;
      max-width:28ch;margin:0 auto;
    }

    /* —— SECTION 6: Booking Form —— */
    .regil-conferencias-template .mar-conf-form-section{
      width:100%;background:var(--off-white);
      padding:clamp(60px,8vw,100px) 20px;
    }
    .regil-conferencias-template .mar-conf-form-inner{
      width:100%;max-width:780px;margin:0 auto;
    }
    .regil-conferencias-template .contact-card-box{
      background:var(--pure-white)!important;
      border:1px solid rgba(0,28,85,.06)!important;
      border-radius:var(--radius-card)!important;
      padding:clamp(24px,5vw,48px);
      box-shadow:0 15px 45px rgba(0,7,45,.04)!important;
    }
    .regil-conferencias-template .form-mesh-grid{
      display:grid;grid-template-columns:repeat(2,1fr);gap:20px;width:100%;
    }
    .regil-conferencias-template .form-field-group{display:flex;flex-direction:column;gap:8px}
    .regil-conferencias-template .form-field-group.full-width{grid-column:span 2}
    .regil-conferencias-template .form-label-token{
      font-size:.85rem;font-weight:700;color:var(--midnight);
      text-transform:uppercase;letter-spacing:.05em;
    }
    .regil-conferencias-template .form-label-token .required-mark{color:#E53E3E;margin-left:3px}
    .regil-conferencias-template .form-control-input,
    .regil-conferencias-template .form-control-select,
    .regil-conferencias-template .form-control-textarea{
      width:100%;height:50px;min-height:48px;
      background:var(--off-white)!important;
      border:1px solid rgba(0,28,85,.08)!important;
      border-radius:12px!important;padding:0 16px;
      font-family:'Roboto',sans-serif;font-size:.95rem;
      color:var(--gray-oxford)!important;box-sizing:border-box;
      transition:all .3s ease;
    }
    .regil-conferencias-template .form-control-textarea{
      height:auto;min-height:120px;padding:16px;resize:vertical;
    }
    .regil-conferencias-template .form-control-input:focus,
    .regil-conferencias-template .form-control-select:focus,
    .regil-conferencias-template .form-control-textarea:focus{
      outline:none;background:var(--pure-white)!important;
      border-color:var(--sky-blue)!important;
      box-shadow:0 0 0 4px rgba(14,107,168,.12)!important;
    }
    .regil-conferencias-template .form-action-submit-btn{
      width:100%;height:54px;min-height:48px;
      background:var(--midnight)!important;color:var(--pure-white)!important;
      border:none!important;border-radius:99px!important;
      font-family:'Roboto',sans-serif;font-weight:700;font-size:1rem;
      text-transform:uppercase;letter-spacing:.05em;cursor:pointer;
      transition:transform .3s cubic-bezier(.16,1,.3,1),background-color .3s ease,box-shadow .3s ease;
      margin-top:12px;box-shadow:0 8px 24px rgba(0,7,45,.12)!important;
    }
    .regil-conferencias-template .form-action-submit-btn:hover{
      transform:translateY(-2px);background-color:var(--sky-blue)!important;
      box-shadow:0 12px 28px rgba(14,107,168,.25)!important;
    }
    .regil-conferencias-template .form-action-submit-btn:disabled{
      opacity:.7;cursor:not-allowed;transform:none;
    }
    .regil-conferencias-template .contact-success-msg{
      display:none;margin-top:20px;padding:16px 20px;
      background:rgba(3,181,170,.08);border:1px solid #03B5AA;
      border-radius:12px;font-weight:700;color:#026C65;text-align:center;
    }
    .regil-conferencias-template .contact-success-msg.visible{display:block}

    @media(max-width:767px){
      .regil-conferencias-template .mar-conf-hero{
        padding:calc(var(--nav-h) + 80px) 20px 70px!important;
        background-image:
          linear-gradient(180deg,rgba(0,7,45,0.88) 0%,rgba(0,28,85,0.80) 100%),
          url('../images/conferencias/bg_hero_marco_conferencias.jpg')!important;
        background-position:center top!important;
      }
      .regil-conferencias-template .mar-conf-cta-row{flex-direction:column;width:100%}
      .regil-conferencias-template .mar-btn-primary{width:100%;max-width:360px}
      .regil-conferencias-template .form-mesh-grid{grid-template-columns:1fr;gap:16px}
      .regil-conferencias-template .form-field-group{grid-column:span 1!important}
      .regil-conferencias-template .contact-card-box{padding:24px 16px}
      .regil-conferencias-template .mar-about-stats{padding:48px 16px}
      .regil-conferencias-template .mar-gallery-card-item{
        width:clamp(300px,82vw,420px)!important;
        height:clamp(200px,55vw,280px)!important;
      }
      .regil-conferencias-template .mar-gallery-carousel-track{
        gap:16px!important;
      }
      .regil-conferencias-template .mar-conf-authority-grid{
        gap:28px!important;
      }
      .regil-conferencias-template .mar-conf-badge-pill{
        left:12px!important;
        right:12px!important;
        bottom:12px!important;
        padding:12px 14px!important;
      }
      .regil-conferencias-template .mar-conf-badge-pill strong{
        font-size:0.82rem!important;
      }
      .regil-conferencias-template .mar-conf-badge-pill span{
        font-size:0.75rem!important;
        line-height:1.35!important;
      }
      .regil-conferencias-template .mar-conf-authority-text p{
        font-size:1rem!important;
      }
    }
.regil-conferencias-template .contact-alert.error {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid #c53030;
  border-radius: 12px;
  background: #fff5f5;
  color: #9b2c2c;
  font-weight: 700;
  text-align: center;
}
.regil-conferencias-template .contact-alert.error.visible { display: block; }
.regil-conferencias-template .cf-turnstile.full-width { grid-column: 1 / -1; }
