/* Аверса / Aversa: ceremony venues for hire. Architectural and airy: limestone white, deep charcoal, muted blue-grey. Sofia Sans light headings, Manrope body. Shared by BG and EN. */
:root {
	--d-bg: #f5f3ee;
	--d-surface: #fbfaf7;
	--d-alt: #ebe8e1;
	--d-soft: #e1e6ea;
	--d-dark: #26292d;
	--d-heading: #1c1e21;
	--d-text: #35383c;
	--d-muted: #5b6066;
	--d-line: #dcd8d0;
	--d-line-strong: #aca79d;
	--d-accent: #4d6070;
	--d-accent-hover: #3c4c59;
	--d-accent-ink: #ffffff;
	--d-accent-text: #485a69;
	--d-dark-accent: #b4c4d1;
	--d-dark-text: #dfe1e3;
	--d-dark-muted: #b0b5ba;
	--d-font-head: "Sofia Sans", system-ui, sans-serif;
	--d-font-body: "Manrope", system-ui, sans-serif;
	--d-head-weight: 300;
	--d-head-tracking: -0.02em;
	--d-radius: 2px;
	--d-radius-lg: 3px;
	--d-radius-btn: 2px;
	--d-header-bg: rgb(245 243 238 / 0.94);
	--d-phone-bg: transparent;
	--d-phone-ink: #1c1e21;
	--d-footer: #202326;
	--d-footer-text: #c9cdd1;
}

