/* Saltum Ferie – public site */
:root {
    --ink: #10242b;
    --ink-2: #3c5056;
    --muted: #4a5d63;
    --line: #e6ecec;
    --tint: #f3f8f8;
    --tint-2: #eaf4f4;
    --teal: #1f6f78;
    --sun: #f2b340;
    --sun-2: #f6c565;
    --sand: #f7f5f0;
    --white: #fff;
    --radius: 28px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: "Bricolage Grotesque", "Inter", sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img,
video {
    max-width: 100%;
    display: block;
}
a {
    color: var(--teal);
}
a:hover {
    color: var(--ink);
}
h1,
h2,
h3 {
    font-family: var(--display);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.05;
}
p {
    margin: 0;
}
:focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 2px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 300;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
}
.skip:focus {
    top: 12px;
    color: #fff;
}

/* page enter + cross-document view transitions */
@view-transition {
    navigation: auto;
}
::view-transition-old(root) {
    animation: vt-out 0.3s cubic-bezier(0.7, 0, 0.84, 0) both;
}
::view-transition-new(root) {
    animation: vt-in 0.5s var(--ease) both;
}
@keyframes vt-out {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}
@keyframes vt-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
}
.curtain {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 200;
    pointer-events: none;
    transform-origin: top;
    animation: curtain 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.05s both;
}
@keyframes curtain {
    to {
        transform: scaleY(0);
    }
}
.load {
    opacity: 0;
    animation: load-in 0.9s var(--ease) both;
}
.d1 {
    animation-delay: 0.6s;
}
.d2 {
    animation-delay: 0.72s;
}
.d3 {
    animation-delay: 0.84s;
}
.d4 {
    animation-delay: 0.96s;
}
.d5 {
    animation-delay: 1.1s;
}
@keyframes load-in {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* scroll reveal: CSS scroll-driven where supported, IntersectionObserver fallback in site.js */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition:
        opacity 0.9s var(--ease),
        transform 0.9s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: none;
}
@supports (animation-timeline: view()) {
    .reveal,
    .reveal.in {
        opacity: 1;
        transform: none;
        transition: none;
        animation:
            reveal both var(--ease),
            conceal forwards linear;
        animation-timeline: view(), view();
        animation-range:
            entry 0% entry 85%,
            exit 40% exit 100%;
    }
    .reveal.s2 {
        animation-range:
            entry 8% entry 95%,
            exit 40% exit 100%;
    }
    .reveal.s3 {
        animation-range:
            entry 16% cover 22%,
            exit 40% exit 100%;
    }
}
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(56px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes conceal {
    to {
        opacity: 0;
        transform: translateY(-28px);
    }
}

/* layout */
.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}
@media (max-width: 700px) {
    .wrap {
        padding: 0 20px;
    }
}
.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
}
.lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 640px;
}
.sec {
    padding: 120px 0;
}
.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.sec-title {
    font-size: clamp(36px, 5vw, 56px);
}
@media (max-width: 700px) {
    .sec {
        padding: 80px 0;
    }
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font: 600 15px var(--font);
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition:
        transform 0.3s var(--ease),
        background 0.25s,
        box-shadow 0.3s,
        color 0.25s;
    white-space: nowrap;
}
.btn:hover {
    /*transform: translateY(-2px);*/
}
.btn-sun {
    background: var(--sun);
    color: var(--ink);
}
.btn-sun:hover {
    background: var(--sun-2);
    color: var(--ink);
    box-shadow: 0 10px 30px -10px rgba(242, 179, 64, 0.8);
}
.btn-ink {
    background: var(--ink);
    color: #fff;
}
.btn-ink:hover {
    background: var(--teal);
    color: #fff;
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.btn-line {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(16, 36, 43, 0.25);
}
.btn-line:hover {
    border-color: var(--ink);
    color: var(--ink);
}
.btn[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

/* nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    transition: padding 0.5s var(--ease);
}
.nav-inner {
    width: 100%;
    max-width: 1440px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 48px;
    color: var(--ink);
    border: 1px solid transparent;
    transition: all 0.5s var(--ease);
}
.nav.is-transparent .nav-inner {
    color: #fff;
}
.nav.is-scrolled {
    padding: 14px 16px 0;
}
.nav.is-scrolled .nav-inner {
    max-width: 1180px;
    padding: 10px 12px 10px 24px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
    border-color: rgba(16, 36, 43, 0.08);
    border-radius: 999px;
    box-shadow: 0 12px 40px -12px rgba(16, 36, 43, 0.28);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 20px;
}
.brand:hover {
    color: inherit;
}
.brand small {
    display: block;
    font-family: var(--font);
    font-weight: 500;
    font-size: 12px;
    opacity: 0.75;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.nav-links {
    display: flex;
    gap: 4px;
}
.nav-links a {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 999px;
    transition: background 0.25s;
    border: solid 1px transparent;
}
.nav-links a:hover {
    background: rgba(16, 36, 43, 0.06);
    color: inherit;
    border: solid 1px rgba(0, 0, 0, 0.06);
}

.nav.is-transparent:not(.is-scrolled) .nav-links a:hover {
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: solid 1px rgba(255, 255, 255, 0.3);
}
.nav-links a[aria-current="page"] {
    background: rgba(16, 36, 43, 0.07);
}
.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mobile-menu {
    display: none;
}
@media (max-width: 900px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    .menu-btn {
        display: flex;
    }
    .nav-inner {
        padding: 16px 20px;
    }
    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 150;
        background: rgba(255, 255, 255, 0.96);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 40px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: all 0.4s var(--ease);
    }
    .mobile-menu.open {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
    .mobile-menu a {
        font-family: var(--display);
        font-size: 34px;
        color: var(--ink);
        text-decoration: none;
        padding: 8px 0;
    }
    .mobile-menu .close {
        position: absolute;
        top: 18px;
        right: 20px;
    }
}

/* hero */
.hero {
    position: relative;
    height: min(980px, 100svh);
    min-height: 720px;
    overflow: hidden;
    color: #fff;
    background: #fff;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 70% 55% at 22% 58%,
            rgba(9, 24, 30, 0.5) 0%,
            rgba(9, 24, 30, 0) 70%
        ),
        linear-gradient(
            180deg,
            rgba(9, 24, 30, 0.5) 0%,
            rgba(9, 24, 30, 0.08) 24%,
            rgba(9, 24, 30, 0.14) 46%,
            rgba(9, 24, 30, 0.36) 64%,
            rgba(9, 24, 30, 0) 78%
        );
}
.hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 340px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 30%,
        rgba(255, 255, 255, 0.85) 65%,
        #fff 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px 330px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 24px;
}
.hero-eyebrow {
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.14em;
    text-shadow:
        0 1px 10px rgba(9, 24, 30, 0.55),
        0 0 2px rgba(9, 24, 30, 0.35);
}
.hero h1 {
    font-size: clamp(44px, 6.4vw, 88px);
    line-height: 0.98;
    max-width: 900px;
    font-weight: 700;
    text-shadow: 0 2px 24px rgba(9, 24, 30, 0.35);
}
.hero-text {
    font-size: 20px;
    line-height: 1.55;
    max-width: 600px;
    color: #e6eeef;
    text-shadow: 0 1px 12px rgba(9, 24, 30, 0.45);
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-actions.load {
    opacity: 1;
    animation-name: load-in-transform;
}

@keyframes load-in-transform {
    from {
        transform: translateY(32px);
    }
    to {
        transform: none;
    }
}

@media (max-width: 700px) {
    .hero-content {
        padding: 0 20px 300px;
    }
    .hero-text {
        font-size: 17px;
    }
}

/* search */
.search {
    position: relative;
    z-index: 5;
    max-width: 1180px;
    margin: -170px auto 0;
    padding: 0 24px;
}

.search.load {
    opacity: 1;
    animation-name: load-in-transform;
}

.search form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 8px;
    align-items: end;
    padding: 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 24px 60px -24px rgba(16, 36, 43, 0.3);
    border: solid 2px rgba(255, 255, 255, 0.3);
}
.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 18px;
    transition: background 0.2s;
    border: solid 1px rgba(16, 36, 43, 0.1);
}
.field:hover {
    background: rgba(16, 36, 43, 0.04);
}
.field label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.field input,
.field select {
    border: 0;
    background: transparent;
    font: 500 16px var(--font);
    color: var(--ink);
    padding: 4px 0;
    min-height: 28px;
    outline: none;
    width: 100%;
}
.search .btn {
    min-height: 64px;
    padding: 0 32px;
    border-radius: 20px;
    height: 100%;
}
.trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 22px auto 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
}
.trust span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.trust svg {
    color: var(--teal);
}
@media (max-width: 900px) {
    .search form {
        grid-template-columns: 1fr 1fr;
    }
    .search .btn {
        grid-column: 1/-1;
    }
}

