/*
 Theme Name:   Parissimo
 Theme URI:    https://parissimo.cl
 Description:  Child theme de GeneratePress para Parissimo
 Template:     generatepress
 Version:      1.0.0
*/
/* Importar fuente Aileron */
@import url('https://api.fontshare.com/v2/css?f[]=aileron@1&display=swap');

body,
button,
input,
select,
textarea {
  font-family: 'Aileron', sans-serif;
}

/* Fuente global */
body,
button,
input,
select,
textarea {
  font-family: 'Aileron', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Aileron', sans-serif;
  font-weight: 700;
  /* más grueso */
}

p,
a,
li {
  font-family: 'Aileron', sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 16px);
}

body {
  background: #fff;
}

body.home {
  background: #1e1e1e;
}

:root {
  --loader-fade: 1s;
  /* salida del overlay (antes 2s) */
  --loader-logo-in: .1s;
  /* entrada del logo (antes 0.8s) */
  --loader-logo-out: .1s;
  /* salida del logo (antes 0.7s) */
  --loader-bar: 0s;
  /* ya no usamos barra, dejar en 0 */
  --loader-ease: cubic-bezier(.16, .84, .44, 1);
  /* easing Ferrari */
}

/* Overlay */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #000;
  /* o tu color */
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--loader-fade) var(--loader-ease),
    visibility 0s linear calc(var(--loader-fade));
}

/* Logo */
#site-loader .loader__logo {
  opacity: 0;
  transform: scale(.96);
  transition:
    opacity var(--loader-logo-in) var(--loader-ease),
    transform var(--loader-logo-in) var(--loader-ease);
}

body.is-loading #site-loader .loader__logo {
  opacity: 1;
  transform: scale(1);
}

/* Barra (si tienes) */
#site-loader .loader__bar {
  width: 0%;
  height: 2px;
  background: #fff;
  overflow: hidden;
  transition: width var(--loader-bar) linear;
}

body.is-loading #site-loader .loader__bar {
  width: 100%;
}

/* Salida global al terminar */
body.is-loaded #site-loader {
  opacity: 0;
  visibility: hidden;
}

body.is-leaving #site-loader .loader__logo {
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity var(--loader-logo-out) var(--loader-ease),
    transform var(--loader-logo-out) var(--loader-ease);
}

/* =========================================================
   LOADER TIPO FERRARI.COM (solo Home)
   ========================================================= */
/* body.is-loading {
  overflow: hidden;
} */

.loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.65, 0, 0.35, 1),
    visibility 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  visibility: visible;
}

/* ================================
   LOGO LOADER — FADE SUAVE (ESTILO FERRARI)
   ================================ */
.loader__logo img {
  opacity: 0;
  animation: logoFade 1.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  will-change: opacity;
}

/* Animación continua y progresiva (sin saltos de porcentaje) */
@keyframes logoFade {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}



/* Estado cuando termina la carga */
body.is-loaded .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition-delay: 0.1s;
}




/* loader bar animación fin */

/* Contenedor general */
.container {
  max-width: 1490px;
  margin: 0 auto;
  padding: 0 20px;
  /* respiración lateral */
}

/* Forzar el menú de GeneratePress a horizontal */
.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none !important;
  display: flex !important;
  gap: 40px;
  align-items: center;
}

.main-nav li {
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(12px, 1.6vw, 14px);
  color: #fff;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: #d30707;
}



/* ===== HEADER BASE (desktop) ===== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .3s ease, backdrop-filter .3s ease;
  will-change: background-color, backdrop-filter;
  z-index: 1000;
}

main {
  padding-top: 75px;
  /* compensa header fijo */
}

.hero-fixed {
  margin-top: -75px;
  padding-top: 75px;
}

/* ===== HEADER INNER ===== */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 120px;
  width: 100%;
  margin: 0 auto;
  max-width: 1490px;
  padding: 0 20px;
}

/* Logo */
.site-header .custom-logo {
  max-height: 45px;
  width: auto;
  height: auto;
  display: block;
}


.site-header.header-hidden {
  transform: translateY(-100%);
}

/* En mobile no ocultamos */
@media (max-width: 768px) {

  .site-header,
  .site-header.header-hidden {
    transform: none;
  }
}

/* ===== MOBILE (≤768px): sticky con blur ===== */
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    height: 60px;
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: 1000;
  }

  main {
    padding-top: 60px;
  }

  .hero-fixed {
    margin-bottom: -60px;
    padding-top: 60px;
  }

  .site-header .custom-logo {
    max-height: 32px;
    max-width: 120px;
    margin-left: 20px;
  }
}



