/* EL DESCONTROL · Visual identity 2026 · navy / chalk / champagne gold */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--brand-ink:#0b1e42;--brand-blue:#23498d;--brand-sky:#bed7f5;--brand-gold:#e3b979;--brand-warm:#f6f7f9;--brand-paper:#ffffff;--brand-line:#dfe7f0}
html{scroll-behavior:smooth}
body{font-family:Manrope,'DM Sans',system-ui,-apple-system,sans-serif;background:#fafbfd;color:#182944;line-height:1.55;-webkit-font-smoothing:antialiased}
body button,body input,body select{font-family:inherit}
header{background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-bottom:1px solid #e2e8f2;box-shadow:0 7px 32px rgba(13,35,77,.025)}
.navwrap{max-width:1240px!important;padding:13px 26px!important}
.brand{gap:11px;font:800 16px/1.1 Manrope,sans-serif!important;letter-spacing:-.04em!important;color:#0d2452}
.brand small{letter-spacing:.14em;font-size:9px;opacity:.8}
.brand-logo{width:47px;height:47px;border:none;box-shadow:0 5px 14px rgba(14,30,69,.11)}
nav a{font-family:Manrope,sans-serif;font-size:12px!important;letter-spacing:-.01em;padding:10px 12px!important;font-weight:750}
nav a.active{background:#0c2454!important;color:white}
nav a:hover:not(.active){background:#eaf0fb;color:#0c2454}
.wrap{max-width:1240px!important;padding-left:26px;padding-right:26px}
h1,h2,h3,h4{font-family:Manrope,'DM Sans',sans-serif!important;letter-spacing:-.045em}
.festival-footer{background:#091b3c;margin-top:66px}.footer-inner{max-width:1190px}
.f-section{padding:54px 0}.f-section h2{letter-spacing:-.05em}
.f-feature,.f-history-panel,.f-softpanel,.f-pagehero,.f-callout,.f-game-banner,.f-menu-photo,.f-menu-wait{border-radius:21px}
.f-feature{box-shadow:0 8px 34px rgba(10,32,76,.035);background:#fff}
.f-feature.navy-card{background:linear-gradient(143deg,#132d61,#0b1e42)}
.f-feature:hover{box-shadow:0 17px 39px rgba(10,32,76,.11)}
.f-history-panel{background:#f1f5fa;border-color:#e2eaf4}
.f-timer{background:#fff;border-color:#e1e8f1}
.f-button{border-radius:11px;padding:14px 21px;font-weight:800}
.f-kicker{font-family:Manrope,sans-serif;font-size:10px;letter-spacing:.175em}
.f-kicker.navy{color:#4466a0}
/* Feature hero: graphic, thoughtful typography + supplied Saint Raphael image */
.fh-hero.premium-home-hero{min-height:548px;padding:0;display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,.87fr);gap:0;align-items:stretch;border-radius:26px;background:linear-gradient(135deg,#091835 0%,#102b5b 67%,#1b4280 100%);isolation:isolate;box-shadow:0 22px 55px rgba(7,25,59,.12);overflow:hidden}
.fh-hero.premium-home-hero::before{content:'';position:absolute;inset:0;opacity:.26;pointer-events:none;background-image:radial-gradient(rgba(230,238,255,.23) .7px, transparent .7px);background-size:19px 19px;mask-image:linear-gradient(90deg,transparent,#000)}
.premium-home-hero .fh-copy{padding:clamp(32px,5.4vw,75px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:none;min-width:0;flex:unset;z-index:3}
.hero-date-chip{color:#dbe6f5;font-size:10px;font-weight:800;letter-spacing:.15em;line-height:1.5;margin-bottom:31px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.chip-dot{height:7px;width:7px;background:#e6bc7c;border-radius:50%;box-shadow:0 0 0 5px #e6bc7c23;flex:none}
.chip-separator{color:#9bb6d9}
.premium-home-hero .f-kicker{color:#f0ca92;font-size:10px;font-weight:800}
.premium-home-hero h1{font-size:clamp(47px,5.1vw,72px);line-height:1.075;letter-spacing:-.062em;font-weight:800;margin:16px 0 18px;max-width:790px;color:#fff}
.premium-title-highlight{color:#f4d5a5}
.premium-home-hero p{font-family:Manrope,sans-serif;font-size:clamp(15px,1.3vw,17px);font-weight:500;color:#d8e5f6;line-height:1.8;max-width:490px;margin:0}
.premium-home-hero .fh-actions{margin-top:33px;gap:12px}
.premium-home-hero .fh-actions .f-button{font-size:12px;min-height:48px}
.premium-home-hero .f-button.light{background:#fff;color:#102b60}.premium-home-hero .f-button.subtle{color:#e8f0fa;border-color:#8298be77}
.premium-hero-bottom{font-size:10px;letter-spacing:.16em;line-height:1.7;font-weight:700;color:#afc4e1;margin-top:37px;max-width:420px}
.tiny-spark{color:#ebc78f;font-size:17px;margin-right:6px}
.premium-saint-visual{position:relative;display:grid;place-items:end center;overflow:hidden;min-width:0;align-self:stretch;padding-top:40px;background:radial-gradient(ellipse at 50% 60%,#31599d66 0%,transparent 68%);z-index:1}
.premium-saint-visual .saint-orbit{position:absolute;width:min(92%,440px);height:auto;aspect-ratio:1;border:1px solid rgba(245,214,159,.32);border-radius:50%;top:46%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 22px rgba(204,222,246,.035),0 0 0 46px rgba(204,222,246,.025)}
.saint-sunburst{position:absolute;inset:20% 12% 4%;background:radial-gradient(ellipse,#e8bf7c22,transparent 70%);pointer-events:none}
.premium-saint-visual .saint-cutout{position:relative;z-index:2;aspect-ratio:auto!important;object-fit:contain;object-position:center bottom;height:98%;width:100%;max-width:490px;max-height:570px;filter:drop-shadow(0 20px 29px rgba(3,12,29,.45));}
.saint-mark{position:absolute;z-index:3;bottom:24px;right:25px;font-size:11px;line-height:1.38;font-weight:900;letter-spacing:.22em;color:#f5debb;text-align:right;text-shadow:0 1px 12px #07172d}
.saint-mark em{display:block;font-style:normal;color:#cbd9ed;letter-spacing:.19em;margin-top:6px}
/* Photo story from user-provided procession image */
.premium-tradition{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,.82fr);align-items:stretch;overflow:hidden;margin-top:25px;border:1px solid #dfe6f1;border-radius:23px;background:white;box-shadow:0 10px 34px rgba(15,36,81,.035)}
.tradition-photo-wrap{position:relative;min-height:314px;overflow:hidden;background:#183864}
.tradition-photo-wrap img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 55%;filter:saturate(.89) contrast(1.05)}
.tradition-photo-wrap::after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#07163299)}
.photo-bottom-label{position:absolute;bottom:18px;left:23px;z-index:1;color:white;font-size:10px;letter-spacing:.15em;font-weight:800}
.tradition-content{padding:clamp(26px,3.8vw,49px);display:flex;flex-direction:column;justify-content:center}
.tradition-content h2{font-size:clamp(25px,3vw,38px);margin:10px 0 10px;color:#112c5d;line-height:1.15}
.tradition-content h2 em{font-style:normal;color:#32619e}
.tradition-content p{margin:0;color:#5b6e89;line-height:1.85;font-size:14px}
.tradition-link{align-self:flex-start;margin-top:24px;color:#153d7b;font-weight:800;font-size:13px;border-bottom:1px solid #7391ba;padding-bottom:6px}
.tradition-link span{margin-left:6px;color:#bb935a}
/* Image features in program and games */
.saint-page-figure{position:absolute;right:6%;bottom:-30px;top:4%;width:32%;display:grid;place-items:end center;pointer-events:none;opacity:.9}
.saint-page-figure::before{content:'';position:absolute;top:9%;width:85%;aspect-ratio:1;border:1px solid #e4c58a44;border-radius:50%}
.saint-page-figure img{max-height:100%;max-width:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 24px #06152b88)}
.f-pagehero:has(.saint-page-figure)>div:first-child{max-width:70%}
.pu-hero{background:linear-gradient(110deg,#071934 0%,#133873 75%,#285a9e);border-radius:23px;min-height:352px;isolation:isolate;padding:clamp(32px,5vw,55px);box-shadow:0 13px 33px #0b245311}
.pu-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 85% 55%,#bad4f622,transparent 48%);z-index:0}
.pu-hero>div:first-child{max-width:650px}.pu-hero h1{font-size:clamp(47px,5.4vw,67px);font-weight:800;line-height:1.06}.pu-hero h1 em{color:#e8c28c}
.pu-hero p{max-width:535px;font-size:14px;color:#e5edf9}
.pu-hero-photo{margin:0;align-self:stretch;width:38%;min-width:260px;max-width:445px;position:relative;z-index:1;border-radius:18px;overflow:hidden;box-shadow:0 14px 35px #07142a88;transform:rotate(1.5deg);background:#234978}
.pu-hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:57% center;filter:saturate(.9) contrast(1.06)}
.pu-hero-photo::after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff52;border-radius:inherit}
.pu-aside-photo{margin:0 0 25px;border:1px solid #e0e7f0;background:#f2f5fa;border-radius:13px;overflow:hidden}
.pu-aside-photo img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center}
.pu-aside-photo figcaption{font-size:11px;color:#62728b;padding:11px 13px;line-height:1.5}
.gz-puja{background:linear-gradient(95deg,#0f3267,#092249)}
.gz-puja::after{content:'';position:absolute;z-index:-1;right:0;top:0;bottom:0;width:46%;background-image:linear-gradient(90deg,#0a2659,#0a265900 70%),url('/pujada-sant-rafel.webp');background-size:cover;background-position:center;opacity:.62;mask-image:linear-gradient(to left,#000 65%,transparent)}
.gz-puja .gz-emoji{opacity:0}
.gz-puja p{max-width:550px}
.gz-puja .gz-play{background:#f8d8a7}
.gz-hero,.f-pagehero,.hero.history,.hero.moments{box-shadow:0 14px 40px rgba(10,36,78,.09);border-radius:23px}
.f-pagehero,.hero.history,.hero.moments,.hero.program{background:linear-gradient(125deg,#0b214b,#153a79)}
.f-daytab.active,.f-chip.active{background:#0d2d63}
.pu-card,.pu-aside,.f-daygroup{border-color:#e1e8f1;box-shadow:0 7px 27px rgba(10,34,70,.04)}
/* Subtle modern gestures, still accessible and readable */
a,button{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:3px solid #daaa5f!important;outline-offset:3px}
::selection{background:#d8e7fb;color:#132c59}
@media(max-width:950px){.premium-home-hero h1{font-size:clamp(38px,5.2vw,58px)}.premium-home-hero .fh-copy{padding:34px}.premium-home-hero .fh-actions{align-items:flex-start}.pu-hero-photo{min-width:215px;width:33%}}
@media(max-width:760px){
 .navwrap{padding:10px 16px!important}.wrap{padding-left:16px;padding-right:16px}
 .fh-hero.premium-home-hero{grid-template-columns:1fr;min-height:unset;border-radius:18px;gap:0}
 .premium-home-hero .fh-copy{padding:29px 25px 8px;min-width:0}
 .hero-date-chip{font-size:9px;letter-spacing:.075em;margin-bottom:22px;gap:8px}
 .premium-home-hero h1{font-size:clamp(38px,10vw,54px);margin:13px 0 16px}
 .premium-home-hero p{font-size:14px;max-width:450px;line-height:1.7}
 .premium-home-hero .fh-actions{display:flex;flex-direction:row;flex-wrap:wrap;margin-top:25px}
 .premium-home-hero .fh-actions .f-button{min-height:42px;width:auto;white-space:nowrap;justify-content:center;padding:12px 13px;font-size:11px}
 .premium-hero-bottom{margin-top:20px;font-size:9px;max-width:340px}
 .premium-saint-visual{height:320px;min-height:0;align-self:stretch;padding-top:0;background:radial-gradient(ellipse at 50% 65%,#406caa44,transparent 65%)}
 .premium-saint-visual .saint-orbit{width:265px;top:50%}
 .premium-saint-visual .saint-cutout{height:330px;width:100%;max-width:none;object-fit:contain;object-position:center bottom}
 .saint-mark{font-size:9px;right:18px;bottom:16px}
 .premium-tradition{grid-template-columns:1fr;margin-top:15px;border-radius:17px}
 .tradition-photo-wrap{min-height:240px}
 .tradition-content{padding:25px}
 .pu-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:25px 23px;border-radius:17px}
 .pu-hero>div:first-child{max-width:none}
 .pu-hero-photo{align-self:stretch;width:100%;max-width:none;min-width:0;height:215px;margin-top:7px;transform:none;border-radius:11px}
 .pu-hero h1{font-size:clamp(39px,9vw,52px)}
 .saint-page-figure{opacity:.28;width:40%;right:-3%;top:15%;bottom:0}
 .f-pagehero:has(.saint-page-figure)>div:first-child{max-width:100%}
 .gz-puja::after{width:80%;opacity:.34;mask-image:linear-gradient(to left,#000 15%,transparent)}
}
@media(max-width:530px){
 .premium-home-hero .fh-copy{padding:24px 21px 6px}
 .premium-home-hero h1{font-size:clamp(37px,9.5vw,49px)}
 .premium-home-hero .fh-actions{gap:8px}
 .premium-home-hero .fh-actions .f-button{font-size:11px;padding:11px 12px}
 .premium-saint-visual{height:285px}
 .premium-saint-visual .saint-cutout{height:305px}
 .f-section{padding:34px 0}
 .tradition-photo-wrap{min-height:205px}
 .tradition-content h2{font-size:27px}
 .pu-hero-photo{height:170px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
