/* HUESCA — Diseño editorial responsivo */
:root {
  --ink: #211c1e;
  --ink-dark: #151314;
  --ink-soft: #393032;
  --cream: #f7f3ed;
  --cream-dark: #eee7dd;
  --sand: #e2d1bf;
  --gold: #d4b08b;
  --gold-strong: #bc936e;
  --blush: #e8c4c3;
  --white: #fffdf9;
  --muted: #786e70;
  --rule: rgba(35, 29, 30, .14);
  --rule-light: rgba(244, 231, 214, .2);
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, Helvetica, sans-serif;
  --container: 1310px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 4px; }
::selection { background: var(--blush); color: var(--ink-dark); }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 88px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: -100px; left: 16px; padding: 12px 18px; background: #fff; color: #111; }
.skip-link:focus { top: 15px; }

/* Cabecera */
.announcement { min-height: 31px; display: flex; justify-content: center; align-items: center; gap: 16px; padding: 7px 16px; background: #b88c82; color: #fffaf3; font-size: 10px; font-weight: 700; letter-spacing: .21em; text-align: center; }
.announcement-sep { width: 2px; height: 2px; border-radius: 100%; background: currentColor; opacity: .8; }
.site-header { position: sticky; z-index: 60; top: 0; background: rgba(23, 20, 21, .96); border-bottom: 1px solid rgba(255, 255, 255, .09); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.header-inner { height: 85px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-symbol { font-family: var(--serif); font-size: 43px; line-height: .85; letter-spacing: -.11em; padding-right: 4px; }
.brand-symbol span { color: var(--gold); }
.brand-type { display: flex; flex-direction: column; gap: 4px; font-size: 17px; font-weight: 700; letter-spacing: .18em; }
.brand-type small { color: #d1bbac; font-size: 8px; font-weight: 600; letter-spacing: .28em; }
.main-nav { display: flex; align-items: center; gap: clamp(13px, 2vw, 29px); }
.main-nav > a { position: relative; color: #e8dfd8; font-size: 12px; font-weight: 500; transition: color .2s ease; }
.main-nav > a::after { content: ''; position: absolute; left: 0; bottom: -9px; width: 0; height: 1px; background: var(--gold); transition: width .28s var(--ease); }
.main-nav > a:hover, .main-nav > a.is-current { color: #fff; }
.main-nav > a:hover::after, .main-nav > a.is-current::after { width: 100%; }
.main-nav .mobile-contact { display: none; }
.header-contact { display: flex; align-items: center; gap: 14px; border: 1px solid rgba(222, 197, 173, .48); color: #f1e8dd; padding: 14px 16px 14px 22px; font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .3s, color .3s; }
.header-contact span { color: var(--gold); }
.header-contact:hover { background: #f1e6d9; color: #262023; }
.header-contact:hover span { color: #262023; }
.menu-toggle { display: none; }

/* Portada */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-dark); color: var(--cream); }
.hero::before { content: ''; pointer-events: none; position: absolute; inset: 0; background: radial-gradient(ellipse at 66% 47%, rgba(121,70,67,.18), transparent 42%), radial-gradient(ellipse at 5% 100%, rgba(139,95,75,.1), transparent 45%); z-index: -1; }
.hero-orbit { position: absolute; border: 1px solid rgba(237, 213, 189, .052); border-radius: 50%; pointer-events: none; }
.orbit-a { width: 900px; height: 900px; right: -360px; top: -200px; }
.orbit-b { width: 570px; height: 570px; right: -200px; top: 50px; }
.hero-grid { min-height: clamp(660px, 54vw, 810px); display: grid; grid-template-columns: 46% 54%; align-items: center; position: relative; padding-top: 57px; padding-bottom: 63px; }
.hero-content { z-index: 2; position: relative; padding: 12px 0 25px; }
.section-kicker { display: inline-flex; align-items: center; gap: 13px; font-size: 10px; font-weight: 700; letter-spacing: .24em; color: var(--gold); line-height: 1.6; }
.section-kicker.ink { color: #8a6656; }
.kicker-line { display: inline-block; width: 34px; height: 1px; flex-shrink: 0; background: currentColor; }
.hero h1 { margin: 28px 0 25px; max-width: 700px; font-family: var(--serif); font-weight: 400; font-size: clamp(66px, 7vw, 117px); letter-spacing: -.057em; line-height: .98; }
h1 em, h2 em { font-weight: 400; color: var(--blush); }
.hero h1 em { display: block; }
.hero-description { margin: 0; max-width: 450px; color: #cfc5bd; font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; margin-top: 37px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-size: 12px; font-weight: 700; letter-spacing: .015em; transition: transform .3s var(--ease), background .3s ease, color .3s ease; }
.button:hover { transform: translateY(-3px); }
.button-light { background: var(--cream); color: var(--ink-dark); min-height: 57px; padding: 0 21px; }
.button-light:hover { background: #ebcfbd; }
.button-text { min-height: 57px; color: var(--white); }
.button-text span { display: grid; place-items: center; color: var(--gold); }
.hero-bottom-note { display: flex; align-items: center; gap: 13px; color: #c9b6ab; margin-top: 80px; font-size: 12px; letter-spacing: .03em; }
.line-dot { display: block; width: 8px; height: 8px; flex: 0 0 auto; border: 1px solid var(--gold); transform: rotate(45deg); }
.hero-visual { position: relative; height: 620px; width: 100%; max-width: 705px; justify-self: end; margin-top: 0; }
.hero-outline-word { position: absolute; top: 16%; left: -16%; transform: rotate(-90deg); color: transparent; -webkit-text-stroke: 1px rgba(239,227,216,.11); font-family: var(--serif); font-size: 105px; letter-spacing: .05em; pointer-events: none; }
.hero-visual-frame { position: absolute; right: 8%; top: 1.5%; width: 66%; height: 93%; overflow: hidden; border: 1px solid rgba(247,226,208,.28); box-shadow: 0 25px 70px rgba(0,0,0,.35), 0 0 30px rgba(205,159,150,.06); }
.hero-visual-frame::after { position: absolute; inset: 0; content: ''; background: linear-gradient(to bottom, transparent 60%, rgba(26,18,22,.09)); pointer-events: none; }
.hero-main-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-inset-frame { position: absolute; bottom: 0; left: -3%; width: 52%; aspect-ratio: 1.36; overflow: hidden; border: 5px solid var(--ink-dark); outline: 1px solid rgba(238,202,187,.35); outline-offset: -5px; box-shadow: 0 22px 45px rgba(0,0,0,.42), 0 0 23px rgba(245,200,168,.07); }
.hero-inset-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual-label { position: absolute; bottom: 18%; right: -8px; transform: rotate(-90deg) translateX(50%); transform-origin: right bottom; display: flex; align-items: center; gap: 10px; color: #d9c5b5; font-size: 10px; font-weight: 700; letter-spacing: .3em; }
.label-slash { width: 21px; height: 1px; background: #b39581; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 22px; padding-bottom: 23px; color: #c5b5aa; border-top: 1px solid var(--rule-light); font-size: 10px; font-weight: 600; letter-spacing: .19em; }
.foot-diamond { width: 5px; height: 5px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* Introducción */
.intro-section { padding: 108px 0 95px; background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 21% 1fr 19%; align-items: start; gap: 30px; }
.intro-index { display: flex; gap: 16px; align-items: center; padding-top: 22px; color: #786763; font-size: 10px; letter-spacing: .2em; font-weight: 700; }
.index-square { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #d6bdb1; font-size: 12px; font-weight: 500; letter-spacing: normal; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 6.2vw, 96px); font-weight: 400; line-height: 1.02; letter-spacing: -.046em; }
.intro-main h2 em, .section-heading h2 em, .events-copy h2 em, .coverage-text h2 em { color: #a67f7f; }
.intro-main p { max-width: 520px; margin: 33px 0 0; color: #746d68; font-size: 15px; line-height: 1.85; }
.intro-aside { justify-self: end; display: flex; flex-direction: column; gap: 21px; color: #867975; font-size: 10px; line-height: 1.9; font-weight: 600; letter-spacing: .19em; padding-top: 14px; }
.intro-aside-line { width: 1px; height: 80px; background: #b89f90; }

/* Servicios */
.services-section { padding: 78px 0 118px; background: #efeae3; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 48px; }
.section-heading h2 { margin-top: 18px; }
.section-heading p { max-width: 580px; color: #77706b; font-size: 14px; line-height: 1.8; margin: 24px 0 0; }
.heading-number { white-space: nowrap; margin-bottom: 13px; font-size: 10px; font-weight: 700; color: #8b7f79; letter-spacing: .18em; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: #dcd1c6; border: 1px solid #dcd1c6; }
.service-card { min-height: 250px; background: #f8f5f0; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 26px 32px 29px; overflow: hidden; transition: background .35s ease; }
.service-card::before { content: ''; position: absolute; width: 170px; height: 170px; border: 1px solid rgba(168,130,108,.15); border-radius: 50%; right: -105px; top: -90px; transition: transform .55s var(--ease); }
.service-card:hover { background: #eee2d8; }
.service-card:hover::before { transform: translate(-30px,30px) scale(1.5); }
.service-number { position: relative; font-size: 11px; color: #987967; letter-spacing: .15em; }
.service-card h3 { position: relative; max-width: 280px; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -.015em; }
.service-corner { position: absolute; right: 28px; bottom: 28px; color: #aa8d7e; }

/* Eventos */
.events-section { padding: 125px 0; background: var(--cream); }
.events-grid { display: grid; grid-template-columns: 44% 1fr; align-items: center; gap: clamp(60px, 9vw, 150px); }
.events-visual { position: relative; height: 680px; max-width: 530px; padding: 20px; background: #f0e6dc; border: 1px solid #d9c6b8; }
.events-visual::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(155,113,95,.15); z-index: 1; pointer-events: none; }
.events-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.events-picture-label { position: absolute; left: 18px; right: 18px; bottom: 20px; display: flex; justify-content: space-between; background: rgba(30,23,25,.8); backdrop-filter: blur(9px); color: #f1dfd1; padding: 16px; font-size: 10px; font-weight: 600; letter-spacing: .16em; }
.events-picture-label span { color: #d6b49a; }
.events-copy h2 { margin: 26px 0 24px; font-size: clamp(52px,5.35vw,80px); }
.events-copy p { max-width: 510px; color: #756d69; line-height: 1.8; font-size: 14px; margin: 0 0 35px; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-list li { padding: 16px 0 17px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--rule); color: #3c3334; font-size: 15px; font-weight: 600; transition: padding .3s ease, color .3s ease; }
.event-list li:first-child { border-top: 1px solid var(--rule); }
.event-list li span { color: #ac8a77; }
.event-list li:hover { padding-left: 8px; color: #a27172; }

/* Galería fotográfica */
.gallery-section { padding: 120px 0 108px; color: #f6f1ea; background: #171416; position: relative; overflow: hidden; }
.gallery-section::before { content: ''; pointer-events: none; position: absolute; top: -270px; right: -200px; width: 800px; height: 800px; background: radial-gradient(circle,rgba(152,105,113,.095),transparent 65%); }
.gallery-heading { position: relative; margin-bottom: 43px; }
.gallery-heading h2 { max-width: 860px; }
.gallery-heading h2 em { color: #e2bcb4; }
.gallery-heading p { color: #b9aaa6; }
.gallery-heading .heading-number { color: #af9990; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(227,200,179,.22); padding: 25px 0 35px; }
.gallery-filters { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.filter-button { background: transparent; color: #beb0ac; border: 1px solid rgba(218,187,167,.25); border-radius: 100px; font-size: 11px; padding: 10px 16px; transition: color .2s, background .2s, border-color .2s; }
.filter-button span { font-size: 10px; margin-left: 3px; opacity: .75; }
.filter-button:hover { color: #fff; border-color: #b89b89; }
.filter-button.active { color: #221b1b; background: #edd5c7; border-color: #edd5c7; }
.gallery-counter { color: #ac9a92; font-size: 11px; white-space: nowrap; }
.gallery-masonry { columns: 4 205px; column-gap: 16px; }
.gallery-item { position: relative; margin: 0 0 16px; break-inside: avoid; display: block; }
.photo-tile { position: relative; overflow: hidden; display: block; border: 1px solid rgba(232,205,183,.29); border-radius: 9px; padding: 4px; background: rgba(238,223,208,.07); box-shadow: 0 8px 30px rgba(0,0,0,.18), 0 0 20px rgba(218,183,162,.04); transition: border-color .35s ease, box-shadow .35s ease, transform .45s var(--ease); }
.photo-tile:hover { transform: translateY(-5px); border-color: #c4a78f; box-shadow: 0 16px 40px rgba(0,0,0,.3), 0 0 24px rgba(223,179,156,.08); }
.photo-tile img { width: 100%; height: auto; border-radius: 5px; transition: transform .9s var(--ease), filter .45s; }
.photo-tile:hover img { transform: scale(1.04); filter: brightness(.78); }
.photo-overlay { position: absolute; inset: 5px; border-radius: 5px; pointer-events: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 14px; color: white; opacity: 0; background: linear-gradient(to bottom, transparent 63%, rgba(0,0,0,.58)); transition: opacity .35s ease; }
.photo-tile:hover .photo-overlay, .photo-tile:focus-visible .photo-overlay { opacity: 1; }
.photo-caption { font-size: 12px; font-weight: 600; }
.photo-caption small { display: block; color: #e2c8b7; font-size: 10px; margin-top: 6px; font-weight: 400; }
.expand-icon { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); width: 35px; height: 35px; border-radius: 50%; }
.gallery-after { display: flex; justify-content: center; gap: 12px; margin: 52px 0 0; font-size: 10px; font-weight: 600; letter-spacing: .22em; color: #a99388; }
.gallery-after span { color: var(--gold); }

/* Videos */
.video-section { background: #efe8df; padding: 118px 0 132px; }
.videos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 33px 21px; }
.video-card { min-width: 0; }
.video-open { display: block; }
.video-poster { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #373031; border-radius: 8px; padding: 4px; border: 1px solid #cab1a4; box-shadow: 0 13px 28px rgba(51,35,28,.1), 0 0 15px rgba(158,117,102,.07); }
.video-poster::after { content: ''; position: absolute; inset: 4px; border-radius: 4px; background: rgba(10, 8, 8, .16); transition: background .25s; }
.video-poster img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; transition: transform .8s var(--ease); }
.video-open:hover .video-poster img { transform: scale(1.06); }
.video-open:hover .video-poster::after { background: rgba(10,8,8,.3); }
.video-play { position: absolute; width: 66px; height: 66px; border-radius: 50%; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; transform: translate(-50%,-50%); background: rgba(251,244,236,.92); color: #1a1516; box-shadow: 0 0 0 8px rgba(249,235,220,.16); transition: transform .3s var(--ease), background .3s; }
.video-play svg { margin-left: 3px; }
.video-open:hover .video-play { background: #e8bfac; transform: translate(-50%,-50%) scale(1.09); }
.video-time { position: absolute; right: 17px; bottom: 17px; z-index: 1; padding: 6px 9px; background: rgba(22,17,18,.83); color: #fff; border-radius: 3px; font-size: 11px; letter-spacing: .07em; }
.video-meta { padding: 20px 1px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.video-name { display: flex; flex-direction: column; gap: 8px; }
.video-name small { color: #9c7565; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.video-name strong { font-family: var(--serif); font-size: 25px; font-weight: 400; letter-spacing: -.02em; }
.video-more { width: 40px; height: 40px; border: 1px solid #d0bcb1; flex: 0 0 auto; display: grid; place-items: center; transition: background .2s; }
.video-open:hover .video-more { background: #e4d1c1; }

/* Cobertura */
.coverage-section { position: relative; overflow: hidden; color: #f1e9e0; background: linear-gradient(118deg,#322526 0%,#1c191a 68%,#181516 100%); }
.coverage-inner { min-height: 440px; display: flex; align-items: center; justify-content: space-between; gap: 45px; padding-block: 88px; position: relative; }
.coverage-pattern { font-family: var(--serif); font-size: 600px; line-height: 1; position: absolute; left: 48%; top: -100px; color: transparent; -webkit-text-stroke: 1px rgba(236,209,194,.045); transform: rotate(-12deg); pointer-events: none; }
.coverage-text { position: relative; z-index: 1; max-width: 870px; }
.coverage-text h2 { font-size: clamp(46px, 5.2vw, 77px); margin: 18px 0 22px; }
.coverage-text h2 em { color: #e8c4bd; }
.coverage-text p { color: #c7b7ad; margin: 0; font-size: 14px; line-height: 1.75; }
.coverage-link { position: relative; z-index: 1; display: grid; flex: 0 0 88px; place-items: center; width: 88px; height: 88px; border: 1px solid rgba(231,204,190,.62); border-radius: 100%; transition: background .3s, color .3s, transform .3s; }
.coverage-link:hover { background: #eee0d4; color: #1b1517; transform: rotate(45deg); }

/* Contacto */
.contact-section { padding: 118px 0 139px; background: #f9f5ee; }
.contact-heading { margin-bottom: 46px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { position: relative; min-height: 315px; background: #ede2d9; border: 1px solid #d7bfb2; display: flex; flex-direction: column; justify-content: space-between; padding: 31px 36px; transition: background .3s, border-color .3s, transform .4s var(--ease); overflow: hidden; }
.contact-card::before { content: ''; position: absolute; border: 1px solid rgba(140,96,86,.2); height: 310px; width: 310px; border-radius: 50%; bottom: -210px; right: -75px; transition: transform .4s var(--ease); }
.contact-card:hover { background: #e9d2c6; border-color: #a9806d; transform: translateY(-6px); }
.contact-card:hover::before { transform: scale(1.2); }
.contact-card-top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; color: #76584b; letter-spacing: .18em; }
.contact-card-top svg { color: #694e43; }
.contact-number { position: relative; z-index: 1; font-family: var(--serif); font-size: clamp(50px, 5.8vw, 85px); line-height: .97; letter-spacing: -.045em; }
.contact-card-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid rgba(75,49,42,.22); font-size: 13px; font-weight: 700; }
.contact-card-bottom span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(90,63,51,.35); border-radius: 50%; }

/* Pie */
.footer { background: #191617; color: #f1eae2; padding: 50px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 48px; }
.footer-logo { font-family: var(--serif); font-size: 56px; line-height: 1; letter-spacing: -.04em; }
.footer-logo span { color: var(--gold); }
.footer-sub { color: #bfaea3; font-size: 10px; line-height: 2.1; font-weight: 600; letter-spacing: .16em; }
.back-to-top { color: #efe6db; display: flex; align-items: center; gap: 13px; font-size: 12px; }
.back-to-top svg { color: var(--gold); }
.footer-end { border-top: 1px solid rgba(221,191,171,.18); padding-top: 18px; color: #998c87; display: flex; justify-content: space-between; gap: 20px; font-size: 9px; font-weight: 600; letter-spacing: .18em; }

/* Visores accesibles */
.media-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: #131111; color: #faf5ed; overflow: auto; }
.media-dialog::backdrop { background: rgba(0,0,0,.9); }
.dialog-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; color: #f0e0d4; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.dialog-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(240,215,199,.36); color: #fff; background: transparent; transition: background .2s; }
.dialog-close:hover { background: #433238; }
.photo-dialog-inner { width: min(calc(100% - 48px), 1260px); margin: 0 auto; display: flex; flex-direction: column; height: 100%; }
.photo-stage { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: center; gap: 28px; }
.photo-stage img { display: block; object-fit: contain; max-width: min(100%, 920px); max-height: calc(100dvh - 160px); width: auto; height: auto; box-shadow: 0 8px 50px rgba(0,0,0,.4); }
.photo-nav { border: 1px solid rgba(245,223,207,.4); color: #fff; background: rgba(42,35,36,.75); display: grid; place-items: center; width: 47px; height: 47px; flex: 0 0 auto; border-radius: 50%; transition: background .2s; }
.photo-nav:hover { background: #765b58; }
.photo-dialog-footer { min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #c3b0a8; font-size: 11px; }
.photo-dialog-footer span:last-child { font-size: 9px; letter-spacing: .16em; }
.video-dialog { width: min(92vw, 1050px); height: auto; max-height: 95dvh; padding: 0 25px 25px; border: 1px solid rgba(223,194,177,.36); box-shadow: 0 35px 100px #000; }
.video-dialog-inner video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; max-height: calc(95dvh - 105px); }

/* Animaciones al desplazarse, con alternativa sin JavaScript */
.js-enabled .reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-enabled .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1190px) {
  .main-nav { gap: 14px; }
  .main-nav > a { font-size: 11px; }
  .header-contact { padding: 12px 13px; }
  .hero h1 { font-size: clamp(65px, 6.7vw, 90px); }
  .hero-visual { height: 555px; }
  .events-grid { gap: 70px; }
  .events-visual { height: 620px; }
}
@media (max-width: 990px) {
  .container { width: min(calc(100% - 52px), var(--container)); }
  .header-inner { height: 75px; }
  .header-contact { margin-left: auto; }
  .menu-toggle { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 9px; background: transparent; border: 1px solid rgba(245,220,203,.4); color: #f5ede7; z-index: 80; }
  .menu-toggle span { width: 100%; height: 1px; background: currentColor; transition: transform .3s, opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #1e1a1b; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 26px 26px; border-bottom: 1px solid rgba(235,197,180,.27); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; max-height: calc(100dvh - 80px); overflow-y: auto; box-shadow: 0 25px 35px rgba(0,0,0,.24); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav > a { padding: 15px 4px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.09); }
  .main-nav > a::after { display: none; }
  .main-nav .mobile-contact { display: block; }
  .hero-grid { grid-template-columns: 46% 54%; min-height: 650px; padding-top: 47px; }
  .hero h1 { font-size: clamp(56px, 6.8vw, 75px); }
  .hero-visual { height: 510px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 14px; }
  .button-light { padding-inline: 16px; }
  .hero-bottom-note { margin-top: 47px; }
  .intro-grid { grid-template-columns: 150px 1fr; }
  .intro-aside { display: none; }
  .events-grid { gap: 46px; }
  .events-visual { height: 545px; }
  .videos-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-masonry { columns: 3 200px; }
  .contact-number { font-size: clamp(47px,7vw,76px); }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  .container { width: calc(100% - 36px); }
  .announcement { font-size: 8px; min-height: 27px; letter-spacing: .12em; gap: 9px; }
  .header-inner { height: 66px; gap: 10px; }
  .brand-symbol { font-size: 34px; }
  .brand-type { font-size: 15px; }
  .brand-type small { font-size: 7px; }
  .header-contact { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; padding-top: 58px; padding-bottom: 55px; min-height: 0; }
  .hero-content { padding: 0; }
  .section-kicker { font-size: 9px; letter-spacing: .18em; }
  .hero h1 { font-size: clamp(57px, 12.2vw, 88px); margin: 26px 0 22px; max-width: 600px; }
  .hero-description { font-size: 14px; line-height: 1.75; max-width: 440px; }
  .hero-actions { margin-top: 28px; }
  .hero-bottom-note { margin-top: 30px; font-size: 11px; }
  .hero-visual { align-self: center; height: min(120vw, 525px); max-width: 480px; width: 100%; margin-top: 44px; }
  .hero-visual-frame { right: 7%; width: 68%; height: 93%; }
  .hero-inset-frame { left: 1%; width: 54%; }
  .hero-visual-label { right: -5px; bottom: 13%; }
  .hero-outline-word { left: -9%; top: 24%; font-size: 83px; }
  .hero-foot { gap: 13px; flex-wrap: wrap; justify-content: center; font-size: 8px; text-align: center; line-height: 1.7; letter-spacing: .11em; }
  .hero-foot .foot-diamond { width: 3px; height: 3px; }
  .intro-section { padding: 75px 0 55px; }
  .intro-grid { display: block; }
  .intro-index { padding: 0; margin-bottom: 24px; }
  h2 { font-size: clamp(49px, 10.3vw, 71px); }
  .intro-main p { margin-top: 21px; font-size: 14px; }
  .services-section { padding: 62px 0 78px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { margin-top: 17px; }
  .heading-number { display: none; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { min-height: 180px; padding: 21px 18px; }
  .service-card h3 { font-size: clamp(23px,5vw,32px); }
  .service-corner { right: 16px; bottom: 19px; }
  .events-section { padding: 78px 0; }
  .events-grid { display: flex; flex-direction: column; gap: 52px; }
  .events-visual { width: 100%; height: min(130vw, 580px); max-width: none; padding: 12px; }
  .events-picture-label { bottom: 12px; left: 12px; right: 12px; padding: 13px; font-size: 8px; }
  .events-copy { width: 100%; }
  .events-copy h2 { font-size: clamp(53px,10vw,70px); }
  .event-list li { font-size: 14px; }
  .gallery-section { padding: 80px 0 75px; }
  .gallery-toolbar { display: flex; flex-direction: column; align-items: stretch; padding-top: 20px; gap: 15px; }
  .gallery-filters { gap: 7px; }
  .filter-button { font-size: 10px; padding: 9px 12px; }
  .gallery-counter { text-align: right; font-size: 10px; }
  .gallery-masonry { columns: 2 130px; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .photo-tile { padding: 3px; }
  .photo-overlay { inset: 3px; padding: 7px; }
  .photo-caption { font-size: 9px; }
  .expand-icon { display: none; }
  .video-section { padding: 80px 0 88px; }
  .videos-grid { grid-template-columns: 1fr; gap: 27px; }
  .video-name strong { font-size: 25px; }
  .coverage-inner { min-height: 0; padding-block: 75px; align-items: flex-end; }
  .coverage-text h2 { font-size: clamp(45px,9.3vw,65px); }
  .coverage-link { width: 52px; height: 52px; flex-basis: 52px; }
  .coverage-link svg { width: 23px; }
  .contact-section { padding: 80px 0 90px; }
  .contact-grid { grid-template-columns: 1fr; gap: 15px; }
  .contact-card { padding: 25px; min-height: 282px; }
  .contact-number { font-size: clamp(55px, 12vw, 82px); }
  .footer-inner { flex-wrap: wrap; gap: 23px; }
  .footer-sub { order: 3; width: 100%; font-size: 9px; }
  .footer-logo { font-size: 50px; }
  .footer-end { flex-wrap: wrap; line-height: 1.7; }
  .photo-dialog-inner { width: calc(100% - 22px); }
  .photo-stage { gap: 8px; }
  .photo-stage img { max-width: calc(100% - 86px); max-height: calc(100dvh - 156px); }
  .photo-nav { width: 34px; height: 34px; }
  .photo-nav svg { width: 19px; }
  .photo-dialog-footer span:last-child { display: none; }
  .video-dialog { width: 96vw; padding: 0 13px 14px; }
}
@media (max-width: 390px) {
  .announcement { font-size: 7px; }
  .brand-type { font-size: 14px; }
  .hero h1 { font-size: 55px; }
  .button { font-size: 11px; }
  .hero-actions { gap: 12px; }
  .hero-visual { height: 415px; }
  .hero-foot { font-size: 7px; }
  .service-card { padding: 16px; }
  .service-card h3 { font-size: 23px; }
  .filter-button { padding: 8px 10px; }
  .contact-card { min-height: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js-enabled .reveal { opacity: 1 !important; transform: none !important; }
}