/* ===== BOTÓN HAMBURGUESA ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  min-width: 30px;
  max-width: 40px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: auto;
  position: relative;
}

/* Barras hamburguesa */
.menu-toggle .bar {
  height: 3px;
  width: 30px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle .close-icon {
  display: none;
  font-size: clamp(18px, 2vw, 22px);
  color: #fff;
  position: absolute;
  top: -16px;
  right: 24px;
}

/* Estado activo */
.menu-toggle.active .bar {
  display: none;
}

.menu-toggle.active .close-icon {
  display: block;
}

button.menu-toggle.active {
  z-index: 9999;
}

/* ===== MENÚ MÓVIL ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 80px;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9999;
  }

  .main-nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 25px;
    padding: 0;
    margin: 0 auto;
    text-align: center;
  }

  .main-nav li a {
    color: #fff !important;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    text-transform: uppercase;
  }
}



/**/
/* Footer */
.site-footer {
  background: #1E1E1E;
  color: #fff;
  text-align: center;
}

.footer-top {
  border-top: 1px solid #444;
  padding: 60px 20px;
  border-bottom: 1px solid #444;
}

.footer-columns {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr;
  gap: 40px;
  text-align: left;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: clamp(14px, 2.5vw, 18px);
  margin-bottom: 30px;
  font-weight: 600;
}

/* Intermedio entre 992 y 1420px */
@media (min-width: 992px) and (max-width: 1420px) {}

.footer-col p,
.footer-col a {
  font-size: clamp(14px, 2.5vw, 18px);
  color: #ddd;
  line-height: 1.6;
  text-decoration: none;
}

/* Intermedio entre 992 y 1420px */
@media (min-width: 992px) and (max-width: 1420px) {}


.footer-col a:hover {
  color: #d30707;
}

/* Contactos (Jorge + Yessi en fila) */
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-item {
  flex: 1;
  min-width: 140px;
}

/* Redes sociales */
.footer-social {
  margin-top: 20px;
  text-align: center;
}

.footer-social a {
  margin: 0 16px;
  font-size: clamp(14px, 2vw, 18px);
  color: #fff;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #d30707;
}

.footer-text {
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  max-width: 1070px;
  padding: 80px 0 40px;
}

.footer-text p {
  font-size: clamp(14px, 2.5vw, 18px);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: clamp(12px, 1.5vw, 14px);
  /* min 12, escala fluida, max 14 */
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding: 20px;
  font-size: 12px;
  color: #aaa;
  text-align: center;
}

@media (max-width: 768px) {

  /* Footer general */
  .site-footer {
    padding: 15px 10px 0;
    text-align: center;
  }

  .footer-top {
    padding: 15px 10px;
  }

  /* Columnas apiladas */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }

  /* Contactos */
  .footer-contacts {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .contact-item {
    min-width: auto;
  }

  /* Redes sociales */
  .footer-social {
    margin: 15px 0;
    /* aire igual arriba y abajo */
  }

  .footer-social a {
    margin: 0 6px;
    font-size: clamp(14px, 2vw, 18px);
  }

  /* Texto corporativo */
  .footer-text {
    padding: 30px 10px 10px;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
  }

  /* Copyright */
  .footer-bottom {
    border-top: 1px solid #444;
    padding: 15px 10px;
    font-size: 11px;
  }
}

/* ===== HERO SLIDER (home) ===== */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  background: #1e1e1e;
}



.hero-slides {
  position: absolute;
  inset: 0;
}

/* Slide base (imagen por background) */
/* Slide base (imagen por background) */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 1.0s ease;
  /* fade de la imagen */
}

/* Video de fondo */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Hero slides: asegura que el primero sea visible por defecto */
.hero-slide:first-child {
  opacity: 1;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* Overlay */
.hero-slide .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .25));
  z-index: 1;
}

/* Contenido */
.hero-slide .hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;

  /* centrado horizontal + elevación vertical */
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  max-width: 100%;
}

/* Subtítulo */
.hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  opacity: 0;
  /* GSAP maneja autoAlpha */
  visibility: hidden;
  color: #ffffffad;
}

/* Título */
.hero-slide h1 {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 40px;
  text-wrap: balance;
  width: 1100px;
  max-width: 100%;
  opacity: 0;
  /* GSAP maneja autoAlpha */
  visibility: hidden;
}

/* Botón (usa tu estilo de pill del sitio) */
.hero-slide .cta-btn {
  opacity: 0;
  /* GSAP maneja autoAlpha */
  visibility: hidden;
}

/* (Opcional) asegurar que acepte interacción solo con slide activo */
.hero-slide:not(.is-active) .cta-btn {
  pointer-events: none;
}




/* Botón ghost (blanco con círculo/flecha) */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 14px 68px 14px 28px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  width: max-content;
  max-width: 100%;
  height: 48px;
}

