/* Expo Dental 2027 — refinamiento visual y responsive */
:root{
  --space-section:clamp(68px,7vw,108px);
  --focus-ring:0 0 0 4px rgba(8,119,189,.16);
}

html{overflow-x:clip}
body{min-width:320px}
img{max-width:100%;height:auto}
h1,h2,h3,p,a,button,li,span{overflow-wrap:break-word;word-break:normal}
h1,h2,h3{
  margin-block-start:0;
  padding-block-end:.06em;
  overflow:visible;
  font-kerning:normal;
  text-wrap:balance;
}
p{max-width:75ch}
.grid2>*,
:is(.grid3,.grid4,.statgrid,.pricegrid,.packages,.contactgrid,.hotelgrid,.logogrid,.sponsor-packages,.faq-cards)>*{
  min-width:0;
}

/* Titulares: interlineado seguro para evitar cortes de letras y tildes */
.page-hero h1{
  max-width:15ch;
  font-size:clamp(3rem,6.1vw,5.35rem);
  line-height:1.08;
  letter-spacing:-.045em;
}
.page-hero h1 span{
  padding-block:.01em .08em;
}
.title{
  max-width:22ch;
  line-height:1.13;
  letter-spacing:-.035em;
}
.band h2,
.sponsor-cta-panel h2{
  line-height:1.12;
  letter-spacing:-.032em;
}
:is(.card,.price,.package,.contactcard,.hotelbody,.sponsor-tier,.faq-help-card) h3{
  line-height:1.3;
}
.section{padding-block:var(--space-section)}
.section-header{
  align-items:flex-start;
  gap:clamp(24px,4vw,54px);
  margin-bottom:42px;
}
.section-header>div{min-width:0}
.section-header .copy{padding-top:7px}
.section+.section{scroll-margin-top:96px}
.contactcard a,.footer a{overflow-wrap:anywhere}

/* Imágenes: se muestra el contenido completo cuando contiene información */
.hero-image{
  display:grid;
  place-items:center;
  min-width:0;
  background:#fff;
}
.hero-image img{
  width:100%;
  min-height:0;
  max-height:none;
  height:auto;
}
.hero-image--banner{
  padding:clamp(10px,1.5vw,18px);
}
.hero-image--banner img{
  aspect-ratio:1600/450;
  object-fit:contain;
}
.hero-image--photo img{
  aspect-ratio:3/2;
  object-fit:cover;
  object-position:center;
}
.brand img{
  height:auto;
  max-height:58px;
  object-fit:contain;
}

/* Navegación móvil retráctil */
.menu{
  display:none;
  place-items:center;
  padding:0;
  cursor:pointer;
  font-size:1.35rem;
  line-height:1;
  transition:color .2s ease,background .2s ease,transform .2s ease;
}
:is(.menu,.nav a,.btn,.faqbtn,.faq-filter button,.sponsor-tier-toggle):focus-visible{
  outline:3px solid rgba(8,119,189,.3);
  outline-offset:3px;
}
@media(max-width:1100px){
  .menu{display:grid;margin-left:auto}
  .nav{
    position:absolute;
    top:calc(100% + 1px);
    left:clamp(12px,3vw,32px);
    right:clamp(12px,3vw,32px);
    display:grid;
    gap:4px;
    max-height:0;
    margin:0;
    padding:0 14px;
    overflow:hidden;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    transform:translateY(-10px) scale(.985);
    transform-origin:top center;
    border:1px solid rgba(6,58,105,.09);
    border-radius:0 0 22px 22px;
    background:rgba(255,255,255,.985);
    box-shadow:0 24px 52px rgba(6,58,105,.16);
    transition:max-height .34s ease,padding .34s ease,opacity .22s ease,transform .28s ease,visibility .28s;
  }
  header.open .nav{
    max-height:min(660px,calc(100vh - 118px));
    padding:14px;
    overflow-y:auto;
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transform:translateY(0) scale(1);
  }
  .nav a{
    min-height:46px;
    display:flex;
    align-items:center;
    padding:11px 14px;
    border-radius:12px;
  }
  body.menu-open{overflow:hidden}
}

