@font-face{font-family:'DM Sans';src:url('../assets/fonts/DMSans-Variable.ttf') format('truetype');font-display:swap}
@font-face{font-family:'Ysabeau SC';src:url('../assets/fonts/YsabeauSC-Variable.ttf') format('truetype');font-display:swap}
@font-face{font-family:'Dark Twenty';src:url('../assets/fonts/DarkTwenty.otf') format('opentype');font-display:swap}

:root{
  --pe-blue:#1F3363;
  --pe-white:#FFFFFF;
  --pe-red:#CC1C4C;
  --pe-lime:#CEDF00;
  --pe-yellow:#FCB700;
  --pe-orange:#FF5C36;
  --pe-red-bright:#EA072A;
  --pe-pink:#F54C80;
  --pe-purple:#9E27B5;
  --pe-cyan:#0082CA;
  --pe-teal:#00A888;
  --pe-muted:rgba(31,51,99,.72);
  --pe-border:rgba(31,51,99,.14);
  --pe-shadow:0 22px 60px rgba(31,51,99,.10);
  --hero-bg:#FFF1F4;
  --hero-button:#CC1C4C;
  --section-space:clamp(64px,7vw,108px);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--pe-blue);font-family:'DM Sans',sans-serif;overflow-x:hidden}
a{text-decoration:none;color:inherit}
img,video{display:block;max-width:100%}
button,input{font:inherit}
.pe-container{width:min(1280px,calc(100% - 48px));margin-inline:auto}

.pe-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--pe-border)}
.pe-header__row{min-height:84px;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:20px}
.pe-logo img{width:220px;height:auto}
.pe-nav{justify-self:center;display:flex;align-items:center;gap:4px;padding:6px;border:1px solid var(--pe-border);border-radius:999px;background:#fff}
.pe-nav a{font-family:'Ysabeau SC',sans-serif;font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:11px 16px;border-radius:999px}
.pe-nav a:hover{background:rgba(31,51,99,.06)}
.pe-burger{display:none;width:44px;height:44px;border:0;background:transparent}
.pe-burger span{display:block;width:24px;height:2px;background:var(--pe-blue);margin:5px auto}

.pe-eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:'Ysabeau SC',sans-serif;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--pe-red)}
.pe-eyebrow::before{content:'';width:28px;height:1px;background:currentColor}
.pe-eyebrow--light{color:#fff}
h1,h2,h3{margin:0;font-family:'Ysabeau SC',sans-serif;color:var(--pe-blue);letter-spacing:-.04em}
h1{font-size:clamp(58px,7vw,108px);line-height:.82;font-weight:750;text-transform:uppercase}
h2{font-size:clamp(42px,5vw,74px);line-height:.88;font-weight:750}
h3{font-size:clamp(23px,2.2vw,34px);line-height:1;font-weight:800}
p,li{font-family:'DM Sans',sans-serif;color:var(--pe-muted);font-size:16px;line-height:1.6}
.pe-script{display:block;margin-top:-.02em;font-family:'Dark Twenty',cursive;font-weight:400;text-transform:lowercase;letter-spacing:0;line-height:.72;color:var(--pe-red)}
.pe-lead{max-width:760px;font-size:clamp(16px,1.35vw,19px);line-height:1.55}

.pe-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:999px;border:1px solid transparent;font-family:'Ysabeau SC',sans-serif;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;transition:.24s ease}
.pe-btn:hover{transform:translateY(-2px)}
.pe-btn-primary{background:var(--hero-button,var(--pe-blue));border-color:var(--hero-button,var(--pe-blue));color:#fff}
.pe-btn-secondary{background:rgba(255,255,255,.78);border-color:var(--pe-border);color:var(--pe-blue);backdrop-filter:blur(10px)}
.pe-btn-light{background:#fff;color:var(--pe-blue)}
.pe-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.72)}
.pe-card{background:#fff;border:1px solid var(--pe-border);border-radius:28px;overflow:hidden;box-shadow:var(--pe-shadow)}

/* HERO + ABANICO, basado en el comportamiento del ZIP de referencia */
.hero-slider{position:relative;background:var(--hero-bg)}
.hero-scroll-stage{height:300vh;position:relative}
.hero-sticky{position:sticky;top:84px;height:calc(100vh - 84px);overflow:hidden}
.hero-scene{position:relative;height:100%;overflow:hidden;background:var(--hero-bg);transition:background .4s ease}
.hero-layout{position:relative;z-index:4;height:100%;display:grid;align-content:start;justify-items:center;padding-top:clamp(34px,5vh,60px);padding-bottom:190px}
.hero-copy{width:min(1020px,100%);text-align:center;display:flex;flex-direction:column;align-items:center;will-change:transform,opacity}
.hero-title-wrap{position:relative;width:100%;min-height:clamp(230px,33vh,360px);display:grid;place-items:center;margin-top:12px}
.hero-title-wrap h1{position:relative;z-index:1;max-width:11.4ch;color:var(--pe-blue);opacity:.98}
.hero-product-home{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:clamp(150px,16vw,250px);height:clamp(210px,28vh,330px);display:grid;place-items:center;pointer-events:none}
.hero-product-mover{width:100%;height:100%;display:grid;place-items:center;transform-origin:bottom center;will-change:transform,opacity}
.hero-product-mover img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 30px 38px rgba(31,51,99,.18));transition:opacity .22s ease}
.hero-script{position:relative;z-index:4;font-size:clamp(48px,5.4vw,78px);margin-top:-10px}
.hero-copy .pe-lead{position:relative;z-index:4;margin:18px auto 0}
.hero-copy__actions{position:relative;z-index:4;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:22px}
.hero-nav-row{position:absolute;left:0;right:0;bottom:34px;z-index:12;display:flex;justify-content:space-between;align-items:center}
.hero-arrows{display:flex;gap:10px}
.hero-arrow{width:52px;height:52px;border:1px solid var(--pe-border);border-radius:50%;background:rgba(255,255,255,.88);color:var(--pe-blue);font-size:30px;cursor:pointer;backdrop-filter:blur(10px)}
.hero-slide-label{display:flex;align-items:center;gap:16px;font-family:'Ysabeau SC',sans-serif;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800}
.hero-slide-label strong{color:var(--pe-blue)}
.hero-slide-label span{color:rgba(31,51,99,.62)}
.hero-blob{position:absolute;border-radius:50%;filter:blur(14px);opacity:.4;pointer-events:none;animation:softFloat 6s ease-in-out infinite}
.hero-blob--a{width:150px;height:150px;right:8%;top:13%;background:rgba(245,76,128,.23)}
.hero-blob--b{width:90px;height:90px;left:9%;bottom:22%;background:rgba(0,130,202,.16);animation-delay:-2s}
.hero-blob--c{width:70px;height:70px;right:16%;bottom:28%;background:rgba(252,183,0,.17);animation-delay:-4s}
@keyframes softFloat{50%{transform:translateY(-12px)}}