.cta-label {
  font-size: 16px;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 300;
}

.cta-arrow {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  transition: background .25s ease, color .25s ease, transform .25s ease;
  height: 46px;
  width: 46px;
  border: 2px solid #fff;
}

.cta-btn:hover {
  background: #fff;
  color: #000;
}

.cta-btn:hover .cta-arrow {
  background: #000;
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

/* Dots slider (home) */
.hero-dots {
  position: absolute;
  height: 28px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25));
}

.hero-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 100%;
  background: #fff;
  border: none;
  cursor: pointer;
  opacity: .95;
  transition: all .2s ease;
}

.hero-dots button.is-active {
  background: transparent;
  width: 28px;
  height: 28px;
  box-shadow: 0 0 0 1px #fff inset;
  position: relative;
}

/*  */
/* Visually hidden para texto accesible */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Contenedor flotante a la derecha */
.site-social {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10000;
  /* sobre header/hero */
  pointer-events: none;
  /* solo los botones reciben eventos */
}

/* Botones circulares */
.site-social a {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  /* background: rgba(0,0,0,.55); */
  background: #d30707;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

.site-social a:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(255, 255, 255, .9);
  color: #d30707;
}

.site-social i {
  font-size: 18px;
  line-height: 1;
}

/* Ajustes responsivos */
@media (max-width: 1200px) {
  .site-social {
    right: 16px;
  }
}

@media (max-width: 768px) {

  /* Por defecto las oculto en mobile para no tapar CTA / WhatsApp;
     cambia a display:flex si quieres mostrarlas también en mobile */
  .site-social {
    display: none;
  }
}

/*  */

/* RRSS en home */
.hero-social {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;

}

.hero-social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #d30707;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.hero-social a:hover {
  transform: translateY(-1px);
  opacity: .95;
  background: #fff;
  color: #d30707;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-slide h1 {
    font-size: 46px;
  }
}

@media (max-width: 992px) {
  .hero-slide h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 88vh;
  }

  .hero-slide h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .cta-btn {
    padding: 12px 56px 12px 20px;
  }

  .hero-social {
    right: 10px;
    gap: 10px;
  }

  .hero-dots {
    bottom: 18px;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .hero-slide h1 {
    font-size: 24px;
  }

  .cta-btn {
    padding: 10px 54px 10px 18px;
  }
}

/* ===== HERO SLIDER FIN ===== */




/* ===== Bio Slider ===== */
.bio-slider {
  position: relative;
  padding: 80px 0;
  background: #fff;
  color: #000;
  overflow: hidden;
}

.bio-slider .bio-container {
  position: relative;
  padding-inline: 80px;
}

.bio-slides {
  position: relative;
  align-items: center;
  display: grid;
}


.bio-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  align-items: center;
  grid-row: 1;
  grid-column: 1;
}

.bio-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative !important;
}

.bio-texts {
  width: 515px;
  max-width: 100%;
}

.bio-texts h2 {
  font-size: 32px;
  line-height: 1;
  margin: 0 0 30px;
}

.bio-texts p {
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.6;
  font-weight: 300;
}

.bio-image img {
  width: 100%;
}


/* ===== Dots con loader SVG ===== */
.bio-dots-separator {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  align-items: center;
  margin-top: 40px;
  justify-content: center;
}

.bio-dots-separator .separator-line {
  width: 60px;
  height: 1px;
  background: #000;
  margin: 0 20px;
}

.bio-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  height: 28px;
  align-items: center;
}

.bio-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  padding: 0;
  background: #000;
  border: 1px solid #000;
  position: relative;
  cursor: pointer;
  transition: all .35s ease;
  overflow: hidden;
}

.bio-dots button.is-active {
  width: 28px;
  height: 28px;
  background: transparent;
}

.bio-dots button svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.bio-dots button circle {
  fill: none;
  stroke: #e11d48;
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}

.bio-dots button.is-active circle {
  opacity: 1;
}

.bio-dots-separator a,
.blog-dots-separator a {
  text-decoration: none;
  color: #1e1e1e;
  transition: color .3s ease;
}

.bio-dots-separator a:hover,
.blog-dots-separator a:hover {
  color: #C62828;
}

/* ===== Botón negro ===== */
.cta-btn-bio {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 2px solid #000;
  border-radius: 999px;
  padding: 12px 56px 12px 20px;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  height: 48px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.cta-btn-bio .cta-label {
  font-size: 16px;
  font-weight: 300;
}

.cta-btn-bio .cta-arrow {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .25s ease, color .25s ease, transform .25s ease;
  border: 2px solid #000000;
}

.cta-btn-bio:hover {
  background: #000;
  color: #fff;
}

.cta-btn-bio:hover .cta-arrow {
  background: #fff;
  color: #000;
  transform: translateY(-50%) scale(1.04);
}

/* ===== Flechas ===== */
.bio-prev,
.bio-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #000;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: all .25s ease;
  padding: 0;
}

