/* BKS Real Estate · Departamentos · 28.10.2026
   A self-contained editorial system. Keep this sheet separate from terrenos.css. */
:root {
  --dept-forest: #111275;
  --dept-deep: #111275;
  --dept-paper: #ffffff;
  --dept-white: #ffffff;
  --dept-soft: #f1f4fc;
  --dept-ink: #252631;
  --dept-muted: #666b79;
  --dept-gold: #d2dcf5;
  --dept-gold-ink: #111275;
  --dept-line: #dfe2ed;
  --dept-serif: 'Cormorant Garamond', Georgia, serif;
  --dept-sans: Inter, Arial, sans-serif;
  --dept-wrap: 1360px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body.dept-page {
  margin: 0;
  background: var(--dept-paper);
  color: var(--dept-ink);
  font: 400 14px/1.75 var(--dept-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.dept-page a { color: inherit; text-decoration: none; }
.dept-page button, .dept-page input, .dept-page select, .dept-page textarea { font: inherit; }
.dept-page button { cursor: pointer; }
.dept-page button, .dept-page input, .dept-page select, .dept-page textarea { border-radius: 0; }
.dept-page img { display: block; max-width: 100%; height: auto; }
.dept-page figure, .dept-page h1, .dept-page h2, .dept-page h3, .dept-page p { margin: 0; }
.dept-page h1, .dept-page h2, .dept-page h3 { font-family: var(--dept-serif); font-weight: 500; }
.dept-page h1, .dept-page h2 { line-height: 1.01; letter-spacing: -.035em; }
.dept-page h2 { font-size: clamp(40px, 4.4vw, 66px); }
.dept-page h2 em { font-weight: 400; color: var(--dept-gold-ink); }
.dept-page a, .dept-page button, .dept-page input, .dept-page select, .dept-page summary { -webkit-tap-highlight-color: transparent; }
.dept-page :focus-visible { outline: 3px solid #7778c8; outline-offset: 5px; }
.dept-page button:disabled { cursor: not-allowed; opacity: .45; }
.dept-page [hidden] { display: none !important; }
.dept-page section { scroll-margin-top: 108px; }
.dept-wrap { width: min(var(--dept-wrap), calc(100% - 96px)); margin-inline: auto; }
.dept-section { padding-block: 90px; }
.dept-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.dept-skip { position: fixed; left: 20px; top: -100px; z-index: 200; padding: 12px 20px; background: var(--dept-gold); color: var(--dept-deep); }
.dept-skip:focus { top: 12px; }
.dept-eyebrow { color: var(--dept-gold-ink); font: 600 10px/1.6 var(--dept-sans); letter-spacing: .17em; text-transform: uppercase; }
.dept-muted { color: var(--dept-muted); }
.dept-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid var(--dept-forest);
  background: var(--dept-forest);
  color: var(--dept-white) !important;
  font: 600 11px/1.5 var(--dept-sans);
  text-align: center;
  transition: background .2s, border-color .2s, color .2s;
}
.dept-button:hover { background: #292a94; border-color: #292a94; }
.dept-button.gold { color: var(--dept-deep) !important; background: var(--dept-gold); border-color: var(--dept-gold); }
.dept-button.gold:hover { background: #bdccec; border-color: #bdccec; }
.dept-button.outline { color: var(--dept-forest) !important; background: transparent; border-color: #d2dcf5; }
.dept-button.outline:hover { background: #f1f4fc; border-color: var(--dept-forest); }
.dept-button > span[aria-hidden] { font-size: 18px; font-weight: 400; line-height: 1; }
.dept-text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 10px; border-bottom: 1px solid #d2dcf5; font-size: 11px; font-weight: 500; }
.dept-text-link:hover { border-color: currentColor; }
.dept-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 29px; }
.dept-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #d2dcf5; background: #ffffff; color: var(--dept-forest); font-size: 10px; line-height: 1.5; }
.dept-feedback { color: #8a3b2d; font-size: 11px; line-height: 1.8; margin-top: 14px !important; }
.dept-feedback:empty { display: none; }

/* The land business remains one click away in the main navigation. */
.dept-header { position: sticky; top: 0; z-index: 60; background: var(--dept-deep); color: var(--dept-paper); border-bottom: 1px solid #ffffff25; }
.dept-header > .dept-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 82px; }
.dept-brand { display: block; flex-shrink: 0; font: 500 37px/.9 var(--dept-serif); letter-spacing: .045em; }
.dept-brand small { display: block; margin-top: 8px; font: 500 7px/1.1 var(--dept-sans); letter-spacing: .26em; }
.dept-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; font-size: 10px; }
.dept-nav > a { padding-block: 12px; }
.dept-nav > a:hover, .dept-nav > a[aria-current] { color: var(--dept-gold); }
.dept-nav .dept-button { min-height: 40px; padding: 10px 16px; font-size: 10px; margin-left: 6px; }
.dept-menu { display: none; min-width: 42px; min-height: 42px; padding: 8px; border: 1px solid #d2dcf580; background: transparent; color: var(--dept-paper); font-size: 11px; }
.dept-menu span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; }
.dept-mobile-nav { background: var(--dept-deep); border-top: 1px solid #ffffff25; padding: 12px 24px 22px; }
.dept-mobile-nav a { display: block; padding: 13px 0; font-size: 13px; border-bottom: 1px solid #ffffff20; }
.dept-mobile-nav a:hover { color: var(--dept-gold); }

/* Opening: a quiet, image-led editorial spread. */
.dept-hero { overflow: hidden; padding-top: 44px; background: var(--dept-forest); color: var(--dept-paper); }
.dept-hero-grid { display: grid; grid-template-columns: 1fr 1.03fr; gap: 7%; align-items: center; }
.dept-hero .dept-eyebrow { color: #d2dcf5; margin-bottom: 23px; }
.dept-hero h1 { font-size: clamp(58px, 6.3vw, 93px); }
.dept-hero h1 em { color: #d2dcf5; font-weight: 400; }
.dept-hero-grid > div > p:not(.dept-eyebrow) { max-width: 490px; color: #d2dcf5; font-size: 13px; line-height: 1.95; margin-top: 24px; }
.dept-hero .dept-text-link { border-color: #666b79; color: #f1f4fc; }
.dept-hero .dept-button.outline { border-color: #d2dcf5; color: var(--dept-paper) !important; }
.dept-hero .dept-button.outline:hover { background: #ffffff0b; }
.dept-hero-visual { min-width: 0; position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.dept-hero-visual img { width: 100%; height: clamp(360px, 36vw, 490px); object-fit: cover; object-position: center; }
.dept-hero-visual figcaption { display: flex; justify-content: space-between; gap: 15px; color: #d2dcf5; padding-top: 11px; font-size: 9px; line-height: 1.7; }
.dept-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 46px; padding: 26px 0 31px; border-top: 1px solid #ffffff32; }
.dept-stats > div { display: flex; align-items: center; gap: 18px; }
.dept-stats strong { color: var(--dept-gold); font: 500 42px/1 var(--dept-serif); white-space: nowrap; }
.dept-stats span { color: #d2dcf5; font-size: 10px; line-height: 1.7; max-width: 210px; }

/* Catalogue and filters. */
.dept-catalog { padding-block: 85px 90px; }
.dept-section-heading { display: grid; grid-template-columns: 1.18fr .82fr; gap: 80px; align-items: end; margin-bottom: 38px; }
.dept-section-heading .dept-eyebrow { margin-bottom: 15px; }
.dept-section-heading > p { color: var(--dept-muted); font-size: 12px; line-height: 1.9; margin-bottom: 4px; max-width: 420px; }
.dept-workspace { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 34px; align-items: start; }
.dept-filters { position: sticky; top: 108px; padding: 24px 20px; background: #f1f4fc; border-top: 2px solid var(--dept-forest); min-width: 0; }
.dept-filters h3 { font-size: 27px; line-height: 1.1; margin-bottom: 20px; }
.dept-filters > p { font-size: 10px; line-height: 1.8; color: var(--dept-muted); margin-bottom: 18px; }
.dept-filters label { display: block; font-size: 10px; font-weight: 600; line-height: 1.5; margin-bottom: 7px; }
.dept-filters :is(input[type='text'],input[type='search'],input[type='number'],select) { display: block; width: 100%; min-width: 0; min-height: 43px; padding: 10px 11px; background: var(--dept-white); color: var(--dept-ink); border: 1px solid #d2dcf5; font-size: 11px; line-height: 1.5; }
.dept-filters select { padding-right: 24px; }
.dept-filters input::placeholder { color: #666b79; opacity: 1; }
.dept-filters > div, .dept-filters > label, .dept-filter-field { margin-bottom: 18px; }
.dept-filters label > input, .dept-filters label > select { margin-top: 8px; }
.dept-filters label:has(input[type='checkbox']) { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; line-height: 1.7; }
.dept-filters input[type='checkbox'] { width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--dept-forest); margin: 2px 0 0; }
.dept-filters fieldset { min-width: 0; padding: 0; border: 0; margin: 0 0 18px; }
.dept-filters legend { padding: 0; font-size: 10px; font-weight: 600; margin-bottom: 8px; }
.dept-filters .dept-button { width: 100%; min-height: 42px; font-size: 10px; padding: 11px 10px; }
.dept-filters button:not(.dept-button) { padding: 8px 0; border: 0; border-bottom: 1px solid #d2dcf5; background: transparent; color: var(--dept-forest); font-size: 10px; }
.dept-results { min-width: 0; }
.dept-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 49px; padding-bottom: 16px; border-bottom: 1px solid #d2dcf5; }
.dept-count { font-size: 12px; font-weight: 500; line-height: 1.6; }
.dept-count strong { font-weight: 600; }
.dept-toolbar > div { min-width: 0; }
.dept-toolbar label { color: var(--dept-muted); font-size: 10px; }
.dept-toolbar select { max-width: 100%; padding: 9px 30px 9px 11px; border: 1px solid #d2dcf5; color: var(--dept-forest); background: transparent; font-size: 11px; }
.dept-view-toggle { display: inline-flex; gap: 0; border: 1px solid #d2dcf5; }
.dept-view-toggle button { border: 0; border-left: 1px solid #d2dcf5; background: transparent; color: var(--dept-muted); padding: 9px 13px; min-height: 39px; font-size: 10px; }
.dept-view-toggle button:first-child { border-left: 0; }
.dept-view-toggle button[aria-pressed='true'], .dept-view-toggle button.active { background: var(--dept-forest); color: var(--dept-white); }
.dept-active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 16px; }
.dept-active-filters:empty { display: none; }
.dept-active-filters button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid #d2dcf5; background: #f1f4fc; color: var(--dept-forest); font-size: 10px; }
.dept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 24px 20px; margin-top: 23px; }
.dept-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--dept-white); border: 1px solid var(--dept-line); transition: border-color .2s; }
.dept-card:hover { border-color: #666b79; }
.dept-card-visual { position: relative; display: block; overflow: hidden; background: #f1f4fc; aspect-ratio: 1.35; }
.dept-card-visual::after { content: ''; position: absolute; inset: auto 0 0; height: 42%; pointer-events: none; background: linear-gradient(transparent, #11127538); }
.dept-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dept-card:hover .dept-card-visual img { transform: scale(1.025); }
.dept-badge { position: absolute; bottom: 13px; left: 13px; z-index: 1; max-width: calc(100% - 26px); padding: 5px 9px; background: #fffffff2; color: var(--dept-forest); font-size: 9px; font-weight: 500; line-height: 1.6; }
.dept-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 21px 18px 17px; }
.dept-card .dept-eyebrow { font-size: 8px; line-height: 1.6; letter-spacing: .12em; margin-bottom: 9px; }
.dept-card h3 { font-size: clamp(27px, 2.4vw, 35px); line-height: 1.07; letter-spacing: -.025em; margin-bottom: 8px; overflow-wrap: anywhere; }
.dept-card h3 a:hover { color: var(--dept-gold-ink); }
.dept-location { color: var(--dept-muted); font-size: 10px; line-height: 1.7; }
.dept-types { display: flex; flex-wrap: wrap; gap: 5px; margin: 16px 0 18px; }
.dept-types span { padding: 3px 8px; background: #f1f4fc; color: #666b79; font-size: 9px; font-weight: 500; line-height: 1.7; }
.dept-price { border-top: 1px solid var(--dept-line); padding-top: 15px; margin-top: auto; }
.dept-price > span { display: block; color: var(--dept-muted); font-size: 9px; line-height: 1.5; margin-bottom: 4px; }
.dept-price strong { display: block; color: var(--dept-forest); font: 500 31px/1.12 var(--dept-serif); letter-spacing: -.02em; }
.dept-price small { display: block; color: var(--dept-muted); font-size: 8px; line-height: 1.65; font-weight: 400; margin-top: 7px; }
.dept-card-meta { display: block; flex-wrap: wrap; gap: 4px 12px; margin: 11px 0 0; color: var(--dept-muted); font-size: 9px; line-height: 1.8; }
.dept-card-meta > span + span::before { content: '·'; margin-right: 10px; color: #666b79; }
.dept-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--dept-line); font-size: 9px; }
.dept-card-actions > a { padding: 5px 0; font-size: 10px; font-weight: 600; }
.dept-card-actions > a:hover { color: var(--dept-gold-ink); }
.dept-card-actions > label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 9px; white-space: nowrap; }
.dept-card-actions input[type='checkbox'] { width: 16px; height: 16px; margin: 0; accent-color: var(--dept-forest); flex-shrink: 0; }
.dept-empty { padding: 38px 28px; border: 1px solid #d2dcf5; margin-top: 23px; color: var(--dept-muted); font-size: 13px; text-align: center; }
.dept-empty h3 { color: var(--dept-forest); font-size: 34px; line-height: 1.15; margin-bottom: 12px; }
.dept-empty button { margin-top: 18px; }
.dept-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 34px; }
.dept-pagination button { min-width: 39px; min-height: 39px; padding: 8px 13px; border: 1px solid #d2dcf5; background: transparent; color: var(--dept-forest); font-size: 11px; }
.dept-pagination button[aria-current], .dept-pagination button.active { background: var(--dept-forest); color: var(--dept-white); border-color: var(--dept-forest); }
.dept-pagination button:hover:not(:disabled) { border-color: var(--dept-forest); }
.dept-pagination span { font-size: 10px; color: var(--dept-muted); padding: 6px; }
.dept-catalog-note, .dept-legal { color: var(--dept-muted); font-size: 9px; line-height: 1.9; margin-top: 24px !important; }
.dept-catalog-note a, .dept-legal a { text-decoration: underline; text-underline-offset: 3px; }
.dept-map { position: relative; min-height: 510px; margin-top: 23px; background: #f1f4fc; border: 1px solid #d2dcf5; isolation: isolate; }
.dept-map iframe { display: block; width: 100%; min-height: 510px; border: 0; }
.dept-map .leaflet-container { font: 400 12px/1.5 var(--dept-sans); }
.dept-map .leaflet-popup-content h3 { font-size: 26px; margin: 0 0 9px; }
.dept-map .leaflet-popup-content a { color: var(--dept-forest); text-decoration: underline; text-underline-offset: 3px; }

/* Comparison: an unobtrusive bottom tray and an accessible dialog. */
.dept-compare { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 22px; width: min(860px, calc(100% - 48px)); padding: 16px 21px; background: var(--dept-deep); color: var(--dept-paper); box-shadow: 0 10px 45px #11127530; border: 1px solid #666b79; }
.dept-compare > div { flex: 1; min-width: 0; }
.dept-compare p { font-size: 11px; line-height: 1.6; }
.dept-compare small { display: block; color: #d2dcf5; font-size: 9px; margin-top: 3px; }
.dept-compare .dept-button { flex-shrink: 0; min-height: 42px; font-size: 10px; padding: 10px 17px; }
.dept-compare > button:not(.dept-button), .dept-compare button[data-clear] { border: 0; background: transparent; color: #d2dcf5; padding: 8px 0; font-size: 10px; text-decoration: underline; text-underline-offset: 5px; }
.dept-dialog { width: min(1080px, calc(100% - 48px)); max-height: min(86dvh, 1000px); border: 1px solid #d2dcf5; padding: 33px; color: var(--dept-forest); background: var(--dept-paper); overscroll-behavior: contain; }
.dept-dialog::backdrop { background: #111275b8; backdrop-filter: blur(3px); }
.dept-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.dept-dialog-head h2 { font-size: clamp(34px, 4vw, 52px); }
.dept-dialog-head .dept-eyebrow { margin-bottom: 10px; }
.dept-dialog-close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-width: 42px; min-height: 42px; padding: 8px 12px; border: 1px solid #d2dcf5; background: transparent; color: var(--dept-forest); font-size: 12px; }
.dept-dialog > p { margin-top: 20px; color: var(--dept-muted); font-size: 11px; }
.dept-dialog > img { max-height: 73dvh; width: auto; object-fit: contain; margin-inline: auto; }
.dept-table-wrap, .dept-unit-table { overflow-x: auto; max-width: 100%; overscroll-behavior-inline: contain; }
.dept-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; text-align: left; font-size: 11px; }
.dept-table-wrap caption { text-align: left; color: var(--dept-muted); margin-bottom: 16px; font-size: 10px; }
.dept-table-wrap th, .dept-table-wrap td { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--dept-line); vertical-align: top; min-width: 160px; }
.dept-table-wrap th:first-child { width: 140px; min-width: 120px; font: 500 10px/1.7 var(--dept-sans); color: var(--dept-muted); }
.dept-table-wrap thead th:not(:first-child) { font: 500 29px/1.1 var(--dept-serif); }
.dept-table-wrap td a { text-decoration: underline; text-underline-offset: 4px; }
.dept-table-wrap img { width: 100%; max-width: 230px; aspect-ratio: 1.45; object-fit: cover; margin-bottom: 12px; }

/* Process, FAQs and appointment. */
.dept-section.alt { background: var(--dept-soft); }
.dept-section.dark { background: var(--dept-forest); color: var(--dept-paper); }
.dept-section.dark .dept-eyebrow, .dept-section.dark h2 em { color: var(--dept-gold); }
.dept-section.dark .dept-section-heading > p { color: #d2dcf5; }
.dept-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.dept-process > :is(article,div,li) { border-top: 1px solid #d2dcf5; padding-top: 23px; }
.dept-process > :is(article,div,li) > span { color: var(--dept-gold-ink); font: 600 9px/1.7 var(--dept-sans); letter-spacing: .12em; text-transform: uppercase; }
.dept-process h3 { margin: 19px 0 13px; font-size: 31px; line-height: 1.15; }
.dept-process p { color: var(--dept-muted); font-size: 12px; line-height: 1.9; }
.dept-section.dark .dept-process > :is(article,div,li) { border-color: #666b79; }
.dept-section.dark .dept-process > :is(article,div,li) > span { color: var(--dept-gold); }
.dept-section.dark .dept-process p { color: #d2dcf5; }
.dept-faq { max-width: 980px; margin-inline: auto; }
.dept-faq details { border-bottom: 1px solid #d2dcf5; }
.dept-faq details:first-child { border-top: 1px solid #d2dcf5; }
.dept-faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 25px; padding-block: 24px; cursor: pointer; list-style: none; color: var(--dept-forest); font-size: 13px; font-weight: 500; }
.dept-faq summary::-webkit-details-marker { display: none; }
.dept-faq summary::after { content: '+'; color: var(--dept-gold-ink); font: 400 24px/1 var(--dept-sans); flex-shrink: 0; }
.dept-faq details[open] summary::after { content: '−'; }
.dept-faq summary > span[aria-hidden] { display: none; }
.dept-faq details p { max-width: 800px; padding-bottom: 24px; font-size: 12px; color: var(--dept-muted); line-height: 1.9; }
.dept-meeting { padding-block: 76px; background: #f1f4fc; }
.dept-meeting > .dept-wrap { display: grid; grid-template-columns: 1.18fr .82fr; gap: 80px; align-items: center; }
.dept-meeting .dept-eyebrow { margin-bottom: 17px; }
.dept-meeting h2 { font-size: clamp(42px, 5vw, 66px); }
.dept-meeting p:not(.dept-eyebrow) { color: #666b79; max-width: 490px; margin-top: 22px; font-size: 12px; line-height: 1.9; }
.dept-meeting .dept-button { margin-top: 25px; }
.dept-meeting aside { border-left: 1px solid #d2dcf5; padding-left: 43px; }
.dept-meeting aside > p:first-child, .dept-meeting h3 { color: var(--dept-forest); font: 500 31px/1.15 var(--dept-serif); margin: 0 0 13px; }
.dept-meeting aside a { display: block; width: fit-content; font-size: 12px; margin-top: 13px; }
.dept-meeting aside a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dept-footer { padding-block: 33px 40px; border-top: 1px solid var(--dept-line); background: var(--dept-paper); }
.dept-footer > .dept-wrap { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px 38px; align-items: center; }
.dept-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 10px; }
.dept-footer > .dept-wrap > span, .dept-footer > span { font-size: 9px; color: var(--dept-muted); }
.dept-footer.dept-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.dept-footer .dept-brand { font-size: 31px; }
.dept-footer .dept-brand small { font-size: 6px; }
.dept-legal { padding-block: 25px; margin-top: 0 !important; }
.dept-mobile-cta { display: none; }

/* Individual project pages. */
.dept-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 23px; color: var(--dept-muted); font-size: 10px; line-height: 1.7; }
.dept-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dept-breadcrumb > span[aria-hidden] { color: #666b79; }
.dept-detail-hero { display: grid; grid-template-columns: 1.18fr .82fr; gap: 5%; align-items: center; padding-bottom: 42px; }
.dept-detail-hero > figure, .dept-detail-hero > .dept-detail-visual { position: relative; min-width: 0; }
.dept-detail-hero > figure > img, .dept-detail-visual > img { width: 100%; height: 470px; object-fit: cover; background: #f1f4fc; }
.dept-detail-hero figcaption { color: var(--dept-muted); font-size: 9px; margin-top: 9px; line-height: 1.7; }
.dept-detail-copy { min-width: 0; }
.dept-detail-copy .dept-eyebrow { margin-bottom: 17px; }
.dept-detail-copy h1 { font-size: clamp(50px, 5.4vw, 78px); line-height: 1.01; overflow-wrap: anywhere; }
.dept-detail-copy > p:not(.dept-eyebrow) { color: var(--dept-muted); margin-top: 18px; font-size: 12px; line-height: 1.9; }
.dept-detail-copy .dept-price { margin-top: 22px; padding-top: 19px; }
.dept-detail-copy .dept-price strong { font-size: 43px; }
.dept-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 23px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--dept-line); }
.dept-detail-facts > div { font-size: 11px; }
.dept-detail-facts dt, .dept-detail-facts small, .dept-detail-facts span { display: block; color: var(--dept-muted); font-size: 9px; font-weight: 400; margin-bottom: 4px; }
.dept-detail-facts dd { margin: 0; font-size: 11px; font-weight: 500; }
.dept-detail-facts strong { display: block; font-size: 11px; font-weight: 500; }
.dept-tabs { position: sticky; top: 82px; z-index: 40; display: flex; align-items: center; gap: 29px; border-top: 1px solid var(--dept-line); border-bottom: 1px solid var(--dept-line); background: #fffffff5; overflow-x: auto; scrollbar-width: thin; }
.dept-tabs a { flex-shrink: 0; padding: 17px 0; color: var(--dept-muted); font-size: 10px; line-height: 1.7; border-bottom: 2px solid transparent; }
.dept-tabs a:hover, .dept-tabs a[aria-current] { border-color: var(--dept-forest); color: var(--dept-forest); }
.dept-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 65px; align-items: start; padding-block: 50px 90px; }
.dept-detail-layout > :is(div,article) { min-width: 0; }
.dept-detail-layout section { padding-block: 0 47px; margin-bottom: 40px; border-bottom: 1px solid var(--dept-line); scroll-margin-top: 160px; }
.dept-detail-layout section:last-child { margin-bottom: 0; }
.dept-detail-layout h2 { font-size: clamp(36px, 3.6vw, 51px); margin-bottom: 22px; }
.dept-detail-layout h3 { font-size: 28px; line-height: 1.15; margin-bottom: 16px; }
.dept-detail-layout section > p { color: var(--dept-muted); font-size: 12px; line-height: 1.95; margin-bottom: 17px; }
.dept-summary { position: sticky; top: 160px; max-height: calc(100dvh - 180px); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; padding: 26px 24px; background: var(--dept-forest); color: var(--dept-paper); }
.dept-summary .dept-eyebrow { color: #d2dcf5; margin-bottom: 11px; }
.dept-summary h3, .dept-summary h2 { font-size: 34px; line-height: 1.08; margin-bottom: 20px; overflow-wrap: anywhere; }
.dept-summary p { color: #d2dcf5; font-size: 11px; line-height: 1.9; margin-bottom: 17px; }
.dept-summary .dept-price { border-color: #666b79; margin: 20px 0; }
.dept-summary .dept-price strong { color: var(--dept-gold); font-size: 38px; }
.dept-summary .dept-price small, .dept-summary .dept-price > span { color: #d2dcf5; }
.dept-summary .dept-button { width: 100%; }
.dept-summary small { display: block; color: #d2dcf5; font-size: 9px; line-height: 1.8; margin-top: 15px; }
.dept-summary ul { padding-left: 17px; color: #d2dcf5; font-size: 10px; line-height: 1.9; margin: 15px 0 22px; }
.dept-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dept-gallery button { display: block; padding: 0; overflow: hidden; background: #f1f4fc; border: 0; min-width: 0; }
.dept-gallery img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s; }
.dept-gallery button:hover img { transform: scale(1.025); }
.dept-gallery figcaption { color: var(--dept-muted); font-size: 9px; margin-top: 7px; }
.dept-gallery button:first-child:nth-last-child(4) { grid-column: span 2; grid-row: span 2; }
.dept-gallery button:first-child:nth-last-child(4) img { height: 372px; }
.dept-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; gap: 0 30px; }
.dept-features li { display: flex; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid #d2dcf5; font-size: 11px; line-height: 1.8; }
.dept-features li::before { content: '—'; color: var(--dept-gold-ink); }
.dept-unit-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-bottom: 18px; }
.dept-unit-tools > div, .dept-unit-tools > label { min-width: 120px; flex: 1; }
.dept-unit-tools label { display: block; font-size: 10px; font-weight: 500; margin-bottom: 0; }
.dept-unit-tools > label :is(input,select) { margin-top: 6px; }
.dept-unit-tools select, .dept-unit-tools input { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; background: var(--dept-white); color: var(--dept-forest); border: 1px solid #d2dcf5; font-size: 11px; }
.dept-unit-table { border-top: 1px solid #d2dcf5; }
.dept-unit-table table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 10px; text-align: left; }
.dept-unit-table th { background: #f1f4fc; padding: 13px 12px; font-size: 9px; line-height: 1.6; font-weight: 600; border-bottom: 1px solid #d2dcf5; white-space: nowrap; }
.dept-unit-table td { padding: 14px 12px; border-bottom: 1px solid #d2dcf5; vertical-align: middle; }
.dept-unit-table tbody tr:hover { background: #f1f4fc; }
.dept-unit-table td strong { font-weight: 600; white-space: nowrap; }
.dept-unit-table td a, .dept-unit-table td button { font-size: 10px; text-decoration: underline; text-underline-offset: 4px; color: var(--dept-forest); background: none; border: 0; padding: 5px 0; }
.dept-unit-table td .dept-button { text-decoration: none; min-height: 34px; padding: 8px 11px; color: var(--dept-white); }
.dept-unit-table .dept-chip { padding: 3px 6px; font-size: 8px; white-space: nowrap; }
.dept-notice { padding: 17px 19px; border-left: 2px solid #111275; background: #f1f4fc; color: #666b79; font-size: 10px; line-height: 1.9; margin-block: 20px; }
.dept-notice strong { color: var(--dept-forest); font-weight: 600; }
.dept-notice a { text-decoration: underline; text-underline-offset: 3px; }
.dept-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dept-docs a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 18px; border: 1px solid #d2dcf5; font-size: 11px; line-height: 1.6; }
.dept-docs a:hover { background: #f1f4fc; border-color: #666b79; }
.dept-docs a small { display: block; color: var(--dept-muted); font-size: 9px; margin-top: 3px; }
.dept-calculator { padding: 28px; background: #f1f4fc; }
.dept-calculator form, form.dept-calculator { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dept-calculator label { display: block; font-size: 10px; font-weight: 500; margin-bottom: 6px; }
.dept-calculator input, .dept-calculator select { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 11px 12px; background: var(--dept-white); border: 1px solid #d2dcf5; color: var(--dept-forest); font-size: 12px; }
.dept-calculator label > input, .dept-calculator label > select { margin-top: 8px; }
.dept-calculator small { display: block; font-size: 9px; color: var(--dept-muted); margin-top: 5px; line-height: 1.8; }
.dept-calculator form > .dept-button, form.dept-calculator > .dept-button { align-self: end; grid-column: 1 / -1; justify-self: start; }
.dept-calc-result { display: block; grid-column: 1 / -1; gap: 18px; margin-top: 24px; padding-top: 23px; border-top: 1px solid #d2dcf5; }
.dept-calc-result > div { min-width: 0; }
.dept-calc-result span { display: block; color: var(--dept-muted); font-size: 10px; margin-bottom: 4px; }
.dept-calc-result strong { display: block; margin-block: 6px 12px; font: 500 35px/1.15 var(--dept-serif); color: var(--dept-forest); }
.dept-calc-result p, .dept-calc-result > small { grid-column: 1 / -1; color: var(--dept-muted); font-size: 10px; line-height: 1.9; }

/* Markup shared by the generated catalogue, unit pages and client-side updates. */
.dept-brand > span { color: var(--dept-gold); }
.dept-header > .dept-wrap > .dept-button { background: var(--dept-gold); border-color: var(--dept-gold); color: var(--dept-deep) !important; min-height: 41px; padding: 11px 17px; font-size: 10px; }
.dept-header > .dept-wrap > .dept-button:hover { background: #bdccec; border-color: #bdccec; }
.dept-page > a.dept-sr:focus { position: fixed; top: 12px; left: 20px; width: auto; height: auto; clip: auto; overflow: visible; z-index: 200; padding: 12px 20px; background: var(--dept-gold); color: var(--dept-deep); }
.dept-hero-grid > div > p.dept-muted { color: #d2dcf5; font-size: 10px; line-height: 1.85; max-width: 430px; margin-top: 22px; }
.dept-search { display: flex; gap: 0; margin-bottom: 28px; border: 1px solid #d2dcf5; background: var(--dept-white); }
.dept-search input { width: 100%; min-width: 0; min-height: 55px; padding: 16px 21px; background: transparent; border: 0; color: var(--dept-forest); font-size: 13px; }
.dept-search input::placeholder { color: #666b79; opacity: 1; }
.dept-search .dept-button { border: 0; border-left: 1px solid #d2dcf5; min-width: 120px; }
.dept-filter-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dept-filter-title h3 { margin-bottom: 0; }
.dept-filter-title button { flex-shrink: 0; }
.dept-filters > select, .dept-filters > input { margin-bottom: 18px; }
.dept-filters > label:not(:has(input)) { margin-bottom: 7px; }
.dept-filters > label:has(input[type='checkbox']) { margin-top: 4px; margin-bottom: 17px; }
.dept-filters > p:last-child { margin-bottom: 0; font-size: 9px; }
.dept-toolbar > div:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.dept-favorite-toggle { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; white-space: nowrap; font-size: 9px; }
.dept-favorite-toggle input { margin: 0; accent-color: var(--dept-forest); width: 16px; height: 16px; }
.dept-favorite { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; border: 1px solid #ffffffbf; background: #ffffffed; color: var(--dept-forest); font-size: 24px; line-height: 1; }
.dept-favorite:hover, .dept-favorite[aria-pressed='true'] { color: #111275; background: #d2dcf5; border-color: #d2dcf5; }
.dept-card .dept-price > small:first-child { margin-top: 0; margin-bottom: 5px; }
.dept-compare > div > strong { display: block; font-size: 12px; font-weight: 500; }
.dept-compare > div > span { display: block; margin-top: 4px; color: #d2dcf5; font-size: 10px; line-height: 1.6; }
.dept-compare #clear-compare { font: 400 25px/1 var(--dept-sans); text-decoration: none; padding: 8px; }
.dept-section.dept-faq h2 { margin-bottom: 30px; }
.dept-section.dept-faq > .dept-wrap > .dept-eyebrow { margin-bottom: 16px; }
.dept-faq details p a { text-decoration: underline; text-underline-offset: 3px; }
.dept-meeting > .dept-wrap > .dept-button { justify-self: end; margin-top: 0; }
.dept-footer > .dept-wrap > p:not(.dept-notice) { color: var(--dept-muted); font-size: 10px; line-height: 1.9; }
.dept-footer .dept-notice { grid-column: 1 / -1; margin-block: 0; font-size: 9px; padding: 0; background: transparent; border: 0; }
.dept-footer > .dept-wrap > small { grid-column: 1 / -1; color: var(--dept-muted); font-size: 9px; }
.dept-detail-copy > .dept-chip { margin-top: 17px; }
.dept-detail-hero .dept-hero-visual > button { display: block; padding: 0; border: 0; background: #f1f4fc; width: 100%; overflow: hidden; }
.dept-detail-hero .dept-hero-visual img { height: 490px; }
.dept-detail-hero .dept-hero-visual figcaption { color: var(--dept-muted); }
.dept-features > div { min-width: 0; padding: 14px 0; border-top: 1px solid #d2dcf5; }
.dept-features dt { color: var(--dept-muted); font-size: 9px; line-height: 1.6; margin-bottom: 5px; }
.dept-features dd { margin: 0; color: var(--dept-forest); font-size: 11px; font-weight: 500; line-height: 1.8; }
.dept-unit-table :is(th,td):first-child { min-width: 100px; width: auto; max-width: none; }
.dept-unit-table thead th:nth-child(n) { font: 600 9px/1.6 var(--dept-sans); color: var(--dept-forest); }
.dept-unit-table td small { display: block; color: var(--dept-muted); font-size: 9px; margin-top: 5px; line-height: 1.65; }
.dept-unit-table tr.is-selected, .dept-unit-table tbody tr.is-selected:hover { background: #f1f4fc; }
.dept-unit-table tr.is-selected td:first-child { box-shadow: inset 3px 0 var(--dept-forest); }
.dept-unit-table button[aria-pressed='true'] { font-weight: 600; }
.dept-unit-table caption { margin-block: 14px; }
.dept-summary .dept-features { display: block; margin-block: 18px; }
.dept-summary .dept-features > div { padding-block: 11px; border-color: #666b79; }
.dept-summary .dept-features dt { color: #d2dcf5; font-size: 9px; }
.dept-summary .dept-features dd { color: var(--dept-paper); font-size: 11px; }
.dept-summary > a.dept-button { background: var(--dept-gold); border-color: var(--dept-gold); color: var(--dept-deep) !important; }
.dept-summary > .dept-button.outline { color: var(--dept-paper) !important; border-color: #666b79; margin-top: 16px; }
.dept-summary > .dept-button.outline:hover { background: #ffffff0b; }
.dept-summary > .dept-text-link { display: flex; justify-content: center; font-size: 10px; padding-block: 13px; border-color: #666b79; }
.dept-summary > p.dept-muted { color: #d2dcf5; margin-top: 22px; margin-bottom: 0; }
.dept-summary .dept-notice { margin: 19px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid #666b79; background: transparent; color: #d2dcf5; font-size: 9px; }
.dept-detail-layout section > .dept-eyebrow { margin-bottom: 13px; }
.dept-detail-layout .dept-gallery + p { margin-top: 15px; font-size: 10px; }
.dept-detail-layout .dept-docs { margin-top: 24px; }
#unit-count { color: var(--dept-muted); font-size: 10px; margin-bottom: 10px; }
#unit-empty { padding: 20px 0; font-size: 12px; }
#calc-result > small { display: block; margin: 0; }
#calc-result > strong { font-size: 44px; }
#calc-result > p { font-size: 11px; line-height: 1.8; margin-bottom: 14px; }
#photo-dialog .dept-dialog-head > span { color: var(--dept-muted); font-size: 11px; line-height: 1.7; padding-top: 9px; }
#photo-dialog .dept-actions { justify-content: space-between; gap: 12px; }
#photo-dialog .dept-actions button { min-height: 42px; padding: 10px 13px; background: transparent; border: 1px solid #d2dcf5; color: var(--dept-forest); font-size: 11px; }
#photo-position { font-size: 10px; color: var(--dept-muted); }
#copy-fallback { width: 100%; min-height: 180px; padding: 16px; margin-top: 20px; border: 1px solid #d2dcf5; background: var(--dept-white); color: var(--dept-forest); font: 400 12px/1.8 var(--dept-sans); }
.dept-page > .dept-feedback:not(:empty) { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; width: max-content; max-width: calc(100% - 40px); margin: 0 !important; padding: 13px 18px; border: 1px solid #666b79; background: var(--dept-deep); color: var(--dept-paper); box-shadow: 0 6px 30px #11127533; }

@media (min-width: 1600px) {
  .dept-wrap { width: min(var(--dept-wrap), calc(100% - 160px)); }
}
@media (max-width: 1200px) {
  .dept-wrap { width: calc(100% - 72px); }
  .dept-hero-grid { gap: 5%; }
  .dept-hero h1 { font-size: 75px; }
  .dept-hero-visual img { height: 440px; }
  .dept-workspace { grid-template-columns: 195px minmax(0, 1fr); gap: 25px; }
  .dept-filters { padding-inline: 17px; }
  .dept-grid { gap: 20px 16px; }
  .dept-card-body { padding-inline: 15px; }
  .dept-card h3 { font-size: 28px; }
  .dept-card-actions { align-items: flex-start; flex-direction: column; gap: 7px; }
  .dept-card-actions > label { padding-block: 4px; }
  .dept-section-heading { gap: 50px; }
  .dept-detail-hero { gap: 4%; }
  .dept-detail-hero > figure > img, .dept-detail-visual > img { height: 420px; }
  .dept-detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 40px; }
  .dept-summary { padding: 24px 20px; }
}
@media (max-width: 1050px) {
  .dept-nav { gap: 20px; }
  .dept-hero h1 { font-size: 66px; }
  .dept-hero-visual img { height: 420px; }
  .dept-hero-grid > div > p:not(.dept-eyebrow) { font-size: 12px; }
  .dept-workspace { grid-template-columns: 190px minmax(0, 1fr); gap: 25px; }
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 18px; }
  .dept-card h3 { font-size: 34px; }
  .dept-card-body { padding: 21px 18px 17px; }
  .dept-card-actions { flex-direction: row; align-items: center; }
  .dept-section-heading { gap: 40px; }
  .dept-stats strong { font-size: 36px; }
  .dept-stats { gap: 23px; }
  .dept-stats > div { gap: 12px; }
  .dept-detail-copy h1 { font-size: 57px; }
  .dept-detail-hero > figure > img, .dept-detail-visual > img { height: 390px; }
  .dept-gallery { gap: 10px; }
  .dept-gallery img { height: 150px; }
  .dept-gallery button:first-child:nth-last-child(4) img { height: 310px; }
  .dept-detail-layout { gap: 30px; grid-template-columns: minmax(0, 1fr) 250px; }
  .dept-summary { padding: 23px 18px; }
  .dept-summary h3 { font-size: 30px; }
  .dept-process { gap: 27px; }
}
@media (max-width: 850px) {
  .dept-nav { display: none; }
  .dept-menu { display: inline-block; margin-left: auto; }
  .dept-header > .dept-wrap { min-height: 75px; }
  .dept-tabs { top: 75px; }
  .dept-hero { padding-top: 32px; }
  .dept-hero h1 { font-size: 61px; }
  .dept-hero-grid { gap: 30px; grid-template-columns: 1fr 1fr; }
  .dept-hero-visual img { height: 400px; }
  .dept-hero .dept-eyebrow { font-size: 9px; margin-bottom: 18px; }
  .dept-actions { gap: 16px; }
  .dept-button { font-size: 10px; padding: 13px 17px; }
  .dept-stats { margin-top: 35px; gap: 20px; }
  .dept-stats > div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .dept-catalog { padding-block: 65px; }
  .dept-section-heading { grid-template-columns: 1fr 1fr; gap: 30px; }
  .dept-section-heading h2 { font-size: 45px; }
  .dept-section-heading > p { font-size: 11px; }
  .dept-workspace { grid-template-columns: 1fr; gap: 27px; }
  .dept-filters { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 22px; }
  .dept-filters h3 { grid-column: 1 / -1; margin-bottom: 0; font-size: 28px; }
  .dept-filters > p { grid-column: 1 / -1; margin-bottom: 0; }
  .dept-filters > div, .dept-filters > label, .dept-filters fieldset, .dept-filter-field { margin-bottom: 0; }
  .dept-filters > button { align-self: end; }
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .dept-card-actions { flex-direction: row; }
  .dept-section { padding-block: 66px; }
  .dept-meeting > .dept-wrap { gap: 35px; grid-template-columns: 1.15fr .85fr; }
  .dept-meeting aside { padding-left: 27px; }
  .dept-footer nav { gap: 16px; }
  .dept-footer > .dept-wrap, .dept-footer.dept-wrap { flex-wrap: wrap; }
  .dept-footer > .dept-wrap > span, .dept-footer > span { width: 100%; }
  .dept-detail-hero { grid-template-columns: 1fr 1fr; gap: 26px; }
  .dept-detail-copy h1 { font-size: 48px; }
  .dept-detail-hero > figure > img, .dept-detail-visual > img { height: 400px; }
  .dept-detail-copy .dept-eyebrow { font-size: 9px; }
  .dept-detail-facts { gap: 14px; }
  .dept-detail-layout { grid-template-columns: 1fr; padding-bottom: 65px; }
  .dept-summary { position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; padding: 30px; }
  .dept-summary h3, .dept-summary > h2, .dept-summary > .dept-eyebrow, .dept-summary > #selected-unit, .dept-summary > .dept-notice { grid-column: 1 / -1; }
  .dept-summary .dept-price { margin: 0; padding: 0; border: 0; }
  .dept-summary > small { grid-column: 1 / -1; }
  .dept-summary > .dept-button { align-self: start; }
  .dept-summary > p { margin-bottom: 20px; }
  .dept-gallery img { height: 190px; }
  .dept-gallery button:first-child:nth-last-child(4) img { height: 390px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 90px; }
  .dept-page section { scroll-margin-top: 90px; }
  .dept-wrap { width: calc(100% - 40px); }
  .dept-header > .dept-wrap { min-height: 70px; gap: 18px; }
  .dept-brand { font-size: 33px; }
  .dept-brand small { font-size: 6px; margin-top: 6px; }
  .dept-menu { min-width: 40px; min-height: 40px; }
  .dept-hero { padding-top: 30px; }
  .dept-hero-grid { grid-template-columns: 1fr; gap: 31px; }
  .dept-hero h1 { font-size: clamp(56px, 13.4vw, 78px); max-width: 520px; }
  .dept-hero-grid > div > p:not(.dept-eyebrow) { font-size: 12px; margin-top: 21px; }
  .dept-hero .dept-eyebrow { margin-bottom: 19px; }
  .dept-actions { margin-top: 25px; gap: 20px; }
  .dept-actions .dept-button { min-height: 49px; padding-inline: 20px; font-size: 11px; }
  .dept-text-link { font-size: 10px; }
  .dept-hero-visual img { height: auto; aspect-ratio: 1.22; }
  .dept-hero-visual figcaption { font-size: 8px; }
  .dept-stats { gap: 20px; margin-top: 28px; padding: 23px 0 29px; }
  .dept-stats strong { font-size: 34px; }
  .dept-stats span { font-size: 8px; line-height: 1.8; }
  .dept-catalog { padding-block: 57px; }
  .dept-section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 29px; }
  .dept-section-heading h2 { font-size: clamp(42px, 10vw, 56px); }
  .dept-section-heading .dept-eyebrow { margin-bottom: 13px; font-size: 9px; }
  .dept-section-heading > p { max-width: none; font-size: 12px; line-height: 1.9; }
  .dept-workspace { gap: 23px; }
  .dept-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding: 21px 17px; }
  .dept-filters h3 { font-size: 30px; }
  .dept-filters :is(input[type='text'],input[type='search'],input[type='number'],select) { min-height: 45px; font-size: 16px; padding: 9px; }
  .dept-filters > div:first-of-type { grid-column: 1 / -1; }
  .dept-filters label { font-size: 10px; }
  .dept-filters > button { min-height: 40px; }
  .dept-toolbar { flex-wrap: wrap; gap: 13px; align-items: center; padding-bottom: 15px; }
  .dept-count { font-size: 11px; }
  .dept-toolbar select { font-size: 16px; min-height: 42px; max-width: 100%; }
  .dept-toolbar > select { width: 100%; }
  .dept-view-toggle button { min-height: 38px; padding: 8px 11px; font-size: 9px; }
  .dept-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 21px; }
  .dept-card-visual { aspect-ratio: 1.37; }
  .dept-card-body { padding: 23px 22px 19px; }
  .dept-card h3 { font-size: 38px; }
  .dept-card .dept-eyebrow { font-size: 8px; margin-bottom: 10px; }
  .dept-location { font-size: 11px; }
  .dept-types { margin-block: 17px 20px; gap: 6px; }
  .dept-types span { font-size: 10px; padding: 4px 9px; }
  .dept-price strong { font-size: 35px; }
  .dept-price small { font-size: 9px; }
  .dept-card-meta { font-size: 10px; gap: 4px 14px; }
  .dept-card-actions { margin-top: 17px; padding-top: 13px; }
  .dept-card-actions > a { min-height: 36px; display: inline-flex; align-items: center; font-size: 11px; }
  .dept-card-actions > label { min-height: 36px; font-size: 10px; gap: 7px; }
  .dept-card-actions input[type='checkbox'] { width: 18px; height: 18px; }
  .dept-pagination { gap: 6px; margin-top: 27px; }
  .dept-pagination button { min-height: 42px; min-width: 38px; font-size: 11px; padding-inline: 11px; }
  .dept-catalog-note, .dept-legal { font-size: 9px; }
  .dept-map, .dept-map iframe { min-height: 420px; }
  .dept-compare { width: calc(100% - 24px); bottom: calc(76px + env(safe-area-inset-bottom)); gap: 12px; padding: 13px 14px; flex-wrap: wrap; }
  .dept-compare > div { flex-basis: calc(100% - 150px); }
  .dept-compare .dept-button { min-height: 41px; padding: 10px 13px; font-size: 10px; }
  .dept-compare p { font-size: 10px; }
  .dept-compare small { font-size: 8px; }
  .dept-compare > button:not(.dept-button) { margin-left: auto; font-size: 9px; }
  .dept-dialog { width: calc(100% - 24px); padding: 22px 17px; max-height: 90dvh; }
  .dept-dialog-head { gap: 15px; margin-bottom: 21px; }
  .dept-dialog-head h2 { font-size: 36px; }
  .dept-dialog-close { min-width: 38px; min-height: 38px; padding-inline: 9px; font-size: 10px; }
  .dept-table-wrap table { min-width: 640px; }
  .dept-section { padding-block: 57px; }
  .dept-process { grid-template-columns: 1fr; gap: 27px; }
  .dept-process > :is(article,div,li) { padding: 20px 0 0; }
  .dept-process > :is(article,div,li) > span { display: block; font-size: 9px; margin-bottom: 14px; }
  .dept-process h3 { font-size: 30px; margin-top: 0; margin-bottom: 11px; }
  .dept-process p { font-size: 12px; }
  .dept-faq summary { font-size: 12px; line-height: 1.8; padding-block: 20px; gap: 17px; }
  .dept-faq details p { font-size: 11px; padding-bottom: 22px; }
  .dept-meeting { padding-block: 57px; }
  .dept-meeting > .dept-wrap { grid-template-columns: 1fr; gap: 33px; }
  .dept-meeting h2 { font-size: 48px; }
  .dept-meeting p:not(.dept-eyebrow) { margin-top: 18px; font-size: 12px; }
  .dept-meeting aside { padding: 27px 0 0; border: 0; border-top: 1px solid #d2dcf5; }
  .dept-meeting aside > p:first-child { margin-top: 0; font-size: 31px; }
  .dept-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .dept-footer > .dept-wrap, .dept-footer.dept-wrap { align-items: flex-start; gap: 27px 30px; }
  .dept-footer nav { flex-direction: column; gap: 13px; font-size: 10px; }
  .dept-mobile-cta { display: block; position: fixed; inset: auto 0 0; z-index: 65; background: #111275f5; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #666b79; }
  .dept-mobile-cta .dept-button { display: flex; min-height: 46px; width: 100%; font-size: 11px; padding-block: 12px; }
  .dept-breadcrumb { font-size: 9px; padding-block: 20px; gap: 7px; }
  .dept-detail-hero { display: flex; flex-direction: column; gap: 27px; padding-bottom: 32px; align-items: stretch; }
  .dept-detail-hero > figure > img, .dept-detail-visual > img { height: auto; aspect-ratio: 1.12; }
  .dept-detail-hero figcaption { font-size: 8px; }
  .dept-detail-copy h1 { font-size: clamp(50px, 12.8vw, 70px); }
  .dept-detail-copy .dept-eyebrow { margin-bottom: 14px; font-size: 9px; }
  .dept-detail-copy > p:not(.dept-eyebrow) { font-size: 12px; }
  .dept-detail-copy .dept-price strong { font-size: 42px; }
  .dept-detail-facts { margin-top: 18px; padding-top: 18px; gap: 16px 22px; }
  .dept-tabs { top: 70px; gap: 23px; padding-right: 12px; }
  .dept-tabs a { padding-block: 15px; font-size: 10px; }
  .dept-detail-layout { padding-block: 35px 57px; gap: 31px; }
  .dept-detail-layout section { scroll-margin-top: 145px; padding-bottom: 33px; margin-bottom: 31px; }
  .dept-detail-layout h2 { font-size: 40px; margin-bottom: 19px; }
  .dept-detail-layout section > p { font-size: 12px; }
  .dept-summary { display: block; padding: 27px 23px; }
  .dept-summary .dept-price { border-top: 1px solid #666b79; margin-block: 20px; padding-top: 18px; }
  .dept-summary p { font-size: 11px; }
  .dept-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dept-gallery img { height: 150px; }
  .dept-gallery button:first-child:nth-last-child(4) { grid-column: auto; grid-row: auto; }
  .dept-gallery button:first-child:nth-last-child(4) img { height: 150px; }
  .dept-features { gap: 0 20px; }
  .dept-features li { font-size: 10px; padding-block: 10px; }
  .dept-unit-tools { gap: 12px; }
  .dept-unit-tools > div, .dept-unit-tools > label { min-width: 100px; }
  .dept-unit-tools select, .dept-unit-tools input { font-size: 16px; min-height: 44px; }
  .dept-unit-table th { font-size: 9px; padding: 12px 10px; }
  .dept-unit-table td { font-size: 10px; padding: 13px 10px; }
  .dept-notice { font-size: 10px; padding: 15px; }
  .dept-docs { grid-template-columns: 1fr; }
  .dept-docs a { font-size: 11px; padding: 15px; }
  .dept-calculator { padding: 22px 17px; }
  .dept-calculator form, form.dept-calculator { gap: 16px 12px; }
  .dept-calculator input, .dept-calculator select { font-size: 16px; min-height: 45px; padding: 10px; }
  .dept-calculator form > .dept-button, form.dept-calculator > .dept-button { grid-column: 1 / -1; min-height: 45px; justify-self: stretch; }
  .dept-calc-result { gap: 18px 13px; margin-top: 23px; padding-top: 21px; }
  .dept-calc-result strong { font-size: 31px; }
}
@media (max-width: 360px) {
  .dept-wrap { width: calc(100% - 32px); }
  .dept-hero h1 { font-size: 51px; }
  .dept-hero .dept-eyebrow { font-size: 8px; letter-spacing: .14em; }
  .dept-actions { gap: 14px; }
  .dept-actions .dept-button { padding-inline: 17px; font-size: 10px; }
  .dept-stats { gap: 13px; }
  .dept-stats strong { font-size: 30px; }
  .dept-stats span { font-size: 8px; }
  .dept-section-heading h2 { font-size: 40px; }
  .dept-filters { padding-inline: 13px; gap: 14px 10px; }
  .dept-filters label { font-size: 9px; }
  .dept-card-body { padding-inline: 18px; }
  .dept-card h3 { font-size: 35px; }
  .dept-card-actions > a { font-size: 10px; }
  .dept-card-actions > label { font-size: 9px; }
  .dept-meeting h2 { font-size: 42px; }
  .dept-compare { gap: 10px; padding: 12px; }
  .dept-compare > div { flex-basis: 100%; }
  .dept-compare > .dept-button { flex: 1; }
  .dept-detail-copy h1 { font-size: 46px; }
  .dept-detail-facts { gap: 14px; }
  .dept-gallery img, .dept-gallery button:first-child:nth-last-child(4) img { height: 125px; }
  .dept-calculator form, form.dept-calculator { grid-template-columns: 1fr; }
  .dept-calc-result { grid-template-columns: 1fr; }
  .dept-process > :is(article,div,li) { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dept-page *, .dept-page *::before, .dept-page *::after { transition: none !important; animation: none !important; }
}
@media print {
  .dept-header, .dept-tabs, .dept-mobile-cta, .dept-compare, .dept-filters, .dept-view-toggle, .dept-pagination, .dept-card-actions label, .dept-actions, .dept-summary .dept-button { display: none !important; }
  body.dept-page { background: #fff; color: #111275; font-size: 10pt; }
  .dept-wrap { width: 100%; }
  .dept-hero, .dept-section.dark, .dept-summary { background: #fff; color: #111275; }
  .dept-hero h1, .dept-detail-copy h1 { font-size: 42pt; }
  .dept-hero-grid > div > p:not(.dept-eyebrow), .dept-stats span, .dept-summary p { color: #111275; }
  .dept-hero-visual { max-width: 300px; }
  .dept-hero-visual img { height: 230px; }
  .dept-workspace, .dept-detail-layout { display: block; }
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .dept-card { break-inside: avoid; }
  .dept-section, .dept-catalog, .dept-meeting { padding-block: 25px; }
  .dept-card h3 { font-size: 24pt; }
  .dept-card-visual { aspect-ratio: 1.8; }
  .dept-detail-layout section { break-inside: auto; }
  .dept-summary { position: static; border: 1px solid #d2dcf5; margin-top: 25px; }
  .dept-unit-table, .dept-table-wrap { overflow: visible; }
  .dept-unit-table table, .dept-table-wrap table { min-width: 0; font-size: 8pt; }
  .dept-unit-table th, .dept-unit-table td { padding: 7px; }
  .dept-footer { padding-bottom: 20px; }
}

@media (max-width: 1050px) { .dept-header > .dept-wrap { gap: 20px; } .dept-nav { gap: 18px; } .dept-detail-hero .dept-hero-visual img { height: 430px; } }
@media (max-width: 850px) {
  .dept-header > .dept-wrap > .dept-button { margin-left: auto; }
  .dept-menu { margin-left: 0; }
  .dept-filter-title { grid-column: 1 / -1; margin-bottom: 0 !important; }
  .dept-filter-title h3 { font-size: 29px; }
  .dept-filters > .dept-filter-field:first-of-type { grid-column: auto; }
  .dept-filters > label:has(input[type='checkbox']) { align-self: center; margin-bottom: 0; }
  .dept-filters > .dept-filter-field { margin-bottom: 0; }
  .dept-filters > p:last-child { margin-bottom: 0; }
  .dept-detail-hero .dept-hero-visual img { height: 430px; }
  .dept-footer > .dept-wrap { grid-template-columns: 1fr 2fr; gap: 25px; }
  .dept-footer nav { grid-column: 1 / -1; }
  .dept-page > .dept-feedback:not(:empty) { bottom: 20px; }
}
@media (max-width: 650px) {
  .dept-header > .dept-wrap > .dept-button { min-height: 38px; font-size: 9px; padding: 10px 12px; }
  .dept-search { margin-bottom: 23px; }
  .dept-search input { min-height: 52px; padding-inline: 14px; font-size: 16px; }
  .dept-search .dept-button { min-width: 81px; padding-inline: 11px; font-size: 10px; }
  .dept-search input::placeholder { font-size: 12px; }
  .dept-filters > .dept-filter-title { margin-bottom: 2px !important; }
  .dept-filters > .dept-filter-field:first-of-type { grid-column: auto; }
  .dept-filters > .dept-filter-field { grid-column: auto; }
  .dept-filters > label:has(input[type='checkbox']) { font-size: 10px; line-height: 1.7; }
  .dept-toolbar > div:last-child { gap: 13px; justify-content: space-between; width: 100%; }
  .dept-toolbar .dept-favorite-toggle { font-size: 10px; }
  .dept-toolbar select { min-width: 0; max-width: 66%; }
  .dept-favorite { width: 40px; height: 40px; top: 13px; right: 13px; }
  .dept-process h3 { margin-top: 0; }
  .dept-meeting > .dept-wrap > .dept-button { justify-self: start; }
  .dept-footer > .dept-wrap { grid-template-columns: 1fr; gap: 26px; }
  .dept-footer > .dept-wrap > p:not(.dept-notice) { font-size: 10px; }
  .dept-footer .dept-notice { line-height: 1.9; }
  .dept-detail-hero .dept-hero-visual img { height: auto; aspect-ratio: 1.12; }
  .dept-summary > .dept-button { font-size: 11px; }
  .dept-summary .dept-notice { font-size: 9px; }
  .dept-unit-tools > label { flex: 1 1 calc(50% - 12px); }
  .dept-table-wrap.dept-unit-table table { min-width: 620px; }
  .dept-features > div { padding-block: 13px; }
  .dept-features dt { font-size: 9px; }
  .dept-features dd { font-size: 10px; }
  .dept-docs a { font-size: 10px; overflow-wrap: anywhere; }
  .dept-compare { bottom: 12px; }
  .dept-page > .dept-feedback:not(:empty) { bottom: 15px; font-size: 10px; }
}
@media (max-width: 360px) { .dept-header > .dept-wrap { gap: 12px; } .dept-header > .dept-wrap > .dept-button { font-size: 8px; padding-inline: 10px; } .dept-brand { font-size: 30px; } .dept-search .dept-button { min-width: 72px; } }

@media (max-width: 650px) { .dept-unit-table::before { content: "Desliza para revisar todos los datos →"; display: block; padding: 11px 0; color: var(--dept-muted); font-size: 9px; line-height: 1.7; } }

/* A single catalogue can be read by project or by individual unit. */
#catalog-views { display: inline-flex; margin: 0 0 20px; max-width: 100%; }
#catalog-views button { min-height: 43px; padding: 12px 19px; font-size: 11px; }
.dept-grid.is-unit-view { display: block; min-width: 0; }
.dept-grid.is-unit-view > .dept-table-wrap { max-width: 100%; overflow-x: auto; border-top: 1px solid #d2dcf5; scrollbar-width: thin; }
.dept-grid.is-unit-view table { width: 100%; min-width: 680px; border-collapse: collapse; table-layout: auto; font-size: 11px; }
.dept-grid.is-unit-view caption { padding-block: 13px; margin-bottom: 0; color: var(--dept-muted); font-size: 10px; text-align: left; }
.dept-grid.is-unit-view th, .dept-grid.is-unit-view td { min-width: 0; max-width: none; padding: 15px 14px; border-bottom: 1px solid #d2dcf5; vertical-align: middle; }
.dept-grid.is-unit-view thead th:nth-child(n) { background: #f1f4fc; color: var(--dept-forest); font: 600 9px/1.7 var(--dept-sans); white-space: nowrap; }
.dept-grid.is-unit-view th:first-child, .dept-grid.is-unit-view td:first-child { width: 28%; min-width: 180px; }
.dept-grid.is-unit-view td:nth-child(2) { min-width: 105px; }
.dept-grid.is-unit-view td:nth-child(3) { min-width: 125px; }
.dept-grid.is-unit-view td:nth-child(4) { min-width: 125px; color: var(--dept-forest); font-weight: 600; white-space: nowrap; }
.dept-grid.is-unit-view td:last-child { min-width: 105px; }
.dept-grid.is-unit-view tbody tr:nth-child(even) { background: #f1f4fc; }
.dept-grid.is-unit-view tbody tr:hover { background: #f1f4fc; }
.dept-grid.is-unit-view td > strong { display: block; color: var(--dept-forest); font: 600 11px/1.7 var(--dept-sans); }
.dept-grid.is-unit-view td small { display: block; max-width: 250px; color: var(--dept-muted); font: 400 9px/1.75 var(--dept-sans); margin-top: 4px; }
.dept-grid.is-unit-view td a { display: inline-flex; align-items: center; min-height: 36px; font-size: 10px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 650px) {
  #catalog-views { display: flex; width: fit-content; margin-bottom: 17px; }
  #catalog-views button { min-height: 44px; padding: 11px 16px; font-size: 10px; }
  .dept-grid.is-unit-view > .dept-table-wrap::before { content: "Desliza para revisar todas las columnas →"; display: block; color: var(--dept-muted); padding-block: 11px; font-size: 9px; }
  .dept-grid.is-unit-view table { min-width: 680px; font-size: 10px; }
  .dept-grid.is-unit-view :is(th,td) { padding: 13px 11px; }
  .dept-grid.is-unit-view td > strong { font-size: 10px; }
  .dept-grid.is-unit-view td a { min-height: 40px; }
}
/* Independent typology references keep a compact data-table heading. */
#tipologias .dept-table-wrap table { min-width: 550px; width: 100%; }
#tipologias .dept-table-wrap th { font: 600 10px/1.5 var(--dept-sans); text-transform: uppercase; letter-spacing: .04em; }
#tipologias .dept-table-wrap td { font: 400 12px/1.7 var(--dept-sans); padding: 14px 12px; }