body { font-size: 1rem; }
h1 { font-size: clamp(2.375rem, 1.5rem + 3vw, 3.875rem); line-height: 1.02; letter-spacing: -0.03em; }
h1 em, h2 em { color: var(--d-accent-text); font-style: normal; font-weight: 500; }
.sec--dark h2 em { color: var(--d-dark-accent); }
h2 { line-height: 1.08; }
h3 { font-family: var(--d-font-body); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; }
.kicker { display: inline-flex; align-items: center; gap: 0.75rem; letter-spacing: 0.22em; }
.kicker::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.lead { font-size: 1.125rem; }
.btn { min-height: 3.25rem; padding-inline: 1.625rem; font-size: 0.9375rem; letter-spacing: 0.01em; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn .icon { width: 1.125em; height: 1.125em; }
.btn--ghost { border-color: var(--d-heading); color: var(--d-heading); }
.btn--ghost:hover { background: var(--d-heading); color: #fff; }
.textlink { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--d-accent-text); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.125rem; }
.textlink:hover { color: var(--d-heading); }
:focus-visible { outline-color: var(--d-accent); }
.sec--dark :focus-visible { outline-color: var(--d-dark-accent); }

/* Header */
.hdr__inner { min-height: 4.75rem; }
.logo__mark { color: var(--d-heading); }
.logo__name { font-family: var(--d-font-head); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; }
.logo__name small { margin-top: 0.3125rem; letter-spacing: 0.2em; font-family: var(--d-font-body); }
.nav { gap: 1.625rem; font-size: 0.875rem; font-weight: 600; }
.nav a { padding-block: 0.375rem; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: currentColor; }
.lang { align-items: center; border: 1px solid var(--d-line-strong); border-radius: var(--d-radius); }
.lang a { display: grid; place-items: center; min-width: 2.25rem; min-height: 2rem; padding: 0 0.5rem; }
.lang [aria-current] { background: var(--d-heading); color: #fff; }
.hdr__phone { border: 1px solid var(--d-heading); }
.hdr__phone:hover { background: var(--d-heading); color: #fff; }
.hdr__phone small { opacity: 1; color: inherit; }
@media (max-width: 60em) { .lang { display: flex; } .hdr__inner { gap: 0.75rem; } }
@media (max-width: 30em) { .logo__name small { display: none; } .logo__name { font-size: 1.25rem; letter-spacing: 0.12em; } .logo__mark { width: 2.125rem; height: 2.125rem; } .hdr__menu { width: 2.5rem; height: 2.5rem; } }

/* Hero */
.hero { position: relative; padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(3rem, 2rem + 3vw, 4.5rem); }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: stretch; }
@media (min-width: 62em) { .hero__grid { grid-template-columns: 0.92fr 1.08fr; } }
.hero__copy { display: flex; flex-direction: column; justify-content: center; }
.hero__copy > * + * { margin-top: 1.5rem; }
.hero__copy .lead { max-width: 34rem; }
.hero__copy .btn-row { margin-top: 2.25rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 2.75rem !important; border-top: 1px solid var(--d-line-strong); }
@media (min-width: 36em) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { display: grid; align-content: start; gap: 0.25rem; padding: 1rem 1rem 0 0; color: var(--d-muted); font-size: 0.8125rem; line-height: 1.35; }
.facts li + li { padding-left: 1rem; border-left: 1px solid var(--d-line); }
@media (max-width: 35.99em) { .facts li:nth-child(3) { padding-left: 0; border-left: 0; } }
.facts b { color: var(--d-heading); font-family: var(--d-font-head); font-size: 1.75rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.hero__visual { position: relative; min-height: 26rem; overflow: hidden; border: 1px solid var(--d-line); background: #e6e9eb; }
@media (min-width: 62em) { .hero__visual { min-height: 37rem; } }
.elev { position: absolute; inset: 0; width: 100%; height: 100%; }
.next { position: absolute; left: clamp(0.75rem, 3vw, 1.5rem); right: clamp(0.75rem, 3vw, 1.5rem); top: clamp(0.75rem, 3vw, 1.5rem); max-width: 22rem; padding: 1.125rem 1.25rem 1rem; border: 1px solid var(--d-line); background: rgb(251 250 247 / 0.95); box-shadow: 0 24px 48px -28px rgb(32 35 38 / 0.45); }
@media (min-width: 36em) { .next { left: auto; } }
.next__title { color: var(--d-muted); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.next__date { margin-top: 0.125rem; color: var(--d-heading); font-family: var(--d-font-head); font-size: 1.375rem; font-weight: 400; }
.next ul { display: grid; margin-top: 0.75rem; padding: 0; list-style: none; }
.next li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-block: 0.5rem; border-top: 1px solid var(--d-line); color: var(--d-heading); font-size: 0.875rem; font-weight: 600; }
.next li span { display: flex; gap: 0.375rem; }
.next li i { padding: 0.0625rem 0.4375rem; border: 1px solid var(--d-accent); color: var(--d-accent-text); font-size: 0.8125rem; font-style: normal; font-weight: 700; }
.next a { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.625rem; color: var(--d-accent-text); font-size: 0.8125rem; font-weight: 700; text-decoration: none; }
.next a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
	.next { animation: av-rise 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	@keyframes av-rise { from { opacity: 0; transform: translateY(12px); } }
}

/* Venue cards */
.venues { display: grid; gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem); }
@media (min-width: 62em) { .venues { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 40em) and (max-width: 61.99em) { .venues { grid-template-columns: repeat(2, 1fr); } }
.venue { display: flex; flex-direction: column; border: 1px solid var(--d-line); background: var(--d-surface); }
.venue__img { position: relative; aspect-ratio: 400 / 260; overflow: hidden; background: var(--d-alt); }
.art { display: block; width: 100%; height: 100%; }
.venue__cap { position: absolute; top: 0.875rem; left: 0.875rem; padding: 0.3125rem 0.625rem; background: var(--d-dark); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; }
.venue__body { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; padding: 1.5rem 1.5rem 1.625rem; }
.venue__body > p { color: var(--d-muted); font-size: 0.9375rem; }
.venue h3 { font-family: var(--d-font-head); font-size: 1.625rem; font-weight: 400; letter-spacing: -0.015em; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--d-line); }
.specs div { padding: 0.625rem 0.5rem 0.625rem 0; }
.specs div + div { padding-left: 0.75rem; border-left: 1px solid var(--d-line); }
.specs dt { color: var(--d-muted); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.specs dd { margin: 0; color: var(--d-heading); font-weight: 700; }
.venue__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-top: auto; padding-top: 0.5rem; }
.price { color: var(--d-heading); font-family: var(--d-font-head); font-size: 1.625rem; font-weight: 400; }
.price small { color: var(--d-muted); font-family: var(--d-font-body); font-size: 0.8125rem; }

/* Availability */
.avail-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.avail-head .sec__head { margin-bottom: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--d-text); font-size: 0.875rem; }
.legend li { display: flex; align-items: center; gap: 0.5rem; }
.legend .slot { width: 1.75rem; min-height: 1rem; padding: 0; }
.legend .slot--booked { border-color: #c4bfb5; }
.cal-wrap { overflow-x: auto; border: 1px solid var(--d-line); background: var(--d-surface); }
.cal-wrap:focus-visible { outline: 2px solid var(--d-accent); outline-offset: 3px; }
.ov, .cal { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.ov { min-width: 46rem; }
.cal { min-width: 44rem; }
.ov th, .ov td, .cal th, .cal td { padding: 0.625rem; border-bottom: 1px solid var(--d-line); text-align: center; vertical-align: middle; }
.ov thead th, .cal thead th { padding-block: 0.875rem; color: var(--d-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ov thead th:first-child, .cal thead th:first-child { text-align: left; }
.ov abbr, .cal abbr { text-decoration: none; }
.ov thead b, .cal thead b { display: block; color: var(--d-heading); font-family: var(--d-font-head); font-size: 1.375rem; font-weight: 400; letter-spacing: 0; }
.ov tbody th { min-width: 11rem; padding-left: 1.25rem; text-align: left; }
.ov tbody th a { color: var(--d-heading); font-weight: 700; text-decoration: underline; text-decoration-color: var(--d-line-strong); text-underline-offset: 0.2em; }
.ov tbody th a:hover { text-decoration-color: currentColor; }
.ov tbody th small, .cal tbody th small { display: block; color: var(--d-muted); font-size: 0.75rem; font-weight: 500; }
.ov tbody tr:last-child > *, .cal tbody tr:last-child > * { border-bottom: 0; }
.ov__cell { color: var(--d-heading); font-weight: 600; white-space: nowrap; }
.ov__cell.is-full { color: var(--d-muted); font-weight: 500; }
.bars { display: flex; justify-content: center; gap: 3px; margin-bottom: 0.375rem; }
.bars i { width: 0.875rem; height: 1.375rem; border: 1px solid var(--d-accent); background: #c9d4dd; }
.bars .b-b { border-color: #c4bfb5; background: #ddd9d1; }
.bars .b-h { border-color: #8b939a; background: repeating-linear-gradient(135deg, #8b939a 0 2px, transparent 2px 5px); }
.ov thead th:first-child { padding-left: 1.25rem; }
.cal caption { padding: 1rem 1.25rem 0.25rem; color: var(--d-heading); font-weight: 700; text-align: left; }
.cal tbody th { width: 6.5rem; padding-left: 1.25rem; color: var(--d-heading); font-size: 1rem; font-weight: 700; text-align: left; }
.cal thead th:first-child { padding-left: 1.25rem; }
.slot { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.25rem 0.375rem; border: 1px solid transparent; font-size: 0.8125rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.slot--free { border-color: var(--d-accent); background: #e6ecf0; color: var(--d-accent-text); }
a.slot--free:hover { background: var(--d-accent); color: #fff; }
a.slot--free:focus-visible { outline: 3px solid var(--d-heading); outline-offset: 1px; }
.slot--booked { background: #e4e1da; color: #575b60; font-weight: 500; }
.slot--held { border-color: #8b939a; background: repeating-linear-gradient(135deg, #e3e5e6 0 4px, #f4f4f3 4px 9px); color: var(--d-heading); }
.avail-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; color: var(--d-muted); font-size: 0.9375rem; }

/* Equipment (dark) */
.equip { display: grid; gap: 1px; border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.12); }
@media (min-width: 40em) { .equip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .equip { grid-template-columns: repeat(4, 1fr); } }
.equip li { display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); background: var(--d-dark); }
.equip svg.ill { width: 3.5rem; height: 3.5rem; color: var(--d-dark-accent); }
.equip h3 { color: #fff; }
.equip p { color: var(--d-muted); font-size: 0.9375rem; }
.equip .tag { margin-top: auto; padding-top: 0.75rem; color: var(--d-dark-accent); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.extras { display: grid; gap: 0; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); border-top: 1px solid var(--d-line); }
@media (min-width: 48em) { .extras { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.extras li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.875rem; border-bottom: 1px solid var(--d-line); }
.extras span { color: var(--d-text); }
.extras b { color: #fff; font-weight: 700; white-space: nowrap; }

/* Steps */
.steps li { border-top-width: 1px; border-top-color: var(--d-heading); }
.steps li::before { font-weight: 300; font-size: 2.25rem; color: var(--d-accent-text); }

/* Practical info */
.info { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 62em) { .info { grid-template-columns: 1fr 1fr; } }
.info__list { display: grid; gap: 0; border-top: 1px solid var(--d-line-strong); }
.info__list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--d-line); }
.info__list .icon { width: 2.75rem; height: 2.75rem; padding: 0.6875rem; border: 1px solid var(--d-line-strong); color: var(--d-accent-text); }
.info__list h3 { margin-bottom: 0.25rem; font-size: 1.0625rem; }
.info__list p { color: var(--d-muted); font-size: 0.9375rem; }
.mapbox { border: 1px solid var(--d-line); background: var(--d-surface); }
.map { display: block; width: 100%; height: auto; }
.mapbox figcaption { display: flex; flex-wrap: wrap; gap: 0.375rem 1.25rem; padding: 1rem 1.25rem; color: var(--d-muted); font-size: 0.875rem; }
.mapbox figcaption b { color: var(--d-heading); }
.key { display: inline-flex; align-items: center; gap: 0.5rem; }
.key i { display: inline-block; width: 0.875rem; height: 0.875rem; }

/* Request form */
.inq { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 62em) { .inq { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.inq__intro > * + * { margin-top: 1rem; }
.contacts { display: grid; gap: 0.75rem; margin-top: 2rem !important; }
.contacts a, .contacts li { display: flex; align-items: center; gap: 0.875rem; color: var(--d-heading); font-weight: 600; text-decoration: none; }
.contacts .icon { width: 2.5rem; height: 2.5rem; padding: 0.625rem; border: 1px solid var(--d-line-strong); color: var(--d-accent-text); }
.contacts small { display: block; color: var(--d-muted); font-size: 0.8125rem; font-weight: 500; }
.form { gap: 1.25rem; background: var(--d-surface); box-shadow: 0 30px 60px -48px rgb(32 35 38 / 0.6); }
.form h3 { font-family: var(--d-font-head); font-size: 1.625rem; font-weight: 400; }
.field input, .field select, .field textarea { background: #fff; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--d-accent); outline-offset: 1px; border-color: var(--d-accent); }
.pick { display: grid; gap: 0.625rem; min-width: 0; padding: 0; border: 0; }
.pick legend { margin-bottom: 0.625rem; padding: 0; color: var(--d-heading); font-size: 0.875rem; font-weight: 600; }
@media (min-width: 40em) { .pick { grid-template-columns: repeat(3, 1fr); } }
.pick label { display: grid; grid-template-columns: auto 1fr; gap: 0.125rem 0.625rem; align-items: center; padding: 0.875rem 1rem; border: 1px solid var(--d-line-strong); background: #fff; color: var(--d-heading); font-size: 0.9375rem; font-weight: 700; cursor: pointer; }
.pick label span { grid-column: 2; color: var(--d-muted); font-size: 0.8125rem; font-weight: 500; }
.pick input { width: 1.125rem; height: 1.125rem; accent-color: var(--d-accent); }
.pick label:has(:checked) { border-color: var(--d-accent); background: #eef1f4; box-shadow: inset 0 0 0 1px var(--d-accent); }
.pick label:has(:focus-visible) { outline: 2px solid var(--d-accent); outline-offset: 2px; }
.pick input:focus-visible { outline: none; }
.picked { padding: 0.75rem 1rem; border-left: 3px solid var(--d-accent); background: var(--d-soft); color: var(--d-heading); font-size: 0.875rem; font-weight: 600; }
.picked:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--d-text); font-size: 0.875rem; }
.consent input { width: 1.125rem; height: 1.125rem; margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--d-accent); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }

/* FAQ */
.faqwrap { display: grid; gap: 2rem; }
@media (min-width: 62em) { .faqwrap { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }
.faq { border-top-color: var(--d-line-strong); }
.faq summary { font-family: var(--d-font-body); font-size: 1.0625rem; font-weight: 600; }

/* Venues page */
.phero { background: var(--d-alt); }
.phero .lead { max-width: 42rem; }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem !important; }
.jump a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--d-line-strong); background: var(--d-surface); color: var(--d-heading); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.jump a:hover { border-color: var(--d-heading); }
.hall { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid var(--d-line); scroll-margin-top: 5rem; }
.hall:first-child { padding-top: 0; }
.hall:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 62em) { .hall { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.hall__media { display: grid; gap: 1rem; }
.hall__img { position: relative; aspect-ratio: 400 / 260; overflow: hidden; border: 1px solid var(--d-line); }
.hall__plan { display: grid; grid-template-columns: 9rem 1fr; gap: 1.25rem; align-items: center; padding: 1rem 1.25rem; border: 1px solid var(--d-line); background: var(--d-surface); }
.plan { width: 100%; height: auto; }
.hall__plan p { color: var(--d-muted); font-size: 0.875rem; }
.hall__plan b { display: block; margin-bottom: 0.25rem; color: var(--d-heading); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hall__copy > * + * { margin-top: 1rem; }
.hall__copy h2 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); }
.hall__copy > p { color: var(--d-text); }
.spec { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--d-line-strong); }
.spec div { padding: 0.75rem 0; border-bottom: 1px solid var(--d-line); }
.spec div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--d-line); }
.spec dt { color: var(--d-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.spec dd { margin: 0; color: var(--d-heading); font-weight: 600; }
.ticks { font-size: 0.9375rem; }
.ticks .icon { color: var(--d-accent-text); }
.hall__price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: var(--d-dark); color: var(--d-dark-text); }
.hall__price .price { color: #fff; }
.hall__price .price small { color: var(--d-dark-muted); }
.hall__price .btn { background: #fff; color: var(--d-heading); }
.hall__price .btn:hover { background: var(--d-soft); }
.hall__price .btn:focus-visible { outline-color: #fff; }
.cals { display: grid; gap: 1.5rem; }
.terms { display: grid; gap: 1rem; }
@media (min-width: 48em) { .terms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .terms { grid-template-columns: repeat(4, 1fr); } }
.terms li { padding-top: 1rem; border-top: 1px solid var(--d-heading); }
.terms h3 { margin-bottom: 0.375rem; font-size: 1rem; }
.terms p { color: var(--d-muted); font-size: 0.9375rem; }

/* Footer */
.ftr .logo__mark { color: var(--d-dark-accent); }
.ftr__bottom { opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
.key--venue { background: #26292d; }
.key--park { background: #4d6070; }
.key--stop { border: 2px solid #4d6070; border-radius: 50%; }