.bio-prev {
  left: 16px;
}

.bio-next {
  right: 16px;
}

.bio-prev:hover,
.bio-next:hover {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

/* ===== Responsive ===== */
@media(max-width:768px) {
  .bio-slide {
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative !important;
    /* 👈 todos relativos */
  }

  .bio-slider .bio-container {
    padding-inline: 20px;
  }

  .bio-prev,
  .bio-next {
    display: none;
  }

  .bio-texts {
    margin-bottom: 20px;
  }
}




/* ===== Highlights Section ===== */
.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* grid-auto-rows: 50vh; */
  overflow: hidden;
}

.highlight {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight__image {
  height: 100%;
  width: 100%;
}

.highlight__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(-20px);
  opacity: 0;
  transition: transform 1.2s ease, opacity 1.2s ease;
}

/* Estado visible (entrada rápida) */
.highlight.show .highlight__image img {
  opacity: 1;
  transform: translateX(0);
}

/* Hover zoom lento */
.highlight.show:hover .highlight__image img {
  transition: transform 9s ease;
  transform: scale(1.2);
}



/* Contenido */
.highlight__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 40px 40px 120px;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease .3s, transform 1s ease .3s;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
}

.creativity-texts {
  width: 100%;
  max-width: 455px;
}

.highlight__subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.highlight__content h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
}

/* Animación de entrada */
.highlight.show .highlight__content {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media(max-width: 768px) {
  .highlights {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .highlight {
    height: 60vh;
  }

  .creativity-texts {
    max-width: 100%;
  }
}

/* ===== End Highlights Section ===== */


/**/
/* ===== Moments ===== */
.moments {
  padding: 100px 0px;
  background: #fff;
}

/* Título */
.moments__title {
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(36px, 6vw, 96px);
  /* responsivo */
  margin: 0 0 56px;
  display: inline-block;
  width: 100%;
}

/* Palabra por palabra */
.moments__title span {
  display: inline-block;
  font-size: inherit;
  /* 👈 asegura heredar tamaño del h2 */
  line-height: inherit;
  /* 👈 asegura consistencia vertical */
  opacity: 0;
  transform: translateY(24px);
  will-change: transform, opacity;
}

.moments__title.is-inview span {
  animation: wordUp .55s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: calc(var(--i) * 0.12s);
}

@keyframes wordUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grid: texto | imagen | texto */
.moments__grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px) 1fr;
  gap: min(5vw, 64px);
  align-items: end;
  justify-items: center;
}

/* Imagen central + reveal */
.moments__image {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.moments__image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: scale(1.05);
  /* leve zoom inicial */
  clip-path: inset(0 100% 0 0);
  /* recortada al 100% hacia la derecha */
  filter: blur(28px);
  transition: clip-path 1.8s ease, filter 1.8s ease, opacity 1s ease, transform 1.2s ease;
}

/* Cuando entra en viewport */
.moments__image.is-inview img {
  opacity: 1;
  transform: scale(1);
  clip-path: inset(0 0 0 0);
  /* revela toda la imagen */
  filter: blur(0);
}

/* Textos laterales + reveal */
.moments__text p {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  font-weight: 700;
  width: 320px;
  max-width: 100%;
}

.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}

.moments__text--left {
  transform: translateX(-24px);
}

.moments__text--right {
  transform: translateX(24px);
}

.js-reveal.is-inview {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Por defecto cada línea invisible */
.moments__text p span {
  display: block;
  /* cada línea ocupa toda la fila */
  opacity: 0;
  transform: translateY(20px);
}

/* Cuando entra en viewport */
.moments__text.is-inview p span {
  animation: lineFadeUp .7s ease forwards;
}

/* Animación escalonada */
.moments__text.is-inview p span:nth-child(1) {
  animation-delay: .1s;
}

.moments__text.is-inview p span:nth-child(2) {
  animation-delay: .4s;
}

.moments__text.is-inview p span:nth-child(3) {
  animation-delay: .7s;
}

.moments__text.is-inview p span:nth-child(4) {
  animation-delay: 1s;
}

.moments__text.is-inview p span:nth-child(5) {
  animation-delay: 1.3s;
}

@keyframes lineFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .about-dots-separator {
    grid-template-columns: 100%;
    text-align: center;
  }

  /* span.separator-line {
    display: none;
  } */
  .moments__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .moments__title {
    font-size: clamp(28px, 4vw, 48px);
    margin: 0 0 20px;
  }

  .moments__text--left,
  .moments__text--right {
    transform: translateY(24px);
  }
}

