/* =========================================================
   CONFIGURACIÓN GENERAL / COLORES / ZOOM DE LA PÁGINA
   ========================================================= */
:root{
  /* ZOOM GENERAL DE LA PÁGINA
     1 = 100%, 0.90 = 90%, 1.10 = 110% */
  --page-zoom:0.90;
  --navy:#273247;
  --navy-2:#eef1f6;
  --lime:#bd2944;
  --lime-pale:#fff0f3;
  --blue:#93263c;
  --paper:#fff;
  --ink:#252b36;
  --muted:#626b78;
  --white:#fff;
  --line:rgba(39,50,71,.14);
  --max:1360px;
}
/* =========================================================
   BASE GENERAL
   ========================================================= */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 "DM Sans",sans-serif;overflow-x:hidden;zoom:var(--page-zoom)}
body.menu-open{overflow:hidden}
[id]{scroll-margin-top:110px}
img{display:block;width:100%;height:100%;object-fit:cover}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:"Manrope",sans-serif;letter-spacing:-.055em}
/* =========================================================
   BARRA DE PROGRESO SUPERIOR
   ========================================================= */
.progress{position:fixed;inset:0 auto auto 0;width:0;height:3px;background:var(--lime);z-index:100}

/* =========================================================
   HEADER / LOGO / MENÚ PRINCIPAL
   ========================================================= */
