/* Prestige Window Treatments - cambios del cliente (28-11-2026). Compartido por EN y ES.
   Marca: navy #14283a, dorado #b8934a, crema #f7f4ef, Cormorant Garamond + Montserrat. */
.pwt-ico { width: 34px; height: 34px; fill: none; stroke: var(--pwt-gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Botones: un mismo lenguaje */
.pwt-btn-navy { background: var(--pwt-navy); border-color: var(--pwt-navy); color: #fff !important; }
.pwt-btn-navy:hover { background: var(--pwt-gold); border-color: var(--pwt-gold); }
.pwt-btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff !important; box-shadow: none; font-weight: 500; }
.pwt-btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Idioma seleccionado */
.site-header .lang a { border-radius: 999px; padding: 4px 9px; }
.site-header .lang a.current { background: var(--pwt-navy); color: #fff; }

/* 01 Presentación clara */
.hero.hero-light { background: var(--pwt-cream); color: var(--pwt-navy); min-height: 82vh; }
.hero-light .hero-overlay { background: linear-gradient(90deg, rgba(247,244,239,.9) 0%, rgba(247,244,239,.74) 24%, rgba(247,244,239,.3) 42%, rgba(247,244,239,0) 58%); }
.hero-light .hero-content { padding-top: 70px; padding-bottom: 70px; }
.hero-light .eyebrow { color: #7d6129; }
.hero-light h1 { color: var(--pwt-navy); text-shadow: none; max-width: 560px; font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.5rem); }
.hero-light .lead { color: #1d2a36; max-width: 480px; font-size: 1.05rem; margin-bottom: 12px; }
.hero-light .lead-2 { font-size: .95rem; margin-bottom: 26px; }
.hero-light .pwt-btn-dark { border: 1px solid var(--pwt-navy); color: var(--pwt-navy) !important; background: rgba(255,255,255,.7); }
.hero-light .pwt-btn-dark:hover { background: var(--pwt-navy); color: #fff !important; }
@media (max-width: 991.98px) {
  .hero.hero-light { display: block; min-height: 0; }
  .hero-light .hero-stack { position: relative; height: 46vh; min-height: 260px; }
  .hero-light .hero-overlay { top: 0; bottom: auto; height: 46vh; min-height: 260px; background: linear-gradient(0deg, var(--pwt-cream) 0%, rgba(247,244,239,0) 30%); }
  .hero-light .hero-content { position: relative; padding-top: 8px; padding-bottom: 38px; }
}

/* Franja informativa */
.feature-strip { background: var(--pwt-cream); border-top: 1px solid #ebe6dc; border-bottom: 1px solid #ebe6dc; padding: 26px 0; }
.feature-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
.feature-strip li, .feature-strip li > a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; color: var(--pwt-navy); text-decoration: none; }
.feature-strip .stars { color: var(--pwt-gold); font-size: 20px; line-height: 34px; letter-spacing: 2px; }
.feature-strip strong { font: 600 14px/1.35 var(--pwt-sans); }
.feature-strip small { font: 400 12.5px/1.4 var(--pwt-sans); color: #66707a; }
.feature-strip a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 992px) { .feature-strip ul { grid-template-columns: repeat(4, 1fr); gap: 0; } .feature-strip li + li { border-left: 1px solid #e3dccd; } }

/* Videos */
.pv { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--pwt-navy); }
.pv > img, .pv > iframe, .pv > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.pv-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.85); background: rgba(14,27,39,.5); cursor: pointer; transition: background .25s, transform .25s; }
.pv-play::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.pv-play:hover { background: var(--pwt-gold); transform: scale(1.05); }
.pv-pending { display: flex; align-items: center; justify-content: center; background: #e9e3d8; border: 1px dashed var(--pwt-gold); }
.pv-pending > img { opacity: .35; }
.pv-pending span { position: relative; padding: 0 16px; text-align: center; font-size: 13px; color: var(--pwt-navy); }
.nicky { background: var(--pwt-cream); }
.nicky .pv { margin-top: 8px; }

/* 03 Productos */
.pcard-img { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--pwt-ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard h3 { font-size: 1.55rem; margin: 18px 0 6px; color: var(--pwt-navy); }
.pcard p { color: #55606b; font-size: 15px; margin-bottom: 10px; }
.pcard-more { color: var(--pwt-navy); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--pwt-gold); text-decoration: none !important; }
.pcard-more:hover { color: #7d6129; }

/* 04 Pasos */
.wstep { border-top: 1px solid var(--pwt-gold); padding-top: 20px; height: 100%; text-align: left; }
.wstep .pwt-ico { stroke: var(--pwt-navy); display: block; margin-bottom: 16px; }
.wstep-n { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: #6f7780; margin-bottom: 8px; }
.wstep h3 { font: 600 1.05rem/1.35 var(--pwt-sans); color: var(--pwt-navy); }
.wstep p { color: #55606b; font-size: 15px; margin: 0; }

/* 05 Portafolio: sin textos ni oscurecimiento */
.portfolio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 992px) { .portfolio { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.portfolio-item { border: 0; padding: 0; background: none; border-radius: 10px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--pwt-ease); }
.portfolio-item:hover img { transform: scale(1.08); }

/* Galería ampliada */
.lb { position: fixed; inset: 0; z-index: 2147483647; background: rgba(10,18,27,.96); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lb img { max-width: min(92vw, 1400px); max-height: 82vh; user-select: none; }
.lb button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lb button:hover { background: var(--pwt-gold); }
.lb .lb-close { top: 16px; right: 16px; }
.lb .lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lb .lb-next { right: 12px; top: 50%; margin-top: -24px; }
.lb [hidden] { display: none; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; letter-spacing: .1em; }
body.lb-open { overflow: hidden; }

/* 07 Reseñas: con este ancho el carrusel muestra 3 tarjetas en computador y 1 en celular */
.reviews-box { max-width: 1040px; margin: 0 auto; }
.reviews-box > div, .reviews-box [class*="es-widget-background"], .reviews-box [class*="es-widget-container"] { width: 100% !important; max-width: 100% !important; }
/* El título propio del widget sobra: la sección ya tiene encabezado y no admite textos adicionales */
.reviews-box [class*="es-widget-title"] { display: none !important; }

/* 08 Cierre: fondo uniforme, sin círculos */
.final-cta.closing { background: var(--pwt-navy); text-align: center; padding: 76px 0; }
.final-cta.closing::after { content: none; }
.closing .pwt-kicker { color: var(--pwt-gold-soft); }
.closing h2 { margin-bottom: 14px; color: #fff; }
.closing p { max-width: 640px; margin-left: auto; margin-right: auto; }
.closing .pwt-kicker { margin-bottom: 14px; }
.closing .hero-actions { justify-content: center; align-items: center; margin-top: 28px; gap: 16px; }
.closing .btn-main { padding: 15px 30px; font-size: 1.05rem; }

/* 09 Pie de página claro */
footer.pwt-footer.pwt-footer-light { background: #fff; color: #3d4752; border-top: 1px solid #e8e2d6; margin-top: 0; }
.pwt-footer-light .foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
.pwt-footer-light .foot-brand, .pwt-footer-light .foot-follow { grid-column: 1 / -1; }
@media (min-width: 768px) { .pwt-footer-light .foot-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .pwt-footer-light .foot-grid { grid-template-columns: 1.5fr .9fr .8fr 1.35fr 1.3fr 1.15fr; } .pwt-footer-light .foot-brand, .pwt-footer-light .foot-follow { grid-column: auto; } }
.pwt-footer-light .foot-logo { height: auto; width: 100%; max-width: 230px; padding: 0; border-radius: 0; }
.pwt-footer-light h4 { color: var(--pwt-navy); font: 700 12px/1.4 var(--pwt-sans); text-transform: uppercase; letter-spacing: .14em; }
.pwt-footer-light a { color: #3d4752; overflow-wrap: anywhere; }
.pwt-footer-light a:hover { color: #7d6129; }
.pwt-footer-light li { font-size: 14px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--pwt-navy); display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--pwt-navy) !important; }
.foot-social a:hover { background: var(--pwt-navy); color: #fff !important; }
.pwt-footer-light .legal { border-top-color: #e8e2d6; color: #6f7780; }

/* Páginas de producto y contacto */
.phero { position: relative; background: var(--pwt-cream); overflow: hidden; }
.phero > img { position: absolute; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,244,239,.9) 0%, rgba(247,244,239,.74) 24%, rgba(247,244,239,.3) 42%, rgba(247,244,239,0) 58%); }
.phero-text { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; min-height: 460px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.phero-text > * { max-width: 460px; }
.phero h1, .phero h2 { color: var(--pwt-navy); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); line-height: 1.08; }
.phero p { color: #1d2a36; }
.phero.motor .phero-text { min-height: 420px; }
.phero.motor .phero-text > * { max-width: 520px; }
.motor-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.motor-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 13px; color: var(--pwt-navy); }
.phero-pin { display: flex; gap: 12px; align-items: center; margin-top: 8px; font-size: 14px; }
@media (max-width: 991.98px) {
  .phero > img { position: relative; height: 40vh; min-height: 230px; display: block; }
  .phero::after { bottom: auto; height: 40vh; min-height: 230px; background: linear-gradient(0deg, var(--pwt-cream) 0%, rgba(247,244,239,0) 30%); }
  .phero-text, .phero.motor .phero-text { min-height: 0; padding-top: 8px; padding-bottom: 40px; }
}
.features { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr; gap: 30px; }
.features li { display: flex; flex-direction: column; align-items: center; padding: 0 18px; }
.features h3 { font: 600 1rem/1.35 var(--pwt-sans); color: var(--pwt-navy); margin: 14px 0 6px; }
.features p { font-size: 14px; color: #55606b; max-width: 270px; margin: 0; }
@media (min-width: 768px) { .features.cols-3 { grid-template-columns: repeat(3, 1fr); } .features.cols-4 { grid-template-columns: repeat(2, 1fr); } .features li + li { border-left: 1px solid #e8e2d6; } }
@media (min-width: 992px) { .features.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.strip { position: relative; }
.strip-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-item { flex: 0 0 100%; scroll-snap-align: start; border: 0; padding: 0; background: none; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.strip-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
@media (min-width: 768px) { .strip-item { flex-basis: calc((100% - 24px) / 3); } }
.strip-nav { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--pwt-navy); font-size: 28px; line-height: 1; box-shadow: 0 6px 18px rgba(20,40,58,.22); z-index: 2; cursor: pointer; }
.strip-nav.prev { left: -8px; } .strip-nav.next { right: -8px; }
.strip-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.strip-dots i { width: 7px; height: 7px; border-radius: 50%; background: #cfc7b8; }
.strip-dots i.on { background: var(--pwt-navy); }
.product-video { max-width: 720px; margin: 36px auto 0; }
.form-title, .other-title { font-size: 1.8rem; }
.formContacto .form-title { color: #fff; margin-bottom: 18px; }
.other-title { color: var(--pwt-navy); margin-bottom: 18px; }
.benefits { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--pwt-gold-soft); }
.benefits li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.benefits b { display: block; color: var(--pwt-navy); font-size: 15px; }
.benefits span { display: block; font-size: 13.5px; color: #55606b; }
@media (prefers-reduced-motion: reduce) { .strip-track { scroll-behavior: auto; } }
/* La foto anterior se mantiene hasta que entra la siguiente: evita el lavado sobre fondo claro */
.hero-light .hero-slide { animation-name: pwtKenBurnsLight; }
@keyframes pwtKenBurnsLight {
  0%   { opacity: 0; transform: scale(1.08); }
  4%   { opacity: 1; }
  15.2% { opacity: 1; }
  17%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.01); }
}
/* Adelanta el ciclo 2 s: la primera foto ya está visible al cargar */
.hero-light .hero-slide:nth-child(1) { animation-delay: -2s; }
.hero-light .hero-slide:nth-child(2) { animation-delay: 2s; }
.hero-light .hero-slide:nth-child(3) { animation-delay: 6s; }
.hero-light .hero-slide:nth-child(4) { animation-delay: 10s; }
.hero-light .hero-slide:nth-child(5) { animation-delay: 14s; }
.hero-light .hero-slide:nth-child(6) { animation-delay: 18s; }
.hero-light .hero-slide:nth-child(7) { animation-delay: 22s; }
.hero-light .hero-slide:nth-child(8) { animation-delay: 26s; }
.hero-light .hero-slide:nth-child(9) { animation-delay: 30s; }
/* El zoom de la foto no debe invadir el texto en celular */
@media (max-width: 991.98px) { .hero-light .hero-stack { overflow: hidden; } }
/* Enlaces directos a cada sección: espacio para el encabezado fijo y sin saltos al cargar las reseñas */
[id] { scroll-margin-top: 96px; }
.reviews-box { min-height: 440px; }
html { scroll-behavior: auto !important; }

/* 1-dic-2026: menos velo claro sobre las fotos para que se vea el tejido de la cortina; el texto conserva contraste con un halo suave. */
.hero-light h1, .hero-light .lead, .hero-light .eyebrow, .phero h1, .phero h2, .phero p, .phero .pwt-kicker { text-shadow: 0 0 14px rgba(247,244,239,.85), 0 0 3px rgba(247,244,239,.7); }
.motor-list li { text-shadow: 0 0 10px rgba(247,244,239,.85); }

/* 1-dic-2026: el botón del menú ahora dice «Agenda tu asesoría gratuita» (más largo). En pantallas medianas usa la versión corta. */
.site-header .btn-quote .q-short { display: none; }
@media (min-width: 992px) { .site-header .btn-quote { letter-spacing: .04em; } }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .btn-quote .q-full { display: none; }
  .site-header .btn-quote .q-short { display: inline; }
  .site-header .btn-quote { padding: 9px 12px; font-size: 11px; }
  .site-header .main-nav ul li a { padding: 8px 7px; letter-spacing: .01em; font-size: 13px; }
  .site-header .lang a { padding: 4px 4px; }
}
.phero.motor .motor-list { background: rgba(247,244,239,.82); border-radius: 12px; padding: 12px 10px; }

/* 2-dic-2026: fotos nuevas del cliente. Banner de 10 fotos (ciclo de 40 s) y carrusel que respeta fotos horizontales y verticales. */
.hero-light .hero-slide { display: block; animation-name: pwtKenBurnsLight10; animation-duration: 40s; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes pwtKenBurnsLight10 {
  0%   { opacity: 0; transform: scale(1.08); }
  3.5% { opacity: 1; }
  13.7% { opacity: 1; }
  15.3% { opacity: 0; }
  100% { opacity: 0; transform: scale(1.01); }
}
.hero-light .hero-slide:nth-child(10) { animation-delay: 34s; }
.hero-static .hero-slide { animation: none; opacity: 0; transform: none; }
.hero-static .hero-slide:first-child { opacity: 1; }
.strip-track { align-items: stretch; }
.strip-item { flex: 0 0 auto; height: 300px; max-width: calc(100vw - 32px); }
.strip-item img { height: 100%; width: auto; max-width: 100%; aspect-ratio: auto; object-fit: cover; }
@media (min-width: 768px) { .strip-item { flex: 0 0 auto; height: 400px; } }
@media (min-width: 1200px) { .strip-item { height: 440px; } }

/* 2-dic-2026: galería editable desde el panel, con 3 plantillas (cuadrícula, mosaico, carrusel). */
.portfolio-item { position: relative; }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font: 600 13px/1.3 var(--pwt-sans); text-align: left; background: linear-gradient(0deg, rgba(14,27,39,.72), rgba(14,27,39,0)); }
.portfolio.gal-mosaic { display: block; column-count: 2; column-gap: 10px; }
@media (min-width: 992px) { .portfolio.gal-mosaic { column-count: 4; column-gap: 12px; } }
.portfolio.gal-mosaic .portfolio-item { display: block; width: 100%; margin: 0 0 10px; break-inside: avoid; aspect-ratio: 1; }
@media (min-width: 992px) { .portfolio.gal-mosaic .portfolio-item { margin-bottom: 12px; } }
.portfolio.gal-mosaic .portfolio-item:nth-child(8n+1) { aspect-ratio: 4 / 5; }
.portfolio.gal-mosaic .portfolio-item:nth-child(8n+3) { aspect-ratio: 4 / 3; }
.portfolio.gal-mosaic .portfolio-item:nth-child(8n+4) { aspect-ratio: 3 / 4; }
.portfolio.gal-mosaic .portfolio-item:nth-child(8n+6) { aspect-ratio: 4 / 5; }
.portfolio.gal-mosaic .portfolio-item:nth-child(8n+7) { aspect-ratio: 4 / 3; }
.gal-carousel .strip-item { position: relative; height: auto; aspect-ratio: 16 / 10; width: min(88vw, 780px); max-width: none; }
.gal-carousel .strip-item img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.gal-badge { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--pwt-navy); font: 600 12px/1 var(--pwt-sans); padding: 7px 11px; border-radius: 999px; }