/* ===== END Sección Moments ===== */





/* ===== Shared Memories ===== */
.shared-memories {
  position: relative;
  min-height: 60vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.memories-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95);
  transform: scale(1.03);
}

.memories-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .35));
}

.memories-content {
  position: relative;
  z-index: 1;
  width: min(1200px, 96vw);
  margin-inline: auto;
  text-align: center;
}

.memories-title {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  /* más flexible */
  line-height: 1.1;
  margin: 0 0 60px;
}

.memories-stats {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 6vw, 80px);
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Número grande + unidad */
.stat-number {
  font-weight: 700;
  font-size: clamp(40px, 8vw, 96px);
  /* responsivo */
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.stat-number .num {
  font-size: inherit;
  /* 👈 hereda tamaño principal */
  line-height: inherit;
}

.stat-number .stat-unit {
  font-size: 1em;
  /* 👈 relativo al número, queda elegante */
  line-height: 1;
  opacity: .9;
  font-weight: 600;
}

/* Texto debajo */
.stat-text {
  font-weight: 700;
  font-size: clamp(18px, 2vw, 32px);
  line-height: 1.15;
}

/* Responsive refinado */
@media (max-width: 992px) {}

@media (max-width: 767px) {}

/* Estado base invisible */
.shared-memories .memories-title,
.shared-memories .stat {
  opacity: 0;
  transform: translateY(20px);
}

/* ===== Shared Memories fin ===== */


/* ===== Creativity Section ===== */

.creativity {
  padding: 80px 20px;
  background: #fff;
  color: #000;
}

.creativity .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 60px;
  align-items: start;
}

/* Textos */
.creativity-title {
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
}

.creativity-desc {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
}

/* Grilla de 6 imágenes */
.creativity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 20px;
  width: calc(100% - 40px);
}

@media (min-width:992px) {
  .creativity-grid .grid-item:nth-child(1) {
    height: calc(100% + 20px);
  }

  .creativity-grid .grid-item:nth-child(2) {
    opacity: 1;
    height: calc(100% - 40px);
  }

  .creativity-grid .grid-item:nth-child(3) {
    height: calc(100% + 40px);
  }

  .creativity-grid .grid-item:nth-child(4) {
    height: calc(100% - 20px);
    bottom: -20px;
  }

  .creativity-grid .grid-item:nth-child(5) {
    height: calc(100% + 40px);
    bottom: 40px;
  }

  .creativity-grid .grid-item:nth-child(6) {
    height: calc(100% + -40px);
    bottom: -40px;
  }
}

.creativity-grid .grid-item {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.1);
  background: #ccc;
}

.creativity-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}

.creativity-grid .grid-item:hover img {
  transform: scale(1.15);
}

/* Variantes */

.creativity-texts>*,
.creativity-grid .grid-item {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}



/* Responsive */
@media (max-width: 992px) {
  .creativity .container {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .creativity-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 767px) {
  .creativity-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 420px;
    width: 100%;
  }
}

/*  */

/* contact form */
/* ===== Contact Section ===== */
.contact {
  background: #1E1E1E;
  color: #fff;
  padding: 120px 0px;
}

.contact-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ===== Imágenes ===== */
.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #333;
}

/* ===== Títulos ===== */
.contact-form h2 {
  /* General: escala entre mobile y desktop */
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

/* Rango intermedio 992px–1280px → tamaño fijo intermedio */
@media (min-width: 992px) and (max-width: 1420px) {
  .contact-form h2 {
    font-size: 36px;
    /* intermedio */
  }
}


.contact-form .contact-subtitle {
  /* General */
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 400;
  margin-bottom: 40px;
  text-align: center;
  color: #ffffff;
}

/* Rango intermedio */
@media (min-width: 992px) and (max-width: 1420px) {}



/* ===== Formulario CF7 ===== */
.contact-form .form-wrapper {
  width: 100%;
}

.contact-form form {
  display: grid;
  gap: 20px;
}

/* Campos de texto */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form input[type="number"],
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #444;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
  text-align: center;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e11d48;
}

/* Placeholders */
.contact-form ::placeholder {
  color: #aaa;
  font-size: 14px;
}

/* Textarea */
.contact-form textarea {
  resize: none;
  min-height: 46px;
  height: 46px;
}

/* Botón */
.contact-form input[type="submit"] {
  align-self: center;
  justify-self: center;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 300;
  padding: 12px 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  position: relative;
  transition: all 0.3s ease;
}

.contact-form input[type="submit"]:hover {
  background: #fff;
  color: #000;
}

.form-row.row-half {
  width: 50%;
  float: left;
}

.form-row.row-half.row-half-right {
  padding-left: 10px;
}