.fan-layer{position:absolute;top:10vh;left:0;right:0;text-align:center;z-index:5;opacity:0;transform:translateY(36px);pointer-events:none;will-change:transform,opacity}
.fan-layer__head{display:flex;align-items:end;justify-content:space-between;gap:28px;text-align:left}
.fan-layer__head h2{font-size:clamp(34px,4vw,58px);max-width:690px;margin-top:10px}
.fan-layer__head p{max-width:430px;margin:0;text-align:right}
.fan-wrap{position:absolute;left:50%;bottom:8vh;width:0;height:0;z-index:8}
.fan-bottle{position:absolute;bottom:0;left:0;width:auto;max-width:none;display:block;opacity:0;transform-origin:bottom center;will-change:transform,opacity;filter:drop-shadow(0 16px 22px rgba(31,51,99,.14));cursor:pointer;border:0;background:transparent;padding:0}
.fan-bottle img{display:block;width:auto;height:100%;max-width:none;pointer-events:none}

/* BLOQUES EDITORIALES */
.route-intro,.editorial-flow,.support-strip,.visit-path,.testimonials-section,.faq-section,.locator-section{padding:var(--section-space) 0}
.route-intro__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:46px;align-items:start}
.route-intro h2{margin:14px 0 24px;max-width:9ch}
.route-intro__steps{border-top:1px solid var(--pe-border)}
.route-step{display:grid;grid-template-columns:54px 1fr;align-items:center;gap:14px;padding:22px 0;border-bottom:1px solid var(--pe-border)}
.route-step span{font-family:'Ysabeau SC',sans-serif;color:var(--pe-red);font-weight:800}
.route-step p{margin:0;color:var(--pe-blue);font-family:'Ysabeau SC',sans-serif;font-weight:750;font-size:18px}

