@font-face{font-family:Cormorant;src:url('../fonts/cormorant-garamond-latin.woff2') format('woff2');font-weight:300 700;font-display:swap}
@font-face{font-family:Lora;src:url('../fonts/lora-latin.woff2') format('woff2');font-weight:400 700;font-display:swap}
:root{--black:#0d0e0e;--ivory:#f6f2e9;--gold:#d7b267;--red:#ad001e;--edge:clamp(24px,6.25vw,90px)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:130px;background:var(--black)}
body{max-width:1440px;margin:0 auto;color:var(--black);background:var(--ivory);font-family:Georgia,'Times New Roman',serif;font-size:clamp(18px,1.8vw,26px);line-height:1.22}
button,input,textarea,select{font:inherit}
a{color:inherit}
button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button{cursor:pointer}
img{display:block;max-width:100%}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--gold);outline-offset:5px}
[hidden]{display:none!important}
h1,h2,h3,p{margin:0}
h1,h2,h3,.brand{font-family:Cormorant,Georgia,serif;font-weight:600;line-height:.98}
h2{font-size:clamp(40px,4.7vw,68px);letter-spacing:-.035em}
h3{font-size:clamp(34px,3.5vw,50px)}
p+p{margin-top:1em}
em{font-style:normal;color:var(--gold)}
.dark{color:var(--ivory);background:var(--black)}
.light{background:radial-gradient(ellipse at 30% 40%,#fffdf8,transparent 75%),var(--ivory)}
.skip{position:fixed;left:15px;top:-100px;background:var(--ivory);padding:12px;z-index:100}
.skip:focus{top:15px}
/* Ajuste al diseño modelo */
/* Composición de referencia: 1440 px. Los tamaños dejan de crecer a ese ancho. */
.site-header{position:sticky;top:24px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:90px;padding:20px clamp(24px,3.8vw,55px) 15px clamp(24px,10.8vw,155px);background:#090b0b;color:var(--ivory)}
.brand{position:relative;padding-bottom:9px;font-size:clamp(30px,3vw,43px);text-decoration:none;text-transform:uppercase;white-space:nowrap;font-weight:500}
.brand:after{content:'';position:absolute;bottom:0;left:37%;width:26%;height:2px;background:var(--gold)}
nav{display:flex;align-items:center;gap:clamp(16px,2.3vw,33px)}
nav a{text-decoration:none;font-family:Cormorant,Georgia,serif;font-weight:600;font-size:clamp(17px,1.65vw,24px);white-space:nowrap}
nav a:hover{color:var(--gold)}
.button{max-width:100%;display:inline-flex;align-items:center;justify-content:center;gap:26px;min-height:56px;padding:10px 32px;border:1.5px solid var(--gold);border-radius:40px;color:#fff5df;background:linear-gradient(110deg,#be0025,#980019);font-family:Cormorant,Georgia,serif;font-size:clamp(22px,2vw,29px);font-weight:600;text-decoration:none;line-height:1.15;box-shadow:inset 0 0 0 2px #e3be7433;transition:background .2s,transform .2s}
.button:hover{background:#c6062c;transform:translateY(-2px)}
.button.outline{background:#080a0aaa;box-shadow:none}
.button.outline:hover{background:#2a2117}
.header-contact{flex-shrink:0;min-height:50px;font-size:24px;padding:8px 30px}
.menu-symbol-close,.menu-toggle[aria-expanded="true"] .menu-symbol-open{display:none}
.menu-toggle[aria-expanded="true"] .menu-symbol-close{display:block}
.menu-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;background:none;border:1px solid var(--gold);color:var(--ivory);border-radius:4px;padding:0}
.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(470px,39.25vw,565px);overflow:hidden;background:#080909 url('../images/public/main/telon.jpg') left center/auto 100% no-repeat}
.hero:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,transparent 0,#0008 9%,#000b 30%,#0005 48%,transparent 61%);pointer-events:none}
.hero-image{position:absolute;z-index:-2;right:0;top:0;width:56%;height:100%;object-fit:cover;object-position:center;-webkit-mask-image:linear-gradient(90deg,transparent,#000 16%);mask-image:linear-gradient(90deg,transparent,#000 16%)}
.hero-copy{position:relative;width:56%;padding:42px 0 24px clamp(30px,7.9vw,114px)}
.hero h1{font-size:clamp(72px,8vw,115px);font-weight:600;letter-spacing:-.025em;text-transform:uppercase;white-space:nowrap;background:linear-gradient(95deg,#fff 10%,#f5d387 82%);-webkit-background-clip:text;background-clip:text;color:transparent}
.profession{font-family:Cormorant,Georgia,serif;font-size:clamp(30px,3.5vw,50px);line-height:1.1;white-space:nowrap;text-align:center}
.gold-line{display:block;width:100px;height:2px;background:var(--gold);margin:23px 0 18px 30px}
.motto{font-family:Cormorant,Georgia,serif;font-style:italic;font-size:clamp(36px,4vw,58px);line-height:1.1;color:#efd18d;white-space:nowrap}
.hero-description{max-width:550px;margin:24px 0 28px;font-size:clamp(22px,2vw,29px);line-height:1.12}
.actions{display:flex;gap:25px;white-space:nowrap}
.actions .button:first-child{min-width:298px}
.actions .outline{min-width:190px}
.eyebrow{display:flex;align-items:center;gap:16px;margin-bottom:8px;font-size:clamp(13px,1.3vw,19px);text-transform:uppercase;letter-spacing:.07em;line-height:1.2}
.eyebrow:before,.eyebrow:after{content:'';display:block;width:55px;height:1px;flex-shrink:0;background:currentColor;opacity:.75}
.dark .eyebrow{color:var(--gold)}
.split{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.17fr);gap:30px;padding:16px clamp(24px,3.2vw,46px) 16px var(--edge)}
.section-copy{position:relative;min-width:0;align-self:center;padding:12px 0}
.section-copy>p:not(.eyebrow){margin:18px 0 22px;line-height:1.2}
.split>img{min-width:0;width:100%;height:100%;min-height:0;object-fit:cover}
.about{min-height:508px}
.about h2{font-size:clamp(48px,5.05vw,73px);max-width:510px}
.about h2 em{color:#c79a45}
.about-image{object-position:center;-webkit-mask-image:linear-gradient(90deg,transparent,#000 13%);mask-image:linear-gradient(90deg,transparent,#000 13%)}
.about .button{padding-inline:40px}
.career{position:relative;isolation:isolate;overflow:hidden;min-height:340px;padding:30px var(--edge) 22px}
.career>img{position:absolute;z-index:-2;right:0;top:0;width:60%;height:100%;object-fit:cover;object-position:70% center}
.career:after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0d0e0e 0%,#0d0e0e 36%,#0d0e0ed9 48%,transparent 76%)}
.career .section-copy{padding:0;max-width:66%}
.career h2{white-space:nowrap;font-size:clamp(42px,4.5vw,65px);font-weight:500}
.career .section-copy>p:not(.eyebrow){max-width:640px;margin:20px 0}
.career .button{min-width:340px}
.section-heading{margin-bottom:18px}
.section-heading>p:last-child{margin-top:10px}
.portfolio{padding:24px clamp(24px,4vw,58px) 26px}
.portfolio .section-heading,.news .section-heading{padding-left:clamp(0px,2.2vw,32px)}
.portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.portfolio-card{position:relative;aspect-ratio:2.1;overflow:hidden;border:2px solid #fff;color:white;background:#111;text-decoration:none}
.portfolio-card>img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.portfolio-card:hover>img{transform:scale(1.035)}
.portfolio-card:after{content:'';position:absolute;inset:20% 0 0;background:linear-gradient(transparent,#000d)}
.portfolio-card>div{position:absolute;z-index:1;bottom:20px;left:28px;right:80px}
.portfolio-card p{margin-top:10px;font-size:clamp(17px,1.8vw,26px)}
.circle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:57px;height:57px;border:1.5px solid var(--gold);border-radius:50%;background:#080a0a99;color:var(--ivory);font-size:30px}
.portfolio-card .circle{position:absolute;z-index:1;right:28px;bottom:24px}
.news{min-height:395px;padding:22px clamp(24px,4vw,58px) 8px;background:linear-gradient(90deg,#090b0b 0,#090b0bf0 42%,#090b0b30 73%),#090b0b url('../images/public/main/escuela.jpg') right center/auto 100% no-repeat}
.news .section-heading{margin-bottom:20px}
.news-track{display:flex;gap:10px;width:70%;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.news-track::-webkit-scrollbar{display:none}
.news-card{flex:0 0 calc((100% - 20px)*.27);min-width:0;position:relative;border:1px solid #9d885a;background:#101010;text-decoration:none;scroll-snap-align:start}
.news-card:first-child{flex-basis:calc((100% - 20px)*.46)}
.news-card img{width:100%;height:174px;object-fit:cover}
.news-card span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.carousel-controls{display:flex;align-items:center;justify-content:space-between;min-height:52px;margin-top:5px}
.carousel-controls .circle{width:52px;height:52px;font-size:28px}
.carousel-status{display:flex;align-items:center;justify-content:center;gap:14px}
.carousel-dot{padding:0;width:12px;height:12px;border-radius:50%;background:var(--ivory);border:1px solid #111;box-shadow:0 0 0 1px #ffffff38}
.carousel-dot.on{background:var(--gold)}
button:disabled{opacity:.4;cursor:default}
.school{min-height:300px;padding-top:10px;padding-bottom:10px;grid-template-columns:minmax(0,1fr) minmax(0,1.17fr)}
.school h2{font-size:clamp(36px,3.9vw,56px);white-space:nowrap}
.school .section-copy{z-index:1}
.school .section-copy>p:not(.eyebrow){max-width:550px;margin:14px 0 20px}
.school>img{-webkit-mask-image:linear-gradient(90deg,transparent,#000 18%);mask-image:linear-gradient(90deg,transparent,#000 18%)}
.singing{min-height:360px;padding-block:24px}
.singing h2{font-size:clamp(42px,4.4vw,64px);color:var(--gold)}
.singing>img{height:100%;max-height:400px;object-fit:cover;object-position:center 30%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 30%);mask-image:linear-gradient(90deg,transparent,#000 30%)}
.singing .eyebrow{flex-wrap:wrap}
.singing .eyebrow:after{display:none}
@media(max-width:650px){.singing .eyebrow:before{display:none}}
.contact{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:170px;padding:20px var(--edge);background:radial-gradient(ellipse at 60% 50%,#202322,#0b0d0d)}
.contact>div{flex:1;min-width:0}
.contact h2{font-size:clamp(40px,4vw,58px)}
.contact p:not(.eyebrow){margin-top:5px;font-size:clamp(17px,1.5vw,22px)}
.email{display:flex;align-items:center;gap:22px;white-space:nowrap;font-size:clamp(20px,1.9vw,27px);text-decoration:none}
.social{display:flex;flex-wrap:wrap;gap:12px}
.social a{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border:1.5px solid var(--gold);border-radius:50%;color:var(--ivory);text-decoration:none;font-size:14px;text-transform:uppercase}
.social svg{width:26px;height:26px}
.social a:hover{background:#2a2117}
.contact .social{flex-shrink:0;padding-left:32px;border-left:1.5px solid var(--gold)}
.contact .social a.social-profile{width:auto;height:auto;min-width:0;gap:12px;border:0;border-radius:0;font-size:clamp(18px,1.6vw,23px);text-transform:none}
.social-profile-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border:1.5px solid var(--gold);border-radius:50%}
.social-profile-label{overflow-wrap:anywhere}
.site-footer{padding:28px var(--edge) 40px;background:linear-gradient(115deg,#0e1110,#080a09)}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:26px;padding-bottom:18px;border-bottom:2px solid #9d834f}
.footer-top .brand{font-size:40px}
.footer-top nav{gap:clamp(16px,2.4vw,35px)}
.footer-top nav a{font-size:22px}
.footer-top .social{gap:10px}
.footer-top .social a{width:40px;height:40px}
.footer-top .social svg{width:23px;height:23px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:16px;color:#ddd4c3;font-size:17px}
dialog{width:min(850px,92vw);max-height:90dvh;padding:0;border:1px solid var(--gold);background:var(--ivory);color:#111;box-shadow:0 20px 90px #0009}
dialog::backdrop{background:#000c;backdrop-filter:blur(5px)}
.dialog-close{position:sticky;float:right;top:14px;z-index:2;width:45px;height:45px;margin:14px 14px -65px 0;border:1px solid var(--gold);border-radius:50%;background:#111;color:#fff;font-size:30px}
.detail-article{padding:30px}
.detail-article>img{width:100%;max-height:420px;object-fit:contain;background:#111;margin-bottom:25px}
.detail-article h2{font-size:45px}
.detail-text{white-space:pre-line;margin:20px 0}
.detail-article .eyebrow{font-size:14px}
.about .cv-link{display:flex;width:fit-content;margin-top:12px;background:transparent;color:var(--black);box-shadow:none;font-size:24px;padding:10px 26px;min-height:48px}
.about .cv-link:hover{background:#ead8b3}
.curriculum-detail{font-size:18px;line-height:1.5;padding:38px clamp(20px,4vw,42px)}
.cv-heading{padding-right:38px;margin-bottom:24px}
.curriculum-detail h2{font-size:clamp(46px,6vw,68px)}
.cv-profession{font-family:Cormorant,Georgia,serif;font-size:26px;margin-top:8px}
.cv-updated{font-size:14px;color:#665d4e;margin-top:8px}
.cv-profile{max-width:70ch}
.cv-section{margin-top:32px;padding-top:24px;border-top:1px solid #ccb98f}
.cv-section h3{font-size:clamp(28px,4vw,36px);line-height:1.1;margin-bottom:18px;letter-spacing:-.02em}
.cv-entries{list-style:none;padding:0;margin:0;display:grid;gap:20px}
.cv-entries li{min-width:0}
.cv-entries .cv-dated{display:grid;grid-template-columns:125px minmax(0,1fr);gap:16px}
.cv-date{font-size:15px;color:#825b20;padding-top:3px;font-weight:bold}
.cv-entries h4{font-family:Cormorant,Georgia,serif;font-size:26px;line-height:1.15;margin:0 0 5px}
.cv-entries p{margin:0}
.cv-refs{display:inline;font-size:12px;white-space:normal}
.cv-refs a{color:#825b20;text-underline-offset:3px}
.cv-sources{margin-top:32px;padding:18px 0;border-block:1px solid #ccb98f;font-size:15px;overflow-wrap:anywhere}
.cv-sources summary{cursor:pointer;font-size:19px;font-weight:bold}
.cv-sources p{margin-top:14px}.cv-sources ol{padding-left:24px;margin:16px 0 0}.cv-sources li+li{margin-top:10px}
.cv-contact{font-size:16px;margin-top:24px;overflow-wrap:anywhere}
@media(max-width:650px){.about .cv-link{font-size:23px;padding-inline:20px}.cv-entries .cv-dated{grid-template-columns:minmax(0,1fr);gap:5px}.curriculum-detail{font-size:17px}.cv-heading{padding-right:36px}.cv-profession{font-size:23px}.cv-section{margin-top:25px;padding-top:20px}}
.error-page{padding:100px var(--edge);min-height:50vh}
.error-page .button{margin-top:30px}
.no-script{padding:20px}
@media(min-width:1001px){.menu-toggle{display:none!important}}
@media(max-width:1250px) and (min-width:1001px){
 .site-header{padding:18px 28px;gap:18px}.site-header nav{gap:18px}.header-contact{padding:8px 20px;font-size:22px}.brand{font-size:36px}
 .hero-copy{padding-left:6vw}.actions{gap:16px}.actions .button:first-child{min-width:0}.actions .outline{min-width:0}.actions .button{padding-inline:24px}
 .contact{flex-wrap:wrap}.contact>div{flex-basis:50%}.contact .social{margin-left:auto}.footer-top{flex-wrap:wrap}.footer-top .social{margin-left:auto}
}
@media(max-width:1000px){
 .site-header{flex-wrap:nowrap;min-height:72px;padding:14px 20px;gap:15px}.site-header .brand{font-size:32px}.menu-toggle{display:inline-flex;margin-left:auto}.header-contact{display:none}
 .site-header nav{display:none;position:absolute;top:100%;left:0;right:0;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:10px 24px 18px;background:#090b0b;border-bottom:1px solid #b5a47c55;box-shadow:0 16px 24px #0005}.site-header .menu-toggle[aria-expanded="true"]+nav{display:flex}.site-header nav a{display:flex;align-items:center;min-height:46px;font-size:24px;border-bottom:1px solid #ffffff12}
 .hero-copy{width:65%;padding:35px 25px}.hero h1{font-size:9vw}.profession{font-size:3.8vw;text-align:left}.motto{font-size:4.4vw}.hero-description{max-width:420px;font-size:24px}.actions{gap:14px}.actions .button{min-width:0;padding-inline:22px;font-size:24px}.gold-line{margin-left:0}
 .split{gap:22px;padding:24px 30px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.about{min-height:440px}.about h2{font-size:52px}.section-copy>p:not(.eyebrow){font-size:21px}.about .button{padding-inline:25px}
 .career{min-height:330px;padding:30px}.career .section-copy{max-width:75%}.career h2{white-space:normal;font-size:52px}
 .portfolio,.news{padding:26px 30px}.portfolio .section-heading,.news .section-heading{padding-left:0}.portfolio h2,.news h2{font-size:52px}.portfolio-card>div{left:20px;right:70px;bottom:18px}.portfolio-card h3{font-size:40px}.portfolio-card p{font-size:19px}.portfolio-card .circle{right:16px;bottom:18px;width:44px;height:44px}
 .news{min-height:0}.news-track{width:80%}.news-card img{height:150px}.school{min-height:290px}.school h2{font-size:42px;white-space:normal}
 .contact{flex-wrap:wrap;padding:30px;gap:24px}.contact>div{flex-basis:100%}.contact .social{margin-left:auto;padding-left:24px}.contact p:not(.eyebrow){font-size:20px}.email{font-size:25px}
 .site-footer{padding:28px 30px}.footer-top{flex-wrap:wrap}.footer-top>nav:not(.social){order:3;flex-basis:100%;flex-wrap:wrap;justify-content:space-between}.footer-bottom{font-size:15px}
}
@media(max-width:650px){
 body{font-size:20px}.hero{min-height:690px;align-items:flex-end}.hero-image{width:100%;object-position:60% center;-webkit-mask-image:none;mask-image:none}.hero:after{background:linear-gradient(0deg,#000 0%,#000e 38%,#0003 78%,#0001)}
 .hero-copy{width:100%;padding:250px 24px 30px}.hero h1{font-size:clamp(60px,14.5vw,94px)}.profession{font-size:clamp(25px,6.2vw,39px);white-space:normal}.motto{font-size:clamp(34px,7vw,45px);white-space:normal}.hero-description{font-size:24px;margin:20px 0 24px;max-width:460px}.gold-line{margin:18px 0 14px}.actions{gap:12px;flex-wrap:wrap}.actions .button{font-size:24px;padding:10px 20px;min-height:50px}
 .split{grid-template-columns:minmax(0,1fr);padding:28px 24px;gap:20px}.section-copy{padding:0}.about h2{font-size:58px;max-width:440px}.split>img{height:auto;aspect-ratio:1.5;object-fit:cover;-webkit-mask-image:none;mask-image:none}.section-copy>p:not(.eyebrow){font-size:22px;line-height:1.3}.button{font-size:25px;padding:10px 26px}
 .eyebrow{font-size:14px;gap:14px}.eyebrow:before,.eyebrow:after{width:38px}.career{padding:32px 24px}.career>img{width:100%;object-position:65% center;opacity:.6}.career:after{background:linear-gradient(90deg,#0d0e0ef5,#0d0e0e55)}.career .section-copy{max-width:100%}.career h2{font-size:52px}.career .section-copy>p:not(.eyebrow){max-width:490px}.career .button{min-width:0}
 .portfolio,.news{padding:28px 24px}.portfolio h2,.news h2{font-size:50px}.section-heading>p:last-child{font-size:21px;line-height:1.3}.portfolio-grid{grid-template-columns:1fr;gap:16px}.portfolio-card{aspect-ratio:1.8}.portfolio-card h3{font-size:44px}.portfolio-card p{font-size:21px}.portfolio-card>div{right:75px;bottom:20px}.portfolio-card .circle{width:48px;height:48px;bottom:22px}
 .news{background:linear-gradient(90deg,#090b0bf5,#090b0bbf),url('../images/public/main/escuela.jpg') right center/cover}.news-track{width:100%;gap:14px}.news-card,.news-card:first-child{flex-basis:85%}.news-card img{height:auto;aspect-ratio:1.65}.carousel-controls{margin-top:14px}.carousel-controls .circle{width:46px;height:46px}
 .school h2{font-size:48px}.school .section-copy>p:not(.eyebrow){margin:18px 0 22px}.school>img{aspect-ratio:1.8}
 .contact{padding:30px 24px;flex-direction:column;align-items:flex-start;gap:24px}.contact h2{font-size:54px}.contact p:not(.eyebrow){font-size:21px}.contact .social{margin:0;padding:0;border:0}.email{gap:14px;font-size:clamp(19px,5.4vw,27px);white-space:normal;overflow-wrap:anywhere}.email .circle{width:48px;height:48px}.desktop{display:none}
 .site-footer{padding:28px 24px}.footer-top{gap:24px}.footer-top .brand{font-size:36px}.footer-top>nav:not(.social){gap:16px 24px;justify-content:flex-start}.footer-top .social a{width:36px;height:36px}.footer-top .social{gap:8px}.footer-bottom{flex-direction:column;gap:10px;font-size:15px}
 .detail-article{padding:24px}.detail-article h2{font-size:40px}
}
@media(max-width:380px){.site-header{padding-inline:20px}.hero-copy{padding-inline:20px}.hero{min-height:720px}.hero-description{font-size:22px}.actions .button{font-size:22px;padding-inline:18px}.about h2{font-size:52px}.portfolio-card h3{font-size:36px}.portfolio-card p{font-size:17px}.footer-top{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Galerías del portfolio */
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gallery-page{min-height:70vh;padding:40px var(--edge) 60px}
.gallery-heading{max-width:950px;margin-bottom:32px}
.gallery-heading h1{font-size:clamp(56px,6.5vw,94px);margin:14px 0 18px}
.gallery-heading>p:last-child{font-size:clamp(20px,1.8vw,26px);line-height:1.35}
.gallery-back{display:inline-block;margin-bottom:32px;font-size:18px;text-underline-offset:5px}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:25px;border-block:1px solid #c7bda9;padding:18px 0;margin-bottom:22px}
.gallery-toolbar nav{gap:25px}.gallery-toolbar nav a{font-size:28px}
.gallery-toolbar [aria-current=page]{color:#9b001c;border-bottom:2px solid #9b001c}
.gallery-toolbar form{display:flex;gap:8px;max-width:500px;flex:1}
.gallery-toolbar input{width:100%;min-width:0;padding:12px;border:1px solid #b7aa93;background:#fffdf8;color:var(--black);font:17px Georgia,serif;border-radius:4px}
.gallery-toolbar button{padding:10px 18px;background:var(--red);color:#fff;border:1px solid var(--red);border-radius:4px;font-size:18px}
.gallery-count{font-size:17px;color:#655c4b;margin-bottom:24px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}
.gallery-card{min-width:0;background:#fffdf7;border:1px solid #d4c9b4;box-shadow:0 3px 12px #2e1b0808}
.gallery-open{display:block;height:100%;text-decoration:none}
.gallery-image{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;overflow:hidden;background:#151515;color:#eee}
.gallery-image>img{width:100%;height:100%;object-fit:contain;transition:transform .3s}
.gallery-open:hover img{transform:scale(1.035)}
.gallery-play{position:absolute;display:grid;place-items:center;width:58px;height:58px;border:1px solid var(--gold);border-radius:50%;background:#090909bb;color:#fff;font-size:24px;padding-left:4px}
.gallery-caption{padding:20px}.gallery-category{font-size:13px;color:#8a652b;letter-spacing:.06em;text-transform:uppercase;line-height:1.35}
.gallery-caption h2{font-size:30px;line-height:1.08;margin:9px 0 18px;overflow-wrap:anywhere}
.gallery-caption>span{font-size:16px;color:#8f001b}
.gallery-image-fallback{display:grid;place-items:center;min-height:120px;padding:20px;font-size:18px;background:#171917;color:#e5d8bd;text-align:center}
.gallery-player{width:100%;aspect-ratio:16/9;min-height:200px;background:#111;margin-bottom:24px}
.gallery-player iframe{width:100%;height:100%;min-height:200px;display:block;border:0}
.gallery-detail .detail-text{font-size:21px;line-height:1.4}.gallery-detail .gallery-credit{font-size:16px;color:#655c4b;margin-top:20px}.gallery-source{display:flex;gap:20px;flex-wrap:wrap;font-size:18px;margin-top:18px}
.gallery-detail .eyebrow{flex-wrap:wrap}.gallery-detail .eyebrow:after{display:none}
.gallery-pagination{display:flex;align-items:center;justify-content:center;gap:26px;flex-wrap:wrap;margin-top:40px;font-size:20px}
.gallery-pagination a{font-size:22px;text-decoration:none;border-bottom:1px solid var(--gold)}
.gallery-empty{padding:40px 0;font-size:24px}
@media(max-width:1000px){.gallery-page{padding:35px 30px 50px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-toolbar{flex-wrap:wrap}.gallery-toolbar form{max-width:none}}
@media(max-width:650px){.gallery-page{padding:30px 24px 45px}.gallery-heading{margin-bottom:24px}.gallery-toolbar{align-items:stretch;flex-direction:column;gap:18px}.gallery-toolbar form{flex:auto}.gallery-grid{grid-template-columns:1fr;gap:22px}.gallery-image{aspect-ratio:4/3}.gallery-caption h2{font-size:32px}.gallery-caption{padding:20px}.gallery-pagination{gap:18px;font-size:17px}.gallery-pagination a{font-size:19px}.gallery-detail .detail-text{font-size:19px}.gallery-detail .eyebrow{font-size:12px;letter-spacing:.04em}.gallery-back{font-size:17px}}
.gallery-card[data-kind=foto] .gallery-image>img{object-fit:contain}
/* Video fijo de fondo; la portada conserva la fotografía del diseño. */
body{position:relative;isolation:isolate;width:calc(100% - 48px);margin:24px auto 80px;background:transparent}
.page-video{position:fixed;z-index:-1;inset:0;overflow:hidden;pointer-events:none;background:#080909 url('../images/public/main/trayectoria.jpg') center/cover no-repeat}
.page-video:after{content:'';position:absolute;inset:0;background:#0007}
.page-video iframe{position:absolute;left:50%;top:50%;width:var(--page-video-width,100%);height:var(--page-video-height,100%);max-width:none;border:0;transform:translate(-50%,-50%);opacity:0;transition:opacity .5s}
.page-video.video-visible iframe{opacity:1}
.page-video-controls{position:fixed;z-index:20;right:16px;bottom:16px;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:calc(100% - 24px)}
.page-video-toggle,.page-video-sound{padding:9px 16px;border:1px solid var(--gold);border-radius:30px;background:#090b0bdb;color:var(--ivory);font:17px Georgia,serif;line-height:1.2}
.page-video-toggle:hover,.page-video-sound:hover{background:#292016}
.page-video-toggle:disabled,.page-video-sound:disabled{cursor:wait;opacity:.8}
#contenido>section{margin-bottom:24px}
.contact{margin-bottom:24px}
.contact{flex-wrap:wrap}
.communication-form{flex:0 0 100%;min-width:0;margin-top:18px;padding-top:26px;border-top:1px solid #d7b26744}
.communication-form h3{font-size:36px}.communication-intro{font-size:20px;margin:10px 0 24px}
.communication-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.communication-fields label{display:flex;flex-direction:column;gap:8px;font-size:19px}.communication-fields small{font-size:15px}
.communication-fields input,.communication-fields textarea,.communication-fields select{width:100%;min-width:0;border:1px solid #d7b26766;border-radius:5px;padding:12px;background:#fffdf7;color:#171917;font:18px/1.4 Georgia,serif}
.communication-fields textarea{resize:vertical}.communication-message{grid-column:1/-1}
.communication-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.communication-status{font-size:18px;line-height:1.4;margin:18px 0}.communication-status:empty{display:none}
.communication-form .button{margin-top:18px}.communication-form .button:disabled{opacity:.6;cursor:wait}
.communication-success{flex-basis:100%;font-size:20px;color:#efd18d}
.communication-disclosure{flex:0 0 100%;min-width:0;margin-top:18px;padding-top:24px;border-top:1px solid #d7b26744}
.communication-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;font-family:Cormorant,Georgia,serif;font-size:36px;font-weight:600}
.communication-summary::-webkit-details-marker{display:none}.communication-summary span{font-family:Georgia,serif;font-size:28px;font-weight:400;color:var(--gold)}
.communication-disclosure[open]>.communication-summary span{transform:rotate(45deg)}
.communication-disclosure .communication-form{margin-top:0;padding-top:0;border-top:0}.communication-disclosure .communication-form h3{display:none}
.communication-summary:focus-visible{outline:3px solid var(--gold);outline-offset:5px}
.communication-page{padding:40px var(--edge)}.communication-page h1{font-size:70px}.communication-page .communication-form{margin-top:24px}
@media(max-width:650px){.communication-fields{grid-template-columns:1fr}.communication-form{width:100%}.communication-page{padding:30px 24px}.communication-page h1{font-size:52px}}
body>.gallery-page{margin-top:24px}
.error-page{background:var(--ivory)}
@media(max-width:650px){body{width:calc(100% - 24px);margin:12px auto 76px}.page-video-controls{right:12px;bottom:12px}.page-video-toggle,.page-video-sound{font-size:15px;padding:9px 13px}#contenido>section,.contact{margin-bottom:16px}body>.gallery-page{margin-top:16px}}
@media(max-width:380px){.hero h1{font-size:14vw}}
/* Inicio: navegación arriba, video a la vista y un anticipo de la portada al pie. */
body:has(#contenido>.hero)>.site-header{position:fixed;top:24px;left:50%;transform:translateX(-50%);width:calc(100% - 48px);max-width:1440px}
@media(max-width:1000px){html{scroll-padding-top:110px}}
@media(max-width:650px){.site-header,body:has(#contenido>.hero)>.site-header{top:12px}body:has(#contenido>.hero)>.site-header{width:calc(100% - 24px)}}
.video-intro{display:flex;align-items:center;justify-content:center;height:max(130px,calc(100vh - 24px - 144px));height:max(130px,calc(100svh - 24px - 144px));padding:90px 16px 0}
.anniversary-logo{display:flex;flex-direction:column;align-items:flex-end;max-width:100%;font-family:Cormorant,Georgia,serif;font-size:clamp(48px,8vw,115px);font-weight:600;line-height:.98;filter:drop-shadow(0 2px 12px #0009)}
/* El degradé necesita espacio para el trazo de la J y los acentos fuera de la caja tipográfica. */
.anniversary-name{padding:.12em .1em;margin:-.12em -.1em;letter-spacing:-.025em;text-transform:uppercase;white-space:nowrap;background:linear-gradient(95deg,#fff 10%,#f5d387 82%);-webkit-background-clip:text;background-clip:text;color:transparent}
.anniversary-years{margin-top:.08em;padding-right:.1em;color:#efd18d;font-size:.25em;line-height:1}
@media(max-width:1000px){.video-intro{padding-top:73px}}
@media(max-width:650px){.video-intro{height:max(100px,calc(100vh - 12px - 112px));height:max(100px,calc(100svh - 12px - 112px))}.anniversary-logo{font-size:clamp(42px,12vw,78px)}}
