@font-face {
  font-family: Urbanist;
  src: url("fonts/urbanist-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root { color-scheme: light; font-family: Urbanist, "Helvetica Neue", Arial, sans-serif; color: #555553; background: #fff; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid #777773; outline-offset: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 16px; background: white; color: #333; transform: translateY(-180%); z-index: 20; }
.skip-link:focus { transform: none; }

.landing { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.landing-header { padding: clamp(44px, 9vh, 100px) 24px 24px; text-align: center; }
.wordmark { margin: 0; font-size: clamp(23px, 2.4vw, 31px); font-weight: 400; letter-spacing: .19em; padding-left: .19em; line-height: 1.3; }
.wordmark-accent { position: relative; }
/* Center over the O itself, excluding its trailing letter spacing. */
.wordmark-accent::after { content: ""; position: absolute; top: -.02em; left: calc(50% - .095em); width: .12em; height: .12em; border-radius: 50%; background: #af0435; transform: translateX(-50%); pointer-events: none; }
.landing-main { display: grid; place-items: center; padding: 40px 28px 64px; }
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(38px, 7.5vw, 112px); width: min(100%, 840px); }
.area { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 12px 6px; }
.house-icon { display: block; width: clamp(128px, 14vw, 176px); height: auto; overflow: visible; shape-rendering: geometricPrecision; }
.house-shape { fill: #efefed; stroke: #949490; stroke-width: 1.4; stroke-linejoin: round; transition: fill 220ms ease, stroke 220ms ease; }
.house-symbol { fill: none; stroke: #7d7d79; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 220ms ease; }
.euro-symbol { stroke-width: 2; }
.area span { font-size: 13px; letter-spacing: .18em; padding-left: .18em; line-height: 1.4; }
.area:focus-visible .house-shape { fill: #e0e0dc; stroke: #777773; }
.area:active .house-shape { fill: #d9d9d5; }
@media (hover: hover) {
  .area:hover .house-shape { fill: #e0e0dc; stroke: #858581; }
  .area:hover .house-symbol { stroke: #666662; }
}
.landing-footer { display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 100px; padding: 12px 40px 24px; }
.seal { display: block; width: 64px; height: 64px; object-fit: contain; }
.contact-icon { display: grid; place-items: center; width: 52px; height: 52px; color: #a6a6a2; border-radius: 50%; transition: color 180ms, background-color 180ms; }
.contact-icon svg { display: block; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; shape-rendering: geometricPrecision; }
.contact-icon .whatsapp-icon { fill: currentColor; stroke: none; }
.contact-icon:focus-visible { color: #777773; background-color: #f3f3f1; }
@media (hover: hover) { .contact-icon:hover { color: #777773; background-color: #f3f3f1; } }

.architecture { background: #1b211e; color: white; overflow: hidden; }
.gallery { position: relative; width: 100%; height: 100vh; height: 100dvh; min-height: 320px; isolation: isolate; }
.slides, .slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.slides { touch-action: pan-y pinch-zoom; }
.slide { display: block; object-fit: cover; object-position: var(--position, 50% 50%); opacity: 0; transition: opacity 850ms ease; }
.slide.is-active { opacity: 1; }
.gallery::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(0 0 0 / .25), transparent 24%, transparent 75%, rgb(0 0 0 / .29)); pointer-events: none; }
.gallery-header, .gallery-footer, .gallery-arrows, .gallery-notice { position: absolute; z-index: 2; }
.gallery-header { top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: max(25px, env(safe-area-inset-top)) clamp(22px, 4vw, 64px) 0; }
.gallery-home { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 15px; letter-spacing: .15em; text-shadow: 0 1px 8px rgb(0 0 0 / .45); }
.gallery-home svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.2; fill: none; }
.gallery-heading { font-size: 11px; font-weight: 400; letter-spacing: .18em; margin: 0; text-shadow: 0 1px 8px rgb(0 0 0 / .45); }
.gallery-footer { bottom: 0; left: 0; right: 0; padding: 0 clamp(22px, 4vw, 64px) max(24px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gallery-controls { display: flex; align-items: center; gap: 8px; }
.gallery-count { font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .12em; margin-right: 12px; text-shadow: 0 1px 8px rgb(0 0 0 / .45); }
.gallery-dots { display: flex; align-items: center; }
.gallery-button, .gallery-dot { display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; color: white; background: transparent; }
.gallery-button { border-radius: 50%; background: rgb(0 0 0 / .14); transition: background 180ms; }
.gallery-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.gallery-dot { width: 32px; }
.gallery-dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgb(255 255 255 / .45); transition: background 180ms, box-shadow 180ms; }
.gallery-dot[aria-current="true"]::before { background: white; box-shadow: 0 0 0 3px rgb(255 255 255 / .16); }
.gallery-arrows { top: 50%; left: clamp(16px, 3vw, 48px); right: clamp(16px, 3vw, 48px); display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.gallery-arrows button { pointer-events: auto; }
.gallery-contact { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; }
.gallery-contact .contact-icon { width: 44px; height: 44px; color: #efefed; }
.gallery-contact .contact-icon svg { width: 28px; height: 28px; filter: drop-shadow(0 1px 4px rgb(0 0 0 / .35)); }
.gallery-contact .contact-icon:focus-visible { color: #fff; background: rgb(0 0 0 / .25); }
.gallery :focus-visible { outline-color: #fff; outline-offset: 4px; }
.gallery-notice { bottom: 100px; left: 50%; transform: translateX(-50%); padding: 12px 18px; background: rgb(0 0 0 / .65); font-size: 14px; text-align: center; max-width: calc(100% - 40px); }
.play-icon { display: none; }
[data-paused="true"] .pause-icon { display: none; }
[data-paused="true"] .play-icon { display: block; }
@media (hover: hover) {
  .gallery-button:hover { background: rgb(0 0 0 / .32); }
  .gallery-contact .contact-icon:hover { color: #fff; background: rgb(0 0 0 / .25); }
}
@media (max-width: 600px) {
  .landing-header { padding-top: 42px; padding-top: max(42px, env(safe-area-inset-top)); }
  .landing-main { padding: 24px; }
  .areas { grid-template-columns: 1fr; gap: 20px; width: auto; }
  .area { gap: 8px; padding: 0 20px; }
  .house-icon { width: 108px; }
  .area span { font-size: 11px; }
  .landing-footer { min-height: 90px; gap: 22px; padding: 12px 26px 22px; padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .seal { width: 56px; height: 56px; }
  .contact-icon { width: 48px; height: 48px; }
  .contact-icon svg { width: 32px; height: 32px; }
  .gallery-header { padding-top: max(20px, env(safe-area-inset-top)); }
  .gallery-heading { font-size: 9px; letter-spacing: .12em; }
  .gallery-home { gap: 10px; font-size: 12px; letter-spacing: .1em; }
  .gallery-footer { gap: 12px; align-items: flex-end; }
  .gallery-controls { display: grid; grid-template-columns: 1fr 44px; gap: 2px 0; flex: 1; min-width: 0; }
  .gallery-count { grid-column: 1; grid-row: 1; align-self: center; margin-right: 8px; }
  .gallery-dots { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .gallery-controls > .gallery-button { grid-column: 2; grid-row: 1; }
  .gallery-dot { width: 24px; }
  .slide { object-position: var(--mobile-position, var(--position, 50% 50%)); }
}
@media (max-width: 600px) and (max-height: 720px) {
  .landing-header { padding-top: 28px; padding-bottom: 16px; }
  .landing-main { padding-top: 12px; padding-bottom: 12px; }
  .areas { gap: 15px; }
  .house-icon { width: 88px; }
  .area { gap: 6px; }
  .landing-footer { min-height: 75px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