.center {
  text-align: center;
}

.wpcf7-spinner {
  position: absolute;
}

.wpcf7 form .wpcf7-response-output {
  margin: -1em 0.5em 1em;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form h2 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .contact {
    padding: 60px 15px;
  }
}



/* contact form fin */

/* general */
/* Brand decorativo */
.section-brand {
  display: grid;
  padding: 60px 0 90px;
  align-items: center;
  gap: 12px;
  user-select: none;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
  grid-template-columns: max-content auto;
}

.section-brand .brand-line {
  height: 2px;
  background: #C62828;
  width: 225px;
}

.section-brand .brand-name {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #C62828;
  grid-column: 2;
  grid-row: 1;
}

.section-brand.js-reveal {
  opacity: 0;
  transform: translateX(-40px);
  /* parte a la izquierda */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-brand.js-reveal.is-inview {
  opacity: 1;
  transform: translateX(0);
}

@media(max-width:767px) {
  .section-brand {
    padding: 60px 0 60px;
  }

  .section-brand .brand-line {
    width: 20px;
  }
}

/* Brand decorativo fin */



/* general fin */

/* pagina matrimonios */

/* Hero Matrimonios */
.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* oscurece la foto */
}

.hero-content {
  position: absolute;
  bottom: 25%;
  /* mueve todo el bloque hacia abajo */
  left: 50%;
  transform: translateX(-50%);
  /* centra horizontalmente */
  text-align: center;
  z-index: 2;
}


.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
}

.btn-hero {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #fff;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: #fff;
  color: #000;
}

/* Responsive hasta 768px */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .btn-hero {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* =========================
   HERO FIJO (todas las páginas no-slider)
   ========================= */
.hero-fixed {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-fixed .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-fixed .hero-content {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  width: 1180px;
  max-width: 100%;
}

.hero-fixed .hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  display: block;
  color: #ffffffad;
}

.hero-fixed .hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 60px;
  line-height: 1;
}

@media (max-width: 768px) {
  .hero-fixed .hero-content {
    bottom: 15%;
  }
}

/* Estado base oculto para los elementos animados del hero */
.hero-fixed .hero-subtitle,
.hero-fixed .hero-title,
.hero-fixed .cta-btn,
.hero-slider .hero-subtitle,
.hero-slider .hero-title,
.hero-slider .cta-btn {
  opacity: 0;
  visibility: hidden;
  /* opcional, asegura que no ocupen espacio interactivo */
}

/* Hero Matrimonios fin */
body.wp-singular.page-template-default.page.page-id-7 {
  background: #fff;
}

.intro-matrimonios {
  text-align: center;
  padding-bottom: 100px;
}

.intro-matrimonios .intro-btn {
  margin-top: 20px;
}

/* Botón negro para fondos claros */
.cta-btn-about {
  display: inline-flex;
  align-items: center;
  border: 2px solid #000;
  border-radius: 999px;
  padding: 12px 56px 12px 20px;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  height: 48px;
  position: relative;
}

.cta-btn-about .cta-arrow {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid #000000;
}

.cta-btn-about:hover {
  background: #000;
  color: #fff;
}

.cta-btn-about:hover .cta-arrow {
  background: #fff;
  color: #000;
  transform: translateY(-50%) scale(1.04);
}

/* Padding arriba/abajo para la sección */


.intro-matrimonios {
  text-align: center;
}

#intro h2.section-title {
  margin-bottom: 60px;
}

.intro-matrimonios .intro-text {
  max-width: 880px;
  margin: 0 auto 60px;
  color: #333;
  line-height: 1.6;
}


.intro-matrimonios .intro-btn {
  margin-top: 30px;
}

.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* imagen parallax */
/* Contenedor parallax */
.intro-image {
  position: relative;
  width: 100%;
  height: 50vh;
  /* Altura fija del contenedor */
  overflow: hidden;
}

.intro-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  opacity: 0;
  /* GSAP manejará el fade */
}

.js-parallax {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.js-parallax img {
  position: absolute;
  left: 0;
  width: 100%;
  object-fit: cover;
  will-change: transform;
}

/* imagen parallax fin */

/* momentos que marcan una vida */
section.momentos {
  padding-top: 100px;
}

/* Overrides para evitar saltos (GSAP se encarga del estado inicial) */
.momentos-title,
.momentos-text,
.momentos-slider {
  opacity: 1;
  /* GSAP manejará la opacidad */
  transform: none;
  /* sin desplazamiento inicial */
}


/* Título */
.momentos-title {
  font-weight: 700;
  font-size: clamp(36px, 6vw, 96px);
  line-height: 1;
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* Texto */
.momentos-text {
  max-width: 1058px;
  margin: 0 auto 60px;
  text-align: center;
}

.momentos-text p {
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 16px);
  /* 16px en desktop, flexible en móviles */
  line-height: 1.6;
  color: #1e1e1e;
}



/* Slider */
.momentos-slider {
  position: relative;
  overflow: hidden;
}

.momentos-slides {
  position: relative;
  height: 820px;
  /* ajusta según diseño */
  overflow: hidden;
}

.momentos-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}

