/* Referencia aprobada: estilos exclusivos de Inicio. */
.reference-page{--ink:#203e36;--paper:#fcf9f5;--pink:#dc3977;background:var(--paper);color:var(--ink);font-family:'Trebuchet MS',Arial,sans-serif}
.reference-page header{border:0;max-width:1280px;padding:20px 64px 0;align-items:flex-start;min-height:166px}
.reference-page .reference-brand{display:block;position:relative;text-decoration:none;color:var(--ink);width:205px;flex-shrink:0;line-height:.84;padding:0 0 22px;font-style:normal}
.reference-brand span:first-child{display:block;font-family:'Arial Black',Arial,sans-serif;font-weight:900;font-size:80px;letter-spacing:-5px}
.reference-brand span:last-child{display:block;font-family:Arial,sans-serif;font-weight:700;font-size:31px;letter-spacing:7px;margin-top:8px}
.reference-brand::after{content:"";position:absolute;bottom:3px;left:0;width:183px;height:8px;background:#ed8d9d;border-radius:80% 70% 0 50%;transform:rotate(-1deg)}
.reference-page header nav{padding-top:17px;gap:42px;justify-content:flex-end;flex:1;font-size:18px;font-style:italic;font-weight:700;flex-wrap:wrap;line-height:1.3}
.reference-page header nav a{text-decoration:none}
.reference-page header nav a:hover,.reference-page header nav a:focus-visible{text-decoration:underline;text-decoration-color:var(--pink)}
.reference-page main{position:relative;isolation:isolate;overflow:clip;max-width:1280px;margin:0 auto;padding:0 48px 0;min-height:0}
.reference-page main::before,.reference-page main::after{content:none}
.reference-page .reference-hero{position:relative;display:block;min-height:530px;margin:0 0 30px;gap:0;isolation:isolate}
.reference-copy{position:relative;padding-top:67px;z-index:1;max-width:570px}
.reference-page .hero h1{font-size:clamp(50px,6vw,80px);line-height:.96;font-style:italic;font-weight:900;letter-spacing:-4px;margin:0 0 40px;position:relative;max-width:570px}
.reference-page .hero h1::after{content:"";position:absolute;bottom:-20px;left:40px;width:82%;height:11px;background:var(--pink);border-radius:80% 90% 0 55%;transform:rotate(-1deg)}
.reference-page .hero .reference-subtitle{font-size:40px;font-style:italic;line-height:1.25;color:#303b36;margin:0 0 35px;max-width:none}
.reference-page .reference-cta{font:italic 700 24px/1.2 'Trebuchet MS',Arial,sans-serif;padding:17px 35px;border-radius:50px;background:var(--pink);border:0;color:#fff;text-decoration:none}
.reference-page .reference-cta span{margin-left:12px}
.reference-hero-media{position:absolute;z-index:-1;top:-65px;right:-160px;width:830px;height:600px;background:#cbd3a4;border-radius:45% 50% 35% 40% / 32% 43% 40% 58%}
/* Fotografía principal independiente con transparencia. */
.reference-hero::after{content:"";position:absolute;z-index:0;left:-8%;right:-8%;bottom:-20px;height:90px;background:var(--paper);border-radius:50% 45% 0 0 / 65% 80% 0 0;transform:rotate(-2deg);pointer-events:none}
.reference-page .category-grid{position:relative;z-index:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:end;margin:0 -22px 0;padding:0;scroll-margin-top:20px}
.reference-page .category-grid .category-link[data-category]{margin:0;width:100%;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
.reference-page .category-window{--window-radius:22% 26% 9% 10% / 32% 35% 12% 14%;position:relative;isolation:isolate;display:block;width:100%;aspect-ratio:3/2;overflow:hidden;background:transparent;border-radius:var(--window-radius);clip-path:inset(0 round var(--window-radius))}
.reference-page .category-window-2{--window-radius:24% 20% 10% 9% / 32% 30% 14% 12%}
.reference-page .category-window-3{--window-radius:28% 18% 9% 10% / 35% 28% 12% 14%}
.reference-page .category-window-4{--window-radius:12% 14% 9% 10% / 18% 20% 12% 14%}
.reference-page .category-grid .category-window .category-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center;margin:0;padding:0;max-width:none}
.reference-page .category-name{position:relative;margin:-7px 7px 0;padding:16px 12px;justify-content:center;gap:14px;background:#adb783;border:3px solid var(--paper);border-radius:52% 45% 35% 35% / 45% 40% 50% 45%;color:var(--ink);font-size:34px;font-style:italic;line-height:1.1;letter-spacing:-1px;white-space:nowrap}
.reference-page .category-name span{font-size:28px;font-weight:400}
.reference-page [data-category="Aventura"] .category-name{background:#d9b445}
.reference-page [data-category="Evento"] .category-name{background:#e998a7}
.reference-page [data-category="Familia"] .category-name{background:#ba93cf}
.reference-page .reference-closing{position:relative;text-align:center;min-height:245px;padding:34px 0 55px;z-index:1}
.reference-closing h2{font-size:53px;line-height:1.08;font-style:italic;font-weight:900;letter-spacing:-2px;margin:16px 0 0}
.reference-closing h2 span{color:#b32e63}
.reference-closing strong{position:relative;display:inline-block;color:var(--pink);font-size:66px;font-weight:900}
.reference-waves{position:absolute;bottom:0;left:0;width:100%;height:180px;z-index:0;pointer-events:none}
.reference-page footer{border-top:0;max-width:1280px;background:var(--paper);padding:26px 48px;font-size:12px}
.reference-page footer nav{margin:18px 0;gap:20px}
.reference-page main>.reference-hero,.reference-page main>.category-grid,.reference-page main>.reference-closing{animation:none}
@media(prefers-reduced-motion:no-preference){.reference-page .reference-copy{animation:section-enter 440ms ease-out backwards}}
@media(max-width:1000px){.reference-page header{padding:22px 36px 0;gap:35px}.reference-page header nav{gap:24px;font-size:16px}.reference-page .hero h1{font-size:64px;max-width:460px}.reference-page .hero .reference-subtitle{font-size:32px}.reference-page .category-name{font-size:27px;padding:15px 8px;gap:8px}.reference-page .category-name span{font-size:23px}}
@media(max-width:800px){.reference-page header{flex-direction:row;min-height:150px;align-items:flex-start;padding:22px 24px 10px;gap:25px}.reference-page .reference-brand{width:150px}.reference-brand span:first-child{font-size:59px;letter-spacing:-4px}.reference-brand span:last-child{font-size:23px;letter-spacing:5px}.reference-brand::after{width:138px;height:6px}.reference-page header nav{justify-content:flex-start;gap:16px 20px;padding-top:6px;line-height:1.4}.reference-page main{padding:0 24px}.reference-page .reference-hero{min-height:440px;margin-bottom:30px}.reference-copy{padding-top:50px}.reference-page .hero h1{font-size:60px;max-width:470px}.reference-hero-media{width:560px;height:470px;right:-200px;top:-20px;opacity:.7}.reference-page .category-grid{margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 20px}.reference-page .category-name{font-size:30px}.reference-closing h2{font-size:40px}.reference-closing strong{font-size:50px}.reference-page .reference-closing{padding:35px 0 65px}.reference-page footer{padding:25px 24px}}
@media(max-width:480px){.reference-page header{flex-direction:column;gap:14px;min-height:0;padding-bottom:16px}.reference-page header nav{font-size:15px;gap:12px 22px;padding:0}.reference-page .reference-hero{min-height:370px;margin-bottom:40px}.reference-copy{padding-top:35px}.reference-page .hero h1{font-size:45px;letter-spacing:-2.5px;margin-bottom:35px}.reference-page .hero h1::after{left:12px;height:7px;width:85%;bottom:-16px}.reference-page .hero .reference-subtitle{font-size:27px;margin-bottom:30px}.reference-page .reference-cta{font-size:20px;padding:16px 25px}.reference-hero-media{top:30px;right:-175px;width:380px;height:360px;opacity:.45}.reference-page .category-grid{gap:22px 12px}.reference-page .category-name{font-size:22px;padding:12px 4px;margin:-5px -2px 0;gap:7px;border-width:2px}.reference-page .category-name span{font-size:20px}.reference-page .category-window{aspect-ratio:3/2}.reference-closing h2{font-size:29px;letter-spacing:-1px}.reference-closing strong{font-size:41px}.reference-page .reference-closing{min-height:210px;padding-bottom:40px}.reference-waves{height:120px}}
/* Ajuste exclusivo de Inicio en pantallas estrechas: evita una letra aislada. */
@media(max-width:350px){.home-page .hero h1{font-size:42px}}
/* Alineación de la referencia: navegación tras el logo y forma sin corte superior. */
.reference-page{overflow-x:clip}
.reference-page .reference-header{position:relative;z-index:2}
.reference-page .reference-header nav{justify-content:flex-start;padding-left:25px}
.reference-page main:has(>.hero){overflow:visible}
.reference-page .reference-hero-media{border-radius:48% 52% 42% 45% / 35% 39% 48% 58%}
@media(max-width:800px){.reference-page .reference-header nav{padding-left:0}}
.reference-page main:has(>.hero){overflow:visible;clip-path:inset(-100vmax min(0px,calc((1280px - 100vw)/2)))}
.reference-page .reference-hero-media{right:-48px;width:min(70vw,830px)}
.reference-page .reference-hero::after{left:-48px;right:-48px;transform:none}
@media(max-width:800px){.reference-page .reference-hero-media{right:-24px;width:560px}.reference-page .reference-hero::after{left:-24px;right:-24px}}
@media(max-width:480px){.reference-page .reference-hero-media{right:-24px;width:380px}}

/* Únicamente fotografía principal: el resto del diseño se conserva. */
.reference-page .reference-hero-photo{position:absolute;z-index:0;top:-70px;right:-40px;display:block;width:min(72vw,900px);height:auto;max-width:none;object-fit:contain;pointer-events:none}
@media(max-width:800px){
 .reference-page .reference-hero{display:flex;flex-direction:column;min-height:0}
 .reference-page .reference-hero-photo{position:relative;top:auto;right:auto;order:2;width:100%;max-width:620px;align-self:center;flex-shrink:0;margin-top:24px}
 .reference-page .reference-hero-media{top:auto;bottom:0;right:-24px;width:90%;height:clamp(220px,50vw,400px);opacity:1}
}

/* Sustitución exclusiva del logotipo, sin subrayado tipográfico anterior. */
.reference-page .reference-brand{padding:0;line-height:0}
.reference-page .reference-brand::after{content:none}
@media(max-width:800px){.reference-page .reference-brand{width:180px}}

/* Etapa 1: composición de portada, sin alterar las tarjetas siguientes. */
.reference-page .reference-hero-media{top:-65px;right:-90px;width:min(55vw,700px);height:590px;border-radius:45% 55% 32% 42% / 30% 35% 45% 55%}
.reference-page .reference-hero-photo{top:-70px;right:-60px;width:min(75vw,940px)}
.reference-page .reference-hero::after{z-index:1;bottom:-20px;height:130px;border-radius:0;background:transparent url("/images/hero/onda-crema.svg") center/100% 100% no-repeat}
@media(max-width:800px){
 .reference-page .reference-hero{padding-bottom:70px}
 .reference-page .reference-hero-photo{top:auto;right:auto;width:100%;margin-top:24px}
 .reference-page .reference-hero-media{top:auto;bottom:70px;right:-24px;width:85%;height:clamp(210px,48vw,380px)}
 .reference-page .reference-hero::after{bottom:50px;height:65px}
}
/* La foto alcanza 940 px en pantallas amplias: prolongar solo la cubierta
   inferior, manteniendo la curva original de 130 px en la misma posición. */
@media(min-width:801px){
 .reference-page .reference-hero::after{right:-60px;bottom:-60px;height:170px;background-image:url("/images/hero/onda-crema.svg"),linear-gradient(var(--paper),var(--paper)),linear-gradient(var(--paper),var(--paper));background-size:calc(100% - 12px) 130px,100% 42px,12px 100%;background-position:left top,left bottom,right top;background-repeat:no-repeat}
}

/* Etapa A.1: cierre de Inicio y ondas contenidas en su propia sección. */
.reference-page .reference-closing{isolation:isolate;min-height:230px;padding:36px 0 48px}
.reference-page .reference-closing h2{position:relative;font-size:56px;line-height:1.04;margin:16px auto 0;letter-spacing:-2px}
.reference-page .reference-closing strong{font-size:68px}
.reference-page .reference-closing .reference-waves{z-index:-1;height:180px;left:-48px;width:calc(100% + 96px)}
@media(max-width:800px){
 .reference-page .reference-closing{padding:30px 0 44px;min-height:210px}
 .reference-page .reference-closing h2{font-size:40px;letter-spacing:-1px}
 .reference-page .reference-closing strong{font-size:52px}
 .reference-page .reference-closing .reference-waves{left:-24px;width:calc(100% + 48px);height:140px}
}
@media(max-width:480px){
 .reference-page .reference-closing{min-height:200px;padding:28px 0 46px}
 .reference-page .reference-closing h2{font-size:30px}
 .reference-page .reference-closing strong{font-size:43px}
 .reference-page .reference-closing .reference-waves{height:110px}
}

/* Footer de Inicio: conserva el fondo crema y la decoración independiente. */
.reference-page .organic-footer-surface{position:relative;isolation:isolate}
.reference-page .organic-footer-surface footer.site-footer{background:transparent}

/* Fondo celeste continuo, dentro de los límites horizontales aprobados. */
.reference-page{position:relative;isolation:isolate}
/* Capa 1: crema aprobado, inmóvil y con cobertura completa. */
.reference-page .home-static-background{position:fixed;inset:0;background:var(--paper);z-index:-2;pointer-events:none;animation:none;transform:none}
/* Capa 2: transparente; solo sus figuras individuales se animan. */
.reference-page .home-pastel-background{position:fixed;inset:0;z-index:-1;overflow:clip;pointer-events:none;user-select:none;color:#a7d9e8}
.reference-page .background-motif{position:absolute;width:clamp(26px,3.2vw,50px);height:clamp(26px,3.2vw,50px);fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.72;pointer-events:none}
.reference-page .background-motif:nth-child(3n){width:clamp(18px,2vw,30px);height:clamp(18px,2vw,30px);opacity:.5}
.reference-page .background-motif:nth-child(4n){opacity:.78}
.reference-page .motif-4{fill:currentColor;fill-opacity:.35;stroke-width:1}
@media(prefers-reduced-motion:no-preference){
 @keyframes pastel-float{from{transform:translateY(-3px)}to{transform:translateY(3px)}}
 .reference-page .background-motif{animation:pastel-float 9s -1s ease-in-out infinite alternate}
 .reference-page .background-motif:nth-child(3n+1){animation:pastel-float 8s -2s ease-in-out infinite alternate}
 .reference-page .background-motif:nth-child(3n+2){animation:pastel-float 11s -6s ease-in-out infinite alternate-reverse}
 .reference-page .background-motif:nth-child(7n){animation-duration:7s;animation-delay:-4s}
 .reference-page .background-motif:nth-child(8n){animation-duration:12s;animation-delay:-8s}
 .reference-page .background-motif:nth-child(n){animation-duration:var(--float-duration);animation-delay:var(--float-delay)}
 .reference-page .category-link{transition:transform 240ms ease-out,box-shadow 240ms ease-out}
 .reference-page .reference-cta{transition:transform 220ms ease-out,box-shadow 220ms ease-out}
 @supports(animation-timeline:view()){
  .reference-page .category-link{animation:category-arrive linear both;animation-timeline:view();animation-range:entry 0% entry 90%}
  @keyframes category-arrive{from{opacity:.92;translate:0 6px}to{opacity:1;translate:0 0}}
 }
}
/* El hover existente eleva la tarjeta, sin ampliar la fotografía. */
.reference-page .category-link:hover .category-image,.reference-page .category-link:focus-visible .category-image{transform:none}
.reference-page .background-motif:nth-child(1){left:2%;top:2%;--float-duration:8.7s;--float-delay:-2.3s;}
.reference-page .background-motif:nth-child(2){left:43%;top:6%;--float-duration:10.4s;--float-delay:-4.6s;}
.reference-page .background-motif:nth-child(3){left:95%;top:3%;--float-duration:7.0s;--float-delay:-6.9s;}
.reference-page .background-motif:nth-child(4){left:95%;top:9%;--float-duration:8.7s;--float-delay:-9.2s;}
.reference-page .background-motif:nth-child(5){left:1%;top:12%;--float-duration:10.4s;--float-delay:-11.5s;}
.reference-page .background-motif:nth-child(6){left:29%;top:12%;--float-duration:7.0s;--float-delay:-1.9s;}
.reference-page .background-motif:nth-child(7){left:55%;top:7%;--float-duration:8.7s;--float-delay:-4.2s;}
.reference-page .background-motif:nth-child(8){left:97%;top:18%;--float-duration:10.4s;--float-delay:-6.5s;}
.reference-page .background-motif:nth-child(9){left:3%;top:22%;--float-duration:7.0s;--float-delay:-8.8s;}
.reference-page .background-motif:nth-child(10){left:39%;top:20%;--float-duration:8.7s;--float-delay:-11.1s;}
.reference-page .background-motif:nth-child(11){left:4%;top:27%;--float-duration:10.4s;--float-delay:-1.5s;}
.reference-page .background-motif:nth-child(12){left:26%;top:29%;--float-duration:7.0s;--float-delay:-3.8s;}
.reference-page .background-motif:nth-child(13){left:96%;top:29%;--float-duration:8.7s;--float-delay:-6.1s;}
.reference-page .background-motif:nth-child(14){left:95%;top:31%;--float-duration:10.4s;--float-delay:-8.4s;}
.reference-page .background-motif:nth-child(15){left:49%;top:33%;--float-duration:7.0s;--float-delay:-10.7s;}
.reference-page .background-motif:nth-child(16){left:2%;top:39%;--float-duration:8.7s;--float-delay:-1.1s;}
.reference-page .background-motif:nth-child(17){left:34%;top:40%;--float-duration:10.4s;--float-delay:-3.4s;}
.reference-page .background-motif:nth-child(18){left:60%;top:43%;--float-duration:7.0s;--float-delay:-5.7s;}
.reference-page .background-motif:nth-child(19){left:97%;top:40%;--float-duration:8.7s;--float-delay:-8.0s;}
.reference-page .background-motif:nth-child(20){left:1%;top:47%;--float-duration:10.4s;--float-delay:-10.3s;}
.reference-page .background-motif:nth-child(21){left:96%;top:50%;--float-duration:7.0s;--float-delay:-0.7s;}
.reference-page .background-motif:nth-child(22){left:46%;top:49%;--float-duration:8.7s;--float-delay:-3.0s;}
.reference-page .background-motif:nth-child(23){left:73%;top:51%;--float-duration:10.4s;--float-delay:-5.3s;}
.reference-page .background-motif:nth-child(24){left:97%;top:56%;--float-duration:7.0s;--float-delay:-7.6s;}
.reference-page .background-motif:nth-child(25){left:2%;top:64%;--float-duration:8.7s;--float-delay:-9.9s;}
.reference-page .background-motif:nth-child(26){left:37%;top:65%;--float-duration:10.4s;--float-delay:-0.3s;}
.reference-page .background-motif:nth-child(27){left:63%;top:64%;--float-duration:7.0s;--float-delay:-2.6s;}
.reference-page .background-motif:nth-child(28){left:96%;top:65%;--float-duration:8.7s;--float-delay:-4.9s;}
.reference-page .background-motif:nth-child(29){left:1%;top:73%;--float-duration:10.4s;--float-delay:-7.2s;}
.reference-page .background-motif:nth-child(30){left:52%;top:67%;--float-duration:7.0s;--float-delay:-9.5s;}
.reference-page .background-motif:nth-child(31){left:24%;top:70%;--float-duration:8.7s;--float-delay:-11.8s;}
.reference-page .background-motif:nth-child(32){left:97%;top:78%;--float-duration:10.4s;--float-delay:-2.2s;}
.reference-page .background-motif:nth-child(33){left:47%;top:77%;--float-duration:7.0s;--float-delay:-4.5s;}
.reference-page .background-motif:nth-child(34){left:57%;top:80%;--float-duration:8.7s;--float-delay:-6.8s;}
.reference-page .background-motif:nth-child(35){left:2%;top:85%;--float-duration:10.4s;--float-delay:-9.1s;}
.reference-page .background-motif:nth-child(36){left:96%;top:88%;--float-duration:7.0s;--float-delay:-11.4s;}
.reference-page .background-motif:nth-child(37){left:44%;top:92%;--float-duration:8.7s;--float-delay:-1.8s;}
.reference-page .background-motif:nth-child(38){left:55%;top:96%;--float-duration:10.4s;--float-delay:-4.1s;}
.reference-page .background-motif:nth-child(39){left:97%;top:96%;--float-duration:7.0s;--float-delay:-6.4s;}
.reference-page .background-motif:nth-child(40){left:2%;top:96%;--float-duration:8.7s;--float-delay:-8.7s;}
@media(max-width:480px){
 .reference-page .background-motif{width:25px;height:25px;stroke-width:1.4;opacity:.45}
 .reference-page .background-motif:nth-child(3n){width:18px;height:18px}
 .reference-page .background-motif:nth-child(5n){opacity:.3}
}
.reference-page .background-motif:nth-child(41){left:4%;top:5%;--float-duration:10.4s;--float-delay:-11.0s;}
.reference-page .background-motif:nth-child(42){left:62%;top:4%;--float-duration:7.0s;--float-delay:-1.4s;}
.reference-page .background-motif:nth-child(43){left:22%;top:8%;--float-duration:8.7s;--float-delay:-3.7s;}
.reference-page .background-motif:nth-child(44){left:36%;top:14%;--float-duration:10.4s;--float-delay:-6.0s;}
.reference-page .background-motif:nth-child(45){left:2%;top:22%;--float-duration:7.0s;--float-delay:-8.3s;}
.reference-page .background-motif:nth-child(46){left:22%;top:24%;--float-duration:8.7s;--float-delay:-10.6s;}
.reference-page .background-motif:nth-child(47){left:5%;top:34%;--float-duration:10.4s;--float-delay:-1.0s;}
.reference-page .background-motif:nth-child(48){left:20%;top:39%;--float-duration:7.0s;--float-delay:-3.3s;}
.reference-page .background-motif:nth-child(49){left:44%;top:45%;--float-duration:8.7s;--float-delay:-5.6s;}
.reference-page .background-motif:nth-child(50){left:79%;top:45%;--float-duration:10.4s;--float-delay:-7.9s;}
.reference-page .background-motif:nth-child(51){left:16%;top:46%;--float-duration:7.0s;--float-delay:-10.2s;}
.reference-page .background-motif:nth-child(52){left:39%;top:47%;--float-duration:8.7s;--float-delay:-0.6s;}
.reference-page .background-motif:nth-child(53){left:57%;top:63%;--float-duration:10.4s;--float-delay:-2.9s;}
.reference-page .background-motif:nth-child(54){left:8%;top:61%;--float-duration:7.0s;--float-delay:-5.2s;}
.reference-page .background-motif:nth-child(55){left:29%;top:63%;--float-duration:8.7s;--float-delay:-7.5s;}
.reference-page .background-motif:nth-child(56){left:78%;top:67%;--float-duration:10.4s;--float-delay:-9.8s;}
.reference-page .background-motif:nth-child(57){left:42%;top:73%;--float-duration:7.0s;--float-delay:-0.2s;}
.reference-page .background-motif:nth-child(58){left:60%;top:75%;--float-duration:8.7s;--float-delay:-2.5s;}
.reference-page .background-motif:nth-child(59){left:51%;top:83%;--float-duration:10.4s;--float-delay:-4.8s;}
.reference-page .background-motif:nth-child(60){left:45%;top:86%;--float-duration:7.0s;--float-delay:-7.1s;}
.reference-page .background-motif:nth-child(61){left:58%;top:91%;--float-duration:8.7s;--float-delay:-9.4s;}
.reference-page .background-motif:nth-child(62){left:39%;top:97%;--float-duration:10.4s;--float-delay:-11.7s;}
.reference-page .background-motif:nth-child(63){left:63%;top:97%;--float-duration:7.0s;--float-delay:-2.1s;}
.reference-page .background-motif:nth-child(64){left:92%;top:19%;--float-duration:8.7s;--float-delay:-4.4s;}
@media(prefers-reduced-motion:reduce){.reference-page .background-motif{animation:none;transform:none}}

/* Páginas interiores reutilizan la identidad pública y el cuerpo editorial. */
.reference-page.reference-interior main{padding:48px 48px 90px;min-height:55vh;overflow:visible}
.reference-interior h1{font-size:clamp(44px,6vw,80px);font-style:italic;font-weight:900;line-height:.96;letter-spacing:-3px;margin:22px 0 36px}
.reference-interior .prose{line-height:1.6}
@media(max-width:800px){.reference-page.reference-interior main{padding:36px 24px 65px}}
@media(max-width:480px){.reference-interior h1{font-size:44px;letter-spacing:-2px}}

/* Catálogo existente: filtros y contenido, sin alterar su comportamiento. */
.catalog-page .catalog-filters{gap:10px;align-items:center}
.catalog-page .catalog-filters a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border:1px solid var(--pink);border-radius:28px;color:var(--ink);font-size:16px;font-weight:700;font-style:italic;text-decoration:none}
.catalog-page .catalog-filters a[aria-current]{background:var(--pink);color:#fff}
.catalog-page .catalog-filters a:hover,.catalog-page .catalog-filters a:focus-visible{ text-decoration:underline;text-decoration-color:var(--pink)}
.catalog-page .catalog-filters a[aria-current]:hover{ text-decoration-color:#fff}
.catalog-page main>h2,.catalog-page .empty h2,.catalog-page .card h2{font-style:italic;color:var(--ink)}
.catalog-page .empty{border:1px solid #dc397740;border-radius:24px;padding:30px}
.catalog-page .empty .button{font:italic 700 20px/1.2 'Trebuchet MS',Arial,sans-serif;padding:16px 25px;border-radius:50px;background:var(--pink);border:0;color:#fff}
.catalog-page main .card{border-color:#dc397730;border-radius:24px;background:var(--paper)}
.catalog-page main .card img{display:block;object-fit:contain;background:var(--paper)}
/* Vista experimental compartida: fotografías nítidas con esquinas suaves. */
.catalog-page main .card>img{width:auto;max-width:100%;margin-inline:auto}
.catalog-page main .card>img,.catalog-page .gallery-stage .gallery-photo{
 border-radius:20px;
}
@media(max-width:480px){.catalog-page .empty{padding:22px}.catalog-page .catalog-filters a{padding:9px 14px}.catalog-page .empty .button{font-size:18px}}