.editorial-flow__stack{display:grid;gap:20px}
.editorial-split{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:32px;background:#fff;box-shadow:var(--pe-shadow)}
.editorial-split__media,.editorial-split__copy{min-height:520px}
.editorial-split__media{overflow:hidden}
.editorial-split__media img{width:100%;height:100%;object-fit:cover}
/* Las esquinas internas son rectas; solo el contenedor conserva el redondeo exterior */
.editorial-split--media-left .editorial-split__media{border-top-right-radius:0;border-bottom-right-radius:0}
.editorial-split--media-left .editorial-split__copy{border-top-left-radius:0;border-bottom-left-radius:0}
.editorial-split--media-right .editorial-split__copy{border-top-right-radius:0;border-bottom-right-radius:0}
.editorial-split--media-right .editorial-split__media{border-top-left-radius:0;border-bottom-left-radius:0}
.editorial-split__copy{padding:clamp(32px,4.4vw,58px);display:flex;flex-direction:column;justify-content:center}
.editorial-split__copy h2{margin:14px 0 18px;max-width:9ch}
.editorial-split__copy p{margin:0;max-width:580px}
.editorial-split__copy--blue{background:#233D78;color:#fff}
.editorial-split__copy--blue h2,.editorial-split__copy--blue p,.editorial-split__copy--blue li{color:#fff}
.editorial-split__copy--yellow{background:var(--pe-yellow)}
.editorial-split__copy--yellow p,.editorial-split__copy--yellow li{color:rgba(31,51,99,.84)}
.editorial-split__copy--cyan{background:#0E8ED0;color:#fff}
.editorial-split__copy--cyan h2,.editorial-split__copy--cyan p,.editorial-split__copy--cyan li{color:#fff}
.editorial-list{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:12px}
.editorial-list li{position:relative;padding-left:26px}
.editorial-list li::before{content:'';position:absolute;left:0;top:.7em;width:8px;height:8px;border-radius:50%;background:currentColor}
.editorial-split .pe-btn{margin-top:26px;align-self:flex-start}

.support-strip{background:var(--pe-blue)}
.support-strip__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:center}
.support-strip__copy h2,.support-strip__copy p{color:#fff}
.support-strip__copy h2{margin:14px 0 18px;max-width:10ch}
.support-strip__copy p{margin:0}
.support-strip__copy .pe-btn{margin-top:24px}
.support-strip__media{height:320px}
.support-strip__media img{width:100%;height:100%;object-fit:cover}

/* TIMELINE HORIZONTAL REAL */
.visit-path__head{max-width:760px;margin:0 auto 48px;text-align:center}
.visit-path__head h2{margin:12px 0 10px}
.visit-path__head p{margin:0}
.visit-timeline{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding-top:18px}
.visit-timeline__line{position:absolute;left:16.66%;right:16.66%;top:38px;height:2px;background:rgba(31,51,99,.18)}
.visit-timeline__step{position:relative;text-align:center;padding:0 24px}
.visit-timeline__dot{position:relative;z-index:2;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;background:#fff;border:2px solid var(--pe-red);color:var(--pe-red);font-family:'Ysabeau SC',sans-serif;font-size:12px;font-weight:800;box-shadow:0 0 0 8px #fff}
.visit-timeline__step h3{font-size:26px;margin-bottom:10px}
.visit-timeline__step p{margin:0;font-size:15px}

/* TESTIMONIALES CON VIDEO PEXELS */
.testimonials-section{background:rgba(206,223,0,.13)}
.testimonials-section__head{margin-bottom:28px}
.testimonials-section__head h2{margin-top:12px}
.testimonials-grid--video{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.testimonial-video{background:#fff}
.testimonial-video__media{height:310px;overflow:hidden;background:#eee}
.testimonial-video__media video{width:100%;height:100%;object-fit:cover}
.testimonial-video__body{padding:18px 18px 22px}
.testimonial-video__body span{color:var(--pe-red);letter-spacing:.2em;font-size:12px}
.testimonial-video__body p{margin:10px 0 0;color:var(--pe-blue)}
.metric-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:18px;border-radius:18px;overflow:hidden}
.metric-card{min-height:132px;padding:24px;color:#fff;display:grid;align-content:center;gap:8px}
.metric-card strong{font-family:'Ysabeau SC',sans-serif;font-size:clamp(34px,4vw,54px);line-height:.9}
.metric-card span{font-size:15px}
.metric-card--blue{background:var(--pe-blue)}
.metric-card--red{background:var(--pe-red)}
.metric-card--purple{background:var(--pe-purple)}

.faq-section__grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:42px;align-items:start}
.faq-section__head h2{margin-top:12px;max-width:7ch}
.faq-list{border-top:1px solid var(--pe-border)}
.faq-list details{border-bottom:1px solid var(--pe-border)}
.faq-list summary{list-style:none;cursor:pointer;padding:20px 0;font-family:'Ysabeau SC',sans-serif;font-size:19px;font-weight:800;color:var(--pe-blue);display:flex;justify-content:space-between;gap:16px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:'+';color:var(--pe-red);font-size:24px}
.faq-list details[open] summary::after{content:'−'}
.faq-list p{margin:0 0 20px}

/* CTA TU PUNTO IDEAL: contenido centrado */
.cta-banner-wrap{margin-top:42px}
.cta-banner{position:relative;min-height:400px}
.cta-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cta-banner__overlay{position:absolute;inset:0;background:rgba(31,51,99,.30)}
.cta-banner__content{position:relative;z-index:2;min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:38px}
.cta-banner__content h2{color:#fff;max-width:760px;margin:14px auto 0}
.cta-banner__content .pe-script{color:var(--pe-lime)}
.cta-banner__actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:26px}

/* DESDE CTA HACIA ABAJO: referencia final */
.locator-section{background:#DEF1F0;padding-top:84px}
.locator-section__head{margin-bottom:28px}
.locator-section__head h2{margin:12px 0 10px;max-width:760px}
.locator-section__head p{margin:0}
.locator-shell{display:grid;grid-template-columns:360px 1fr;min-height:560px;border-radius:24px;background:#fff;box-shadow:var(--pe-shadow);overflow:hidden}
.locator-panel{padding:22px;background:rgba(255,255,255,.96)}
.locator-search input{width:100%;min-height:54px;border:1px solid var(--pe-border);border-radius:14px;padding:0 16px;color:var(--pe-blue)}
.locator-search__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.locator-filters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.filter-chip{min-height:40px;padding:0 14px;border:1px solid var(--pe-border);border-radius:999px;background:#fff;color:var(--pe-blue);font-family:'Ysabeau SC',sans-serif;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.filter-chip.is-active{background:var(--pe-blue);color:#fff}
.locator-list{display:grid;gap:10px}
.location-item{padding:14px;border:1px solid var(--pe-border);border-radius:16px;background:#fff}
.location-item h3{font-size:21px;margin-bottom:5px}
.location-item p{margin:0;font-size:13px}
.locator-map{min-height:560px}
.locator-map img{width:100%;height:100%;object-fit:cover}
.pe-footer{background:var(--pe-blue);color:#fff;padding:42px 0}
.pe-footer__grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:32px}
.pe-footer__brand img{width:220px}
.pe-footer p,.pe-footer a{color:rgba(255,255,255,.72);font-size:13px}
.pe-footer h3{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:15px}
.pe-footer a{display:block;margin:8px 0}

@media(max-width:1080px){
  .pe-header__row{grid-template-columns:auto 1fr auto}
  .pe-nav{display:none;position:absolute;top:76px;left:16px;right:16px;grid-column:1/-1;box-shadow:var(--pe-shadow);border-radius:20px;flex-direction:column;align-items:stretch}
  .pe-nav.is-open{display:flex}
  .pe-burger{display:block}
  .route-intro__grid,.support-strip__grid,.faq-section__grid,.locator-shell,.testimonials-grid--video,.metric-strip,.pe-footer__grid{grid-template-columns:1fr}
  .editorial-split{grid-template-columns:1fr 1fr}
  .fan-layer__head{display:block;text-align:center}
  .fan-layer__head p{text-align:center;margin:12px auto 0}
  .locator-map{min-height:420px}
}

@media(max-width:760px){
  .pe-container{width:calc(100% - 30px)}
  .pe-header__row{min-height:74px}
  .pe-logo img{width:175px}
  .pe-header__cta{display:none}
  .hero-sticky{top:74px;height:calc(100vh - 74px)}
  .hero-scroll-stage{height:270vh}
  .hero-layout{padding-top:30px;padding-bottom:150px}
  .hero-title-wrap{min-height:230px;margin-top:8px}
  .hero-title-wrap h1{font-size:clamp(46px,13vw,68px);max-width:7.4ch}
  .hero-product-home{width:145px;height:210px;top:52%}
  .hero-script{font-size:clamp(38px,11vw,54px);margin-top:-8px}
  .hero-copy .pe-lead{font-size:14px;line-height:1.48;margin-top:14px;max-width:92%}
  .hero-copy__actions{margin-top:16px;gap:8px}
  .hero-copy__actions .pe-btn{min-height:44px;padding:0 16px;font-size:10px}
  .hero-nav-row{bottom:18px}
  .hero-arrow{width:46px;height:46px}
  .hero-slide-label{font-size:10px;gap:8px;max-width:55%;text-align:right}
  .fan-layer{top:7vh}
  .fan-layer__head h2{font-size:32px}
  .fan-layer__head p{font-size:13px}
  .fan-wrap{bottom:7vh}

  .route-intro,.editorial-flow,.support-strip,.visit-path,.testimonials-section,.faq-section,.locator-section{padding:64px 0}
  .editorial-split{grid-template-columns:1fr;border-radius:24px}
  .editorial-split__media,.editorial-split__copy{min-height:auto}
  .editorial-split__media{height:300px}
  .editorial-split--media-left .editorial-split__media{order:1;border-radius:0}
  .editorial-split--media-left .editorial-split__copy{order:2;border-radius:0}
  .editorial-split--media-right .editorial-split__copy{order:1;border-radius:0}
  .editorial-split--media-right .editorial-split__media{order:2;border-radius:0}
  .editorial-split__copy{padding:30px 24px}
  .editorial-split__copy h2{font-size:40px;max-width:none}
  .support-strip__media{height:260px}

  /* timeline se vuelve vertical en mobile */
  .visit-path__head{text-align:left;margin-bottom:34px}
  .visit-timeline{display:grid;grid-template-columns:1fr;gap:0;padding-left:26px}
  .visit-timeline__line{left:20px;right:auto;top:21px;bottom:21px;width:2px;height:auto}
  .visit-timeline__step{text-align:left;padding:0 0 28px 38px}
  .visit-timeline__dot{position:absolute;left:-27px;top:0;margin:0;width:42px;height:42px;box-shadow:0 0 0 7px #fff}
  .visit-timeline__step h3{font-size:23px;padding-top:7px}
  .visit-timeline__step p{font-size:14px}

  .testimonial-video__media{height:360px}
  .metric-strip{border-radius:16px}
  .cta-banner,.cta-banner__content{min-height:350px}
  .cta-banner__content{padding:28px 18px}
  .cta-banner__content h2{font-size:40px}
  .cta-banner__actions{gap:8px}
  .cta-banner__actions .pe-btn{min-height:42px;padding:0 14px;font-size:9px}
  .locator-section{padding-top:62px}
  .locator-shell{border-radius:18px}
  .locator-panel{padding:18px}
  .locator-map{min-height:330px}
}

@media(max-width:430px){
  .hero-title-wrap{min-height:205px}
  .hero-title-wrap h1{font-size:44px}
  .hero-product-home{width:125px;height:190px}
  .hero-script{font-size:40px}
  .hero-copy .pe-lead{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .hero-slide-label strong{display:none}
  .testimonial-video__media{height:300px}
}


/* ============================================================
   V4 — AUTO HERO + REAL MAP + CLEAN FAN LABEL
   ============================================================ */
.pe-logo img{
  width:282px !important;
  max-width:100% !important;
  height:auto !important;
}

/* Slider is automatic: no arrow UI. */
.hero-arrows,
.hero-arrow{display:none !important;}
.hero-nav-row{
  z-index:60 !important;
  justify-content:flex-end !important;
  pointer-events:none !important;
}
.hero-slide-label{
  position:relative !important;
  z-index:70 !important;
  padding:10px 16px !important;
  border:1px solid rgba(31,51,99,.12) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.88) !important;
  -webkit-backdrop-filter:blur(12px) !important;
  backdrop-filter:blur(12px) !important;
  box-shadow:0 10px 30px rgba(31,51,99,.08) !important;
}
.hero-slide-label strong,
.hero-slide-label span{
  position:relative !important;
  z-index:72 !important;
  white-space:nowrap !important;
}

/* The active bottle remains visually above H1/fan while travelling. */
.hero-product-home{z-index:22 !important;}
.hero-product-mover{z-index:24 !important;}
.hero-product-mover img{
  position:relative !important;
  z-index:25 !important;
}
.fan-wrap{z-index:12 !important;}
.fan-layer{z-index:10 !important;}

/* Real live map. */
.locator-map{
  position:relative !important;
  min-height:560px !important;
  background:#e8eef4 !important;
}
.locator-map iframe{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:560px !important;
  border:0 !important;
}
.location-item{
  cursor:pointer !important;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease !important;
}
.location-item:hover,
.location-item:focus-visible{
  transform:translateY(-2px) !important;
  outline:none !important;
  border-color:rgba(31,51,99,.28) !important;
  box-shadow:0 12px 30px rgba(31,51,99,.08) !important;
}
.location-item.is-active{
  background:rgba(0,130,202,.055) !important;
  border-color:rgba(0,130,202,.28) !important;
}

/* In fan view the product name must stay clearly in front. */
@media(min-width:781px){
  .hero-nav-row{bottom:26px !important;}
}

@media(max-width:780px){
  .pe-logo img{
    width:220px !important;
    max-width:68vw !important;
  }
  .hero-nav-row{
    left:12px !important;
    right:12px !important;
    bottom:14px !important;
  }
  .hero-slide-label{
    max-width:none !important;
    padding:8px 12px !important;
    font-size:9px !important;
  }
  .hero-slide-label strong{display:inline !important;}
  .locator-map,
  .locator-map iframe{
    min-height:380px !important;
  }
}

@media(max-width:480px){
  .pe-logo img{width:188px !important;}
  .hero-slide-label{
    gap:7px !important;
    font-size:8px !important;
  }
  .locator-map,
  .locator-map iframe{min-height:330px !important;}
}


/* =========================================================
   V5 — Hero refinado tipo slider editorial
   ========================================================= */

/* Producto sobre el H1, pero subheader + CTAs siempre delante del producto. */
.hero-title-wrap{isolation:isolate !important;}
.hero-title-wrap h1{z-index:1 !important;}
.hero-product-home{
  z-index:8 !important;
  width:clamp(190px,19vw,285px) !important;
  height:clamp(245px,32vh,350px) !important;
}
.hero-product-mover{z-index:9 !important;}
.hero-product-mover img{
  position:relative !important;
  z-index:9 !important;
  max-height:310px !important;
  max-width:250px !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  transition:opacity .32s ease, transform .56s cubic-bezier(.22,.8,.2,1), filter .3s ease !important;
  animation:peHeroFloat 4.8s ease-in-out infinite !important;
}
.hero-script,
.hero-copy .pe-lead,
.hero-copy__actions{
  z-index:30 !important;
}
.hero-copy .pe-lead,
.hero-copy__actions{
  position:relative !important;
}
.hero-copy .pe-lead{
  max-width:690px !important;
  text-wrap:balance;
}
.hero-copy__actions{
  background:transparent !important;
}

/* Transición horizontal izquierda -> derecha. */
.hero-product-mover.pe-slide-out{
  transform:translate3d(72px,0,0) scale(.94) !important;
  opacity:0 !important;
}
.hero-product-mover.pe-slide-in{
  animation:peSlideIn .62s cubic-bezier(.16,.84,.24,1) both !important;
}
.hero-copy.pe-copy-shift{
  animation:peCopyShift .52s cubic-bezier(.16,.84,.24,1) both !important;
}
@keyframes peSlideIn{
  0%{opacity:0;transform:translate3d(-84px,0,0) scale(.94)}
  100%{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@keyframes peCopyShift{
  0%{opacity:.45;transform:translateX(-26px)}
  100%{opacity:1;transform:translateX(0)}
}
@keyframes peHeroFloat{
  0%,100%{translate:0 0}
  50%{translate:0 -8px}
}

/* Abanico más limpio y equilibrado. */
.fan-layer__head{
  align-items:flex-start !important;
}
.fan-layer__head > div{max-width:760px;}
.fan-layer__head p{display:none !important;}
.fan-bottle img{
  object-fit:contain !important;
  object-position:bottom center !important;
}
.hero-slide-label{
  z-index:80 !important;
  background:rgba(255,255,255,.88) !important;
  backdrop-filter:blur(12px) !important;
  border:1px solid rgba(31,51,99,.11) !important;
  border-radius:999px !important;
  padding:10px 16px !important;
  box-shadow:0 10px 24px rgba(31,51,99,.08) !important;
}

/* CTA Tu punto ideal: background cover real + parallax controlado. */
.cta-banner{
  position:relative !important;
  min-height:440px !important;
  background-image:url('../assets/img/cta-tu-punto-ideal.png') !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-position:center var(--cta-bg-y,50%) !important;
  will-change:background-position !important;
}
.cta-banner>img{display:none !important;}
.cta-banner__overlay{
  background:linear-gradient(90deg,rgba(31,51,99,.18),rgba(31,51,99,.11),rgba(31,51,99,.18)) !important;
}
.cta-banner__content{
  min-height:440px !important;
  width:100% !important;
  max-width:860px !important;
  margin:0 auto !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}
.cta-banner__content h2{max-width:720px !important;}

@media(max-width:780px){
  .hero-product-home{
    width:150px !important;
    height:220px !important;
  }
  .hero-product-mover img{
    max-height:205px !important;
    max-width:150px !important;
  }
  .hero-copy .pe-lead{max-width:92% !important;}
  .hero-copy__actions{z-index:32 !important;}
  .cta-banner{
    min-height:390px !important;
    background-position:center var(--cta-bg-y,50%) !important;
  }
  .cta-banner__content{min-height:390px !important;}
}

/* =========================================================
   V2 — HERO VIDEO EDITORIAL
   Único cambio de diseño respecto a V1.
   ========================================================= */
.hero-video{
  position:relative;
  min-height:clamp(620px,calc(100svh - 84px),860px);
  overflow:hidden;
  background:#080d18;
  isolation:isolate;
}
.hero-video__media{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.hero-video__veil{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,
      rgba(5,10,20,.88) 0%,
      rgba(5,10,20,.76) 25%,
      rgba(5,10,20,.36) 47%,
      rgba(5,10,20,.06) 67%,
      rgba(5,10,20,.02) 100%),
    linear-gradient(180deg,rgba(5,10,20,.12),rgba(5,10,20,.18));
  pointer-events:none;
}
.hero-video__inner{
  position:relative;
  z-index:2;
  min-height:inherit;
  display:flex;
  align-items:center;
  padding-block:clamp(64px,8vh,104px);
}
.hero-video__content{
  width:min(540px,47vw);
  color:#fff;
  transform:translateY(-1%);
}
.hero-video__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  font-family:'Ysabeau SC',sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.84);
}
.hero-video__eyebrow::before{
  content:'';
  width:28px;
  height:1px;
  background:rgba(255,255,255,.74);
}
.hero-video h1{
  margin:0;
  max-width:8.6ch;
  color:#fff;
  font-family:'Ysabeau SC',sans-serif;
  font-size:clamp(58px,5.8vw,94px);
  font-weight:780;
  line-height:.84;
  letter-spacing:-.045em;
  text-transform:uppercase;
  text-wrap:balance;
  text-shadow:0 6px 28px rgba(0,0,0,.16);
}
.hero-video h1 .pe-script{
  display:block;
  margin-top:.04em;
  color:#fff;
  font-family:'Dark Twenty',cursive;
  font-size:.78em;
  font-weight:400;
  line-height:.72;
  letter-spacing:0;
  text-transform:lowercase;
}
.hero-video__content p{
  width:min(500px,100%);
  margin:24px 0 0;
  color:rgba(255,255,255,.86);
  font-family:'DM Sans',sans-serif;
  font-size:clamp(14px,1.05vw,16px);
  line-height:1.58;
  text-shadow:0 3px 16px rgba(0,0,0,.18);
}
.hero-video__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}
.hero-video__btn{
  min-height:48px;
  padding-inline:22px;
  font-size:11px;
}
.hero-video__btn--light{
  background:#fff;
  border-color:#fff;
  color:var(--pe-blue);
}
.hero-video__btn--light:hover{
  background:var(--pe-red);
  border-color:var(--pe-red);
  color:#fff;
}
.hero-video__btn--ghost{
  background:rgba(11,18,33,.26);
  border-color:rgba(255,255,255,.58);
  color:#fff;
  backdrop-filter:blur(8px);
}
.hero-video__btn--ghost:hover{
  background:rgba(255,255,255,.13);
  border-color:#fff;
}

@media(max-width:980px){
  .hero-video{
    min-height:720px;
  }
  .hero-video__media{
    object-position:58% center;
  }
  .hero-video__veil{
    background:
      linear-gradient(90deg,rgba(5,10,20,.82) 0%,rgba(5,10,20,.68) 38%,rgba(5,10,20,.16) 76%,rgba(5,10,20,.04) 100%),
      linear-gradient(180deg,rgba(5,10,20,.08),rgba(5,10,20,.2));
  }
  .hero-video__content{
    width:min(520px,58vw);
  }
}

@media(max-width:760px){
  .hero-video{
    min-height:calc(100svh - 74px);
    max-height:none;
  }
  .hero-video__media{
    object-position:62% center;
  }
  .hero-video__veil{
    background:
      linear-gradient(180deg,
        rgba(5,10,20,.18) 0%,
        rgba(5,10,20,.12) 34%,
        rgba(5,10,20,.64) 65%,
        rgba(5,10,20,.92) 100%);
  }
  .hero-video__inner{
    align-items:flex-end;
    padding-top:80px;
    padding-bottom:42px;
  }
  .hero-video__content{
    width:100%;
    transform:none;
  }
  .hero-video__eyebrow{
    margin-bottom:14px;
    font-size:9px;
  }
  .hero-video h1{
    max-width:7.5ch;
    font-size:clamp(48px,14vw,70px);
  }
  .hero-video h1 .pe-script{
    font-size:.82em;
  }
  .hero-video__content p{
    max-width:520px;
    margin-top:18px;
    font-size:14px;
    line-height:1.5;
  }
  .hero-video__actions{
    margin-top:22px;
  }
}

@media(max-width:470px){
  .hero-video__media{
    object-position:64% center;
  }
  .hero-video h1{
    font-size:46px;
  }
  .hero-video__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .hero-video__btn{
    min-height:44px;
    padding-inline:12px;
    font-size:9px;
  }
}


/* V2 fix: colección completa debajo del hero en video */
.collection-preview{
  padding: 34px 0 18px;
  background: var(--surface, #F7F6F3);
  overflow: hidden;
}
.collection-preview__wrap{display:grid;gap:22px}
.collection-preview__head{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.collection-preview__head h2{
  max-width: 620px;
  margin:0;
}
.collection-preview__fan{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:16px;
  overflow:hidden;
  padding: 20px 8px 0;
}
.collection-preview__fan img{
  display:block;
  width:auto;
  height: clamp(76px, 11vw, 210px);
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(31,51,99,.12));
  transform-origin: bottom center;
}
.collection-preview__fan img:nth-child(odd){transform: rotate(-7deg)}
.collection-preview__fan img:nth-child(even){transform: rotate(6deg)}
@media (max-width: 1024px){
  .collection-preview__fan{gap:10px; justify-content:flex-start; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x proximity}
  .collection-preview__fan img{height:140px; flex:0 0 auto; scroll-snap-align:center}
}
@media (max-width: 767px){
  .collection-preview{padding: 24px 0 10px}
  .collection-preview__head h2{max-width: 100%}
  .collection-preview__fan img{height:110px}
}


/* V2 fix 2: carrusel automático de colección completa */
.collection-preview{
  padding: 34px 0 18px;
  background: var(--surface, #F7F6F3);
  overflow: hidden;
}
.collection-preview__wrap{display:grid;gap:22px}
.collection-preview__head{display:flex;flex-direction:column;gap:10px}
.collection-preview__head h2{max-width: 620px;margin:0}
.collection-preview__carousel{
  position:relative;
  overflow:hidden;
  width:100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 5%, black 95%, transparent 100%);
}
.collection-preview__track{
  display:flex;
  align-items:flex-end;
  width:max-content;
  gap:18px;
  will-change: transform;
  animation: peCollectionMarquee 66s linear infinite;
  padding: 18px 0 8px;
}
.collection-preview__carousel:hover .collection-preview__track{animation-play-state:paused}
.collection-preview__item{
  flex:0 0 auto;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.collection-preview__item img{
  display:block;
  width:auto;
  height: clamp(78px, 10vw, 168px);
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(31,51,99,.12));
  transform-origin: bottom center;
}
.collection-preview__item:nth-child(6n+1) img{transform:rotate(-7deg)}
.collection-preview__item:nth-child(6n+2) img{transform:rotate(5deg)}
.collection-preview__item:nth-child(6n+3) img{transform:rotate(-3deg)}
.collection-preview__item:nth-child(6n+4) img{transform:rotate(4deg)}
.collection-preview__item:nth-child(6n+5) img{transform:rotate(-5deg)}
.collection-preview__item:nth-child(6n) img{transform:rotate(2deg)}
@keyframes peCollectionMarquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (max-width: 1024px){
  .collection-preview__track{gap:12px; animation-duration: 54s; padding-top:12px}
  .collection-preview__item img{height:136px}
}
@media (max-width: 767px){
  .collection-preview{padding: 24px 0 10px}
  .collection-preview__head h2{max-width: 100%}
  .collection-preview__track{gap:10px; animation-duration: 44s; -webkit-mask-image:none; mask-image:none}
  .collection-preview__item img{height:106px}
}