.momentos-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.momentos-slide.is-active {
  opacity: 1;
  z-index: 1;
}







.momentos-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.momentos-slide .slide-content {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1110px;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.momentos-slide .label {
  display: block;
  font-size: clamp(18px, 2vw, 24px);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}

.momentos-slide blockquote {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  padding: 0;
  border: none;
  font-style: normal;
}

.momentos-slide blockquote.blockquote-small {
  font-size: clamp(18px, 2.5vw, 24px);
}


.momentos-slide footer {
  margin-top: 40px;
  font-weight: 700;
}

/* Dots */
/* Heredamos estilos de hero-dots para consistencia */
.momentos-dots.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25));
}

.momentos-dots.hero-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 100%;
  background: #fff;
  border: none;
  cursor: pointer;
  opacity: .95;
  transition: all .2s ease;
}

.momentos-dots.hero-dots button.is-active {
  background: transparent;
  width: 28px;
  height: 28px;
  box-shadow: 0 0 0 1px #fff inset;
  position: relative;
}


/* momentos que marcan una vida fin */


/* Sección Entendemos */
.understand-section {
  padding: 120px 0;
  background: #fff;
  overflow: hidden;
}

.understand-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.understand-content {
  float: right;
  justify-self: end;
  height: 100%;
  display: grid;
  align-content: space-around;
}

.understand-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: #1E1E1E;
  max-width: 462px;
}

.understand-text {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: #1E1E1E;
  font-weight: 300;
  max-width: 435px;
}

.understand-image {
  position: relative;
  overflow: hidden;
}

.understand-image img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.1);
  opacity: 0;
  transition: transform 1.2s ease, opacity 1s ease;
}

/* Animaciones */
.understand-content .js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.understand-content .js-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.understand-image.js-reveal.is-inview img {
  transform: scale(1);
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .understand-section {
    padding: 80px 0;
  }

  .understand-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .understand-content {
    padding-right: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .understand-section {
    padding: 60px 0;
  }

  .understand-container {
    gap: 30px;
  }
}

/* Sección Entendemos fin */
/* pagina matrimonios fin */

/* pagina corporativo */
.intro-corporativo .intro-text {
  max-width: 1000px;
  margin: 0 auto 30px;
  color: #333;
  line-height: 1.6;
}

.intro-corporativo {
  text-align: center;
  padding-bottom: 100px;
}

.intro-corporativo .intro-btn {
  margin-top: 20px;
}

/* Sección Espacios Corporativos */
.corporate-spaces {
  padding: 100px 20px;
  background: #fff;
  overflow: hidden;
}

.corporate-spaces-title {
  font-size: clamp(36px, 6vw, 96px);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.corporate-spaces-text {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.corporate-spaces-text p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 10px;
  color: #1E1E1E;
}

/* Estados de animación */
.corporate-spaces-title.is-inview,
.corporate-spaces-text.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .corporate-spaces {
    padding: 80px 0;
  }

  .corporate-spaces-title {
    margin-bottom: 40px;
  }

  .corporate-spaces-text {
    padding: 0 20px;
  }
}

/* Soluciones Corporativas */
.corporate-solutions {}

/* Hero con texto */
.solutions-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.solutions-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: none;
  will-change: transform;
}

.solutions-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .3));
  z-index: 1;
}

.solutions-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 20px;
  height: 100%;
}

.solutions-content p {
  max-width: 750px;
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  position: absolute;
  bottom: 80px;
  left: 80px;
  top: unset;
  right: unset;
  margin-bottom: 0;
}

/* Grid 2 columnas */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.solutions-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.solutions-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 3s ease;
}

.solutions-item:hover img {
  transform: scale(1.1);
}

