:root {
  color-scheme: light;
  --night: #102d4c;
  --deep: #0c2340;
  --ink: #142f4b;
  --muted: #4e6579;
  --frost: #f1f6fa;
  --ice: #e7f0f8;
  --line: #cddce8;
  --amber: #f6c879;
  --amber-hover: #ffda9b;
  --white: #fff;
  --serif: Georgia, 'Times New Roman', serif;
  --content: 82rem;
  --edge: clamp(1rem, 4.25vw, 3.75rem);
  --shadow: 0 1rem 2.5rem rgba(26, 61, 93, .08);
  font: 100%/1.55 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: #f8fafd;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-inline-size: 0; margin: 0; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button:not(:disabled) { cursor: pointer; }
button:disabled { opacity: .65; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, figure { margin: 0; }
h1, h2 { text-wrap: balance; }
::selection { background: #ffe0a8; color: var(--deep); }
:focus-visible { outline: .17rem solid #1663a0; outline-offset: .25rem; }
#main:focus { outline: none; }
.wrap { width: min(var(--content), calc(100% - var(--edge) * 2)); margin-inline: auto; }
.section { padding-block: clamp(2.6rem, 6vw, 5.2rem); }
.section + .section.compact { padding-top: 0; }
.section + .compact-home { padding-top: 0; }
.initial-loading { padding-block: 5rem; color: var(--muted); }
.skip-link { position: fixed; z-index: 20; inset: .75rem auto auto .75rem; translate: 0 -170%; padding: .66rem 1rem; background: white; }
.skip-link:focus { translate: 0 0; }
.icon { width: 1.2rem; height: 1.2rem; flex: none; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-star { stroke-width: 1.5; }

.site-header { position: relative; background: #fff; border-bottom: 1px solid #dfe9f2; z-index: 2; }
.header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1.25rem; padding-top: .55rem; }
.header-inner .brand, .header-actions { min-height: 3rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; flex: none; text-decoration: none; }
.brand img { width: 2.5rem; height: 2.5rem; }
.brand span { display: block; font: 700 1.26rem/1.06 var(--serif); letter-spacing: -.035em; }
.brand small { display: block; margin-top: .25rem; color: #526a7d; font: 600 .73rem/1.15 'Segoe UI', sans-serif; letter-spacing: .035em; }
.header-nav { grid-column: 1/-1; grid-row: 2; display: flex; align-items: center; justify-content: center; gap: 0 clamp(1rem, 2.55vw, 2.5rem); margin-top: .38rem; border-top: 1px solid #e6eef5; }
.header-nav a { text-decoration: none; font-weight: 650; font-size: .89rem; color: #2e4960; padding-block: .56rem; white-space: nowrap; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: #174c77; text-decoration: underline; text-underline-offset: .34rem; }
.header-actions { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: clamp(.65rem, 1.4vw, 1.15rem); }
.header-phone { display: inline-flex; align-items: center; gap: .43rem; min-height: 2.65rem; color: #163d61; font-size: clamp(.94rem, 1.2vw, 1.04rem); font-weight: 760; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 1rem; height: 1rem; color: #376a90; }
.header-phone:hover { color: #0d568b; text-decoration: underline; text-underline-offset: .25rem; }
.header-request { white-space: nowrap; }
.icon-button.menu-toggle { display: none; }
.header-nav .header-menu-request { display: none; }
.catalog-counter { color: #3d586e; background: #edf4fa; border-top: 1px solid #e3ebf2; }
.catalog-counter-inner { min-height: 1.75rem; display: flex; align-items: center; justify-content: flex-end; padding-block: .18rem; font-size: .76rem; font-weight: 650; }
.header-catalog-count { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.catalog-counter-inner strong { color: #163d61; font-size: .84rem; line-height: 1.2; font-variant-numeric: tabular-nums; }

.attendance { padding-block: 0 clamp(1.6rem, 4vw, 3rem); scroll-margin-top: 1rem; }
.attendance-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(1.1rem, 4vw, 4rem); align-items: center; padding: clamp(1.15rem, 4.1vw, 3.15rem); border-radius: 1.25rem; color: white; background: linear-gradient(125deg, var(--deep), #183e64); }
.attendance-summary :is(h2, h3) { font: 500 clamp(1.65rem, 4vw, 2.65rem)/1 var(--serif); letter-spacing: -.028em; }
.attendance-summary p { margin-top: .55rem; max-width: 28rem; font-size: .91rem; color: #e1edf6; }
.attendance-odometer { display: flex; flex-wrap: wrap; gap: clamp(.2rem, 1vw, .4rem); margin-top: 1.05rem; }
.attendance-odometer span { display: grid; place-items: center; min-width: 1.05em; padding: .06em .14em; border: 1px solid #7da3bf70; border-radius: .22em; background: linear-gradient(#061523 49%, #425971 50%, #102b44 52%); color: #ffdd9f; font-family: 'Courier New', monospace; font-weight: 700; font-size: clamp(1.28rem, 5.4vw, 2.65rem); line-height: 1.11; font-variant-numeric: tabular-nums; }
.attendance-periods div { display: flex; align-items: baseline; justify-content: space-between; gap: .55rem; padding-block: .27rem; border-bottom: 1px solid #a6c1d54d; font-size: .9rem; }
.attendance-periods div:last-child { border-bottom: 0; }
.attendance-periods dd { margin: 0; color: #ffdd9f; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 42rem) { .attendance-card { grid-template-columns: 1fr; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.9rem; max-width: 100%; border-radius: .75rem; border: 1px solid transparent; padding: .62rem 1.05rem; text-decoration: none; text-align: center; font-size: .9rem; font-weight: 730; line-height: 1.25; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--amber); color: #213242; border-color: var(--amber); box-shadow: 0 .3rem .9rem #8f5d2828; }
.btn-primary:hover { background: var(--amber-hover); border-color: var(--amber-hover); }
.btn-night { background: #183e64; color: white; border-color: #183e64; }
.btn-night:hover { background: #20527e; border-color: #20527e; }
.btn-outline { color: #213e5a; border-color: #a9bfd2; background: #ffffff78; }
.btn-outline:hover { background: var(--ice); border-color: #7494b1; }
.btn-glass { color: #fff; border-color: #88a9c77a; background: #123656a1; }
.btn-glass:hover { background: #264e73; }
.btn-text { padding-inline: 0; min-height: auto; color: #1c507b; background: transparent; }
.btn-text:hover { text-decoration: underline; text-underline-offset: .25rem; }
.small-button { min-height: 2.65rem; }

.home-hero { isolation: isolate; position: relative; overflow: hidden; min-height: clamp(28rem, 38vw, 34rem); margin-top: clamp(.85rem, 1.9vw, 1.6rem); color: white; border-radius: clamp(1.15rem, 2.3vw, 1.95rem); background: var(--deep); box-shadow: var(--shadow); }
.hero-picture { position: absolute; z-index: -2; inset: 0 0 0 35%; height: 100%; width: 65%; overflow: hidden; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.home-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #102b49 0%, #102b49 27%, #102b49ef 39%, #102b4960 54%, transparent 68%), linear-gradient(0deg, #09203c68, transparent 34%); }
.hero-copy { display: grid; justify-items: start; align-content: center; min-height: inherit; padding: clamp(1.7rem, 5vw, 4.7rem); max-width: 45rem; }
.hero-kicker { display: flex; gap: .45rem; align-items: center; margin-bottom: clamp(.8rem, 2vw, 1.4rem); color: #e8f2ff; font-size: .78rem; font-weight: 720; letter-spacing: .112em; text-transform: uppercase; }
.hero-kicker .icon { color: var(--amber); width: .95rem; }
.hero-copy h1 { max-width: 12em; font: 500 clamp(3.1rem, 5.65vw, 6rem)/.97 var(--serif); letter-spacing: -.07em; text-wrap: initial; }
.hero-copy h1 span { display: block; color: #ffe0a0; font-style: italic; }
.hero-copy > p:not(.hero-kicker) { margin-top: 1.3rem; max-width: 26rem; color: #edf5fd; font-size: clamp(.96rem, 1.4vw, 1.105rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .62rem; margin-top: clamp(1.15rem, 3vw, 2rem); }
.hero-actions .btn { min-height: 3rem; }
.home-hero :focus-visible, .request-band :focus-visible, .site-footer :focus-visible { outline-color: #ffd48e; }
.countdown { position: absolute; right: clamp(1rem, 3vw, 2.25rem); bottom: clamp(1rem, 3vw, 2.15rem); min-width: 14.4rem; padding: .8rem 1.05rem .75rem; border: 1px solid #adc8e456; border-radius: .92rem; background: #102b4be8; box-shadow: 0 .3rem 1.4rem #0c223943; }
.countdown-title { display: flex; align-items: center; gap: .43rem; font-size: .78rem; font-weight: 700; }
.countdown-title .icon { color: var(--amber); width: .96rem; height: .96rem; }
.countdown-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: .62rem; margin-top: .55rem; }
.countdown-values span + span { border-left: 1px solid #a2bdd351; padding-left: .62rem; }
.countdown-values strong { display: block; font-size: clamp(1.2rem, 2.75vw, 1.68rem); color: #ffdc98; font-weight: 690; line-height: 1.05; font-variant-numeric: tabular-nums; }
.countdown-values small { display: block; color: #e1eef9; font-size: .73rem; }
.countdown-greeting { color: #ffdd9f; font: 500 1.55rem/1.05 var(--serif); }

.tabs { display: flex; align-items: center; gap: .15rem; padding: .23rem; border-radius: .75rem; background: #dae8f3; }
.tabs button { border: 0; min-height: 2.18rem; background: transparent; border-radius: .55rem; padding: .43rem .78rem; font-size: .875rem; font-weight: 675; line-height: 1.2; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: white; box-shadow: 0 .2rem .48rem #38577520; color: #174c77; }

.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: clamp(1.05rem, 2.2vw, 1.8rem); }
.section-head h2, .block-title { font: 500 clamp(1.95rem, 4.05vw, 3.45rem)/1.04 var(--serif); letter-spacing: -.052em; }
.section-head p { color: var(--muted); margin-top: .42rem; max-width: 41rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 2vw, 1.35rem); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d7e4ee; border-radius: 1rem; background: #fff; box-shadow: 0 .35rem 1.2rem #254c7010; transition: translate .18s, border-color .18s, box-shadow .18s; }
.tile-card:hover, .tile-card:focus-within { translate: 0 -.16rem; border-color: #aac0d3; box-shadow: 0 .6rem 1.7rem #254c7021; }
.tile-card > a { display: grid; grid-template-rows: auto 1fr; flex: 1; color: inherit; text-decoration: none; }
.tile-card > a:focus-visible { outline-offset: -.22rem; }
.tile-image { position: relative; overflow: hidden; background: #e3eff9; aspect-ratio: 1.95; }
.tile-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.tile-image.illustrative img { object-position: 50% 45%; }
.tile-image.illustrative.variant-1 img { object-position: 38% 42%; }
.tile-image.illustrative.variant-2 img { object-position: 73% 52%; }
#result-cards .tile-image[data-cover-kind] { aspect-ratio: 1.68; }
.tile-image[data-cover-kind="source"] { background: #eef3f7; }
.tile-image[data-cover-kind="source"] img { object-position: 50% 45%; }
.tile-image[data-cover-fit="top"] img { object-position: center top; }
.tile-image[data-cover-fit="contain"] img, .detail-visual[data-cover-fit="contain"] img { object-fit: contain; object-position: center; }
.tile-content { display: grid; grid-template-rows: auto auto 1fr auto; align-items: start; align-content: start; min-width: 0; padding: clamp(.9rem, 2vw, 1.25rem); }
.tile-meta { min-height: 1.18rem; margin-bottom: .5rem; color: #3f6888; font-size: .75rem; font-weight: 700; letter-spacing: .045em; overflow-wrap: anywhere; }
.tile-meta[aria-hidden="true"] { min-height: 0; margin: 0; }
.tile-content h3 { font: 600 clamp(1.2rem, 2.22vw, 1.65rem)/1.13 var(--serif); overflow-wrap: anywhere; letter-spacing: -.025em; }
.tile-content p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: .55rem; font-size: .9rem; color: var(--muted); }
.tile-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .24rem .6rem; margin-top: 1rem; padding-top: .72rem; border-top: 1px solid #e3edf4; color: #1d4e77; font-size: .82rem; font-weight: 720; }
.tile-bottom span { color: #3e6583; }
.tile-card:hover .tile-bottom span { text-decoration: underline; text-underline-offset: .2rem; }
.cards.two .tile-image { aspect-ratio: 2.2; }
.home-program-date { grid-column: 1/-1; position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; min-block-size: 10rem; border-radius: 1rem; background: #102b49; color: #fff; box-shadow: var(--shadow); }
.home-program-date-scene { position: absolute; inset: 0; z-index: -2; }
.home-program-date-scene img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 75% center; }
.home-program-date::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #102b49 0%, #102b49 18%, #102b49ed 37%, #102b4980 54%, transparent 75%); }
.home-program-date-copy { display: grid; justify-items: start; gap: clamp(.75rem, 1.6vw, 1.3rem); padding: clamp(1.4rem, 4vw, 3.3rem); }
.home-program-date-copy h3 { max-inline-size: 11ch; font: 500 clamp(1.85rem, 4vw, 3.4rem)/1.02 var(--serif); letter-spacing: -.045em; }
.home-program-date :focus-visible { outline-color: #ffd48e; }
@media (width > 45rem) {
  .home-program-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-program-cards > .tile-card { grid-column: span 2; }
  .home-program-cards:has(> .tile-card:last-child:nth-child(3n + 2)) > .tile-card:nth-last-child(-n + 2) { grid-column: span 3; }
  .home-program-cards:has(> .tile-card:last-child:nth-child(3n + 2)) > .tile-card:nth-last-child(-n + 2) .tile-image { aspect-ratio: 2.3; }
  .home-program-date { grid-column: span 4; min-block-size: 16rem; }
}
.request-band { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: clamp(1.35rem, 4vw, 3rem); border-radius: 1.25rem; background: radial-gradient(ellipse at 85% 110%, #315f86, transparent 60%), #112f50; color: white; }
.request-band h2 { font: 500 clamp(1.7rem, 3.3vw, 2.8rem)/1.08 var(--serif); letter-spacing: -.04em; }
.request-band p { color: #e2eef9; margin-top: .45rem; max-width: 41rem; }
.request-band .btn { flex: none; }

.internal { padding-bottom: clamp(2.65rem, 6vw, 5rem); min-height: 53vh; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-block: .9rem 1.05rem; color: #536b81; font-size: .83rem; }
.crumbs a { text-underline-offset: .15rem; }
.page-intro { position: relative; overflow: hidden; isolation: isolate; min-height: 10.25rem; display: grid; align-content: center; justify-items: start; gap: .65rem; padding: clamp(1.1rem, 4vw, 2.6rem); margin-bottom: clamp(1rem, 2vw, 1.55rem); color: #fff; background: #112d4a; border-radius: 1.15rem; }
.page-intro::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #112d4a 15%, #112d4a 48%, #112d4a30 100%); }
.page-intro img { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 55%; height: 100%; object-fit: cover; object-position: center 39%; opacity: .83; }
.page-intro h1, .detail-title h1 { font: 500 clamp(2.2rem, 6vw, 4.25rem)/1.04 var(--serif); letter-spacing: -.061em; }
.page-intro p { color: #f1f7fd; max-width: 42rem; }
.catalog-tools { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr)); align-items: stretch; gap: .42rem; }
.catalog-control { display: grid; grid-template-rows: auto 1fr; align-content: start; gap: .12rem; width: 100%; height: 100%; min-height: 4rem; padding: .54rem clamp(.45rem, 2vw, 1rem); border: 1px solid #b9cedf; border-radius: .7rem; color: #18496f; background: #fff; text-align: start; cursor: pointer; list-style: none; }
.catalog-control::-webkit-details-marker { display: none; }
.catalog-control > span { display: flex; align-items: center; justify-content: space-between; gap: .2rem; color: #4d637a; font-size: .76rem; font-weight: 650; }
.catalog-control > span .icon { flex-shrink: 0; width: .96rem; height: .96rem; }
.catalog-control strong { display: block; color: #174870; font-size: .94rem; line-height: 1.18; overflow-wrap: anywhere; }
.catalog-control > span b { font-size: .72rem; border-radius: .34rem; padding-inline: .28rem; background: #d5e7f6; }
.catalog-control[data-active] { border-color: #789fbd; background: #edf6fd; }
.catalog-control:hover, .catalog-disclosure[open] > .catalog-control { background: #e4f1fc; border-color: #739abb; }
.catalog-disclosure > .catalog-control > span::after { content: ""; width: .42rem; height: .42rem; margin: 0 .1rem .16rem auto; flex: none; border-right: 1px solid; border-bottom: 1px solid; rotate: 45deg; }
.catalog-disclosure[open] > .catalog-control > span::after { margin: .16rem .1rem 0 auto; rotate: 225deg; }
.catalog-panel { position: absolute; z-index: 2; inset: calc(100% + .44rem) 0 auto; padding: clamp(.8rem, 2vw, 1.35rem); max-height: min(60vh, 34rem); overflow: auto; overscroll-behavior: contain; border: 1px solid #b8cedf; border-radius: .85rem; background: #f7fbff; box-shadow: 0 .75rem 2rem #183c5e35; }
.catalog-disclosure:not([open]) .catalog-panel { display: none; }
.catalog-category-group { margin-top: .72rem; }
.catalog-category-group > p { margin-bottom: .37rem; color: #465f76; font-size: .8rem; font-weight: 700; }
.catalog-active { display: flex; flex-wrap: wrap; gap: .32rem; margin-top: .6rem; }
.catalog-active a { display: inline-flex; align-items: center; gap: .32rem; max-width: 100%; padding: .24rem .48rem; border: 1px solid #bed6ea; border-radius: .5rem; color: #204d73; background: #edf6fd; text-decoration: none; font-size: .8rem; }
.catalog-active a span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.catalog-active .icon { flex: none; width: .78rem; height: .78rem; }
.filter-tags { display: flex; flex-wrap: wrap; gap: .42rem; }
.chip { display: inline-flex; align-items: center; min-height: 2.55rem; padding: .46rem .77rem; border-radius: .55rem; border: 1px solid #c4d6e4; color: #2c4b65; background: #fff; text-decoration: none; font-size: .84rem; font-weight: 650; }
.chip:hover { border-color: #769bb8; }
.chip[aria-current="true"] { color: white; background: #1d4e78; border-color: #1d4e78; }
.filters { display: grid; grid-template-columns: minmax(10rem, 1.35fr) repeat(3, minmax(0, 1fr)); gap: .68rem; }
.filters > .field { min-width: 0; }
.field { display: grid; align-content: start; gap: .3rem; min-width: 0; font-size: .88rem; font-weight: 650; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { min-width: 0; width: 100%; min-height: 2.7rem; margin: 0; padding: .48rem .68rem; border: 1px solid #a9bed0; border-radius: .51rem; font-weight: 400; color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 6rem; }
.field select { appearance: none; padding-right: 1.63rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23405e77' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E") right .47rem center / .9rem no-repeat; }
.field :is(input, select):disabled { background-color: #e9f0f7; color: #526c80; }
.filter-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; margin-top: .68rem; }
.filter-bottom small { color: var(--muted); }
.result-head { display: flex; align-items: center; justify-content: space-between; margin: 1.2rem 0 .85rem; gap: .6rem; }
.result-head h2 { font-size: 1rem; font-weight: 750; }
.result-more { display: flex; justify-content: center; margin-top: 1.35rem; }
.no-results { padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: .95rem; border: 1px dashed #9bb6cd; background: #edf4fa; }
.no-results h2 { font: 600 1.65rem/1.2 var(--serif); }
.no-results p { margin-top: .48rem; color: var(--muted); }
.no-results .actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }
.archive-list { display: grid; gap: .7rem; padding: 0; margin: 0; list-style: none; }
.archive-list a { display: grid; gap: .2rem; padding: .9rem 1.08rem; border-radius: .65rem; border: 1px solid var(--line); background: white; text-decoration: none; }
.archive-list a:hover { border-color: #799ab8; }
.archive-list strong { color: #174e7b; }
.archive-list small { color: var(--muted); font-size: .86rem; }

.detail-back { display: inline-block; margin-bottom: .65rem; color: #325d80; text-decoration: underline; text-underline-offset: .19rem; font-size: .88rem; font-weight: 660; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(1rem, 3.2vw, 2.65rem); align-items: center; margin-block: .45rem clamp(1.45rem, 4vw, 3.1rem); }
.detail-visual { position: relative; overflow: hidden; border-radius: 1rem; aspect-ratio: 1.48; background: #dceafa; }
.detail-visual button, .detail-visual img { width: 100%; height: 100%; }
.detail-visual button { display: block; padding: 0; border: 0; background: transparent; }
.detail-visual button:focus-visible { outline-offset: -.25rem; }
.detail-visual img { object-fit: cover; }
.detail-visual[data-source-photo]:not([data-cover-fit="contain"]) { aspect-ratio: auto; }
.detail-visual[data-source-photo]:not([data-cover-fit="contain"]) :is(button, img) { height: auto; }
.detail-visual[data-source-photo]:not([data-cover-fit="contain"]) img { display: block; max-height: 36rem; object-fit: contain; }
.detail-visual[data-cover-fit="contain"] { justify-self: center; width: min(100%, 26rem); aspect-ratio: 4 / 5; background: linear-gradient(140deg, #d4e5f5, #edf4fb 75%); }
.detail-illustration-label { position: absolute; inset: auto auto .65rem .65rem; max-width: calc(100% - 1.3rem); padding: .34rem .55rem; border-radius: .45rem; background: #112d4a; color: #fff; font-size: .78rem; pointer-events: none; }
.detail-title { display: grid; min-width: 0; gap: .75rem; justify-items: start; }
.detail-title h1 { overflow-wrap: anywhere; }
.detail-title > p { color: var(--muted); }
.detail-title .card-price { color: var(--ink); font-weight: 720; font-size: 1.12rem; }
.detail-kicker { color: #315d80 !important; font-size: .81rem; font-weight: 720; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .2rem; }
.detail-overview, .tile-facts { display: grid; gap: .24rem .72rem; margin: .5rem 0 0; }
.detail-overview { display: flex; flex-wrap: wrap; }
.detail-overview > div, .tile-facts > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .3rem; color: #173d5e; }
.detail-overview > div { padding: .35rem .6rem; border: 1px solid #d1e0ed; border-radius: .5rem; background: #edf5fc; font-size: .88rem; }
.tile-facts { font-size: .8rem; line-height: 1.28; }
.tile-facts > div { overflow-wrap: anywhere; }
.detail-overview dt, .tile-facts dt { color: #536c83; }
.detail-overview dd, .tile-facts dd { margin: 0; font-weight: 690; }
.details-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: clamp(.9rem, 3vw, 2.25rem); margin-block: clamp(1.5rem, 4vw, 3rem); }
.details-layout.single { grid-template-columns: minmax(0, 53rem); }
.prose, .details-aside { min-width: 0; }
.prose { display: flow-root; overflow-wrap: anywhere; color: #314b60; }
.prose h2, .prose h3, .details-aside h2, .detail-section h2 { color: var(--ink); font: 600 clamp(1.45rem, 3vw, 2.05rem)/1.14 var(--serif); letter-spacing: -.02em; }
.prose h3 { font-size: 1.28rem; }
.prose > * + * { margin-top: .75rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose a { color: #144e80; font-weight: 650; text-underline-offset: .17rem; }
.details-aside { padding: clamp(.9rem, 2.5vw, 1.45rem); border: 1px solid #d0dfed; border-radius: .9rem; background: #eff5fb; }
.details-aside dl { display: grid; gap: .55rem; margin-top: .85rem; }
.details-aside dl > div { display: grid; grid-template-columns: minmax(5.4rem, .8fr) minmax(0, 1.2fr); gap: .35rem .6rem; padding-bottom: .55rem; border-bottom: 1px solid #cfdfed; }
.details-aside dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.details-aside dt { color: #4c6579; }
.details-aside dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.detail-section { margin-block: clamp(1.7rem, 5vw, 3.5rem); }
.detail-section > h2 { margin-bottom: .85rem; }
.detail-section > p { margin-bottom: .75rem; color: var(--muted); }
.rates, .gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .68rem; }
.rates > div { padding: .85rem; border: 1px solid var(--line); border-radius: .62rem; background: #fff; }
.rates h3 { font-size: 1rem; }
.rates p { color: var(--muted); font-size: .9rem; }
.rates strong { display: block; color: #183f63; margin-top: .3rem; font-variant-numeric: tabular-nums; }
.equipment-prices details { margin-top: .65rem; padding: .8rem clamp(.7rem, 2vw, 1.15rem); border: 1px solid var(--line); border-radius: .75rem; background: #fff; }
.equipment-prices summary { min-height: 2.3rem; align-content: center; cursor: pointer; color: #1d4e77; font-weight: 700; }
.equipment-prices .portal-table { margin-top: .55rem; }
.gallery-thumbs button { min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .72rem; background: #e9f2fa; text-align: start; }
.gallery-thumbs button img { width: 100%; aspect-ratio: 1.3; object-fit: cover; }
.gallery-thumbs button span { display: block; padding: .45rem .6rem; color: var(--ink); font-size: .84rem; }
.music-gallery { padding: clamp(.75rem, 2.5vw, 1.65rem); border: 1px solid #cadeee; border-radius: var(--radius); background: #ecf4fa; }
.music-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1.2vw, .9rem); }
.music-gallery-grid button { display: flex; flex-direction: column; min-height: 100%; background: #fff; }
.music-gallery-grid button:hover { border-color: #4a799c; }
.music-gallery-grid button:focus-visible { outline-offset: .12rem; }
.music-gallery-grid button img { aspect-ratio: 1.58; }
.music-gallery-grid button .music-gallery-title { padding: .64rem .66rem .16rem; overflow-wrap: anywhere; font-size: clamp(.8rem, 1.4vw, 1rem); font-weight: 690; line-height: 1.28; }
.music-gallery-grid button .music-gallery-type { margin-top: auto; padding: .1rem .66rem .65rem; color: #4d657a; font-size: .74rem; }
.music-gallery-more { margin-top: .9rem; }
.music-gallery-more summary { width: fit-content; padding: .4rem .68rem; border: 1px solid #b3cee2; border-radius: .5rem; background: #fff; color: #244e71; font-weight: 650; cursor: pointer; }
.music-gallery-more[open] summary { margin-bottom: .9rem; }
.music-gallery-more[open] summary span:first-child, .music-gallery-more:not([open]) summary span:last-child { display: none; }
#source-gallery { scroll-margin-top: 1rem; }
.source-links { margin-block: 1rem .8rem; }
.source-links summary { cursor: pointer; color: #244e71; font-weight: 660; }
.source-links ul { margin: .5rem 0 0; padding-left: 1.4rem; }
.source-links a { color: #1e537e; text-underline-offset: .17rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-panel { border-radius: .9rem; border: 1px solid var(--line); background: #fff; padding: clamp(1rem, 3vw, 1.7rem); min-width: 0; overflow-wrap: anywhere; }
.contact-panel h2 { font: 600 1.8rem/1.12 var(--serif); margin-bottom: .8rem; }
.contact-panel p + p, .contact-panel p + a, .contact-panel p + button { margin-top: .7rem; }
.contact-panel a:not(.btn) { color: #194d76; text-underline-offset: .2rem; }
.contact-primary { background: linear-gradient(145deg, #f2f8ff, #fff 75%); }
.verified-contacts { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.page-links { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin-top: .55rem; list-style: none; }
.page-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.contact-history { margin-top: 1rem; }
.contact-history summary { width: fit-content; color: #1d4c73; font-weight: 700; cursor: pointer; }
.contact-history p { margin-top: .7rem; color: var(--muted); }
.contact-history dl { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin-top: .7rem; }
.contact-history dt { color: var(--muted); font-size: .86rem; }
.contact-history dd { margin: .2rem 0 0; font-weight: 650; }
.order-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; list-style: none; }
.order-prices { margin-block: clamp(1.35rem, 4vw, 2.5rem); }

.site-footer { color: white; background: #112e4d; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1.2rem 2rem; padding-block: clamp(1.4rem, 4vw, 2.65rem); }
.site-footer .brand small, .site-footer p, .footer-low { color: #d0e2f1; }
.site-footer p { margin-top: .65rem; font-size: .86rem; }
.footer-nav { display: flex; align-content: flex-start; gap: .6rem 1.15rem; flex-wrap: wrap; }
.footer-nav a, .footer-contacts a, .footer-low a { color: #e4f1fc; text-underline-offset: .2rem; font-size: .86rem; }
.footer-contacts { display: grid; align-content: start; justify-items: start; gap: .39rem; overflow-wrap: anywhere; }
.footer-low { display: flex; gap: .4rem 1.3rem; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid #6b8eaa69; padding-block: .85rem; font-size: .81rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: baseline; }
.legal-page article { max-width: 53rem; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 4vw, 3.5rem); }
.legal-page h1 { font: 600 clamp(2rem, 5vw, 3.55rem)/1.08 var(--serif); letter-spacing: -.035em; overflow-wrap: anywhere; }
.legal-date { color: var(--muted); font-size: .87rem; margin-top: .55rem; }
.legal-note { margin-top: .9rem; padding: .72rem .85rem; border-radius: .55rem; background: #f8efdf; color: #68451a; }
.legal-copy { margin-top: 1.45rem; }
.legal-copy > h2:not(:first-child) { margin-top: 1.45rem; }
.floating-tools { position: fixed; z-index: 10; inset-inline-end: max(.65rem, env(safe-area-inset-right)); inset-block-end: max(.65rem, env(safe-area-inset-bottom)); width: min(27rem, calc(100% - 1.3rem)); display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; pointer-events: none; }
.floating-tools > :not(:empty) { pointer-events: auto; }
.floating-tools > :empty { display: none; }
#cookie-notice { width: 100%; }
.cookie-notice { display: flex; align-items: center; justify-content: space-between; gap: .45rem .85rem; flex-wrap: wrap; padding: .75rem 1rem; border: 1px solid #b5cadd; border-radius: .75rem; background: #f8fbff; color: var(--ink); box-shadow: 0 .55rem 2rem #132e4e38; }
.cookie-notice h2 { font: 600 1.15rem/1.15 var(--serif); }
.cookie-notice p { font-size: .84rem; margin-top: .28rem; }
.cookie-notice a, .form-privacy a { color: #174d7e; text-underline-offset: .17rem; }
.cookie-notice .btn { min-height: 2.75rem; margin-left: auto; }
#floating-contact { max-width: 100%; }
.contact-widget { position: relative; width: 3.5rem; min-height: 3.5rem; }
.contact-widget[open] { width: min(18rem, calc(100vw - 1.3rem)); padding-block-end: 4.1rem; }
.contact-widget summary { position: absolute; inset-inline-end: 0; inset-block-end: 0; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--night); box-shadow: 0 .4rem 1.4rem #132e4e52; cursor: pointer; list-style: none; }
.contact-widget summary::-webkit-details-marker { display: none; }
.contact-widget summary:hover { background: #214970; }
.contact-widget summary .icon { display: block; width: 1.5rem; height: 1.5rem; }
.contact-widget-close, .contact-widget[open] .contact-widget-chat { display: none; }
.contact-widget[open] .contact-widget-close { display: block; }
.contact-widget-panel { max-block-size: min(18rem, 46dvh); overflow-y: auto; padding: .8rem; border: 1px solid #b5cadd; border-radius: .85rem; background: #f8fbff; box-shadow: 0 .55rem 2rem #132e4e38; }
.floating-tools:has(.cookie-notice) .contact-widget-panel { max-block-size: min(18rem, max(4rem, calc(100dvh - 15rem))); }
.contact-widget-panel h2 { margin: 0 0 .35rem .3rem; font: 600 1.15rem/1.25 var(--serif); }
.contact-widget-panel ul { margin: 0; padding: 0; list-style: none; }
.contact-widget-panel :is(a, button) { display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 2.85rem; padding: .3rem; border: 0; border-radius: .5rem; background: transparent; color: var(--ink); text-align: start; text-decoration: none; font-weight: 650; cursor: pointer; }
.contact-widget-panel :is(a, button):hover { background: var(--ice); }
.contact-widget-panel :focus-visible { outline-offset: -2px; }
.contact-widget-icon { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: .5rem; background: var(--night); color: #fff; }
.contact-widget-icon.whatsapp { background: #147b4b; }
.contact-widget-icon.telegram { background: #17698d; }
body:has(.contact-widget) .footer-low { padding-inline-end: 3.6rem; }
.form-privacy { display: grid; gap: .35rem; }
.form-legal-links { display: flex; flex-wrap: wrap; gap: .35rem .85rem; padding-left: 1.45rem; font-size: .8rem; }

dialog { width: min(41rem, calc(100% - 1.4rem)); max-width: none; max-height: calc(100% - 1.4rem); padding: 0; overflow: auto; border: 0; border-radius: 1.12rem; color: var(--ink); background: #f9fbfe; box-shadow: 0 1rem 4rem #091c3980; }
dialog::backdrop { background: #0b213ab8; }
.dialog-shell { padding: clamp(.9rem, 4vw, 1.8rem); }
.dialog-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .55rem 1.65rem; margin-bottom: 1.08rem; }
.dialog-head h2 { font: 500 clamp(1.65rem, 4vw, 2.4rem)/1.1 var(--serif); letter-spacing: -.035em; }
.dialog-head p { margin-top: .55rem; color: var(--muted); font-size: .92rem; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; min-width: 2.5rem; padding: .35rem; border-radius: .6rem; border: 1px solid #a9bed0; background: white; }
.icon-button:hover { background: #e8f3fc; }
.dialog-form, .form-grid { display: grid; gap: .8rem; }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .62rem .8rem; }
.cover-grid { grid-column: 1/-1; }
.form-check { display: flex; align-items: start; gap: .45rem; color: #344f64; font-size: .85rem; }
.form-check input { margin-top: .24rem; flex: none; accent-color: #174a77; }
.date-unknown { align-self: end; min-height: 2.5rem; align-items: center; }
.date-unknown input { margin-top: 0; }
.lead-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-details { padding: .62rem .72rem; border: 1px solid var(--line); border-radius: .55rem; }
.form-details > summary { cursor: pointer; font-weight: 650; color: #214f74; font-size: .9rem; }
.form-details > div { margin-top: .75rem; }
.form-status { color: #8f261f; font-size: .88rem; }
.form-submit { justify-self: start; }
.form-success { display: grid; justify-items: start; gap: .72rem; }
.form-success strong { color: #174c73; }
.image-dialog { width: min(58rem, calc(100% - 1.4rem)); }
.image-dialog .dialog-head { margin-bottom: .65rem; }
.image-dialog figure { padding: 0; }
.image-dialog figure img { width: 100%; max-height: 65vh; object-fit: contain; background: #e3eff9; border-radius: .6rem; }
.image-dialog figcaption { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: .55rem; margin-top: .65rem; }

@media (max-width: 55rem) {
  .header-inner { min-height: 3.8rem; column-gap: .52rem; padding-top: 0; }
  .header-nav { display: none; position: absolute; inset: calc(100% - 1px) 0 auto; flex-direction: column; align-items: stretch; gap: .05rem; margin-top: 0; padding: .6rem var(--edge) .85rem; background: #f8fbff; border-bottom: 1px solid #c5d9e9; box-shadow: 0 .65rem 1.2rem #234b6e25; max-height: min(70vh, 29rem); overflow-y: auto; }
  .header-nav.open { display: flex; }
  .header-nav a { font-size: .94rem; padding: .55rem; white-space: normal; }
  .header-nav .header-menu-request { display: inline-flex; align-self: flex-start; margin-top: .35rem; }
  .header-request, .header-phone span, .site-header .catalog-counter { display: none; }
  .header-phone { box-sizing: border-box; justify-content: center; width: 2.75rem; min-height: 2.75rem; border: 1px solid #b7c9d9; border-radius: .65rem; background: #f6fbff; }
  .header-phone .icon { width: 1.15rem; height: 1.15rem; }
  .header-phone:hover { background: #e9f3fc; }
  .icon-button.menu-toggle { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; }
  .icon-button.menu-toggle:focus-visible { outline-offset: .12rem; }
  .music-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { max-width: 35rem; }
  .hero-copy h1 { font-size: clamp(2.7rem, 7.15vw, 4.3rem); }
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters .search-field { grid-column: span 2; }
}
@media (max-width: 36rem) {
  .header-inner .brand { gap: .35rem; }
  .header-inner .brand img { width: 1.85rem; height: 1.85rem; }
  .header-inner .brand span { font-size: 1rem; white-space: nowrap; }
  .header-inner .brand small { display: none; }
  .header-actions { gap: .38rem; }
}
@media (max-width: 45rem) {
  .catalog-page .crumbs { margin-block: .5rem; font-size: .76rem; }
  .catalog-page .page-intro { min-height: 5.6rem; gap: .3rem; padding: .75rem .82rem; margin-bottom: .7rem; border-radius: .82rem; }
  .catalog-page .page-intro h1 { font-size: clamp(1.66rem, 6.8vw, 2.3rem); letter-spacing: -.045em; }
  .catalog-page .page-intro p { font-size: .79rem; line-height: 1.26; }
  .catalog-tools ~ #result-list .result-head { margin: .75rem 0 .55rem; }
  .home-hero { min-height: clamp(27.5rem, 90vw, 31rem); }
  .hero-picture { inset: auto 0 0; width: 100%; height: 65%; }
  .hero-picture img { object-position: center 44%; }
  .home-hero::after { background: linear-gradient(180deg, #102b49 0%, #102b49 32%, #102b49dd 40%, #102b4912 62%, transparent 72%), linear-gradient(0deg, #102b4933, transparent 33%); }
  .hero-copy { align-content: start; max-width: none; padding: 1.35rem 1.24rem 9rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 9.8vw, 4.3rem); max-width: 13em; letter-spacing: -.06em; }
  .hero-copy > p:not(.hero-kicker) { margin-top: .65rem; font-size: .9rem; line-height: 1.4; max-width: 23rem; }
  .hero-kicker { margin-bottom: .66rem; font-size: .66rem; }
  .hero-actions { margin-top: .9rem; gap: .38rem; }
  .hero-actions .btn { min-height: 2.65rem; padding: .51rem .66rem; font-size: .82rem; }
  .hero-actions .icon { width: .98rem; height: .98rem; }
  .countdown { min-width: 11.8rem; right: .7rem; bottom: .66rem; padding: .56rem .72rem; }
  .countdown-values { margin-top: .28rem; }
  .countdown-values strong { font-size: 1.15rem; }
  .countdown-values small { font-size: .67rem; }
  .cards, .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.two .tile-image { aspect-ratio: 1.65; }
  .tile-image { aspect-ratio: 1.5; }
  .home-program-cards > .tile-card:nth-child(odd):last-of-type { grid-column: 1/-1; }
  .home-program-cards > .tile-card:nth-child(odd):last-of-type .tile-image { aspect-ratio: 2.25; }
  .home-program-date { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .home-program-date::after { display: none; }
  .home-program-date-scene { position: relative; z-index: auto; grid-area: 1 / 2; align-self: stretch; }
  .home-program-date-scene img { position: absolute; inset: 0; object-position: 77% center; }
  .home-program-date-copy { grid-area: 1 / 1; padding: .9rem clamp(.65rem, 3vw, 1.55rem); }
  .home-program-date-copy h3 { font-size: clamp(1.25rem, 4.5vw, 1.85rem); letter-spacing: -.025em; }
  .home-program-date-copy .btn { min-block-size: 2.75rem; gap: .3rem; padding: .48rem .55rem; font-size: .79rem; }
  .home-program-date-copy .icon { inline-size: 1rem; block-size: 1rem; }
  #result-cards .tile-image[data-cover-kind] { aspect-ratio: 4 / 3; }
  .request-band { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav { grid-row: 2; grid-column: 1/-1; }
  .details-layout { grid-template-columns: 1fr; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-visual { grid-row: 2; aspect-ratio: 1.7; }
  .detail-visual[data-cover-fit="contain"] { width: min(100%, 17rem); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 26rem) {
  .brand { gap: .42rem; }
  .brand img { width: 2rem; height: 2rem; }
  .brand span { font-size: .99rem; }
  .brand small { font-size: .62rem; }
  .home-hero { min-height: 26.2rem; }
  .hero-copy { padding-inline: 1rem; }
  .hero-copy h1 { font-size: clamp(2.16rem, 10.3vw, 3.2rem); }
  .hero-copy > p:not(.hero-kicker) { font-size: .85rem; }
  .quick { padding: .7rem; }
  .tabs button { padding-inline: .45rem; font-size: .75rem; }
  .cards, .cards.two { gap: .48rem; }
  .tile-content { padding: .62rem; }
  .tile-content h3 { font-size: 1.01rem; }
  .tile-meta { font-size: .68rem; }
  .tile-facts { font-size: .72rem; }
  .tile-content p { font-size: .79rem; }
  .tile-bottom { font-size: .71rem; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .page-intro img { width: 70%; }
  .form-grid { gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