/* house cards */
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
@media (max-width: 1000px) {
    .grid3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .grid3 {
        grid-template-columns: 1fr;
    }
}
.card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--ink);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    border: 1px solid #e8eded;
    box-shadow: 0 1px 2px rgba(16, 36, 43, 0.04);
    transition:
        transform 0.5s var(--ease),
        box-shadow 0.5s;
}
.card:hover {
    /*transform: translateY(-8px);*/
    box-shadow: 0 30px 60px -24px rgba(16, 36, 43, 0.35);
    color: var(--ink);
}
.card-media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--tint);
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.card:hover .card-media img {
    transform: scale(1.07);
}
.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--ink);
}
.card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.card-body h3 {
    font-size: 22px;
}
.meta {
    font-size: 15px;
    color: var(--muted);
}
.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef1f1;
    font-size: 15px;
    color: var(--muted);
}
.card-body .meta + .price {
    margin-top: 12px;
}
.price strong {
    font-size: 17px;
    color: var(--ink);
}
.go {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--teal);
    transition: gap 0.3s var(--ease);
}
.card:hover .go {
    gap: 10px;
}

/* area */
.area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
}
@media (max-width: 1000px) {
    .area {
        grid-template-columns: 1fr;
    }
}
.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 12px;
}
.fact {
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fact b {
    font-family: var(--display);
    font-size: 20px;
    line-height: 1.2;
}
.fact span {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}
@media (max-width: 560px) {
    .facts {
        grid-template-columns: 1fr;
    }
}
.map {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 32px;
    overflow: hidden;
    background: #dce6e4;
    box-shadow: 0 30px 60px -30px rgba(16, 36, 43, 0.35);
}
.map > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pin {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    transform: translate(-8px, -8px);
}
.pin i {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--ink);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    flex: none;
}
.pin.main i {
    background: var(--sun);
    width: 22px;
    height: 22px;
    animation: pulse 2.4s ease-out infinite;
}
.pin span {
    background: rgba(255, 255, 255, 0.94);
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(16, 36, 43, 0.15);
    white-space: nowrap;
}
.pin.left {
    flex-direction: row-reverse;
    transform: translate(calc(-100% + 8px), -8px);
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 179, 64, 0.7);
    }
    100% {
        box-shadow: 0 0 0 22px rgba(242, 179, 64, 0);
    }
}
.map-ctrl {
    position: absolute;
    right: 16px;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.map-ctrl a {
    min-height: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(16, 36, 43, 0.15);
}
.map-ctrl a:hover {
    background: #fff;
    color: var(--teal);
}
.osm {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink-2);
    border-top-left-radius: 8px;
}
.osm a {
    color: inherit;
}
@media (max-width: 560px) {
    .pin span {
        font-size: 11px;
        padding: 3px 7px;
    }
}

