/* Portada exclusiva de Claudia. CAPRICHIA: hero 100vh, velo .4, CTA 14px/3px,
   entrada 1.25s y retardos .4/.6/.8s; collage y movimientos de scroll.
   Sin CSS importado, fuentes ajenas, marcas de terceros ni fotos de bodas nuevas. */
.cm-portada-caprichia .cm-home { overflow: clip; background: var(--cm-blanco); color: var(--cm-negro); }
.cm-portada-caprichia .cm-home [id] { scroll-margin-top: 112px; }
.cm-portada-caprichia .cm-cabecera.cm-cabecera--sobre-video {
  position: fixed; inset: 0 0 auto; display: grid; grid-template-columns: 1fr 140px 1fr;
  height: 126px; padding: 0 5vw; background: transparent; color: white;
  transition: background-color .35s, color .35s, height .35s;
}
.cm-portada-caprichia .cm-cabecera .cm-logo { grid-column: 2; grid-row: 1; justify-self: center; }
.cm-portada-caprichia .cm-cabecera .cm-logo svg { height: 82px; transition: height .35s; }
.cm-portada-caprichia .cm-cabecera .cm-menu-boton { grid-column: 3; grid-row: 1; justify-self: end; }
.cm-portada-caprichia .cm-cabecera .cm-idiomas--cabecera { display: none; }
.cm-portada-caprichia.cm-home-scrolled .cm-cabecera.cm-cabecera--sobre-video {
  height: 96px; color: var(--cm-negro); background: var(--cm-blanco); box-shadow: 0 1px 0 rgb(0 0 0 / 8%);
}
.cm-portada-caprichia.cm-home-scrolled .cm-cabecera .cm-logo svg { height: 68px; }
.cm-home__container { width: min(1240px,88%); margin-inline: auto; }
.cm-home__heading { font: 400 clamp(32px,3.25vw,48px)/1.25 var(--cm-titulos); text-transform: uppercase; text-wrap: balance; }
.cm-home__heading--small { font-size: clamp(28px,2.6vw,38px); }
.cm-home__eyebrow { font: 400 11px/1.6 var(--cm-texto); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 20px; color: var(--cm-marron); }
.cm-home__copy { font: 400 16px/1.85 var(--cm-texto); max-width: 560px; }
.cm-home__button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%;
  padding: 16px 40px; border: 1px solid var(--cm-negro); background: var(--cm-negro); color: var(--cm-blanco);
  font: 500 14px/1.3 var(--cm-texto); letter-spacing: 3px; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: color .35s, background .35s, border-color .35s, transform .35s;
}
.cm-home__button--light { background: var(--cm-boton-fondo); border-color: transparent; color: var(--cm-negro); }
.cm-home__button:hover { background: var(--cm-marron); border-color: var(--cm-marron); color: var(--cm-blanco); transform: translateY(-8px); }
.cm-home a:focus-visible,.cm-home button:focus-visible { outline: 2px solid var(--cm-dorado); outline-offset: 6px; }
.cm-home-hero { position: relative; height: 100vh; height: 100svh; min-height: min(600px,100svh); display: grid; place-items: center; isolation: isolate; background: var(--cm-negro); color: white; overflow: hidden; }
.cm-home-hero::after { content: ''; position: absolute; inset: 0; background: rgb(0 0 0 / 40%); z-index: -1; }
.cm-home-hero .cm-portada-video__fija,.cm-home-hero .cm-portada-video__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 51% 50%; z-index: -2; }
.cm-home-hero .cm-portada-video__video { display: none; }
.cm-home-hero .cm-portada-video__video.cm-reproduciendo { display: block; }
.cm-home-hero__content { width: min(1000px,88%); padding-top: 50px; display: flex; align-items: center; flex-direction: column; gap: 24px; text-align: center; }
.cm-home-hero__title { font: 400 clamp(38px,4vw,58px)/1.3 var(--cm-titulos); text-transform: uppercase; text-wrap: balance; }
.cm-home-hero__text { font: 400 16px/30px var(--cm-texto); max-width: 630px; text-wrap: balance; }
.cm-home-hero__scroll { position: absolute; bottom: 26px; left: calc(50% - 22px); width: 44px; min-height: 44px; display: grid; place-items: center; color: white; text-decoration: none; font-size: 28px; }
.cm-home-hero__scroll span { animation: cm_home_float 2.5s ease-in-out infinite; }
.cm-home-reviews { padding: 90px 0 84px; text-align: center; border-bottom: 1px solid rgb(99 94 84 / 12%); }
.cm-home-reviews .cm-home__container { max-width: 1040px; }
.cm-home-reviews__stage { margin-top: 34px; }
.cm-home-review { margin: 0 0 48px; min-width: 0; }
.cm-home-review__quote { margin: 0 auto; max-width: 920px; font: 400 clamp(20px,1.85vw,26px)/1.65 var(--cm-titulos); }
.cm-home-review__quote p+p { margin-top: 18px; }
.cm-home-review__more { padding: 12px 0; border: 0; background: transparent; color: var(--cm-marron); font: 400 12px/1.5 var(--cm-texto); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.cm-home-review__author { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; font: 400 12px/1.6 var(--cm-texto); letter-spacing: .12em; }
.cm-home-review__author span { text-transform: uppercase; }
.cm-home-review__author a { color: var(--cm-marron); text-underline-offset: 5px; letter-spacing: 0; padding: 6px; }
.cm-home-reviews__controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.cm-home [hidden] { display: none !important; }
.cm-home-reviews__arrow { border: 1px solid rgb(99 94 84 / 35%); border-radius: 50%; width: 48px; height: 48px; background: transparent; font-size: 22px; color: var(--cm-negro); cursor: pointer; transition: background .3s, transform .3s; }
.cm-home-reviews__arrow:hover { background: var(--cm-boton-fondo); transform: translateY(-2px); }
.cm-home-reviews__dots { display: flex; align-items: center; gap: 4px; }
.cm-home-reviews__dot { width: 28px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.cm-home-reviews__dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--cm-marron); transition: transform .3s, background .3s; }
.cm-home-reviews__dot[aria-pressed=true]::after { background: var(--cm-marron); transform: scale(1.5); }
.cm-home-reviews__pause { min-height: 44px; border: 0; background: transparent; font: 400 11px/1.5 var(--cm-texto); color: var(--cm-marron); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cm-home-reviews--enhanced .cm-home-reviews__stage { overflow: hidden; transition: height .7s cubic-bezier(.22,.61,.36,1); touch-action: pan-y; }
.cm-home-reviews--enhanced .cm-home-reviews__track { display: flex; align-items: flex-start; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.cm-home-reviews--enhanced .cm-home-review { flex: 0 0 100%; width: 100%; margin: 0; padding-inline: 8px; }
.cm-home-quote { padding-block: 90px; text-align: center; font: 400 36px/1.4 var(--cm-titulos); }
.cm-home-destinations { padding: 130px 0 100px; }
.cm-home__display { max-width: 1040px; margin: 0 auto 100px; font: 400 clamp(52px,6.1vw,88px)/1.12 var(--cm-titulos); text-transform: uppercase; text-align: center; text-wrap: balance; }
.cm-home-destinations__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 100px; align-items: center; }
.cm-home-collage { position: relative; min-width: 0; }
.cm-home__frame { overflow: hidden; margin: 0; position: relative; }
.cm-home__frame > picture { display: block; width: 100%; height: 100%; }
.cm-home__image { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; will-change: auto; }
.cm-home-collage__main { width: 85%; aspect-ratio: 4 / 5; }
.cm-home-collage__small { width: 54%; aspect-ratio: 1; }
.cm-home-collage--pair { padding-bottom: 100px; }
.cm-home-collage--pair .cm-home-collage__small { position: absolute; bottom: 0; right: 0; border: 12px solid var(--cm-blanco); }
.cm-home-editorial__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.cm-home-editorial__text .cm-home__eyebrow { margin-bottom: -10px; }
.cm-home-editorial { padding: 110px 0; }
.cm-home-editorial__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.cm-home-services { background: var(--cm-boton-fondo); }
.cm-home-editorial__portrait { aspect-ratio: 4 / 5; }
.cm-home-services__list { width: 100%; }
.cm-home-services__item { display: grid; grid-template-columns: 28px 1fr 18px; gap: 16px; align-items: center; border-bottom: 1px solid rgb(99 94 84 / 25%); padding: 24px 0; color: inherit; text-decoration: none; }
.cm-home-services__item h3 { font: 400 25px/1.3 var(--cm-titulos); transition: transform .35s; }
.cm-home-services__item:hover h3 { transform: translateX(5px); }
.cm-home-services__number { align-self: start; font: 400 11px/1.5 var(--cm-texto); color: var(--cm-marron); padding-top: 6px; }
.cm-home-cities .cm-home-editorial__grid { grid-template-columns: 1.2fr .8fr; }
.cm-home-editorial__landscape { aspect-ratio: 1; }
.cm-home-cities__list { list-style: none; margin: 0; padding: 0; width: 100%; }
.cm-home-cities__list a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; color: inherit; text-decoration: none; border-bottom: 1px solid rgb(99 94 84 / 20%); font: 400 28px/1.35 var(--cm-titulos); transition: padding-left .35s; }
.cm-home-cities__list a:hover { padding-left: 8px; }
.cm-home-editorial--no-image { display: block; max-width: 760px; margin-inline: auto; }
.cm-home-contact { background: var(--cm-gris-claro-52); padding: 130px 0; text-align: center; }
.cm-home-contact h2 { max-width: 980px; margin: 0 auto 40px; font: 400 clamp(32px,3.5vw,50px)/1.3 var(--cm-titulos); text-transform: uppercase; text-wrap: balance; }
.cm-home--motion [data-cm-reveal] { opacity: 0; }
.cm-home--motion [data-cm-reveal].cm-is-visible { animation: cm_home_fade_up 1.25s both; animation-delay: var(--cm-delay,0s); }
.cm-home--motion [data-cm-reveal=left].cm-is-visible { animation-name: cm_home_fade_left; }
.cm-home--motion [data-cm-reveal=right].cm-is-visible { animation-name: cm_home_fade_right; }
.cm-home--motion [data-cm-reveal=fade].cm-is-visible { animation-name: cm_home_fade; }
.cm-home--motion [data-cm-hero-reveal] { animation: cm_home_fade_up 1.25s both; animation-delay: var(--cm-delay,.2s); }
.cm-home--motion [data-cm-parallax] { transform: translate3d(var(--cm-x,0px),var(--cm-y,0px),0) scale(var(--cm-scale,1.18)); will-change: transform; }
@keyframes cm_home_fade_up { from { opacity: 0; transform: translate3d(0,60px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes cm_home_fade_left { from { opacity: 0; transform: translate3d(-70px,0,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes cm_home_fade_right { from { opacity: 0; transform: translate3d(70px,0,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes cm_home_fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cm_home_float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

@media (max-width: 1099px) {

  .cm-portada-caprichia .cm-cabecera.cm-cabecera--sobre-video { height: 106px; grid-template-columns: 1fr 120px 1fr; }
  .cm-home-destinations__grid,.cm-home-editorial__grid { gap: 50px; }
  .cm-home__heading { font-size: 32px; }
}
@media (max-width: 767px) {
  .cm-portada-caprichia .cm-cabecera.cm-cabecera--sobre-video,.cm-portada-caprichia.cm-home-scrolled .cm-cabecera.cm-cabecera--sobre-video { height: 90px; padding-inline: 12px; }
  .cm-portada-caprichia .cm-cabecera .cm-logo svg,.cm-portada-caprichia.cm-home-scrolled .cm-cabecera .cm-logo svg { height: 58px; }
  .cm-home__container { width: 88%; }
  .cm-home-hero { min-height: min(580px,100svh); }
  .cm-home-hero__content { width: 80.5%; padding-top: 30px; gap: 24px; }
  .cm-home-hero__title { font-size: 28px; line-height: 1.3; }
  .cm-home-hero__text { font-size: 14px; line-height: 26px; }
  .cm-home-hero .cm-home__button { width: 100%; min-height: 60px; padding-inline: 20px; }
  .cm-home-hero__scroll { bottom: 15px; }
  .cm-home-reviews { padding: 64px 0 56px; }
  .cm-home-review__quote { font-size: 20px; line-height: 1.6; }
  .cm-home-reviews__controls { gap: 10px; }
  .cm-home-reviews__arrow { width: 44px; height: 44px; }
  .cm-home__display { font-size: 38px; line-height: 1.2; margin-bottom: 52px; }
  .cm-home-destinations { padding: 72px 0; }
  .cm-home-destinations__grid,.cm-home-editorial__grid,.cm-home-cities .cm-home-editorial__grid { grid-template-columns: minmax(0,1fr); gap: 48px; }
  .cm-home-collage--pair { padding-bottom: 70px; }
  .cm-home-collage--pair .cm-home-collage__small { border-width: 8px; }
  .cm-home-editorial { padding: 72px 0; }
  .cm-home-editorial__text { gap: 24px; }
  .cm-home__heading { font-size: 28px; line-height: 1.3; }
  .cm-home-services .cm-home-editorial__portrait { grid-row: 1; }
  .cm-home-services__item h3 { font-size: 23px; }
  .cm-home__button { padding-inline: 28px; font-size: 12px; }
  .cm-home-contact { padding: 80px 0; }
  .cm-home-contact h2 { font-size: 28px; line-height: 1.4; }
  .cm-home--motion [data-cm-reveal=left].cm-is-visible,.cm-home--motion [data-cm-reveal=right].cm-is-visible { animation-name: cm_home_fade_up; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-home *, .cm-home *::before,.cm-home *::after,.cm-portada-caprichia .cm-cabecera { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cm-home [data-cm-reveal],.cm-home [data-cm-hero-reveal] { opacity: 1 !important; transform: none !important; }
  .cm-home [data-cm-parallax] { transform: none !important; }
}