/* FAQ: diseño inspirado en recintos feriales, modular y expresivo */
.faq-page-hero{
  background:
    radial-gradient(circle at 88% 12%,rgba(91,197,213,.25),transparent 24rem),
    radial-gradient(circle at 8% 90%,rgba(215,61,150,.09),transparent 22rem),
    linear-gradient(180deg,#fff 0%,#eef8fc 100%);
}
.faq-page-hero .faq-hero-grid{
  gap:clamp(34px,6vw,74px);
}
.faq-photo-panel{
  position:relative;
  overflow:hidden;
  margin:0;
  border:1px solid rgba(6,58,105,.1);
  border-radius:30px;
  padding:clamp(10px,1.4vw,17px);
  background:#fff;
  box-shadow:0 28px 74px rgba(6,58,105,.16);
}
.faq-photo-panel img{
  width:100%;
  aspect-ratio:4/3;
  border-radius:20px;
  object-fit:cover;
  background:#fff;
}
.faq-photo-panel figcaption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:17px 8px 5px;
  color:var(--muted);
  font-size:.8rem;
}
.faq-photo-panel figcaption strong{
  flex:0 0 auto;
  color:var(--blue);
  font-size:.74rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.faq-controls{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:18px;
  align-items:end;
  margin:0 0 14px;
  border:1px solid rgba(6,58,105,.09);
  border-radius:24px;
  padding:18px;
  background:rgba(255,255,255,.88);
  box-shadow:0 15px 42px rgba(6,58,105,.07);
}
.faq-search-wrap{
  display:grid;
  gap:8px;
  min-width:0;
  color:var(--navy);
  font-size:.73rem;
  font-weight:900;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.faq-search{
  min-height:54px;
  border:1px solid #c7dce8;
  border-radius:15px;
  padding:0 17px;
  color:var(--ink);
  background:#fff;
  font-size:16px;
  box-shadow:none;
  text-transform:none;
  letter-spacing:0;
}
.faq-search:focus{
  outline:0;
  border-color:var(--blue);
  box-shadow:var(--focus-ring);
}
.faq-filter{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  min-width:0;
}
.faq-filter button{
  min-height:43px;
  border:1px solid #cbdde7;
  border-radius:999px;
  padding:9px 14px;
  color:#355368;
  background:#fff;
  cursor:pointer;
  white-space:nowrap;
  font-size:.78rem;
  font-weight:850;
  transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.faq-filter button:hover{
  transform:translateY(-1px);
  border-color:#8fc3dc;
  box-shadow:0 8px 18px rgba(6,58,105,.08);
}
.faq-filter button.is-active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg,var(--blue),var(--pink));
  box-shadow:0 9px 22px rgba(8,119,189,.2);
}
.faq-results{
  margin:0 0 24px;
  color:var(--muted);
  font-size:.78rem;
  font-weight:760;
}
.faq-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.faq-card{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(6,58,105,.1);
  border-radius:22px;
  padding:0 20px;
  background:#fff;
  box-shadow:0 12px 34px rgba(6,58,105,.055);
  transition:border-color .24s ease,box-shadow .24s ease,transform .24s ease;
}
.faq-card:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,var(--cyan),var(--blue));
  opacity:.45;
  transition:opacity .22s ease,width .22s ease;
}
.faq-card:nth-child(3n+2):before{background:linear-gradient(180deg,var(--pink),var(--orange))}
.faq-card:nth-child(3n):before{background:linear-gradient(180deg,var(--green),var(--cyan))}
.faq-card:hover{
  transform:translateY(-2px);
  border-color:#a9d0e3;
  box-shadow:0 20px 46px rgba(6,58,105,.1);
}
.faq-card.open{
  border-color:#8fc5dd;
  box-shadow:0 22px 50px rgba(6,58,105,.12);
}
.faq-card.open:before{width:7px;opacity:1}
.faq-card .faqbtn{
  min-height:80px;
  align-items:flex-start;
  gap:14px;
  padding:19px 0 18px 7px;
  line-height:1.45;
}
.faq-card .faqbtn>span:first-child{
  min-width:0;
  flex:1;
  align-items:flex-start;
  gap:12px;
}
.faq-icon{
  width:38px;
  height:38px;
  margin-top:0;
  border-radius:13px;
  color:#fff;
  background:linear-gradient(135deg,var(--blue),var(--cyan));
  box-shadow:0 8px 20px rgba(8,119,189,.2);
}
.faq-card:nth-child(3n+2) .faq-icon{background:linear-gradient(135deg,var(--pink),var(--orange))}
.faq-card:nth-child(3n) .faq-icon{background:linear-gradient(135deg,var(--green),var(--cyan))}
.faq-plus{
  width:34px;
  height:34px;
  margin-top:2px;
  color:var(--blue);
  background:#e9f5fb;
}
.faq-card .faqanswer{
  color:#526b7d;
  transition:max-height .34s cubic-bezier(.22,.61,.36,1);
}
.faq-card .faqanswer p{
  margin:0;
  padding:0 12px 23px 57px;
  line-height:1.72;
}
.faq-card.open .faqbtn{color:var(--navy)}
.faq-zero{
  margin-top:20px;
  border:1px dashed #9fc6d9;
  border-radius:20px;
  padding:28px;
  background:#fff;
}
.faq-help{
  gap:18px;
  margin-top:38px;
}
.faq-help-card{
  position:relative;
  overflow:hidden;
  min-height:225px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:30px;
  box-shadow:0 18px 46px rgba(6,58,105,.13);
}
.faq-help-card:after{
  content:"";
  position:absolute;
  right:-42px;
  top:-42px;
  width:150px;
  aspect-ratio:1;
  border:28px solid rgba(255,255,255,.08);
  border-radius:50%;
}
.faq-help-card .btn{align-self:flex-start}

