/* Home-only refinements: shared portal styles remain unchanged. */
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(34px, 10.8vw, 44px); line-height: 1.08; }
  .hero .eyebrow { overflow-wrap: anywhere; }
  .access-form label, .contact-form label { font-size: 16px; line-height: 1.5; }
  .access-form input, .access-form select,
  .contact-form input, .contact-form select, .contact-form textarea {
    font-size: 16px; line-height: 1.5; min-width: 0; min-height: 48px;
  }
  .contact-form, .access-form { padding: 20px; min-width: 0; }
  .access-form button, .contact-form button {
    min-height: 48px; padding: 14px 16px; line-height: 1.5; white-space: normal;
  }
  #inmuebles .concept-card-image figcaption,
  .construction-library .construction-photo figcaption { font-size: 14px; line-height: 1.6; }
  .hero-actions .button { padding-block: 12px; text-align: center; }
}
.construction-concepts { background: #fffaf3; color: var(--ink); }
.construction-concepts .section-heading { max-width: 850px; }
.construction-concepts figure { margin: 32px 0 0; border: 1px solid #d9d3c8; }
.construction-concepts img { display: block; width: 100%; height: auto; }
.construction-concepts figcaption { padding: 20px; line-height: 1.6; font-size: 14px; }
.construction-concepts a { text-decoration: underline; text-underline-offset: 3px; }
.construction-concepts a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.construction-concepts figure { max-width: 1120px; margin-inline: auto; background: #f7f1e6; }
.construction-concepts .section-heading p { margin: 16px 0 0; }
.concept-mobile { display: none; }
.construction-library .section-heading p { margin: 12px 0 0; }
.construction-photo-copy h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
.technical-gallery > summary { color: var(--olive); }
@media (max-width: 700px) {
  .concept-desktop { display: none; }
  .concept-mobile { display: grid; gap: 20px; padding: 12px; }
  /* Two complete panel windows onto the unchanged original artwork. */
  .concept-mobile svg { display: block; width: 100%; height: auto; overflow: hidden; border: 1px solid #d9d3c8; }
  .concept-mobile .concept-labels { margin-top: -8px; padding: 0 8px 16px; color: var(--ink); }
  .concept-labels h3 { margin: 0 0 12px; font: 500 24px/1.25 Georgia, 'Times New Roman', serif; color: var(--olive); }
  .concept-labels ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.75; }
  .concept-labels li::marker { color: var(--olive); }
  .concept-labels p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; }
  .construction-concepts figcaption { padding: 16px; }
  .construction-photo figcaption { padding: 16px; }
  .construction-photo-copy { padding: 0 16px 16px; }
  .construction-pending { padding: 16px; }
}
/* Display two regions of the original artwork; no bitmap edits or invented lettering. */
.site-header .brand-header { display: flex; gap: 12px; width: 196px; min-width: 196px; height: 52px; flex-shrink: 0; }
.brand-header-symbol, .brand-header-name { display: block; position: relative; overflow: hidden; flex-shrink: 0; }
.brand-header-symbol { width: 34px; height: 52px; }
.brand-header-name { width: 150px; height: 19px; }
.brand-header img { position: absolute; display: block; max-width: none; height: auto; filter: brightness(0) invert(1); }
.brand-header-symbol img { width: 126px; left: -45px; top: -3px; }
.brand-header-name img { width: 158px; left: -4px; top: -77px; }
.site-header.is-scrolled .brand-header img, .site-header.is-open .brand-header img { filter: none; }
.brand-header:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
@media (max-width: 640px) {
  .site-header .brand-header { width: 178px; min-width: 178px; gap: 10px; height: 48px; }
  .brand-header-symbol { width: 30px; height: 46px; }
  .brand-header-symbol img { width: 112px; left: -40px; top: -3px; }
  .brand-header-name { width: 138px; height: 18px; }
  .brand-header-name img { width: 146px; left: -4px; top: -71px; }
}
.construction-library { background: #f1eee7; color: var(--ink); }
.construction-library .section-heading { max-width: 850px; }
.construction-library { padding-top: 40px; padding-bottom: 40px; }
.technical-gallery { margin-top: 24px; border-top: 1px solid #d9d3c8; }
.technical-gallery > summary { padding: 20px 0; min-height: 48px; cursor: pointer; font-weight: 600; line-height: 1.5; }
.technical-gallery > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.construction-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.construction-photo { min-width: 0; background: #fffaf3; border: 1px solid #d9d3c8; }
.construction-photo figure { margin: 0; }
.construction-photo img { display: block; width: 100%; height: auto; }
.construction-photo figcaption { padding: 18px 24px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.construction-photo figcaption strong { display: block; margin-top: 8px; }
.construction-photo figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.construction-photo-copy { padding: 0 24px 24px; }
.construction-photo-copy h3 { font-size: 26px; margin: 12px 0; }
.construction-pending { margin-top: 32px; padding: 24px; border: 1px solid #d9d3c8; }
.construction-pending summary { min-height: 44px; cursor: pointer; font-weight: 600; line-height: 1.5; }
.construction-pending ul { columns: 2; padding-left: 20px; }
.construction-pending li { break-inside: avoid; padding: 6px 0; line-height: 1.6; }
@media (max-width: 700px) {
  .construction-photo-grid { grid-template-columns: 1fr; gap: 24px; }
  .construction-pending ul { columns: 1; }
}
.tech-platform .section-heading { max-width: 780px; }
.tech-platform .button { display: inline-flex; min-height: 48px; align-items: center; margin-top: 12px; }
.tech-platform .portal-access-note { font-size: 13px; line-height: 1.6; max-width: 520px; }
.portal-roadmap { border-top: 1px solid currentColor; padding-top: 28px; margin-top: 40px; max-width: 850px; }
.portal-roadmap h3 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 14px 0; }
.portal-roadmap p { line-height: 1.7; color: #d9ded9; }
.portal-roadmap .section-kicker { color: #f0d7ad; }
.tech-platform .tech-grid { margin-top: 28px; }
.tech-platform .tech-grid article { min-width: 0; }
.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
}

section[id] {
  scroll-margin-top: 120px;
}

[data-home-model] details {
  margin-top: 16px;
}

[data-home-model] summary {
  min-height: 44px;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 600;
}

[data-home-model] .text-link {
  min-height: 44px;
  align-items: center;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .nav {
    max-height: calc(100dvh - 108px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.concept-card-image { margin: 0 0 20px; }
.concept-card-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.concept-card-image figcaption { font-size: 12px; line-height: 1.5; margin-top: 8px; color: var(--ink); }
#inmuebles > .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { #inmuebles > .service-grid { grid-template-columns: 1fr; } }