/* activities */
.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tab {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(16, 36, 43, 0.18);
    background: #fff;
    color: var(--ink);
    font: 500 14px var(--font);
    cursor: pointer;
    transition: all 0.25s;
}
.tab:hover {
    border-color: var(--ink);
}
.tab[aria-pressed="true"] {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.acts {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}
.act {
    grid-column: span 4;
    position: relative;
    min-height: 380px;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: #fff;
    text-decoration: none;
}
.act.s6 {
    grid-column: span 6;
}
.act.s8 {
    grid-column: span 8;
}
.act.s12 {
    grid-column: span 12;
}
.act.enter {
    animation: act-in 0.6s var(--ease) both;
}
@keyframes act-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
}
.act img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.act:hover img {
    transform: scale(1.06);
}
.act::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(9, 24, 30, 0) 40%,
        rgba(9, 24, 30, 0.78) 100%
    );
    z-index: 1;
}
.act > div {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.act .km {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(9, 24, 30, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.act h3 {
    font-size: 28px;
    color: #fff;
}
.act p {
    font-size: 15px;
    line-height: 1.55;
    color: #dce6e8;
    max-width: 460px;
}
.act[hidden] {
    display: none;
}
@media (max-width: 900px) {
    .act,
    .act.s6,
    .act.s8 {
        grid-column: span 12;
    }
}

/* booking channels */
.book {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 24px;
}
@media (max-width: 1000px) {
    .book {
        grid-template-columns: 1fr;
    }
}
.panel {
    border-radius: 32px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.panel.direct {
    background: var(--teal);
    color: #fff;
}
.panel.direct .lead {
    color: #d5eae9;
}
.panel.ext {
    background: var(--sand);
}
.checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
}
.checks li {
    display: flex;
    gap: 12px;
    align-items: center;
}
.checks svg {
    color: var(--sun);
    flex: none;
}
.ext-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #ece8df;
    text-decoration: none;
    color: var(--ink);
    transition: all 0.3s var(--ease);
}
.ext-row:hover {
    border-color: var(--ink);
    transform: translateX(6px);
    color: var(--ink);
}
.ext-row b {
    font-size: 17px;
    display: block;
}
.ext-row span {
    font-size: 14px;
    color: var(--muted);
}
@media (max-width: 560px) {
    .panel {
        padding: 28px;
    }
}

/* sub-page hero */
.sub-hero {
    position: relative;
    padding: 180px 0 90px;
    background: linear-gradient(180deg, #e3f0f0 0%, var(--tint) 60%, #fff 100%);
}
.sub-hero h1 {
    font-size: clamp(40px, 6vw, 76px);
    max-width: 900px;
}
.crumbs {
    font-size: 14px;
    color: var(--muted);
}
.crumbs a {
    color: var(--teal);
}

/* filter bar */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px -24px rgba(16, 36, 43, 0.25);
    margin-top: -40px;
    position: relative;
    z-index: 5;
}
.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.chip {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(16, 36, 43, 0.18);
    background: #fff;
    color: var(--ink);
    font: 500 14px var(--font);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.chip:hover {
    border-color: var(--ink);
}
.chip[aria-pressed="true"] {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.dates {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.dates input,
.dates select {
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(16, 36, 43, 0.18);
    padding: 0 14px;
    font: 500 14px var(--font);
    color: var(--ink);
    background: #fff;
}
.empty {
    grid-column: 1/-1;
    padding: 56px;
    text-align: center;
    border-radius: 28px;
    background: var(--tint);
    color: var(--muted);
}

/* house detail */
.detail-top {
    padding: 120px 0 0;
}
.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 12px;
    border-radius: 32px;
    overflow: hidden;
}
.gallery .g {
    position: relative;
    overflow: hidden;
    background: var(--tint);
    border: 0;
    padding: 0;
    cursor: zoom-in;
}
.gallery .g:first-child {
    grid-row: span 2;
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.gallery .g:hover img {
    transform: scale(1.05);
}
.gallery.n1 {
    grid-template-columns: 1fr;
    grid-template-rows: 520px;
}
.gallery.n2 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 260px 260px;
}
.gallery.n2 .g:nth-child(2) {
    grid-row: span 2;
}
.g-all {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
}
@media (max-width: 900px) {
    .gallery,
    .gallery.n2 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 150px;
    }
    .gallery .g:first-child {
        grid-column: 1/-1;
        grid-row: auto;
    }
    .gallery .g:nth-child(n + 4) {
        display: none;
    }
}
.layout {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: flex-start;
}
.main-col {
    flex: 999 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 56px;
}
.side-col {
    flex: 1 1 380px;
    max-width: 460px;
    position: sticky;
    top: 100px;
}
@media (max-width: 1000px) {
    .side-col {
        position: static;
        max-width: none;
    }
}
.specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.spec {
    padding: 18px;
    border-radius: 20px;
    background: var(--tint);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.spec b {
    font-family: var(--display);
    font-size: 26px;
}
.spec span {
    font-size: 13px;
    color: var(--muted);
}
@media (max-width: 640px) {
    .specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.prose {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-2);
}
.prose p + p {
    margin-top: 1em;
}
.amen {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 32px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}
.amen li {
    display: flex;
    gap: 12px;
    align-items: center;
}
.amen svg {
    flex: none;
    color: var(--teal);
}
@media (max-width: 560px) {
    .amen {
        grid-template-columns: 1fr;
    }
}
.near {
    border-radius: 24px;
    border: 1px solid var(--line);
    overflow: hidden;
}
.near div {
    display: flex;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
}
.near div:last-child {
    border-bottom: 0;
}
.near span {
    color: var(--muted);
}

/* shared */
.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(16, 36, 43, 0.2);
    background: #fff;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.icon-btn:hover {
    border-color: var(--ink);
}
.icon-btn[disabled] {
    opacity: 0.35;
    cursor: default;
}
.note {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* rent card (house page) */
.bk {
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(16, 36, 43, 0.3);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid var(--line);
}
.rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
    color: var(--ink-2);
}
.rows div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.help {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    background: var(--tint);
    font-size: 14px;
    color: var(--ink-2);
}

/* forms (contact) */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.form-grid .full {
    grid-column: 1/-1;
}
@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
.inp {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.inp label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.inp input,
.inp select,
.inp textarea {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid #cfd8da;
    padding: 10px 14px;
    font: 400 16px var(--font);
    color: var(--ink);
    background: #fff;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.inp textarea {
    min-height: 120px;
    resize: vertical;
}
.inp input:focus,
.inp select:focus,
.inp textarea:focus {
    outline: 0;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(31, 111, 120, 0.15);
}
.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
}
.check input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--teal);
    flex: none;
}
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.summary {
    border-radius: 28px;
    background: var(--tint);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.summary img {
    border-radius: 18px;
    aspect-ratio: 16/10;
    object-fit: cover;
    width: 100%;
}

.flash {
    max-width: 1280px;
    margin: 0 auto 24px;
    padding: 0 48px;
}
.flash div {
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 15px;
    margin-bottom: 8px;
}
.flash .error {
    background: #fbedea;
    color: #8a2e22;
}
.flash .success {
    background: #e7f4ec;
    color: #1d6b40;
}
@media (max-width: 700px) {
    .flash {
        padding: 0 20px;
    }
}

/* lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(9, 24, 30, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}
.lightbox img {
    max-height: 86vh;
    max-width: min(1400px, 92vw);
    border-radius: 12px;
    object-fit: contain;
}
.lightbox .lb-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox .lb-prev {
    left: 20px;
}
.lightbox .lb-next {
    right: 20px;
}
.lightbox .lb-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
}

/* footer */
.foot {
    background: var(--tint);
    color: var(--ink-2);
    padding: 88px 0 40px;
}
.foot a {
    color: var(--ink);
    text-decoration: none;
}
.foot a:hover {
    color: var(--teal);
}
.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
@media (max-width: 900px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.foot h4 {
    margin: 0 0 14px;
    color: var(--ink);
    font: 600 13px var(--font);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.foot ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
}
.foot-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    margin-top: 56px;
    border-top: 1px solid #dde6e6;
    font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .curtain {
        display: none;
    }
}
.toasts {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 260;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(560px, calc(100% - 32px));
}
.toast {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 14px 18px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.45;
    box-shadow: 0 18px 40px -16px rgba(16, 36, 43, 0.45);
    animation: toast-in 0.5s var(--ease) both;
}
.toast.error {
    background: #fbedea;
    color: #8a2e22;
}
.toast.success {
    background: #e7f4ec;
    color: #1d6b40;
}
.toast button {
    flex: none;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* responsive refinements */
html,
body {
    overflow-x: clip;
}
.foot-grid {
    grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
}
.foot a,
.foot li {
    overflow-wrap: anywhere;
}
@media (max-width: 900px) {
    .foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .foot-grid > div:first-child {
        grid-column: 1/-1;
    }
}
@media (max-width: 480px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}
.field {
    min-width: 0;
}
.field input,
.field select {
    min-width: 0;
}
@media (max-width: 560px) {
    .search {
        padding: 0 16px;
    }
    .search form {
        grid-template-columns: 1fr;
    }
}
.hero {
    min-height: 760px;
}
.hero-content {
    padding-top: 130px;
}
.hero h1 {
    font-size: clamp(40px, 5.4vw, 80px);
}
@media (max-height: 860px) and (min-width: 901px) {
    .hero h1 {
        font-size: clamp(40px, 4.6vw, 68px);
    }
}
@media (max-width: 600px) {
    .hero-content {
        padding-bottom: 250px;
        gap: 18px;
    }
    .hero-eyebrow {
        display: none;
    }
    .hero .hero-actions .btn {
        min-height: 46px;
    }
}

/* partner rows inside the rent card */
.bk .ext-row {
    background: #faf8f3;
    padding: 16px 18px;
}
.bk .ext-row:hover {
    background: #fff;
}
.btn-block {
    width: 100%;
}

/* CMS content blocks, kept consistent with the site's normal sections. */
.cms-content{display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.cms-content>.sec-title{margin:0}
.cms-content>.prose{width:100%;max-width:880px}
.cms-content figure{margin:0;width:100%;max-width:1000px}
.cms-content figure img{display:block;width:100%;height:auto;border-radius:20px}
.cms-content figcaption{font-size:13px;color:var(--muted);margin-top:8px}
.language-switch{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600;white-space:nowrap}.language-switch a{color:inherit;text-decoration:none;padding:4px}.language-switch a[aria-current=true]{text-decoration:underline;text-underline-offset:4px}.mobile-menu .language-switch a{font-size:15px}

.language-switch{display:flex;gap:6px;align-items:center;font-size:12px;white-space:nowrap}.language-switch a{padding:5px;border-radius:4px;color:inherit;text-decoration:none}.language-switch a[aria-current]{outline:1px solid currentColor;font-weight:700}.mobile-menu .language-switch{font-size:14px}.mobile-menu .language-switch a{font-size:14px}

/* Additional CMS content sections */
.cms-image-text{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,48px);align-items:center;margin:32px 0}.cms-image-text img{width:100%;height:auto;border-radius:16px;object-fit:cover}.cms-image-text h2,.cms-callout h2{margin-bottom:14px}.cms-callout{padding:clamp(20px,4vw,40px);background:#edf4f2;border-radius:16px;margin:28px 0}.cms-divider{border:0;border-top:1px solid #d9e3e1;margin:36px 0}@media(max-width:700px){.cms-image-text{grid-template-columns:1fr}}

.spec svg,.near svg,.amen svg{color:var(--teal);flex-shrink:0}.spec svg{display:block;margin-bottom:8px}.near svg{margin-bottom:5px}