/* Animaciones */
.solutions-content .js-reveal.is-inview,
.solutions-item.js-reveal.is-inview img {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .solutions-hero {
    height: 60vh;
  }

  .solutions-content p {
    font-size: 20px;
    padding: 0 20px;
    text-align: center;
    bottom: unset;
    left: unset;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* soluciones corporativas fin */

/* Sección Marcas */
.brands-section {
  padding: 100px 0;
  overflow: hidden;
}

.brands-title {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  /* 48px en desktop, flexible hacia móviles */
  line-height: 1;
  text-align: center;
  margin-bottom: 80px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 60px 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-item {
  transform: translateX(-40px);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.brand-item img {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(1);
}

/* Estado activo */
.brands-title.js-reveal.is-inview,
.brand-item.js-reveal.is-inview {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-title {
    font-size: 40px;
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands-title {
    margin-bottom: 40px;
  }
}

/* Sección Marcas fin */


/* separador */
.separator-matrimonios {}

.separator-border-bottom {
  border-bottom: 1px solid #1e1e1e;
}

/* separador fin */

/* Hover zoom para Solutions y Corporate Footer */
.solutions-item,
.corporate-footer-item {
  overflow: hidden;
  /* recorte elegante */
}

.solutions-item img,
.corporate-footer-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s ease;
  transform-origin: center center;
}

.solutions-item:hover img,
.corporate-footer-item:hover img {
  transform: scale(1.06) !important;
  /* fuerza el hover */
}


/* seccion pie corporativo */
/* ===== Corporate Footer ===== */
.corporate-footer {
  padding: 100px 0px;
}

.corporate-footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.corporate-footer-item img {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform, opacity;
  /* perf */
}

@media (max-width:768px) {
  .corporate-footer-content {
    grid-template-columns: 1fr;
  }
}

/* seccion pie corporativo fin*/

/* pagina corporativo fin */



/* blog */
.wp-block-separator {
  border: none;
  border-top: 1px solid #1e1e1e;
  margin-top: 60px;
  margin-bottom: 60px;
}

/* === Blog Section === */
section.blog-section {
  padding-bottom: 120px;
}

section.blog-section .container {
  max-width: 1300px;
}

.blog-section-title {
  text-align: center;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 32px;
}

/* Categorías */
.blog-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.blog-categories .category-btn {
  border: 2px solid #121212;
  background: none;
  padding: 8px 18px;
  border-radius: 32px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .4px;
  cursor: pointer;
  transition: all .25s ease;
  color: #1e1e1e;
}

.blog-categories .category-btn.active,
.blog-categories .category-btn:hover {
  background: #121212;
  color: #fff;
}

/* Slider */
.blog-slide {
  opacity: 0;
  transform: translateY(30px);
}

.blog-categories .category-btn {
  opacity: 0;
  transform: translateY(20px);
}


.blog-slider {
  position: relative;
  overflow: hidden;
}

.blog-slides-wrapper {
  --gap: 32px;
  --visible: 3;
  display: flex;
  gap: var(--gap);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.blog-slide {
  flex: 0 0 calc((100% - (var(--gap) * (var(--visible) - 1)))/var(--visible));
  max-width: calc((100% - (var(--gap) * (var(--visible) - 1)))/var(--visible));
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .blog-slides-wrapper {
    --visible: 2;
  }
}

@media (max-width: 640px) {
  .blog-slides-wrapper {
    --visible: 1;
  }
}

/* Card */
.blog-slide-image {
  position: relative;
  margin-bottom: 16px;
  overflow: hidden;
  height: 317px;
}

.blog-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.blog-slide-image:hover img {
  transform: scale(1.05);
}

.blog-badge {
  position: absolute;
  top: 32px;
  left: 16px;
  background: #C62828;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  padding: 7px 14px;
  border-radius: 20px;
  font-weight: 300;
  text-transform: uppercase;
}

.blog-slide-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  margin: 0 0 12px;
}

.blog-slide-excerpt {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: #1e1e1e;
  margin: 0 0 32px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Botón Leer más — mismo estilo global */
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px 0 24px;
  border-radius: 999px;
  border: 2px solid #1e1e1e;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #1e1e1e;
  width: max-content;
  position: relative;
  height: 48px;
}

.btn-read .cta-label {
  line-height: 1;
}

.btn-read .cta-circle {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  background: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  right: -22px;
  position: relative;
  border: 2px solid #000000;
}

.btn-read .cta-circle svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-read:hover {
  background: #121212;
  color: #fff;
}

.btn-read:hover .cta-circle {
  background: #fff;
  transform: translateX(3px);
}

.btn-read:hover .cta-circle svg {
  stroke: #121212;
}

/* Dots */
.blog-dots {
  display: flex;
  justify-content: center;
  gap: 20px;
  height: 28px;
  align-items: center;
}

.blog-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: #000;
  cursor: pointer;
  transition: .3s ease;
  padding: 0;
}

.blog-dots button.is-active {
  background: #fff;
  border: 1px solid #1e1e1e;
  transform: scale(2);
}

.blog-dots-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  gap: 12px;
}

.blog-dots-separator .separator-line {
  flex: 0 0 60px;
  height: 1px;
  background: #000;
}

.blog-dots-separator span {
  font-size: 14px;
  font-weight: 500;
}

/* blog fin */


/*  */