/* Sin JavaScript el contenido sigue siendo legible */
html:not(.js-ready) .faqanswer{max-height:none!important}

/* Sponsors retráctiles */
.sponsor-tier-details{min-height:0;display:flex;flex:1;flex-direction:column}
.sponsor-tier-details .btn{margin-top:auto}
.sponsor-tier-toggle{
  display:none;
  width:100%;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:18px;
  border:1px solid rgba(6,58,105,.12);
  border-radius:13px;
  padding:11px 13px;
  color:var(--navy);
  background:rgba(255,255,255,.78);
  cursor:pointer;
  text-align:left;
  font-size:.8rem;
  font-weight:850;
}
.tier-chevron{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  flex:0 0 auto;
  border-radius:50%;
  color:var(--blue);
  background:#eaf5fb;
  font-size:1.1rem;
  transition:transform .28s ease;
}

@media(max-width:900px){
  .page-hero h1{max-width:16ch}
  .section-header{display:block;margin-bottom:32px}
  .section-header .copy{margin-top:18px;padding-top:0}
  .faq-controls{grid-template-columns:1fr}
}

@media(max-width:720px){
  :root{--space-section:56px}
  .container{width:min(calc(100% - 28px),var(--container))}
  .page-hero{
    padding-block:48px 56px;
  }
  .page-hero h1{
    max-width:100%;
    font-size:clamp(2.25rem,10.8vw,3.55rem);
    line-height:1.12;
    letter-spacing:-.035em;
  }
  .title{
    max-width:100%;
    font-size:clamp(1.9rem,8.5vw,2.7rem);
    line-height:1.16;
    letter-spacing:-.028em;
  }
  .band h2,.sponsor-cta-panel h2{
    font-size:clamp(1.85rem,8.2vw,2.65rem);
    line-height:1.15;
  }
  .eyebrow{line-height:1.45}
  .hero-grid{gap:32px}
  .hero-image{
    overflow:hidden;
    border-radius:22px;
  }
  .hero-image img{
    min-height:0!important;
    max-height:none!important;
    height:auto!important;
  }
  .hero-image--banner{padding:8px}
  .hero-image--banner img{object-fit:contain!important}
  .hero-image--photo img{
    aspect-ratio:auto;
    object-fit:contain!important;
    object-position:center;
  }
  .hotelcard img{
    width:100%;
    height:auto;
    aspect-ratio:auto;
    object-fit:contain;
    background:#eef5f9;
  }
  .faq-page-hero .faq-hero-grid{gap:30px}
  .faq-photo-panel{
    border-radius:22px;
    padding:8px;
  }
  .faq-photo-panel img{border-radius:15px}
  .faq-photo-panel figcaption{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
    padding:13px 7px 6px;
    line-height:1.5;
  }
  .faq-controls{
    gap:14px;
    padding:14px;
    border-radius:19px;
  }
  .faq-search{min-height:50px}
  .faq-filter{
    width:calc(100vw - 28px);
    margin-right:-14px;
    padding-right:20px;
    overflow-x:auto;
    flex-wrap:nowrap;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  .faq-filter::-webkit-scrollbar{display:none}
  .faq-filter button{
    flex:0 0 auto;
    scroll-snap-align:start;
  }
  .faq-results{margin-bottom:18px}
  .faq-cards{
    grid-template-columns:1fr;
    gap:13px;
  }
  .faq-card{
    padding-inline:16px;
    border-radius:18px;
  }
  .faq-card:hover{transform:none}
  .faq-card .faqbtn{
    min-height:72px;
    gap:10px;
    padding:16px 0 15px 5px;
    font-size:.94rem;
  }
  .faq-icon{
    width:34px;
    height:34px;
    flex-basis:34px;
    border-radius:11px;
  }
  .faq-card .faqanswer p{
    padding:0 5px 20px 5px;
    font-size:.9rem;
  }
  .faq-help{grid-template-columns:1fr}
  .faq-help-card{
    min-height:205px;
    padding:25px;
    border-radius:21px;
  }
  .sponsor-tier-toggle{display:flex}
  .sponsor-tier-details{
    overflow:hidden;
    transition:max-height .36s cubic-bezier(.22,.61,.36,1);
  }
  .sponsor-tier.open .tier-chevron{transform:rotate(180deg)}
  .sponsor-tier-details ul{margin-top:18px}
}

@media(max-width:390px){
  .page-hero h1{
    font-size:clamp(2.05rem,10.5vw,2.7rem);
    line-height:1.14;
    letter-spacing:-.025em;
  }
  .title{font-size:1.8rem;line-height:1.18}
  .announcement strong,.announcement span{display:block;max-width:100%}
  .faq-card{padding-inline:13px}
  .faq-card .faqbtn{font-size:.89rem}
  .faq-plus{width:30px;height:30px}
}

/* Carruseles editoriales: imágenes oficiales, controles accesibles y carga móvil segura */
.media-carousel{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(6,58,105,.1);
  border-radius:30px;
  background:#fff;
  box-shadow:0 30px 80px rgba(6,58,105,.16);
}
.carousel-viewport{position:relative;overflow:hidden}
.carousel-track{position:relative;min-height:clamp(300px,34vw,470px)}
.carousel-slide{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-rows:1fr auto;
  margin:0;
  visibility:hidden;
  opacity:0;
  transform:scale(1.025);
  pointer-events:none;
  transition:opacity .65s ease,transform 1.1s cubic-bezier(.2,.7,.2,1),visibility .65s;
}
.carousel-slide.is-active{
  visibility:visible;
  opacity:1;
  transform:scale(1);
  pointer-events:auto;
  z-index:1;
}
.carousel-slide.is-active img{animation:carouselKenBurns 7s cubic-bezier(.2,.65,.2,1) both}
@keyframes carouselKenBurns{
  from{transform:scale(1.035)}
  to{transform:scale(1)}
}
.carousel-slide img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center;
  background:#fff;
}
.carousel-slide figcaption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:62px;
  padding:13px 22px;
  color:#577085;
  background:rgba(255,255,255,.97);
  font-size:.82rem;
}
.carousel-slide figcaption strong{color:var(--navy);font-size:.88rem}
.carousel-arrow{
  position:absolute;
  top:50%;
  z-index:3;
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.55);
  border-radius:50%;
  color:#fff;
  background:rgba(6,58,105,.74);
  box-shadow:0 8px 24px rgba(6,58,105,.22);
  cursor:pointer;
  font-size:1.7rem;
  line-height:1;
  transform:translateY(-50%);
  transition:background .2s ease,transform .2s ease;
}
.carousel-arrow:hover{background:var(--pink);transform:translateY(-50%) scale(1.05)}
.carousel-prev{left:14px}.carousel-next{right:14px}
.carousel-dots{
  position:absolute;
  left:50%;
  bottom:76px;
  z-index:4;
  display:flex;
  gap:7px;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(6,47,82,.68);
  backdrop-filter:blur(8px);
  transform:translateX(-50%);
}
.carousel-dot{
  width:8px;
  height:8px;
  border:0;
  border-radius:99px;
  padding:0;
  background:rgba(255,255,255,.55);
  cursor:pointer;
  transition:width .25s ease,background .25s ease;
}
.carousel-dot[aria-selected="true"]{width:24px;background:#fff}

/* Parallax ligero: profundidad sin esconder contenido ni afectar lectura */
.event-parallax{
  position:relative;
  min-height:520px;
  display:grid;
  align-items:center;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(100deg,rgba(3,35,62,.92),rgba(6,58,105,.72) 55%,rgba(4,43,73,.48)),
    url('/assets/expo-product-networking.webp') center/cover fixed;
}
.event-parallax:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.3));
}
.parallax-content{position:relative;z-index:1;padding-block:90px}
.parallax-content h2{
  max-width:12ch;
  margin:0;
  font-size:clamp(2.6rem,6vw,5rem);
  line-height:1.02;
  letter-spacing:-.05em;
}
.parallax-content p{max-width:650px;margin:20px 0 28px;color:rgba(255,255,255,.82);font-size:1.08rem}
.eyebrow-light{color:#fff}.eyebrow-light:before{background:linear-gradient(90deg,#fff,var(--cyan))}
.agenda-hero-image{padding:10px}
.agenda-hero-image img{width:100%;height:auto;object-fit:contain;border-radius:20px}

/* Galería editorial: fotografías reales seleccionadas y optimizadas */
.experience-section{background:linear-gradient(180deg,#fff 0%,#f4f9fc 100%)}
.experience-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-auto-rows:minmax(220px,26vw);
  gap:16px;
  margin-top:38px;
}
.experience-card{
  position:relative;
  grid-column:span 5;
  min-width:0;
  min-height:0;
  overflow:hidden;
  margin:0;
  border-radius:24px;
  background:#073a64;
  box-shadow:0 18px 46px rgba(6,58,105,.13);
}
.experience-card--feature{grid-column:span 7;grid-row:span 2}
.experience-card--wide{grid-column:span 5}
.experience-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .8s cubic-bezier(.2,.7,.2,1),filter .4s ease;
}
.experience-card:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 48%,rgba(3,30,51,.86));
}
.experience-card figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:1;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:22px;
  color:rgba(255,255,255,.82);
  font-size:.82rem;
}
.experience-card figcaption strong{color:#fff;font-size:1rem}
.experience-card:hover img{transform:scale(1.045);filter:saturate(1.06)}

@media(max-width:900px){
  .carousel-track{min-height:clamp(310px,65vw,510px)}
  .event-parallax{min-height:460px;background-attachment:scroll}
  .experience-grid{grid-auto-rows:minmax(230px,38vw)}
  .experience-card,.experience-card--feature,.experience-card--wide{grid-column:span 6;grid-row:span 1}
}
@media(max-width:720px){
  .media-carousel{border-radius:22px}
  .carousel-track{min-height:clamp(310px,102vw,455px)}
  .carousel-slide figcaption{min-height:70px;align-items:flex-start;flex-direction:column;justify-content:center;gap:2px;padding:11px 17px}
  .carousel-arrow{width:40px;height:40px;font-size:1.45rem}
  .carousel-prev{left:9px}.carousel-next{right:9px}
  .carousel-dots{bottom:82px}
  .carousel-slide img{object-fit:contain}
  .event-parallax{min-height:430px;background-position:62% center}
  .parallax-content{padding-block:66px}
  .parallax-content h2{max-width:14ch;font-size:clamp(2.35rem,11vw,3.6rem);line-height:1.07}
  .agenda-hero-image{padding:7px}
  .experience-grid{grid-template-columns:1fr;grid-auto-rows:auto;gap:13px;margin-top:26px}
  .experience-card,.experience-card--feature,.experience-card--wide{grid-column:auto;grid-row:auto;aspect-ratio:4/3;border-radius:20px}
  .experience-card:nth-child(3){aspect-ratio:4/5}
  .experience-card figcaption{align-items:flex-start;flex-direction:column;gap:2px;padding:17px}
  .experience-card:hover img{transform:none}
}
@media(prefers-reduced-motion:reduce){
  .carousel-slide{transition:none;transform:none}
  .carousel-slide.is-active img{animation:none}
  .event-parallax{background-attachment:scroll}
}