.site-header{position:fixed;top:18px;left:50%;z-index:50;transform:translateX(-50%);width:min(94%,1440px);min-height:88px;padding:8px 18px 8px 24px;display:flex;align-items:center;gap:30px;border:1px solid rgba(39,50,71,.1);border-radius:0 0 28px 28px;background:rgba(255,255,255,.96);box-shadow:0 18px 50px rgba(39,50,71,.1);backdrop-filter:blur(18px);transition:.3s ease}
.site-header.scrolled{top:0;width:100%;border-radius:0;background:rgba(255,255,255,.98)}
.brand{display:flex;align-items:center;justify-content:center;width:215px;height:70px;padding:6px 0;overflow:visible;background:transparent}
.brand img{display:block;width:auto;height:64px;max-width:100%;object-fit:contain;object-position:center;filter:none}
.footer-brand{transform:none}
.footer-brand img{width:210px;height:72px;object-fit:contain;object-position:center;filter:none}
.main-nav{display:flex;align-items:center;justify-content:center;gap:24px;margin:auto}
.main-nav a{position:relative;color:var(--ink);font-size:1.05rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.main-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--lime);transition:.25s}
.main-nav a:hover::after{right:0}
.main-nav .nav-instagram{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;padding:0;border-radius:50%;background:linear-gradient(135deg,#833ab4,#fd1d1d 55%,#fcb045);color:#fff;box-shadow:0 10px 26px rgba(131,58,180,.22);transition:transform .2s ease,box-shadow .2s ease}
.main-nav .nav-instagram::after{display:none}
.main-nav .nav-instagram:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(131,58,180,.3)}
.main-nav .nav-instagram svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.main-nav .nav-instagram .instagram-dot{fill:currentColor;stroke:none}
.main-nav .nav-login{padding:12px 18px;border-radius:999px;background:var(--lime);color:#fff;white-space:nowrap;box-shadow:0 10px 28px rgba(217,4,41,.22);transition:transform .2s ease,box-shadow .2s ease}
.main-nav .nav-login,.admin-access-link{opacity:0}
.main-nav .nav-login::after{display:none}
.main-nav .nav-login:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(217,4,41,.3)}
.header-cta{padding:13px 21px;border-radius:999px;background:var(--lime);color:#fff;font-weight:800}
.menu-button{display:none;border:0;background:none;padding:8px}
.menu-button span{display:block;width:24px;height:2px;margin:5px;background:var(--ink)}
/* =========================================================
   COMPONENTES REUTILIZABLES
   ========================================================= */
.section{padding:120px max(4vw,24px)}
.eyebrow{margin-bottom:20px;color:var(--lime);font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.19em}
.eyebrow.dark{color:var(--blue)}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 25px;border:1px solid transparent;border-radius:999px;font-weight:700;transition:.25s}
.button:hover{transform:translateY(-3px)}
.button-lime{background:var(--lime);color:#fff;box-shadow:0 14px 42px rgba(217,4,41,.24)}
.button-ghost{border-color:rgba(39,50,71,.22);color:var(--ink)}
.button-dark{width:100%;border:0;background:var(--blue);color:#fff}
/* =========================================================
   APARTADO: INICIO / HERO PRINCIPAL
   ========================================================= */
.hero{position:relative;min-height:100svh;padding:155px 4vw 65px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;background:#fff;color:var(--ink)}
.glow{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none}
.glow-one,.glow-two{display:none}
.hero-copy{position:relative;z-index:2;width:100%;min-width:0;text-align:center}
.hero h1{width:min(100%,1100px);margin:0 auto 24px;font-size:clamp(3.7rem,8.2vw,8.2rem);font-weight:700;line-height:.88}
h1 em,h2 em{color:var(--lime);font-style:normal}
.hero-intro{max-width:680px;margin:0 auto;color:var(--muted);font-size:clamp(1.02rem,1.5vw,1.22rem)}
.hero-actions{display:flex;justify-content:center;gap:12px;margin-top:30px}
.mosaic{position:relative;z-index:2;width:100%;max-width:1500px;min-width:0;height:auto;margin:46px auto 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);gap:18px;align-items:stretch}
.tile{position:relative;margin:0;overflow:hidden;background:#15324e;border:1px solid rgba(255,255,255,.12)}
.tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(39,50,71,.14));mix-blend-mode:multiply}
.tile-a{border-radius:95px 22px 22px 95px}
.tile-b{border-radius:22px 95px 22px 22px;transform:translateY(16px)}
.tile-mark{border-radius:95px;background:var(--lime);transform:translateY(-12px)}
.tile-mark::after{display:none}
.tile-mark span{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font:800 2.7rem/1 "Manrope"}
.tile-c{border-radius:95px 22px 95px 22px;transform:translateY(18px)}
.tile-d{border-radius:22px 95px 95px 22px}
.hero-event-carousel{isolation:isolate;width:100%;min-width:0;min-height:clamp(340px,42vw,620px);height:auto;display:flex;flex-direction:column;overflow:hidden;clip-path:inset(0 round 26px);transform:translateZ(0);border:1px solid rgba(39,50,71,.1);border-radius:26px;background:#fff;box-shadow:0 16px 38px rgba(39,50,71,.1);color:var(--ink);text-decoration:none}
.hero-event-carousel::after{display:none}
.hero-event-slides{position:relative;z-index:1;display:grid;width:100%;min-width:0;min-height:inherit;overflow:hidden;border-radius:25px 25px 0 0;background:#f7f8fa}
.hero-event-slide{position:relative;grid-area:1/1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-content:stretch;gap:0;min-width:0;min-height:inherit;overflow:hidden;padding:0;color:inherit;text-decoration:none;opacity:0;transition:opacity .65s ease;pointer-events:none}
.hero-event-slide.is-active{z-index:1;opacity:1;pointer-events:auto}
.hero-event-slide:focus-visible{outline:3px solid var(--lime);outline-offset:-5px}
.hero-event-slide img{display:block;width:100%;height:100%;min-height:0;aspect-ratio:16/9;object-fit:contain;border-radius:25px 25px 0 0;background:#f7f8fa}
.hero-event-copy{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:16px;row-gap:4px;padding:clamp(14px,2vw,24px)}
.hero-event-date{grid-column:1;grid-row:1/3;width:fit-content;padding:7px 11px;border-radius:999px;background:rgba(177,35,68,.1);color:var(--lime);font-size:clamp(.78rem,1vw,.98rem);font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.hero-event-copy strong{grid-column:2;grid-row:1;color:var(--ink);font:800 clamp(1.05rem,1.6vw,1.65rem)/1.2 "Manrope"}
.hero-event-details{grid-column:2;grid-row:2;color:#4b5563;font-size:clamp(.82rem,1vw,1rem);font-weight:600;line-height:1.4}
.instagram-widget-placeholder{min-width:0;min-height:100%;padding:clamp(12px,1.4vw,18px);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;border:1px solid rgba(39,50,71,.1);border-radius:26px;background:linear-gradient(145deg,#fff,#f7f8fa);box-shadow:0 16px 38px rgba(39,50,71,.08)}
.instagram-widget-embed{width:100%;height:clamp(320px,38vw,470px);min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;border-radius:0}
.instagram-widget-embed > div{width:100%;max-width:100%;min-width:0;margin:0 auto}
.instagram-widget-embed .eapps-instagram-feed-posts-grid,
.instagram-widget-embed .eapps-instagram-feed-posts-inner,
.instagram-widget-embed [class*="PostsGrid"],
.instagram-widget-embed [class*="posts-grid"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.instagram-widget-embed .eapps-instagram-feed-posts-item:nth-child(n+5),
.instagram-widget-embed [class*="PostItem"]:nth-child(n+5),
.instagram-widget-embed [class*="post-item"]:nth-child(n+5){display:none!important}
.instagram-widget-embed .eapps-instagram-feed-posts-item,
.instagram-widget-embed [class*="PostItem"],
.instagram-widget-embed [class*="post-item"]{width:100%!important;margin:0!important}
.instagram-widget-placeholder a{display:inline-flex;align-items:center;min-height:38px;margin-top:2px;padding:0 14px;border-radius:999px;background:var(--navy);color:#fff;font-size:.88rem;font-weight:700}
.instagram-widget-placeholder a:hover{background:var(--lime)}
.scroll-cue{position:absolute;right:4vw;bottom:22px;z-index:3;color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.16em}
.scroll-cue span{display:inline-grid;place-items:center;width:30px;height:30px;margin-left:9px;border:1px solid rgba(39,50,71,.25);border-radius:50%}
/* =========================================================
   APARTADO: NOSOTROS
   ========================================================= */
.manifesto{max-width:var(--max);margin:auto;display:grid;grid-template-columns:1.2fr .8fr;gap:10vw;align-items:end}
.manifesto h2,.section-heading h2,.journey h2,.contact h2{margin:0;font-size:clamp(3rem,6.5vw,6.5rem);line-height:.92}
.manifesto h2 em,.gallery h2 em{color:var(--blue)}
.manifesto-copy{padding-bottom:12px}
.manifesto-copy .lead{font-size:1.45rem;font-weight:600;line-height:1.35}
.manifesto-copy>p:not(.lead){color:var(--muted)}
.text-link{display:inline-flex;gap:12px;margin-top:18px;padding-bottom:5px;border-bottom:1px solid var(--ink);font-weight:700}
/* =========================================================
   APARTADO: SERVICIOS
   ========================================================= */
.services{background:#fff;color:var(--ink)}
.section-heading{width:min(100%,var(--max));margin:0 auto 60px}
.section-heading h2{max-width:1000px}
.service-grid{width:min(100%,var(--max));margin:auto;display:grid;grid-template-columns:1.2fr .8fr;gap:16px}
.service-card{position:relative;min-height:310px;padding:32px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;border:1px solid rgba(39,50,71,.1);border-radius:32px;background:#fff;box-shadow:0 12px 34px rgba(39,50,71,.05)}
.service-link{isolation:isolate;transition:transform .2s ease}
.service-link:hover{transform:translateY(-3px)}
.service-link:focus-visible{outline:3px solid var(--lime);outline-offset:4px}
.service-card::before{content:"";position:absolute;width:140px;height:140px;right:-55px;bottom:-58px;border-radius:50%;background:var(--lime-pale)}
.service-main{border-color:rgba(189,41,68,.18);border-radius:85px 32px 32px 32px;background:#fbe8ec;color:var(--ink)}
.service-main::before{background:#fff;opacity:.65}
.service-blue{background:#eaf0f8}
.service-number{font:700 2.8rem/1 "Manrope";color:var(--lime)}
.service-main .service-number{color:var(--lime)}
.service-label{margin-bottom:7px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;opacity:.75}
.service-card h3{margin-bottom:12px;font-size:clamp(2rem,3vw,3.2rem);line-height:.95}
.service-card p:last-child{max-width:540px;margin:0;color:var(--muted)}
.service-card-copy{position:relative;z-index:1;max-width:78%}
.service-card.service-main .service-card-copy{max-width:70%}
.service-card.service-photo{border:0;background-color:#273247;background-image:none;color:#fff}
.service-card.service-photo::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background-position:center;background-size:cover;transform:translateZ(0) scale(1);transition:transform .3s ease-out;will-change:transform}
.service-card.service-photo:hover::after,.service-card.service-photo:focus-visible::after{transform:translateZ(0) scale(1.06)}
.service-card.service-photo::before{inset:0;width:auto;height:auto;border-radius:inherit;background:linear-gradient(90deg,rgba(16,23,36,.82),rgba(16,23,36,.43) 58%,rgba(16,23,36,.08))}
.service-congress::after{background-image:var(--admin-background,url("assets/images/services/congresos-fondo.jpeg"))}
.service-audiovisual::after{background-image:var(--admin-background,url("assets/images/services/audiovisuales-fondo-mejor.png"))}
.service-streaming::after{background-image:var(--admin-background,url("assets/images/services/streaming-fondo.png"))}
.service-reservations::after{background-image:var(--admin-background,url("assets/images/services/reservas-fondo.jpeg"))}
.service-photo,.service-photo .service-number,.service-photo .service-label,.service-photo h3,.service-photo p,.service-photo [data-edit-key]{color:#fff!important;-webkit-text-fill-color:#fff!important;filter:none!important}
.service-photo .service-number,.service-photo h3,.service-photo p{opacity:1!important}
.service-photo .service-label{opacity:.9}
.service-photo p:last-child{color:#fff}
.service-photo h3,.service-photo .service-label,.service-photo .service-number,.service-photo p:last-child{ text-shadow:0 2px 12px rgba(0,0,0,.42)}
.service-photo .service-card-copy,.service-card.service-main.service-photo .service-card-copy{max-width:78%}
/* =========================================================
   PÁGINA DE DETALLE DE SERVICIO
   ========================================================= */
.service-page{min-height:100vh;background:#fff}
.service-page-header{position:absolute;top:0;left:0;z-index:2;width:100%;min-height:92px;padding:8px max(4vw,24px);display:flex;align-items:center;justify-content:space-between;gap:24px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px)}
.service-page-header .brand{width:190px}
.service-page-nav{display:flex;align-items:center;gap:24px;font-weight:700}
.service-page-nav a:hover{color:var(--lime)}
.photo-service-page .service-page-header{background:linear-gradient(180deg,rgba(16,23,36,.35),transparent);backdrop-filter:none}
.photo-service-page .service-page-header .brand{padding:6px 12px;border-radius:14px;background:rgba(255,255,255,.94)}
.photo-service-page .service-page-nav a{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.7)}
.photo-service-page .service-page-nav a:hover{color:#fff}
.service-detail-hero{width:min(92%,var(--max));min-height:470px;margin:22px auto 0;padding:54px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;overflow:hidden;border-radius:38px;background:linear-gradient(120deg,#fff0f3,#f1f3f7)}
.service-detail-hero.has-photo-background{width:100%;min-height:76vh;margin:0;padding:150px max(8vw,32px) 80px;grid-template-columns:1fr;align-items:center;border-radius:0;background-position:center;background-size:cover}
.service-detail-hero.has-photo-background::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,23,36,.78),rgba(16,23,36,.4) 58%,rgba(16,23,36,.12))}
.service-detail-hero.has-photo-background{position:relative}
.service-detail-hero.has-photo-background>*{position:relative;z-index:1}
.service-detail-hero.has-photo-background .service-detail-copy{max-width:780px}
.service-detail-hero.has-photo-background .service-detail-copy h1,.service-detail-hero.has-photo-background .service-detail-copy>p:last-child{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.45)}
.service-detail-hero.has-photo-background .service-detail-copy .eyebrow{color:#fff}
.service-detail-hero.has-photo-background .service-detail-image{display:none}
.service-detail-copy .eyebrow{margin-bottom:16px}
.service-detail-copy h1{max-width:650px;margin:0 0 22px;font-size:clamp(3.2rem,6vw,6.5rem);line-height:.92}
.service-detail-copy>p:last-child{max-width:580px;margin:0;color:var(--muted);font-size:1.15rem}
.service-detail-image{width:100%;height:auto;max-height:360px;object-fit:contain}
.service-detail-content{width:min(92%,900px);margin:0 auto;padding:90px 0 115px}
.service-detail-content h2{margin:0 0 20px;font-size:clamp(2rem,4vw,3.4rem);line-height:1}
.service-detail-placeholder{padding:28px;border-left:3px solid var(--lime);background:#f7f4f2;color:var(--muted)}
.service-detail-section+.service-detail-section{margin-top:42px}
.service-detail-section h3{margin:0 0 14px;font-size:clamp(1.4rem,2.2vw,2rem);line-height:1.1}
.service-detail-section p{color:var(--muted);font-size:1.05rem;line-height:1.75}
.service-detail-section>.service-detail-subtitle{margin:-5px 0 18px;color:var(--blue);font-size:1.05rem;font-weight:700}
.service-detail-subsection{margin-top:32px}
.service-detail-subsection h4{margin:0 0 12px;font:700 clamp(1.15rem,1.8vw,1.45rem)/1.2 "Manrope",sans-serif;letter-spacing:-.035em}
.service-detail-subsection .service-detail-subtitle{margin:-4px 0 14px;color:var(--blue);font-weight:700}
.service-detail-content--digital{width:min(92%,1240px);padding-top:110px}
.service-detail-content--digital>#service-content-title{max-width:900px;margin-bottom:58px;font-size:clamp(2.5rem,5vw,4.6rem);font-weight:400;line-height:1.08}
.service-detail-content--digital>#service-content-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.service-detail-content--digital>#service-content-copy>.service-detail-section--overview{display:flex;flex-direction:column;min-height:260px;margin:0;padding:32px;border:1px solid var(--line);border-top:4px solid var(--lime);border-radius:18px;background:linear-gradient(145deg,#fff 35%,var(--lime-pale));box-shadow:0 16px 40px rgba(39,50,71,.07)}
.service-detail-content--digital .service-detail-section--overview::before{display:grid;place-items:center;width:44px;height:44px;margin-bottom:24px;border-radius:50%;background:#fff;color:var(--lime);content:"01";font-size:.85rem;font-weight:800;letter-spacing:.04em}
.service-detail-content--digital .service-detail-section--overview:nth-child(2)::before{content:"02"}
.service-detail-content--digital .service-detail-section--overview h3{margin:0 0 16px;font-size:clamp(1.55rem,2.3vw,2.1rem);font-weight:600;letter-spacing:.015em;text-transform:uppercase}
.service-detail-content--digital .service-detail-section--overview .service-detail-introduction p{margin:0;font-size:1.05rem;line-height:1.7}
.service-detail-content--digital>#service-content-copy>.service-detail-section--innovation{grid-column:1/-1;margin-top:50px}
.service-detail-content--digital .service-detail-section--innovation>h3{max-width:850px;margin-bottom:12px;font-size:clamp(2.1rem,4vw,3.5rem);font-weight:400;line-height:1.1}
.service-detail-content--digital .service-detail-section--innovation>.service-detail-subtitle{margin:0 0 24px;font-size:1rem;letter-spacing:.14em;text-transform:uppercase}
.service-detail-content--digital .service-detail-section--innovation>.service-detail-introduction{max-width:950px;margin-bottom:54px}
.service-detail-content--digital .service-detail-subsection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px;row-gap:70px}
.service-detail-content--digital .service-detail-subsection{margin:0}
.service-detail-visual{height:auto;aspect-ratio:1.8;margin:0 0 26px;display:grid;place-items:center;overflow:hidden;background:#f1f3f7}
.service-detail-visual img{width:82%;height:88%;object-fit:contain}
.service-detail-visual--photo img{width:100%;height:100%;object-fit:contain;object-position:center;background:#edf2f7}
.service-detail-visual--people{position:relative;overflow:hidden;background:#edf2f7}
.service-detail-visual--people img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.service-detail-content--digital .service-detail-subsection h4{margin:0 0 16px;font-size:1.2rem;font-weight:500;line-height:1.3;letter-spacing:.06em;text-transform:uppercase}
.service-detail-content--digital .service-detail-subsection p{font-size:.98rem;line-height:1.72}
.service-detail-content--digital .service-detail-actions{margin-top:80px;padding-top:36px;border-top:1px solid var(--line)}
.service-detail-actions{display:flex;gap:12px;margin-top:28px}
.service-detail-content--streaming{width:min(94%,1360px)}
.service-detail-content--streaming>#service-content-title{display:none}
.service-streaming-panel{display:grid;grid-template-columns:1fr;grid-column:1/-1;gap:28px;margin-top:34px}
.service-streaming-panel>.service-detail-introduction{max-width:950px;margin-bottom:26px}
.service-streaming-panel>.service-detail-introduction h3{margin:0 0 18px;font:400 clamp(2.1rem,4vw,3.5rem)/1.1 "Manrope",sans-serif}
.service-detail-footer{padding:26px 4vw;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}
.service-not-found{min-height:55vh;display:grid;place-content:center;padding:50px 24px;text-align:center}
.service-not-found h1{font-size:clamp(2.5rem,6vw,5rem)}
/* =========================================================
   APARTADO: TRAYECTORIA / FUNDADOR / NÚMEROS ANIMADOS
   ========================================================= */
.journey{display:grid;grid-template-columns:420px 1fr;gap:54px 70px;align-items:start;background:#fff}
.journey-heading{grid-column:1/-1;text-align:center}
.journey-heading .eyebrow{margin-bottom:14px;color:var(--blue);font-size:.82rem;letter-spacing:.28em}
.journey h2{position:relative;margin:0;color:#202a37;font-size:clamp(2.2rem,3.6vw,4rem);font-weight:400;line-height:1.08;text-transform:uppercase;letter-spacing:-.035em}
.journey h2::after{content:"";display:block;width:130px;height:2px;margin:28px auto 0;background:#d9a0aa}
.founder-profile{width:100%;text-align:center}
.founder-card{position:relative;width:100%;aspect-ratio:1/1;margin:0 auto 22px;padding:0;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;border-radius:0;background:transparent;box-shadow:none}
.founder-card::before{display:none}
.founder-card img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;object-position:center center;filter:none}
.founder-info{margin:0}
.founder-info h3{max-width:310px;margin:0 auto 14px;color:#1d2836;font-size:clamp(2rem,2.5vw,3.1rem);font-weight:800;line-height:1;letter-spacing:-.055em}
.founder-info p{max-width:300px;margin:0 auto;color:#1d2836;font-size:1.08rem;font-weight:400;line-height:1.18;text-transform:none;letter-spacing:0}
.journey-copy{grid-column:2;padding-top:0}
.journey-copy>p{max-width:980px;color:var(--muted);font-size:clamp(1.14rem,1.45vw,1.42rem);font-weight:500;line-height:1.62}
.stats{grid-column:2;display:grid;grid-template-columns:repeat(4,1fr);width:100%;max-width:980px;align-self:end;margin-top:-205px;border:1px solid var(--line);border-radius:34px;overflow:hidden;background:#fff}
.stats article{min-height:160px;padding:24px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid var(--line)}
.stats article:first-child,
.stats article:nth-child(2){justify-content:center}
.stats strong{font:700 clamp(3rem,5vw,5rem)/1 "Manrope";letter-spacing:-.06em}
.stats strong:not([data-count="24"])::after{content:"+";color:var(--blue)}
.stats span{color:var(--muted);font-size:1rem;line-height:1.45}
/* =========================================================
   APARTADO: EMPRESAS / LOGOS DE CLIENTES
   Los archivos están en /logos-farmaceuticas, fuera de assets.
   ========================================================= */
.clients{overflow:hidden;background:#fff}
.clients-heading{width:min(100%,var(--max));margin:0 auto 48px;text-align:center}
.clients-heading .eyebrow{margin-bottom:12px}
.clients-heading h2{max-width:900px;margin:0 auto;color:#202a37;font-size:clamp(2.2rem,4.2vw,4.5rem);font-weight:600;line-height:1.05}
.logo-marquee{width:min(100%,var(--max));margin:auto}
.logo-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px;align-items:center}
.client-logo{height:165px;margin:0;padding:10px;display:grid;place-items:center;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;transition:none}
.client-logo:hover{transform:none;background:transparent;box-shadow:none}
.client-logo img{display:block;width:190px;height:110px;max-width:100%;margin:auto;object-fit:contain;object-position:center center;transform-origin:center center}
/* Logos transparentes: sin tarjeta, sin fondo y sin animación */
/* =========================================================
   APARTADO: EVENTOS
   ========================================================= */
.events{background:#fff;color:var(--ink)}
.section-heading.split{display:flex;justify-content:space-between;gap:50px;align-items:end}
.section-heading.split>p{max-width:430px;color:var(--muted)}
.event-list{width:min(100%,var(--max));margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.event-row,.event-row-featured{position:relative;display:block;min-width:0;padding:0;border:0;overflow:visible;background:transparent;transition:transform .35s ease}
.event-row[hidden]{display:none}
.event-image{position:relative;width:100%;aspect-ratio:16/9;height:auto;margin:0;overflow:visible;border-radius:0;background:transparent;perspective:1000px}
.event-image-inner{position:absolute;inset:0;transform-style:preserve-3d;transition:transform 1s ease-in-out}
.event-image-front,.event-image-back{position:absolute;inset:0;overflow:hidden;backface-visibility:hidden}
.event-image-front{display:grid;place-items:center;background:#eef2f6}
.event-image-front img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.event-image-back{display:grid;place-items:center;padding:clamp(16px,2vw,30px);transform:rotateY(180deg);background:var(--navy);color:#fff;text-align:center}
.event-image-back::before{content:attr(data-title);font:800 clamp(1.15rem,2vw,2rem)/1.2 "Manrope",sans-serif}
.event-image-back::after{content:attr(data-details);font:600 clamp(.8rem,1.1vw,1rem)/1.5 "DM Sans",sans-serif}
.event-image img[hidden]{display:none}
.event-row:hover{transform:translateY(-2px)}
.event-row:hover .event-image-inner,.event-row:focus .event-image-inner{transform:rotateY(180deg)}
.event-copy{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.event-copy>div>p{margin-bottom:5px}
.event-copy h3{margin:0;font-size:clamp(1.3rem,2vw,2rem);letter-spacing:-.035em}
.event-copy time{display:flex;align-items:baseline;gap:8px}
.event-row time b{color:var(--lime);font-size:1.3rem}
.event-row time span,.event-row>div>p,.event-place{color:var(--muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.1em}
.event-status{display:inline-flex;margin-top:9px;padding:4px 10px;border-radius:999px;background:rgba(177,35,68,.1);color:#b12344;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.event-status-ongoing{background:rgba(24,115,76,.1);color:#18734c}
.event-image-upload{position:absolute;inset:0;display:grid;place-items:center;border:2px dashed rgba(39,50,71,.35);background:#f7f8fa;color:var(--ink);font:700 .9rem "DM Sans",sans-serif;cursor:pointer}
.event-image-upload[hidden]{display:none}
.admin-edit-mode .event-row{padding-bottom:10px}
.admin-edit-mode .event-row.is-hidden{opacity:.55}
.admin-event-visibility{position:absolute;top:8px;right:8px;z-index:5;padding:8px 11px;border:0;border-radius:8px;background:#385d7a;color:#fff;font:700 .75rem "DM Sans",sans-serif;cursor:pointer;box-shadow:0 3px 12px rgba(5,20,38,.2)}
.admin-event-visibility:hover{background:#274762}
.admin-edit-mode .event-image-inner{transform:none!important}
.admin-edit-mode .event-copy{position:static;width:auto;height:auto;padding:12px;margin:0;overflow:visible;clip:auto;white-space:normal;clip-path:none;background:#f7f8fa}
.admin-edit-mode .event-copy h3{font-size:1.05rem}
.admin-edit-mode .event-copy .event-place{display:block;min-width:100%;min-height:30px;padding:7px;border:1px dashed rgba(39,50,71,.3);border-radius:5px;background:#fff;cursor:text}
.admin-edit-mode .event-copy .event-place:empty::before{content:attr(data-edit-placeholder);color:var(--muted);font-size:.76rem;letter-spacing:normal;text-transform:none}
.admin-edit-mode .event-copy time{align-items:flex-start;flex-direction:column}
.admin-edit-mode .event-copy time>b,.admin-edit-mode .event-copy time>span:not(.admin-event-date-editor){display:none}
.admin-event-date-editor{display:grid;gap:7px;width:100%;min-width:125px;color:var(--muted);font-size:.68rem;font-weight:700;letter-spacing:normal;text-transform:none}
.admin-event-date-editor label{display:grid;gap:3px}
.admin-event-date-input{width:100%;min-width:0;padding:5px;border:1px solid rgba(39,50,71,.2);border-radius:5px;background:#fff;color:var(--ink);font:inherit}
/* =========================================================
   APARTADO: FRASE / MENSAJE DE MARCA
   ========================================================= */
.quote{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:var(--paper)}
.quote-photo{min-height:580px;overflow:hidden;border-radius:32px 100px 32px 32px}
blockquote{position:relative;margin:0;padding:clamp(40px,6vw,80px);display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(189,41,68,.12);border-radius:32px;background:#fbe8ec;color:var(--ink)}
.quote-mark{font:700 6rem/1 Georgia;color:var(--lime)}
blockquote>p{font:600 clamp(2rem,3.6vw,4rem)/1.08 "Manrope";letter-spacing:-.05em}
blockquote footer{display:flex;flex-direction:column;margin-top:28px}
blockquote footer span{color:var(--muted)}
/* =========================================================
   APARTADO: GALERÍA
   ========================================================= */
.gallery{max-width:calc(var(--max) + 8vw);margin:auto}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:360px;gap:14px}
.gallery-grid figure{margin:0;overflow:hidden;border-radius:28px}
.gallery-grid .wide{grid-column:span 2}
.gallery-grid img{transition:.6s}
.gallery-grid figure:hover img{transform:scale(1.04)}
/* =========================================================
   APARTADO: CONTACTO / FORMULARIO
   ========================================================= */
.contact{display:grid;grid-template-columns:1fr .8fr;gap:8vw;background:#d90429;color:#fff}
.contact-copy>p:not(.eyebrow){max-width:650px;font-size:1.12rem}
.contact .eyebrow{color:#fff;opacity:.72}
.contact-details{display:flex;flex-direction:column;gap:5px;margin-top:35px;font-weight:600}
.contact-form{padding:34px;border-radius:32px;background:#fff;box-shadow:0 24px 70px rgba(5,20,38,.15)}
.contact-form label{display:block;margin-bottom:24px;color:#53616e;font-size:1.08rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;margin-top:9px;padding:16px 0;border:0;border-bottom:1px solid #cbd2d8;border-radius:0;background:transparent;color:var(--ink);outline:0;font-size:1.18rem;font-weight:600;text-transform:none;letter-spacing:0}
.contact-form textarea{resize:vertical}
.contact-form .button{min-height:60px;font-size:1.16rem}
.form-message{min-height:24px;margin:12px 0 0;text-align:center;font-size:.88rem}
/* =========================================================
   PÁGINA CONTACTO / UBICACIÓN GPS
   ========================================================= */
.contact-page-main{padding-top:112px;background:#d90429}
.contact-page .contact{min-height:calc(100vh - 112px);align-items:center}
.contact-page .contact h1{margin:0 0 24px;font:700 clamp(3rem,6.5vw,6.5rem)/.92 "Manrope",sans-serif;letter-spacing:-.055em}
.location{display:grid;grid-template-columns:.65fr 1.35fr;gap:60px;align-items:center;background:#fff}
.location h2{margin:0 0 22px;font-size:clamp(2.6rem,5vw,5.2rem);line-height:.95}
.location-copy>p:not(.eyebrow){max-width:560px;color:var(--muted);font-size:1.08rem}
.location-copy .button{margin-top:18px}
.map-frame{min-height:560px;overflow:hidden;border-radius:34px;box-shadow:0 24px 70px rgba(5,20,38,.14)}
.map-frame iframe{display:block;width:100%;height:560px;border:0}
/* =========================================================
   FOOTER / PIE DE PÁGINA
   ========================================================= */
.site-footer{padding:70px 4vw 28px;display:grid;grid-template-columns:1fr auto;gap:55px;background:#fff;color:var(--ink)}
.footer-brand img{width:210px;height:72px}
.footer-brand p{color:var(--muted)}
.site-footer nav{display:flex;gap:30px;align-items:center;font-size:.85rem}
.footer-bottom{grid-column:1/-1;padding-top:25px;display:flex;justify-content:space-between;border-top:1px solid var(--line);color:var(--muted);font-size:.78rem}
/* =========================================================
   ANIMACIONES DE ENTRADA
   ========================================================= */
.reveal{opacity:0;transform:translateY(34px);transition:opacity .8s ease,transform .8s ease}
.reveal.visible{opacity:1;transform:none}
/* =========================================================
   RESPONSIVE / TABLET
   ========================================================= */
@media(max-width:1000px){
  .site-header{top:10px;justify-content:space-between}
  .main-nav{position:fixed;top:98px;left:3%;right:3%;display:none;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:18px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 24px 55px rgba(0,0,0,.2)}
  .main-nav.open{display:flex}
  .main-nav a{padding:15px 10px;border-bottom:1px solid var(--line);font-size:1rem}
  .main-nav a:last-child{border-bottom:0}
  .main-nav a::after{display:none}
  .main-nav .nav-instagram{align-self:center;margin-top:10px;padding:0}
  .main-nav .nav-login{margin-top:10px;padding:15px;text-align:center}
  .header-cta{margin-left:auto}
  .menu-button{display:block}
  .mosaic{grid-template-columns:minmax(0,1fr);height:auto}
  .hero-event-carousel{grid-column:auto}
  .tile-c,.tile-d{display:none}
  .manifesto,.journey,.contact{grid-template-columns:1fr}
  .manifesto{gap:55px}
  .journey{gap:42px}
  .journey-heading,.founder-profile,.journey-copy,.stats{grid-column:auto}
  .founder-profile{max-width:420px;margin:auto}
  .founder-card{height:auto;min-height:0}
  .stats{grid-column:auto;grid-template-columns:1fr 1fr;max-width:100%;margin-top:0}
  .service-grid{grid-template-columns:1fr 1fr}
  .service-detail-hero{min-height:400px;padding:38px;gap:24px}
  .service-detail-image{max-height:300px}
  .logo-track{grid-template-columns:repeat(4,minmax(0,1fr))}
  .quote{grid-template-columns:1fr}
  .quote-photo{min-height:430px}
}
/* =========================================================
   RESPONSIVE / CELULAR
   ========================================================= */
@media(max-width:680px){
  html{scroll-padding-top:90px}
  [id]{scroll-margin-top:90px}
  body{font-size:15px}
  .site-header{top:0;width:100%;min-height:72px;padding:6px 14px;border-width:0 0 1px;border-radius:0}
  .site-header.scrolled{width:100%}
  .brand{width:145px;height:58px;padding:4px 0}
  .brand img{height:50px}
  .menu-button{display:block;min-width:48px;min-height:48px;padding:10px;border-radius:50%;background:#f1f1f2}
  .menu-button span{width:26px;margin:5px auto}
  .main-nav{top:78px;left:14px;right:14px}
  .header-cta{display:none}
  .section{padding:72px 20px}
  .hero{min-height:auto;padding:118px 20px 58px}
  .hero h1{font-size:clamp(2.75rem,14vw,4.5rem);line-height:.92}
  .hero-intro{font-size:1rem}
  .hero-actions{flex-direction:column;align-items:stretch}
  .button{width:100%;min-height:54px}
  .mosaic{height:auto;gap:8px;margin-top:35px}
  .instagram-widget-placeholder{min-height:240px;border-radius:20px}
  .hero-event-carousel{clip-path:inset(0 round 20px);border-radius:20px}
  .hero-event-slides{border-radius:19px 19px 0 0}
  .hero-event-slide img{border-radius:19px 19px 0 0}
  .hero-event-slide{grid-template-columns:minmax(0,1fr);gap:0;padding:0}
  .hero-event-copy{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:5px;padding:12px}
  .hero-event-date{grid-column:1;grid-row:1;font-size:.76rem}
  .hero-event-copy strong{grid-column:1;grid-row:2;font-size:1rem}
  .hero-event-details{grid-column:1;grid-row:3;font-size:.82rem}
  .tile-a{border-radius:60px 14px 14px 60px}
  .tile-b{border-radius:14px 60px 14px 14px}
  .tile-mark{border-radius:60px}
  .scroll-cue{display:none}
  .manifesto h2,.section-heading h2,.contact h2{font-size:clamp(2.55rem,12vw,4rem)}
  .manifesto-copy .lead{font-size:1.2rem}
  .service-grid,.stats{grid-template-columns:1fr}
  .journey{gap:34px}
  .journey-heading{text-align:left}
  .journey-heading .eyebrow{font-size:.72rem;letter-spacing:.2em}
  .journey h2{font-size:2.15rem;text-align:left}
  .journey h2::after{margin:22px 0 0}
  .founder-profile{max-width:340px}
  .founder-card{height:auto;min-height:0;border-radius:0}
  .founder-card img{max-width:none;max-height:none}
  .founder-info h3{font-size:2.05rem}
  .founder-info p{font-size:1rem}
  .journey-copy>p{font-size:1.05rem;line-height:1.55}
  .stats{border-radius:24px}
  .stats article{min-height:130px;padding:20px}
  .stats strong{font-size:3.5rem}
  .clients-heading{margin-bottom:32px;text-align:left}
  .clients-heading h2{font-size:2.45rem}
  .logo-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .client-logo{height:120px;padding:8px;border-radius:0}
  .client-logo img{width:160px;height:90px}
  .service-card{min-height:280px}
  .service-card-copy,.service-card.service-main .service-card-copy{max-width:100%}
  .service-main{border-radius:55px 26px 26px 26px}
  .service-page-header{width:100%;min-height:72px;padding:6px 20px;border-bottom:1px solid rgba(39,50,71,.08)}
  .service-page-header .brand{width:145px;height:58px}
  .service-page-header .brand img{height:50px}
  .photo-service-page .service-page-header .brand{height:auto;padding:4px 10px}
  .service-page-nav{gap:14px;font-size:.86rem}
  .service-page-nav a:first-child{display:none}
  .service-detail-hero{width:calc(100% - 32px);min-height:0;margin:16px auto 0;padding:30px 22px 24px;grid-template-columns:1fr;gap:8px;border-radius:26px}
  .service-detail-hero.has-photo-background{width:100%;min-height:68svh;margin:0;padding:120px 24px 54px;grid-template-columns:1fr;border-radius:0;background-position:center}
  .service-detail-copy h1{font-size:clamp(2.8rem,14vw,4.5rem)}
  .service-detail-copy>p:last-child{font-size:1rem}
  .service-detail-image{grid-row:1;max-height:230px}
  .service-detail-content{width:calc(100% - 40px);padding:62px 0 78px}
  .service-detail-placeholder{padding:22px}
  .service-detail-content--digital{width:calc(100% - 40px);padding:68px 0 78px}
  .service-detail-content--digital>#service-content-title{margin-bottom:38px;font-size:2.5rem}
  .service-detail-content--digital>#service-content-copy{grid-template-columns:1fr;gap:16px}
  .service-detail-content--digital>#service-content-copy>.service-detail-section--overview{min-height:0;padding:24px}
  .service-detail-content--digital .service-detail-section--overview::before{width:38px;height:38px;margin-bottom:18px}
  .service-detail-content--digital .service-detail-section--overview h3{font-size:1.55rem}
  .service-detail-content--digital>#service-content-copy>.service-detail-section--innovation{margin-top:32px}
  .service-detail-content--digital .service-detail-section--innovation>h3{font-size:2rem}
  .service-detail-content--digital .service-detail-section--innovation>.service-detail-introduction{margin-bottom:36px}
  .service-detail-content--digital .service-detail-subsection-grid{grid-template-columns:1fr;row-gap:42px}
  .service-detail-visual{aspect-ratio:1.9;margin-bottom:20px}
  .service-detail-content--digital .service-detail-subsection h4{font-size:1.1rem}
  .service-detail-content--digital .service-detail-actions{margin-top:56px;padding-top:28px}
  .service-detail-content--streaming{width:calc(100% - 40px)}
  .service-streaming-panel{gap:18px;margin-top:24px}
  .service-detail-actions{flex-direction:column}
  .service-detail-footer{flex-direction:column;gap:6px}
  .section-heading.split{display:block}
  .event-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .gallery-grid{grid-template-columns:1fr;grid-auto-rows:300px}
  .gallery-grid .wide{grid-column:auto}
  .quote{padding-left:14px;padding-right:14px}
  .quote-photo{min-height:360px;border-radius:24px 60px 24px 24px}
  blockquote{padding:34px;border-radius:24px}
  blockquote>p{font-size:2rem}
  .contact-form{padding:24px 20px}
  .contact-form label{font-size:.95rem}
  .contact-form input,.contact-form select,.contact-form textarea{font-size:1rem}
  .contact-page-main{padding-top:88px}
  .contact-page .contact{min-height:auto}
  .contact-page .contact h1{font-size:2.8rem}
  .location{grid-template-columns:1fr;gap:38px}
  .location h2{font-size:2.6rem}
  .map-frame,.map-frame iframe{min-height:420px;height:420px}
  .site-footer{grid-template-columns:1fr;padding:58px 24px 26px}
  .footer-brand{transform:none}
  .footer-brand img{width:190px;height:66px}
  .site-footer nav{flex-wrap:wrap}
  .footer-bottom{flex-direction:column;gap:8px}
}
/* =========================================================
   ACCESIBILIDAD / REDUCIR MOVIMIENTO
   ========================================================= */
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.service-link,.service-card.service-photo::after{transition:none}.service-card.service-photo:hover::after,.service-card.service-photo:focus-visible::after{transform:none}.hero-event-slide,.event-image-inner{transition:none}}

/* =========================================================
   CHATBOT TRAVEL SOLUTIONS
   ========================================================= */
/* ASISTENTE TRAVEL SOLUTIONS */
.ts-chat-launcher{position:fixed;right:26px;bottom:26px;z-index:120;width:62px;height:62px;border:0;border-radius:20px;display:grid;place-items:center;background:var(--lime);color:#fff;box-shadow:0 16px 42px rgba(39,50,71,.18);cursor:pointer;transition:.25s ease}
.ts-chat-launcher:hover{transform:translateY(-3px);background:var(--lime)}.ts-chat-launcher svg{width:27px;height:27px;fill:currentColor}
.ts-chat-panel{position:fixed;right:26px;bottom:100px;z-index:119;width:min(380px,calc(100vw - 30px));height:min(560px,calc(100vh - 125px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(5,20,38,.1);border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(5,20,38,.28);opacity:0;visibility:hidden;transform:translateY(16px) scale(.98);transform-origin:bottom right;transition:.22s ease}.ts-chat-panel.open{opacity:1;visibility:visible;transform:none}
.ts-chat-header{display:flex;align-items:center;gap:13px;padding:18px 18px;background:#fff;border-bottom:1px solid var(--line)}.ts-chat-logo{width:52px;height:52px;object-fit:contain}.ts-chat-title{flex:1}.ts-chat-title strong{display:block;color:var(--navy);font:800 1rem "Manrope",sans-serif}.ts-chat-title span{display:block;margin-top:2px;color:#737780;font-size:.76rem}.ts-chat-close{width:36px;height:36px;border:0;border-radius:50%;background:#f3f4f5;color:var(--navy);font-size:1.3rem;cursor:pointer}
.ts-chat-messages{flex:1;padding:20px;overflow-y:auto;background:#f7f8f9;scroll-behavior:smooth}.ts-msg{max-width:88%;margin:0 0 12px;padding:12px 14px;border-radius:16px;font-size:.9rem;line-height:1.52}.ts-msg.bot{border:1px solid rgba(5,20,38,.07);border-bottom-left-radius:4px;background:#fff;color:var(--ink)}.ts-msg.user{margin-left:auto;border-bottom-right-radius:4px;background:var(--navy);color:#fff}
.ts-chat-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:5px 0 15px}.ts-chat-action{padding:10px 9px;border:1px solid rgba(5,20,38,.12);border-radius:12px;background:#fff;color:var(--navy);font-size:.76rem;font-weight:750;text-align:left;cursor:pointer;transition:.18s}.ts-chat-action:first-child{grid-column:1/-1;border-color:rgba(217,4,41,.28);color:var(--lime)}.ts-chat-action:hover{border-color:var(--lime);transform:translateY(-1px)}
.ts-event-cards{display:grid;gap:9px;margin:2px 0 12px}.ts-event-card{padding:13px 14px;border-left:3px solid var(--lime);border-radius:4px 14px 14px 4px;background:#fff;box-shadow:0 4px 16px rgba(5,20,38,.06)}.ts-event-card span{display:block;margin-bottom:4px;color:var(--lime);font:800 .7rem "Manrope",sans-serif;letter-spacing:.08em}.ts-event-card strong{display:block;color:var(--navy);font-size:.9rem}.ts-event-card small{display:block;margin-top:3px;color:#737780}.ts-event-card p{margin:7px 0 0;color:#3f4650;font-size:.78rem}.ts-chat-link{display:block;width:max-content;max-width:100%;margin:5px 0 14px;padding:10px 13px;border:0;border-radius:10px;background:var(--lime);color:#fff;text-decoration:none;font-size:.78rem;font-weight:800;cursor:pointer}
.ts-chat-input-area{display:flex;align-items:center;gap:8px;padding:13px 14px;border-top:1px solid var(--line);background:#fff}.ts-chat-input{min-width:0;flex:1;height:45px;padding:0 14px;border:1px solid rgba(5,20,38,.14);border-radius:12px;outline:none;background:#f7f8f9;color:var(--ink)}.ts-chat-input:focus{border-color:var(--navy)}.ts-chat-send{width:45px;height:45px;flex:0 0 45px;border:0;border-radius:12px;background:var(--lime);color:#fff;font-size:1.1rem;cursor:pointer}
@media(max-width:680px){.ts-chat-launcher{right:16px;bottom:16px;width:58px;height:58px;border-radius:18px}.ts-chat-panel{right:10px;bottom:84px;width:calc(100vw - 20px);height:min(650px,calc(100dvh - 98px));border-radius:20px}.ts-chat-actions{grid-template-columns:1fr}}

@media(max-width:760px){
  .instagram-widget-embed .eapps-instagram-feed-posts-grid,
  .instagram-widget-embed .eapps-instagram-feed-posts-inner,
  .instagram-widget-embed [class*="PostsGrid"],
  .instagram-widget-embed [class*="posts-grid"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* =========================================================
   ADMINISTRACIÓN Y EDICIÓN CON SUPABASE
   ========================================================= */
.admin-access-link{color:inherit;text-decoration:none;opacity:0;transition:.2s ease}
.admin-access-link:hover{opacity:0}
.admin-toolbar{position:fixed;top:14px;left:50%;z-index:1000;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 24px);padding:9px 10px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(5,20,38,.94);box-shadow:0 16px 46px rgba(5,20,38,.28);color:#fff;transform:translateX(-50%);backdrop-filter:blur(14px)}
.admin-toolbar-user{max-width:210px;padding:0 8px;overflow:hidden;color:#cbd5e1;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}
.admin-toolbar button,.admin-toolbar-streaming{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border:0;border-radius:10px;background:#fff;color:var(--navy);font:750 .8rem "DM Sans",sans-serif;text-decoration:none;cursor:pointer}
.admin-toolbar [data-admin-save]{background:var(--lime);color:#fff}
.admin-toolbar .admin-toolbar-logout{background:rgba(255,255,255,.1);color:#fff}
.admin-toolbar button:disabled{cursor:wait;opacity:.55}
.admin-edit-mode [data-edit-key]{border-radius:5px;outline:2px dashed rgba(177,35,68,.55);outline-offset:5px;cursor:text}
.admin-edit-mode [data-edit-key]:focus{outline:3px solid var(--lime);background:rgba(255,255,255,.82)}
.admin-edit-mode [data-edit-image-key]{outline:4px dashed var(--lime);outline-offset:4px;cursor:pointer;filter:saturate(.78)}
.admin-edit-mode [data-edit-image-key]:hover{filter:none}
.admin-background-image{position:absolute!important;right:16px;bottom:16px;width:90px!important;height:55px!important;object-fit:cover;z-index:20}
.admin-background-image[hidden],body:not(.admin-edit-mode) .admin-background-image{display:none!important}
.linked-images-section{width:min(92%,1240px);margin:0 auto;padding:36px 0;background:#fff}
.linked-images-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),250px));gap:44px;align-items:start;justify-content:center}
.linked-image-card>a{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1}
.linked-image-card img{width:100%;height:100%;object-fit:contain}
.linked-image-card.is-placeholder>a{border:2px dashed var(--line);border-radius:14px;background:#f7f8fa}
.linked-image-card.is-placeholder>a::after{content:"Agrega una imagen";color:var(--muted);font-weight:700}
.linked-image-card.is-placeholder img{display:none}
.linked-image-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.linked-image-controls[hidden]{display:none}
.linked-image-controls input{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px}
.linked-image-controls button{padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}
@media(max-width:700px){.linked-images-grid{gap:28px}}
.admin-edit-mode .event-row time{align-items:flex-start;flex-direction:column}
.admin-edit-mode .event-row time>b,.admin-edit-mode .event-row time>span:not(.admin-event-date-editor){display:none}
.admin-event-date-editor{display:grid;gap:7px;width:100%;min-width:125px;color:var(--muted);font-size:.68rem;font-weight:700;letter-spacing:normal;text-transform:none}
.admin-event-date-editor label{display:grid;gap:3px}
.admin-event-date-input{width:100%;min-width:0;padding:5px;border:1px solid rgba(39,50,71,.2);border-radius:5px;background:#fff;color:var(--ink);font:inherit}
.admin-notice{position:fixed;left:50%;bottom:24px;z-index:1100;max-width:min(520px,calc(100vw - 30px));padding:13px 18px;border-radius:12px;background:var(--navy);box-shadow:0 14px 42px rgba(5,20,38,.24);color:#fff;font-weight:700;opacity:0;pointer-events:none;transform:translate(-50%,14px);transition:.22s ease}
.admin-notice.is-visible{opacity:1;transform:translate(-50%,0)}
.admin-notice[data-type="success"]{background:#18734c}
.admin-notice[data-type="error"]{background:#9f1239}
.admin-login-page{min-height:100vh;background:linear-gradient(145deg,#f6f7f8,#fff 55%,#f8e9ed)}
.admin-login-shell{min-height:100vh;display:grid;place-items:center;padding:28px}
.admin-login-card{width:min(100%,480px);padding:44px;border:1px solid rgba(5,20,38,.1);border-radius:30px;background:rgba(255,255,255,.94);box-shadow:0 30px 90px rgba(5,20,38,.14)}
.admin-login-brand{display:block;width:190px;margin-bottom:32px}
.admin-login-brand img{display:block;width:100%;height:auto}
.admin-login-card h1{margin:8px 0 12px;color:var(--ink);font:800 clamp(2.35rem,7vw,4rem)/1 "Manrope",sans-serif;letter-spacing:-.055em}
.admin-login-card>p:not(.eyebrow){margin:0;color:#626a75;line-height:1.65}
.admin-login-form{display:grid;gap:18px;margin-top:30px}
.admin-login-form label{display:grid;gap:8px;color:var(--ink);font-weight:750}
.admin-login-form [hidden]{display:none!important}
.admin-login-form input{width:100%;height:52px;padding:0 15px;border:1px solid rgba(5,20,38,.16);border-radius:12px;background:#fff;color:var(--ink);font:500 1rem "DM Sans",sans-serif;outline:none}
.password-input-wrap{position:relative;display:block}
.password-input-wrap input{padding-right:52px}
.password-visibility-toggle{position:absolute;top:50%;right:8px;display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:9px;background:transparent;color:#59616d;cursor:pointer;transform:translateY(-50%)}
.password-visibility-toggle:hover{background:#f1f3f5;color:var(--ink)}
.password-visibility-toggle:focus-visible{outline:2px solid var(--lime);outline-offset:1px}
.password-visibility-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
.password-eye-slash{opacity:0;transition:opacity .15s ease}
.password-visibility-toggle[aria-pressed="true"] .password-eye-slash{opacity:1}
.admin-login-form input:focus{border-color:var(--lime);box-shadow:0 0 0 3px rgba(177,35,68,.12)}
.admin-login-form .button{width:100%;margin-top:4px}
.admin-login-form .login-privacy{margin:-4px 0 0;color:#737b86;font-size:.78rem;line-height:1.5}
.login-message{min-height:24px;margin:0;color:#9f1239;font-size:.9rem}
.admin-back-link{display:inline-block;margin-top:20px;color:#59616d;text-decoration:none;font-weight:700}
@media(max-width:720px){.admin-toolbar{top:8px;flex-wrap:wrap;justify-content:center;width:calc(100vw - 16px)}.admin-toolbar-user{display:none}.admin-toolbar button{padding:0 10px;font-size:.74rem}.admin-login-card{padding:30px 22px;border-radius:24px}}

/* =========================================================
   PANTALLA PRIVADA DE STREAMING
   ========================================================= */
.stream-room-page{min-height:100vh;background:linear-gradient(160deg,transparent 75%,#767779 75%),linear-gradient(200deg,transparent 75%,#767779 75%),linear-gradient(#bcb4a0 0 18%,#d0d0ce 18% 100%);color:var(--ink)}
.stream-room-header{display:flex;align-items:center;justify-content:space-between;min-height:88px;padding:10px max(4vw,24px);background:#fff;border-bottom:1px solid rgba(39,50,71,.1)}
.stream-room-header .brand{width:190px}
.stream-room-header .brand img{display:block;width:100%;height:auto}
.stream-room-shell{width:98%;height:calc(100dvh - 88px);margin:0 auto;padding:14px 0 24px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:20px;align-items:center}
.stream-room-shell[hidden],.stream-room-unavailable[hidden]{display:none}
.stream-room-shell.has-sponsor{grid-template-columns:minmax(140px,18%) minmax(0,1fr)}
.stream-room-shell.has-questions{grid-template-columns:minmax(0,1fr) minmax(230px,22%)}
.stream-room-shell.has-sponsor.has-questions{grid-template-columns:minmax(140px,18%) minmax(0,1fr) minmax(230px,22%)}
.stream-center{position:relative;min-width:0;max-width:1100px;width:100%;margin:auto;display:flex;flex-direction:column;align-items:center;gap:12px}
.stream-center::after{content:"";position:absolute;z-index:-1;bottom:-20px;left:-4%;width:108%;height:50px;border-radius:50%;background:radial-gradient(ellipse,#c6a477,#9b754e);box-shadow:0 9px 18px #0003}
.stream-sponsor{align-self:start;margin-top:12px;background:transparent;border:0;height:65dvh;max-height:calc(100dvh - 140px);min-width:0;overflow:hidden;contain:size layout}
.stream-sponsor img{display:block;width:100%;height:100%;object-fit:contain;object-position:center top}
.stream-questions{height:calc(100dvh - 130px);background:#fff;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.stream-questions[hidden],.stream-sponsor[hidden]{display:none}
.stream-questions h2{margin:0;padding:15px;background:#153b5b;color:#fff;font-size:1rem}
.stream-questions iframe{width:100%;flex:1;border:0;min-height:0}
.stream-banner{display:flex;align-items:center;justify-content:center;width:min(100%,1000px,calc((100dvh - 230px)*1.3));margin:0 auto;overflow:hidden;border:0;background:transparent;box-shadow:none}
.stream-banner img{display:block;width:100%;height:auto;object-fit:contain}
.stream-player{position:relative;width:min(100%,calc((100dvh - 230px)*1.3));aspect-ratio:16/9;overflow:hidden;background:#050b16;box-shadow:0 22px 70px rgba(5,20,38,.22)}
.stream-player iframe,.stream-player video{display:block;width:100%;height:100%;border:0;background:#000}
.stream-player-placeholder{position:absolute;inset:0;display:grid;place-items:center;padding:30px;color:#fff;text-align:center}
.stream-room-info{padding:8px 14px;background:#ffffffdf;border-radius:8px;width:100%;max-height:90px;overflow:auto}
.stream-room-info h1{margin:0 0 4px;font:800 clamp(1rem,1.6vw,1.4rem)/1.1 "Manrope",sans-serif;letter-spacing:-.025em}
.stream-room-info p{max-width:900px;margin:0;color:#626a75;font-size:1.08rem;line-height:1.7;white-space:pre-line}
.stream-room-unavailable{display:grid;min-height:70vh;place-items:center;text-align:center}
.stream-room-unavailable>div{max-width:620px;padding:46px;border-radius:28px;background:#fff;box-shadow:0 22px 70px rgba(39,50,71,.1)}
@media(min-width:901px){.stream-room-page{height:100dvh;overflow:hidden}.stream-room-page>.stream-room-header{height:88px;min-height:88px;box-sizing:border-box}.stream-room-shell{box-sizing:border-box;overflow:hidden}.stream-room-shell.has-sponsor,.stream-room-shell.has-questions,.stream-room-shell.has-sponsor.has-questions{grid-template-columns:minmax(200px,22%) minmax(0,1fr) minmax(200px,22%)}.stream-room-shell.has-sponsor>.stream-center,.stream-room-shell.has-questions>.stream-center{grid-column:2;grid-row:1;align-self:center;justify-self:center}.stream-sponsor{grid-column:1;grid-row:1;align-self:center;margin-top:0}.stream-questions{grid-column:3;grid-row:1;align-self:center;min-width:0}.stream-center{flex:none}.stream-center>*{flex-shrink:0}}
@media(max-width:900px){.stream-room-shell,.stream-room-shell.has-sponsor,.stream-room-shell.has-questions,.stream-room-shell.has-sponsor.has-questions{height:auto;min-height:calc(100dvh - 70px);grid-template-columns:1fr;padding:20px 0 40px}.stream-center{grid-row:1}.stream-player,.stream-banner{width:100%}.stream-sponsor{width:min(100%,300px);margin:auto}.stream-questions{height:480px}.stream-room-info{max-height:140px}}
.stream-room-page.stream-admin-page{height:auto;min-height:100dvh;overflow-x:hidden;overflow-y:auto}
.stream-room-page.event-lobby-page{height:auto;min-height:100dvh;overflow-x:hidden;overflow-y:auto;background:linear-gradient(90deg,#102c40b8,#102c4045),var(--lobby-background,url("assets/images/services/congresos-fondo.jpeg")) center/cover fixed;color:#fff}
.event-lobby[hidden]{display:none}
.event-lobby{width:min(94%,1400px);margin:auto;padding:20px 0 60px}
.event-lobby-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;padding:18px;background:#102334c9;border:1px solid #ffffff35;border-radius:12px}
.event-lobby-nav a{color:#fff;text-decoration:none;font-weight:700;font-size:.88rem}
.event-lobby-nav a:hover{text-decoration:underline}
.event-lobby-welcome{width:min(100%,850px);margin:7vh auto 50px;padding:clamp(24px,4vw,50px);border:1px solid #ffffff5c;border-radius:18px;background:#102334d9;box-shadow:0 25px 80px #0003;text-align:center}
.event-lobby-welcome>img{display:block;max-width:100%;max-height:230px;object-fit:contain;margin:0 auto 26px}
.event-lobby-welcome>img[hidden]{display:none}
.event-lobby-welcome h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.12;margin:14px 0 20px}
.event-lobby-welcome p{white-space:pre-line;line-height:1.7}
.event-lobby-dates{font-weight:700;color:#d9e7ef}
.event-lobby-welcome .button{margin-top:22px}
.event-lobby-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.event-lobby-sections>section{scroll-margin-top:24px;min-width:0;padding:32px;background:#fff;color:var(--ink);border-radius:14px}
.event-lobby-sections p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.7}
.stream-lobby-settings,#lobbySectionEditors{display:grid;gap:18px;min-width:0}
#lobbySectionEditors fieldset{display:grid;gap:12px;min-width:0}
#lobbyMediaPreviews img{display:block;max-width:100%;max-height:160px;object-fit:contain;margin:10px 0}
@media(max-width:700px){.event-lobby-sections{grid-template-columns:1fr}.event-lobby-nav{gap:16px}.event-lobby-welcome{margin-top:28px}}
.stream-admin-page.auth-pending .stream-admin-shell{visibility:hidden}
.stream-admin-shell{width:min(92%,940px);margin:0 auto;padding:130px 0 70px}
.stream-admin-card{padding:38px;border:1px solid rgba(39,50,71,.12);border-radius:28px;background:#fff;box-shadow:0 24px 75px rgba(39,50,71,.1)}
.stream-admin-card h1{margin:8px 0 12px;font:800 clamp(2.3rem,6vw,4.4rem)/1 "Manrope",sans-serif;letter-spacing:-.05em}
.stream-admin-card>.stream-admin-intro{margin:0 0 28px;color:#626a75;line-height:1.65}
.stream-room-selector{display:grid;gap:8px;margin:20px 0;font-weight:700}
.stream-room-selector select{width:100%;padding:14px;border:1px solid #ccd2da;border-radius:10px;background:#fff;color:var(--ink);font:inherit}
.stream-admin-form{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.stream-admin-form label{display:grid;gap:8px;color:var(--ink);font-weight:750}
.stream-admin-form label[hidden]{display:none}
.stream-admin-form .full{grid-column:1/-1}
#sponsorPreviews{display:flex;flex-wrap:wrap;gap:16px}
#sponsorPreviews>div{display:grid;gap:8px;width:140px}
#sponsorPreviews img{width:140px;height:160px;object-fit:contain;background:#f3f5f8}
#sponsorPreviews button{padding:8px;border:1px solid #ccd2da;border-radius:6px;background:#fff;cursor:pointer}
.stream-admin-form input,.stream-admin-form textarea{width:100%;padding:13px 15px;border:1px solid rgba(39,50,71,.18);border-radius:11px;background:#fff;color:var(--ink);font:500 1rem "DM Sans",sans-serif;outline:none}
.stream-admin-form input:focus,.stream-admin-form textarea:focus{border-color:var(--lime);box-shadow:0 0 0 3px rgba(177,35,68,.12)}
.stream-admin-form textarea{min-height:120px;resize:vertical}
.stream-admin-active{display:flex!important;align-items:center;gap:10px}
.stream-admin-active input{width:20px;height:20px}
.stream-admin-banner-preview{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:5/1;overflow:hidden;border:2px dashed rgba(39,50,71,.2);background:#fff}
.stream-admin-banner-preview img{width:100%;height:100%;object-fit:contain}
.stream-admin-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.stream-admin-actions button,.stream-admin-actions a{min-height:46px;padding:0 18px;border:0;border-radius:11px;background:var(--navy);color:#fff;font:750 .88rem "DM Sans",sans-serif;text-decoration:none;cursor:pointer}
.stream-admin-actions button[type="submit"]{background:var(--lime)}
.stream-admin-public-link{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:26px;padding-top:24px;border-top:1px solid rgba(39,50,71,.1)}
.stream-admin-public-link input{min-width:0;padding:12px;border:1px solid rgba(39,50,71,.16);border-radius:10px;background:#f7f8fa}
.stream-admin-public-link button{padding:0 17px;border:0;border-radius:10px;background:var(--navy);color:#fff;font-weight:750;cursor:pointer}
.stream-admin-message{min-height:24px;margin:18px 0 0;color:#18734c;font-weight:700}
@media(max-width:700px){.stream-room-header{min-height:70px}.stream-room-header .brand{width:145px}.stream-room-shell{padding-top:24px}.stream-admin-shell{padding-top:105px}.stream-admin-card{padding:26px 19px}.stream-admin-form{grid-template-columns:1fr}.stream-admin-form .full{grid-column:auto}.stream-admin-public-link{grid-template-columns:1fr}.stream-admin-public-link button{min-height:44px}}
