/* Prestige Entries website.
   Same brand palette and stand-in fonts as the dealer portal (static/css/portal.css):
   brown 52392F · terracotta D8735E · gold D7A947 · tan DAC18C · cream F9F0E7 · near-black 1C1C1D.
   The arch from the logo is the recurring shape: door cards and photo frames are arch-topped. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --brown: #52392f;
  --brown-2: #6b4c3f;
  --terracotta: #d8735e;
  --terracotta-deep: #b4503b;   /* darkened so white text reads */
  --gold: #d7a947;
  --tan: #dac18c;
  --cream: #f9f0e7;
  --cream-2: #f1e4d6;
  --black: #1c1c1d;
  --ink: var(--black);
  --ink-2: #4a423e;
  --muted: #7a6f69;
  --line: #e6dcd2;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink-2); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brown); text-decoration-color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-deep); }
:focus-visible { outline: 2px solid var(--terracotta-deep); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-variant-numeric: lining-nums; font-family: var(--serif); color: var(--brown); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 100; }
/* Read out by screen readers, not shown: for example "(opens in a new tab)". */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip:focus { left: 8px; top: 8px; }

.eyebrow { font: 500 .78rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--terracotta-deep); margin: 0 0 18px; }
.lead { font-size: 1.18rem; font-weight: 300; color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 .86rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 17px 28px; border: 1px solid var(--brown); background: var(--brown); color: #fff; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--brown); }
.btn.ghost:hover { background: var(--brown); color: #fff; border-color: var(--brown); }
.btn.light { background: #fff; border-color: #fff; color: var(--brown); }
.btn.light:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: #fff; }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn.ghost-light:hover { background: #fff; color: var(--brown); border-color: #fff; }
.more { font: 500 .84rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--brown); border-bottom: 1px solid var(--terracotta); padding-bottom: 5px; display: inline-block; }
.more:hover { color: var(--terracotta-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.center .actions { justify-content: center; }

/* utility bar + header */
.util { background: var(--brown); color: #eadfd5; font-size: .84rem; letter-spacing: .04em; }
.util .wrap { display: flex; justify-content: space-between; gap: 20px; padding-top: 8px; padding-bottom: 8px; }
.util a { color: #fff; text-decoration: none; }
.util a:hover { color: var(--tan); }
.util-links { display: flex; gap: 22px; white-space: nowrap; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.logo { flex: none; }
.logo img { height: 66px; width: auto; max-width: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav .drop > button { font: 400 .98rem/1 var(--sans); letter-spacing: .04em; color: var(--ink-2); text-decoration: none; padding: 12px 13px; background: none; border: 0; cursor: pointer; border-bottom: 2px solid transparent; }
.nav > a:hover, .nav .drop > button:hover, .nav .current { color: var(--brown); border-bottom-color: var(--terracotta); }
.drop { position: relative; }
.drop > button::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 9px; }
.drop-menu { display: none; position: absolute; left: -10px; top: 100%; min-width: 290px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--terracotta); padding: 10px; box-shadow: 0 18px 40px rgba(82,57,47,.14); }
.drop.open .drop-menu, .drop:hover .drop-menu, .drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: 11px 14px; text-decoration: none; color: var(--ink-2); }
.drop-menu a span { display: block; font-size: .82rem; color: var(--muted); font-weight: 300; }
.drop-menu a:hover { background: var(--cream); color: var(--brown); }
.nav > a.header-cta { padding: 13px 20px; margin-left: 10px; background: var(--brown); color: #fff; border: 1px solid var(--brown); font: 500 .82rem/1 var(--sans); letter-spacing: .14em; }
.nav > a.header-cta:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); padding: 11px 14px; font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brown); cursor: pointer; }

/* hero */
.hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; color: #fff; background: var(--brown) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,28,29,.05) 30%, rgba(28,28,29,.72) 100%), linear-gradient(90deg, rgba(28,28,29,.62), rgba(28,28,29,0) 62%); }
.hero .wrap { position: relative; width: 100%; padding-top: 120px; padding-bottom: 64px; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .eyebrow { color: #f1dcae; }
.hero .lead { color: #f3eae2; margin-top: 20px; max-width: 46ch; }

/* page head for inner pages */
.page-head { padding: 72px 0 12px; }
.page-head h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
.page-head .lead { margin-top: 20px; }
/* a dark page head, for a partner brand whose logo is white (MasterGrain) */
.page-head.dark { background: var(--black); color: #d8cfc7; padding-bottom: 72px; }
.page-head.dark h1 { color: #fff; max-width: 16ch; }
.page-head.dark .lead { color: #e6ded6; }
.page-head.dark .eyebrow { color: var(--tan); }
.page-head.dark .crumbs, .page-head.dark .crumbs a { color: #a59b93; }
.head-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
/* photos that take turns in an arch: four, six seconds each, fading into one another */
.rotator { position: relative; padding: 12px; border: 2px solid var(--terracotta); border-radius: 999px 999px 0 0; }
.rotator-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: #2a2523; }
.rotator-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: take-turns 24s infinite; }
.rotator-frame img:nth-child(1) { animation-delay: -24s; }
.rotator-frame img:nth-child(2) { animation-delay: -18s; }
.rotator-frame img:nth-child(3) { animation-delay: -12s; }
.rotator-frame img:nth-child(4) { animation-delay: -6s; }
@keyframes take-turns { 0%, 21% { opacity: 1; } 25%, 96% { opacity: 0; } 100% { opacity: 1; } }
.rotator:hover img, .rotator.paused img { animation-play-state: paused; }
.rotator-pause { position: absolute; right: 24px; bottom: 24px; background: rgba(28,28,29,.72); color: #fff; border: 1px solid rgba(255,255,255,.5); padding: 8px 14px; font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.rotator-pause:hover { background: #fff; color: var(--brown); }
.brand-mark { display: inline-block; margin: 6px 0 30px; }
.brand-mark img { width: min(330px, 78vw); height: auto; }
.soon { display: inline-block; margin-left: 10px; padding: 5px 10px; border: 1px solid var(--terracotta); border-radius: 999px; letter-spacing: .16em; font-size: .68rem; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; counter-reset: reason; }
.reasons li { counter-increment: reason; border-top: 1px solid var(--line); padding-top: 22px; }
.reasons li::before { content: counter(reason) "."; font: 500 2.6rem/1 var(--serif); color: var(--terracotta-deep); display: block; margin-bottom: 14px; font-variant-numeric: lining-nums; }
.reasons h3 { margin-bottom: 8px; }
.reasons p { margin: 0; font-weight: 300; }
/* line drawings of the builder doors (content.py draws them) */
.door-drawing { height: 100%; width: auto; display: block; }
.door-drawing .slab { fill: #fff; stroke: var(--brown); stroke-width: 2; }
.door-drawing .glass { fill: #e7d9c8; stroke: var(--brown); stroke-width: 1.5; }
.door-drawing .bar { stroke: var(--brown); stroke-width: 2; }
.door-drawing .panel { fill: none; stroke: var(--brown); stroke-width: 1.5; }
.door-drawing .panel.inner { stroke: var(--tan); stroke-width: 1.2; }
.variant h3 { margin-bottom: 4px; }
.crumbs { font-size: .86rem; letter-spacing: .04em; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--terracotta-deep); }

section { padding: 84px 0; }
[id] { scroll-margin-top: 110px; }
section.tight { padding: 48px 0; }
.band { background: #fff; }
.band-dark { background: var(--brown); color: #eadfd5; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--tan); }
.band-dark .lead { color: #eadfd5; }
.band-dark a:not(.btn) { color: #fff; }
.section-head { margin-bottom: 48px; }
.section-head .lead { margin-top: 16px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* door cards: a door standing in an archway */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 28px; }
.doors.three { grid-template-columns: repeat(3, 1fr); }
.doors.five { grid-template-columns: repeat(5, 1fr); }
.door { text-decoration: none; color: inherit; display: block; }
.door .arch { background: var(--cream-2); border-radius: 999px 999px 0 0; padding: 22% 14% 0; aspect-ratio: 3 / 4.2; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; transition: background .25s; }
.band .door .arch { background: var(--cream); }
.door .arch img { max-height: 100%; width: auto; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; transition: transform .35s ease; transform-origin: bottom; }
a.door:hover .arch { background: #ecd9c6; }
a.door:hover .arch img { transform: scale(1.04); }
.door h3 { margin-top: 18px; font-size: 1.45rem; }
.door p { margin: 6px 0 0; font-size: .96rem; font-weight: 300; }
.door .code { font: 500 1rem/1.3 var(--sans); letter-spacing: .06em; color: var(--brown); margin-top: 14px; }
.door .note { font-size: .88rem; color: var(--muted); margin: 2px 0 0; }

/* door detail page: one block per version of the door (single, pair, taller) */
.variants { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.variants.one { grid-template-columns: minmax(0, 860px); justify-content: center; }
.variant { background: #fff; border: 1px solid var(--line); padding: 30px; display: grid; grid-template-columns: 190px 1fr; gap: 30px; align-items: start; }
.variants.one .variant { grid-template-columns: 300px 1fr; gap: 44px; padding: 40px; }
.variant .arch { background: var(--cream); border-radius: 999px 999px 0 0; padding: 20% 12% 0; aspect-ratio: 3 / 4.2; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.variant .arch img { max-height: 100%; width: auto; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; }
.variant-desc { font-weight: 500; color: var(--brown); margin: 0 0 12px; }
.variant .spec > li { padding: 12px 0; gap: 14px; }
.variant .spec > li > b { flex: 0 0 5.2em; }
.variant .spec > li:first-child { padding-top: 0; }
.variant .spec { border-top: 0; }
.sizes { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sizes li { display: block; border: 1px solid var(--tan); border-radius: 999px; padding: 2px 12px; font-size: .92rem; color: var(--brown); white-space: nowrap; font-variant-numeric: tabular-nums; }
.size-note { font-size: .92rem; color: var(--muted); margin: 26px 0 0; text-align: center; }
.pager { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 56px; }
.pager a { text-decoration: none; color: var(--brown); font-weight: 500; letter-spacing: .04em; }
.pager a span { display: block; font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pager a:hover { color: var(--terracotta-deep); }
.pager .next { text-align: right; margin-left: auto; }

/* photo in an arch frame: the logo's terracotta line, evenly spaced around it */
.arch-photo { margin: 0; padding: 12px; border: 2px solid var(--terracotta); border-radius: 999px 999px 0 0; }
.arch-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 0 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two.wide-text { grid-template-columns: 1.15fr .85fr; }
.two.top { align-items: start; }
.prose h2 { margin-bottom: 20px; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { padding-left: 1.1em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--terracotta); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 38px 34px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts h3 { margin-bottom: 10px; }
.facts p { margin: 0; font-weight: 300; }
.band-dark .facts, .band-dark .facts > div { border-color: rgba(255,255,255,.18); }

.spec { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.spec > li { display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec > li > b { flex: 0 0 9.5em; font-weight: 500; color: var(--brown); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.chips li { border: 1px solid var(--tan); padding: 7px 16px; border-radius: 999px; font-size: .95rem; color: var(--brown); background: #fff; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-grid a { display: block; overflow: hidden; background: var(--cream-2); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.photo-grid.tall { grid-template-columns: repeat(4, 1fr); }
.photo-grid.tall img { aspect-ratio: 400 / 516; }
.photo-grid a:hover img { transform: scale(1.04); }

.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.swatches figure { margin: 0; }
.swatches img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.swatches figcaption { margin-top: 10px; font-weight: 500; color: var(--brown); letter-spacing: .04em; }

/* resources */
.doc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.doc-nav a { border: 1px solid var(--tan); background: #fff; border-radius: 999px; padding: 8px 18px; text-decoration: none; font-size: .95rem; }
.doc-nav a:hover { border-color: var(--terracotta); }
.doc-group { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.docs a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.docs a::after { content: "PDF"; font: 500 .72rem/1 var(--sans); letter-spacing: .14em; color: var(--terracotta-deep); }
.docs a:hover { color: var(--brown); border-bottom-color: var(--terracotta); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two-up { grid-template-columns: 1fr 1fr; }
.card { background: #fff; border: 1px solid var(--line); padding: 34px 30px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 10px; }
.card p { font-weight: 300; }
.card .more { margin-top: auto; align-self: flex-start; }
.notice { background: #fff; border-left: 3px solid var(--terracotta); padding: 22px 26px; }
.notice p:last-child { margin-bottom: 0; }
.grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.grades div { background: #fff; border: 1px solid var(--line); padding: 26px; }
.grades b { font: 500 2.6rem/1 var(--serif); color: var(--terracotta-deep); display: block; margin-bottom: 8px; }

/* surplus doors, drawn by site.js from the portal's list */
.surplus-wait { color: var(--muted); }
.surplus-nav { margin: 0 0 8px; }
.surplus-group { padding: 40px 0 8px; scroll-margin-top: 110px; }
.surplus-group h2 { margin-bottom: 24px; }
.surplus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.surplus-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.surplus-pic { position: relative; background: var(--cream-2); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.surplus-pic img { width: 100%; height: 100%; object-fit: contain; }
.surplus-sold { position: absolute; top: 14px; left: 14px; background: var(--terracotta-deep); color: #fff; font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px; }
.surplus-card.sold .surplus-pic img { opacity: .55; }
.surplus-body { padding: 18px 20px 20px; }
.surplus-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.surplus-price { font: 500 1.6rem/1 var(--serif); color: var(--brown); font-variant-numeric: lining-nums; }
.surplus-card.sold .surplus-price { text-decoration: line-through; color: var(--muted); }
.surplus-grade { font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta-deep); }
.surplus-body h3 { font-size: 1.2rem; }
.surplus-ticket { font-size: .84rem; color: var(--muted); margin: 4px 0 10px; letter-spacing: .04em; }
.surplus-details { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 300; }
.surplus-details li { padding: 2px 0; }
.surplus-fail[hidden], .surplus-list[hidden] { display: none; }

/* contact */
.form .g-recaptcha { min-height: 78px; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note.ok { background: #e4f0e7; color: #2f6b45; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: .86rem; font-weight: 500; letter-spacing: .06em; color: var(--brown); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #d5c8bb; background: #fff; font: 400 1rem/1.4 var(--sans); color: var(--ink); border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 0; border-color: var(--terracotta); }
.form textarea { min-height: 140px; resize: vertical; }
.form-note { grid-column: 1 / -1; background: #f7e9c6; color: #5c3d00; padding: 12px 16px; font-size: .95rem; }
.form-note[hidden] { display: none; }
.where { list-style: none; padding: 0; margin: 0; }
.where li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.where li:first-child { padding-top: 0; }
.where b { display: block; font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta-deep); margin-bottom: 8px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* footer */
.site-footer { background: var(--black); color: #cfc5bd; padding: 72px 0 28px; font-size: .96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--tan); }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; }
.foot h4 { font: 500 .76rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--tan); margin: 0 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot-logo { display: inline-block; margin-bottom: 22px; }
.foot-logo img { height: 80px; width: auto; max-width: none; }
.foot-base { border-top: 1px solid rgba(255,255,255,.14); margin-top: 52px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .86rem; color: #9d928a; }
.foot-base div { display: flex; gap: 22px; }

@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 24px 24px; gap: 0; max-height: calc(100vh - 90px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav .drop > button { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; font-size: 1.05rem; }
  .drop > button::after { display: none; }
  .drop-menu, .drop:hover .drop-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .drop-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .drop-menu a span { display: none; }
  .nav > a.header-cta { margin: 18px 0 0; justify-content: center; text-align: center; width: 100%; padding: 16px 20px; }
  .doors, .doors.five { grid-template-columns: repeat(3, 1fr); }
  .surplus-grid { grid-template-columns: repeat(3, 1fr); }
  .reasons { grid-template-columns: 1fr 1fr; }
  .variants { grid-template-columns: 1fr; }
  .variants.one .variant { grid-template-columns: 240px 1fr; gap: 32px; padding: 30px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .two, .two.wide-text { gap: 48px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .util-links .hide-s, .util .hide-s { display: none; }
  .site-header .wrap { min-height: 70px; }
  .logo img { height: 46px; }
  .hero { min-height: 560px; }
  .hero::before { background: linear-gradient(180deg, rgba(28,28,29,.15) 0%, rgba(28,28,29,.8) 48%); }
  .hero .wrap { padding-bottom: 44px; }
  .two, .two.wide-text, .doc-group, .head-split { grid-template-columns: 1fr; gap: 36px; }
  .rotator { max-width: 340px; }
  .doc-group { gap: 18px; padding: 34px 0; }
  .doors, .doors.three, .doors.five { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .surplus-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .surplus-body { padding: 12px; }
  .surplus-price { font-size: 1.3rem; }
  .facts, .cards, .cards.two-up, .grades, .docs, .form, .reasons { grid-template-columns: 1fr; }
  .facts > div { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0; }
  .facts > div:first-child { border-top: 0; }
  .photo-grid, .photo-grid.tall { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spec > li { flex-direction: column; gap: 2px; }
  .variant, .variants.one .variant { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .variant .arch { max-width: 220px; margin: 0 auto; width: 100%; }
  .variant .spec > li { gap: 4px; }
  .variant .spec > li > b { flex: none; }
  .spec > li > b { flex: none; }
  .foot { grid-template-columns: 1fr; gap: 36px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .rotator-frame img { animation: none; }
  .rotator-frame img:first-child { opacity: 1; }
  .rotator-pause { display: none; }
}
