/* UX review: keep the existing visual system and remove the observed friction. */
/* The section padding keeps headings clear when the full header returns. */
html {scroll-padding-top:64px}
.site-header {transition:top .28s var(--motion-ease)}
.site-header::before {height:var(--full-header-height)}
.site-header.is-compact {top:calc(64px - var(--full-header-height))}
.site-header.is-compact::before {height:var(--full-header-height)}
.site-header.is-compact .compact-brand {top:calc(var(--full-header-height) - 64px)}
.mobile-nav {max-height:calc(100dvh - var(--full-header-height));overflow-y:auto;overscroll-behavior:contain}

.enquiry-form input::placeholder,.enquiry-form textarea::placeholder {color:#706f6f;opacity:1}
.country-control {display:flex;flex-direction:column;gap:8px;min-width:0}
.enquiry-form .country-control>label {font-size:10px;line-height:16px;color:var(--muted);font-weight:400}
.country-trigger {display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:48px;padding:11px 10px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:14px;line-height:24px}
.country-trigger[hidden] {display:none}
.country-trigger img,.country-option img {width:22px;height:17px;object-fit:cover;border:1px solid #00000012;flex:none}
.country-trigger svg {width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.country-trigger:hover {border-color:var(--ink)}
.country-trigger-code {white-space:nowrap;font-variant-numeric:tabular-nums}
.phone-row {grid-template-columns:110px minmax(0,1fr)}
.country-dialog {position:fixed;inset:0;width:min(440px,calc(100% - 32px));height:min(660px,calc(100dvh - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:24px;overflow:hidden}
.country-dialog[open] {display:flex;flex-direction:column;gap:16px}
.country-dialog h2 {font-size:24px;line-height:32px;letter-spacing:-.02em;margin:0 44px 0 0}
.country-dialog .dialog-close {top:12px;right:12px;width:44px;height:44px;font-size:25px}
.country-search-label {display:flex;flex-direction:column;gap:8px;font-size:12px;line-height:18px;font-weight:500}
.country-search-label input {min-height:48px;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:0;font-size:16px;line-height:24px;background:#fff;color:var(--ink)}
.country-search-label input::placeholder {color:var(--muted)}
.country-dialog .country-status {font-size:11px;line-height:18px;color:var(--muted);margin:0}
.country-options {list-style:none;padding:0;margin:0;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;scroll-padding-block:6px}
.country-options li {margin:0;padding:0;border-top:1px solid var(--line)}
.country-option {display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:12px 6px;border:0;background:#fff;color:var(--ink);text-align:left;font-size:14px;line-height:22px}
.country-option-name {flex:1;min-width:0}
.country-option-code {color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.country-option[aria-current="true"] {background:var(--surface);box-shadow:inset 3px 0 var(--accent)}
.country-option:hover {background:var(--surface)}
.country-option:focus-visible {outline-offset:-3px}
.country-empty {font-size:14px;line-height:22px;color:var(--muted);padding:16px 0}

@media(max-width:1023px) {
  .site-header.is-compact .nav-bar {opacity:1;visibility:visible;transform:none;pointer-events:none;padding-top:calc(var(--full-header-height) - 64px);padding-bottom:0}
  .site-header.is-compact .nav-bar>.brand,.site-header.is-compact .spain-link {visibility:hidden;pointer-events:none}
  .site-header.is-compact .nav-actions {align-self:stretch;align-items:center;pointer-events:none}
  .site-header.is-compact .menu-button {visibility:visible;pointer-events:auto}
  .site-header .menu-button {min-width:48px;min-height:44px}
}
@media(max-width:767px) {
  .supporting-projects {gap:16px}
  .supporting-projects .compact-project {display:grid;grid-template-columns:90px minmax(0,1fr);align-items:start;gap:18px;padding:20px}
  .supporting-projects .compact-project>img {width:90px;height:112px;margin-top:3px;object-fit:cover}
  .supporting-projects .compact-project .project-copy {padding:0}
  .supporting-projects .project-category {font-size:10px;line-height:16px;margin-bottom:8px}
  .supporting-projects h3 {font-size:20px;line-height:27px;margin-bottom:10px}
  .supporting-projects .project-copy>p:last-child {font-size:15px;line-height:23px}
}
@media(max-width:374px) {
  .phone-row {grid-template-columns:1fr}
  .supporting-projects .compact-project {grid-template-columns:72px minmax(0,1fr);gap:14px;padding:16px}
  .supporting-projects .compact-project>img {width:72px;height:100px}
}
@media(prefers-reduced-motion:reduce) {.site-header {transition:none}}
