/*
Theme Name: Alma Mater Hostel FIX V52
Theme URI: https://example.com/
Author: Codex
Description: Alma Mater Hostel theme with a self-contained gallery and reliable embedded mobile menu controls.
Version: 1.0.52
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: alma-mater-hostel-fix-v52
*/
:root {
    --wine: #7b1116;
    --wine-dark: #5f090d;
    --gold: #bd8b22;
    --gold-dark: #9f7418;
    --ink: #271b15;
    --muted: #6c625c;
    --paper: #fffaf1;
    --cream: #f3eadc;
    --line: #dfd1bd;
    --shadow: 0 18px 45px rgba(65, 47, 30, 0.14);
}

/* Booking and message page */
.reservation-page {
    background: var(--paper);
}

.reservation-hero {
    padding-bottom: 58px;
}

.reservation-switch {
    display: inline-flex;
    gap: 4px;
    margin-top: 30px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.reservation-switch a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    color: var(--ink);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.reservation-switch a:first-child,
.reservation-switch a:hover,
.reservation-switch a:focus-visible {
    background: var(--wine);
    color: #fff;
}

.form-status {
    max-width: 1132px;
    margin: 34px auto 0;
    padding: 16px 20px;
    border: 1px solid;
    border-radius: 7px;
    font-weight: 700;
}

.form-status-success {
    background: #edf6ef;
    border-color: #9bc8a5;
    color: #245c31;
}

.form-status-error {
    background: #fff2ef;
    border-color: #dca79b;
    color: #81271f;
}

.reservation-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 58px 24px 76px;
    scroll-margin-top: 110px;
}

.reservation-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.reservation-heading h2,
.message-intro h2 {
    margin: 0 0 14px;
    font-size: 34px;
    text-transform: uppercase;
}

.reservation-heading > p:last-child,
.message-intro > p {
    color: #5d5047;
    font-size: 17px;
    line-height: 1.7;
}

.reservation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 34px;
}

.reservation-form,
.message-form {
    position: relative;
    padding: 34px;
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(56, 39, 27, 0.07);
}

.form-section {
    margin: 0;
    padding: 0;
    border: 0;
}

.form-section + .form-section {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.form-section legend {
    margin-bottom: 20px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 8px;
    color: #3b3029;
    font-size: 14px;
    font-weight: 700;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field small {
    color: #7a6d64;
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    background: #fff;
    color: var(--ink);
    border: 1px solid #cfc3b4;
    border-radius: 6px;
    outline: none;
    font: inherit;
    font-weight: 500;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field textarea {
    min-height: 126px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(195, 137, 23, 0.14);
}

.date-field input {
    color-scheme: light;
}

.form-consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    margin: 26px 0 24px;
    color: #5a4c43;
    font-size: 13px;
    line-height: 1.55;
}

.form-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--wine);
}

.form-submit {
    min-width: 240px;
}

.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.reservation-aside {
    display: grid;
    gap: 18px;
}

.reservation-note,
.reservation-contact {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.reservation-note {
    background: #f6ecda;
}

.reservation-contact {
    display: grid;
    gap: 10px;
    background: var(--wine);
    color: #fff;
}

.reservation-note h3,
.reservation-contact h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.reservation-note p,
.reservation-contact p {
    margin: 0;
    line-height: 1.65;
}

.reservation-contact a {
    color: #f7d889;
    font-weight: 700;
}

.message-section {
    padding: 72px 24px 80px;
    background: #eee9e1;
    border-top: 1px solid var(--line);
    scroll-margin-top: 110px;
}

.message-section-inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 54px;
    max-width: 1132px;
    margin: 0 auto;
}

.message-intro {
    padding-top: 18px;
}

.direct-email-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--wine);
    font-size: 18px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .reservation-layout,
    .message-section-inner {
        grid-template-columns: 1fr;
    }

    .reservation-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .message-section-inner {
        gap: 30px;
    }
}

@media (max-width: 760px) {
    .reservation-hero {
        padding-bottom: 42px;
    }

    .reservation-switch {
        display: grid;
        width: 100%;
    }

    .reservation-switch a {
        justify-content: center;
    }

    .form-status {
        margin: 20px 18px 0;
    }

    .reservation-content,
    .message-section {
        padding: 42px 18px 56px;
    }

    .reservation-heading h2,
    .message-intro h2 {
        font-size: 27px;
    }

    .reservation-form,
    .message-form {
        padding: 24px 18px;
    }

    .form-grid,
    .reservation-aside {
        grid-template-columns: 1fr;
    }

    .form-field-wide {
        grid-column: auto;
    }

    .form-submit {
        width: 100%;
        min-width: 0;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 86px;
    padding: 0 32px;
    background: rgba(255, 250, 241, 0.96);
    border-bottom: 1px solid rgba(120, 91, 54, 0.12);
    backdrop-filter: blur(12px);
}

.brand {
    display: grid;
    place-items: center;
    width: 118px;
    min-height: 118px;
    padding: 0;
    align-self: start;
    background: var(--wine);
    color: #f7d889;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
}

.brand img {
    display: block;
    width: 100%;
    height: 118px;
    object-fit: contain;
}

.brand-mark {
    font-family: Cinzel, Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 0.95;
}

.brand-sub {
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 2px;
}

.primary-nav {
    justify-self: center;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-menu a {
    color: #221915;
}

.site-menu a:hover {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 10px;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 48px;
    min-height: 42px;
    padding: 0 9px;
    color: var(--wine);
    background: rgba(255, 250, 241, 0.88);
    border: 1px solid rgba(123, 17, 22, 0.24);
    border-radius: 22px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.language-switcher svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.language-switcher:hover,
.language-switcher:focus-visible {
    color: #fff;
    background: var(--wine);
    border-color: var(--wine);
    transform: translateY(-1px);
}

.language-switcher:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.header-booking,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--gold);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.header-booking,
.button-primary {
    background: var(--gold);
    color: #fff;
}

.button-ghost,
.button-small {
    background: rgba(255, 250, 241, 0.76);
    color: #4a3218;
}

.button:hover,
.header-booking:hover {
    transform: translateY(-1px);
    background: var(--gold-dark);
    color: #fff;
}

.button-small {
    min-height: 38px;
    padding: 0 26px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fffaf1;
    cursor: pointer;
    touch-action: manipulation;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 80px 7vw;
    background:
        linear-gradient(90deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 250, 241, 0.84) 38%, rgba(255, 250, 241, 0.2) 68%),
        var(--hero-image) center/cover no-repeat,
        linear-gradient(135deg, #ead8bb, #f8f1e7);
}

.hero-copy {
    max-width: 620px;
}

h1,
h2,
h3 {
    font-family: Cinzel, Georgia, serif;
    margin: 0;
    letter-spacing: 0;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.hero p {
    max-width: 520px;
    margin: 24px 0;
    color: #3e332c;
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    padding: 34px 5vw;
    background: #fff7ea;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.feature-strip div {
    min-width: 0;
}

.feature-strip div::before {
    display: none;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.feature-icon,
.amenity-icon {
    display: block;
    flex: 0 0 auto;
    fill: none;
    color: var(--gold);
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
}

.feature-strip strong {
    display: block;
    text-transform: uppercase;
    font-size: 14px;
}

.feature-strip span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
}

.section {
    padding: 42px 7vw;
}

.section-warm {
    background: var(--cream);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.section-heading::before,
.section-heading::after {
    content: "";
    width: 64px;
    height: 1px;
    background: var(--line);
}

.section-heading h2 {
    font-size: 28px;
    text-transform: uppercase;
}

.apartment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1120px;
    margin: 0 auto;
}

.apartment-card {
    overflow: hidden;
    background: #fffaf2;
    border: 1px solid rgba(129, 97, 57, 0.18);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.apartment-card:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.card-image,
.gallery-item {
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.card-image {
    position: relative;
}

.card-image span {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--gold);
    color: white;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.card-image-one,
.gallery-two {
    background-image: linear-gradient(135deg, rgba(81, 49, 22, 0.12), rgba(255, 255, 255, 0.08)), url("../images/room-placeholder.jpg");
}

.card-image-two,
.gallery-three {
    background-image: linear-gradient(135deg, rgba(81, 49, 22, 0.12), rgba(255, 255, 255, 0.08)), url("../images/apartment-placeholder.jpg");
}

.card-body {
    padding: 24px;
    text-align: center;
}

.card-link-hint {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--wine);
    font-weight: 800;
}

.card-link-hint span {
    transition: transform 180ms ease;
}

.apartment-card:hover .card-link-hint span,
.apartment-card:focus-visible .card-link-hint span {
    transform: translateX(4px);
}

.card-body h3 {
    font-size: 24px;
    text-transform: uppercase;
}

.card-body p {
    max-width: 390px;
    margin: 12px auto 22px;
    color: var(--muted);
    line-height: 1.6;
}

.amenities {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    color: #46372d;
    font-size: 13px;
}

.amenities li {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.amenities li::before {
    display: none;
}

.amenity-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 7px;
}

.centered {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.gallery-section {
    background: #fffaf1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.gallery-item {
    display: block;
    min-height: 142px;
    border-radius: 6px;
    border: 1px solid rgba(129, 97, 57, 0.14);
}

.gallery-one,
.gallery-five {
    background-image: url("../images/building-placeholder.jpg");
}

.gallery-four {
    background-image: url("../images/conference-placeholder.jpg");
}

.info-band {
    display: grid;
    grid-template-columns: 1.15fr 1.05fr 1fr 1.1fr;
    gap: 0;
    padding: 32px 4vw;
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.info-band article {
    min-height: 230px;
    padding: 28px;
    background: rgba(255, 250, 241, 0.72);
    border: 1px solid rgba(129, 97, 57, 0.14);
}

.info-band h2,
.booking-section h2 {
    margin-bottom: 16px;
    font-size: 22px;
    text-transform: uppercase;
}

.info-band p,
.info-band li,
.booking-section p {
    color: var(--muted);
    line-height: 1.65;
}

.nearby-card ul {
    padding-left: 20px;
}

.stars {
    margin-top: 10px;
    color: var(--gold);
}

.map-card {
    position: relative;
    display: grid;
    place-items: center;
    background:
        linear-gradient(90deg, rgba(117, 93, 67, 0.08) 1px, transparent 1px) 0 0/42px 42px,
        linear-gradient(rgba(117, 93, 67, 0.08) 1px, transparent 1px) 0 0/42px 42px,
        #f7efe3 !important;
}

.map-pin {
    padding: 14px 18px;
    background: #fffaf1;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: var(--wine);
    font-weight: 800;
    text-align: center;
}

.map-pin span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.info-band .map-card-embed {
    display: block;
    padding: 0;
    overflow: hidden;
    background: #f7efe3 !important;
}

.map-card-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 230px;
    border: 0;
}

.booking-section,
.plain-page {
    padding: 56px 7vw;
    text-align: center;
}

.booking-section {
    background: #fffaf1;
}

.booking-section p {
    max-width: 620px;
    margin: 0 auto 22px;
}

.site-footer {
    background: #fff7ea;
    color: #4b3c31;
}

.about-page {
    background: var(--paper);
}

.about-hero {
    padding: 86px 7vw 70px;
    background:
        linear-gradient(90deg, rgba(255, 250, 241, 0.98), rgba(255, 250, 241, 0.74)),
        linear-gradient(135deg, rgba(123, 17, 22, 0.14), rgba(189, 139, 34, 0.12));
    border-bottom: 1px solid var(--line);
}

.about-hero-inner {
    max-width: 920px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.about-hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    text-transform: uppercase;
}

.about-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #4a3b32;
    font-size: 19px;
    line-height: 1.7;
}

.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 24px 70px;
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
}

.about-text p,
.about-text li {
    color: #51463e;
}

.about-text h2,
.house-rules-card h2 {
    margin: 30px 0 14px;
    font-size: 26px;
    text-transform: uppercase;
}

.about-text ul {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding-left: 24px;
}

.about-side {
    display: grid;
    align-content: start;
    gap: 18px;
}

.house-rules-card,
.about-facts {
    padding: 26px;
    background: #fffaf2;
    border: 1px solid rgba(129, 97, 57, 0.18);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.house-rules-card p {
    color: var(--muted);
    line-height: 1.65;
}

.about-facts {
    display: grid;
    gap: 6px;
}

.about-facts strong {
    color: var(--wine);
    font-size: 22px;
    font-family: Cinzel, Georgia, serif;
}

.about-facts span {
    margin-bottom: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.approach-page {
    background: var(--paper);
}

.approach-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 42px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 24px 70px;
}

.approach-text {
    font-size: 17px;
    line-height: 1.8;
}

.approach-text h2 {
    margin: 0 0 16px;
    font-size: 28px;
    text-transform: uppercase;
}

.approach-text h2:not(:first-child) {
    margin-top: 38px;
}

.approach-text p {
    color: #51463e;
}

.approach-side {
    display: grid;
    align-content: start;
    gap: 18px;
}

.map-embed-card {
    overflow: hidden;
    min-height: 360px;
    background: #fffaf2;
    border: 1px solid rgba(129, 97, 57, 0.18);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.map-embed-card iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

.gallery-page {
    background: var(--paper);
}

.gallery-page-content {
    display: grid;
    gap: 46px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 24px 70px;
}

.gallery-category {
    display: grid;
    gap: 20px;
}

.gallery-category-heading {
    display: grid;
    gap: 8px;
}

.gallery-category-heading h2 {
    font-size: 28px;
    text-transform: uppercase;
}

.gallery-category-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.photo-card {
    overflow: hidden;
    margin: 0;
    background: #fffaf2;
    border: 1px solid rgba(129, 97, 57, 0.18);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(65, 47, 30, 0.1);
}

.photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.photo-card figcaption {
    min-height: 42px;
    padding: 12px 14px;
    color: #47382e;
    font-size: 14px;
    font-weight: 700;
}

.footer-benefits {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    padding: 22px 5vw;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 5vw;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.footer-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--wine);
    font-weight: 800;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-social-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: var(--wine);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(123, 17, 22, 0.2);
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.footer-social-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.footer-social-icon-instagram svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.footer-social-icon-instagram .instagram-dot {
    fill: currentColor;
    stroke: none;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: #1877f2;
    transform: translateY(-1px);
}

.footer-social-link:hover .footer-social-icon,
.footer-social-link:focus-visible .footer-social-icon {
    background: #1877f2;
    box-shadow: 0 9px 22px rgba(24, 119, 242, 0.25);
}

.footer-social-link-instagram:hover,
.footer-social-link-instagram:focus-visible {
    color: #c13584;
}

.footer-social-link-instagram:hover .footer-social-icon,
.footer-social-link-instagram:focus-visible .footer-social-icon {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
    box-shadow: 0 9px 22px rgba(193, 53, 132, 0.28);
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 20px;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-legal-placeholder {
    color: #887a70;
    cursor: default;
    opacity: 0.78;
}

.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 5vw 14px;
    border-top: 1px solid rgba(123, 17, 22, 0.1);
    background: linear-gradient(90deg, rgba(189, 139, 34, 0.05), rgba(123, 17, 22, 0.045), rgba(189, 139, 34, 0.05));
    color: #796b60;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-align: center;
}

.footer-credit-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--gold), var(--wine));
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(95, 9, 13, 0.17);
}

.footer-credit-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.footer-credit strong {
    color: var(--wine);
    font-family: "Cinzel", Georgia, serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.footer-credit-separator {
    display: inline-block;
    margin: 0 6px;
    color: var(--gold-dark);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: auto auto 1fr;
        gap: 16px;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 86px;
        left: 0;
        right: 0;
        padding: 18px 32px;
        background: #fffaf1;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 14px 28px rgba(62, 42, 24, 0.14);
        z-index: 40;
    }

    .primary-nav.is-open {
        display: block;
    }

    .site-menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .feature-strip,
    .footer-benefits {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header {
        min-height: 74px;
        padding: 0 16px;
        gap: 10px;
    }

    .brand {
        width: 82px;
        min-height: 82px;
    }

    .brand img {
        height: 82px;
    }

    .brand-mark {
        font-size: 16px;
    }

    .brand-sub {
        font-size: 10px;
    }

    .primary-nav {
        top: 74px;
        padding: 18px;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
    }

    .site-menu {
        grid-template-columns: 1fr;
    }

    .header-booking {
        min-height: 40px;
        padding: 0 11px;
        font-size: 12px;
    }

    .header-actions {
        gap: 6px;
    }

    .language-switcher {
        min-width: 40px;
        min-height: 38px;
        padding: 0 7px;
    }

    .language-switcher svg {
        width: 15px;
        height: 15px;
    }

    .hero {
        min-height: 560px;
        padding: 72px 22px;
        background:
            linear-gradient(180deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 250, 241, 0.86) 56%, rgba(255, 250, 241, 0.35) 100%),
            var(--hero-image) center/cover no-repeat,
            linear-gradient(135deg, #ead8bb, #f8f1e7);
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .feature-strip,
    .apartment-grid,
    .gallery-grid,
    .info-band,
    .footer-benefits {
        grid-template-columns: 1fr;
    }

    .amenities {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom nav {
        justify-content: center;
    }

    .footer-credit {
        padding-right: 20px;
        padding-left: 20px;
    }

    .about-hero {
        padding: 64px 22px 48px;
    }

    .about-content {
        grid-template-columns: 1fr;
        padding: 38px 22px 54px;
    }

    .approach-content {
        grid-template-columns: 1fr;
        padding: 38px 22px 54px;
    }

    .map-embed-card,
    .map-embed-card iframe {
        min-height: 320px;
        height: 320px;
    }

    .gallery-page-content {
        padding: 38px 22px 54px;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }
}

/* Refined desktop header */
@media (min-width: 1101px) {
    .site-header {
        grid-template-columns: minmax(112px, 1fr) auto minmax(112px, 1fr);
        min-height: 94px;
        padding: 0 clamp(24px, 3vw, 52px);
        background: rgba(255, 250, 241, 0.93);
        border-bottom-color: rgba(120, 91, 54, 0.1);
        box-shadow: 0 8px 28px rgba(53, 37, 27, 0.06);
        backdrop-filter: blur(16px);
    }

    .brand {
        justify-self: start;
        width: 94px;
        min-height: 94px;
        border-radius: 0 0 7px 7px;
        box-shadow: 0 12px 26px rgba(91, 10, 17, 0.18);
    }

    .brand img {
        height: 94px;
    }

    .primary-nav {
        justify-self: center;
    }

    .site-menu {
        gap: clamp(18px, 1.55vw, 29px);
        font-size: 12px;
    }

    .site-menu a {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 94px;
        color: #2d241f;
        letter-spacing: 0;
        transition: color 160ms ease;
    }

    .site-menu a::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 24px;
        left: 0;
        height: 2px;
        background: var(--gold);
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 180ms ease;
    }

    .site-menu a:hover,
    .site-menu a:focus-visible {
        color: var(--wine);
    }

    .site-menu a:hover::after,
    .site-menu a:focus-visible::after,
    .site-menu .current-menu-item > a::after,
    .site-menu .current_page_item > a::after {
        transform: scaleX(1);
    }

    .header-actions {
        justify-self: end;
    }

    .header-booking {
        min-height: 46px;
        padding: 0 24px;
        border-radius: 6px;
        box-shadow: 0 8px 18px rgba(195, 137, 23, 0.2);
    }

    .header-booking:hover,
    .header-booking:focus-visible {
        box-shadow: 0 11px 24px rgba(195, 137, 23, 0.28);
    }
}

.pricing-page {
    background: var(--paper);
}

.pricing-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 24px 70px;
}

.pricing-section {
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.pricing-section:first-child {
    padding-top: 0;
}

.pricing-section h2 {
    margin: 0 0 24px;
    font-size: 27px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
}

.price-group {
    padding-top: 16px;
    border-top: 2px solid var(--gold);
}

.price-group h3 {
    margin: 0 0 12px;
    color: var(--wine);
    font-family: Cinzel, Georgia, serif;
    font-size: 19px;
}

.price-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(129, 97, 57, 0.24);
    line-height: 1.45;
}

.price-list strong {
    flex: 0 0 auto;
    color: var(--wine);
    white-space: nowrap;
}

.discount-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
    line-height: 1.55;
}

.payment-panel {
    padding: 22px 24px;
    background: #fff7ea;
    border-left: 4px solid var(--gold);
    border-radius: 0 6px 6px 0;
    font-size: 17px;
    line-height: 1.65;
}

.payment-panel p {
    margin: 0;
}

.pricing-notes {
    margin-top: 34px;
    padding-top: 24px;
    color: #62554c;
    border-top: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.55;
}

.pricing-notes p {
    margin: 6px 0;
}

.pricing-notes .pricing-warning {
    margin-top: 14px;
    color: var(--wine);
    font-size: 15px;
}

@media (max-width: 760px) {
    .pricing-content {
        padding: 34px 20px 52px;
    }

    .pricing-section {
        padding: 28px 0;
    }

    .pricing-section h2 {
        font-size: 23px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .price-list li {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .price-list strong {
        white-space: normal;
    }
}

.apartments-page {
    background: var(--paper);
}

.apartments-page-content {
    max-width: 1220px;
    margin: 0 auto;
    padding: 20px 24px 70px;
}

.apartment-detail {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.5fr);
    gap: 48px;
    padding: 54px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 108px;
}

.apartment-detail-copy h2,
.apartments-common h2 {
    margin: 6px 0 16px;
    font-size: 32px;
    text-transform: uppercase;
}

.apartment-kicker {
    margin: 0;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.apartment-detail-copy > p:not(.apartment-kicker) {
    color: #51463e;
    line-height: 1.75;
}

.apartment-detail-copy .apartment-lead {
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
}

.apartment-detail-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.apartment-detail-features li {
    position: relative;
    padding-left: 20px;
    color: #51463e;
    line-height: 1.45;
}

.apartment-detail-features li::before {
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    content: "";
}

.apartment-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.apartment-photo {
    overflow: hidden;
    margin: 0;
    background: #fffaf2;
    border: 1px solid rgba(129, 97, 57, 0.18);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(65, 47, 30, 0.1);
}

.apartment-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.apartment-photo figcaption {
    min-height: 42px;
    padding: 12px 14px;
    color: #47382e;
    font-size: 14px;
    font-weight: 700;
}

.apartments-common {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
    padding: 46px 0 0;
}

.apartments-common p:last-child {
    max-width: 820px;
    margin-bottom: 0;
    color: #51463e;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .apartment-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 760px) {
    .apartments-page-content {
        padding: 4px 20px 52px;
    }

    .apartment-detail {
        padding: 38px 0;
    }

    .apartment-detail-copy h2,
    .apartments-common h2 {
        font-size: 25px;
    }

    .apartment-detail-features,
    .apartment-photo-grid {
        grid-template-columns: 1fr;
    }

    .apartments-common {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .apartments-common .button {
        width: 100%;
    }
}

.sights-page {
    background: var(--paper);
}

.sights-page-content {
    max-width: 1220px;
    margin: 0 auto;
    padding: 54px 24px 74px;
}

.sights-feature-image {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(65, 47, 30, 0.14);
}

.sights-feature-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    object-position: center;
}

.sights-feature-image figcaption {
    position: absolute;
    right: 18px;
    bottom: 16px;
    padding: 9px 12px;
    background: rgba(255, 250, 241, 0.94);
    color: #47382e;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
}

.sights-introduction {
    max-width: 850px;
    padding: 48px 0 54px;
}

.sights-introduction h2,
.sights-closing h2 {
    margin: 7px 0 16px;
    font-size: 32px;
    text-transform: uppercase;
}

.sights-introduction > p:last-child,
.sights-closing > div > p:last-child {
    margin-bottom: 0;
    color: #51463e;
    font-size: 17px;
    line-height: 1.75;
}

.sights-category {
    display: grid;
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    gap: 52px;
    padding: 46px 0;
    border-top: 1px solid var(--line);
}

.sights-category-heading h2 {
    margin: 0 0 16px;
    font-size: 27px;
    text-transform: uppercase;
}

.sights-category-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.sights-category-body {
    display: grid;
    gap: 30px;
}

.sights-category-photo {
    overflow: hidden;
    margin: 0;
    background: #fffaf2;
    border: 1px solid rgba(129, 97, 57, 0.18);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(65, 47, 30, 0.1);
}

.sights-category-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.sights-category-photo figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 46px;
    padding: 11px 14px;
    color: #47382e;
    font-size: 14px;
    font-weight: 700;
}

.sights-photo-credit {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    font-size: 10px;
    font-weight: 500;
}

.sights-photo-credit a {
    color: var(--muted);
    text-decoration: underline;
}

.sights-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 34px;
}

.sight-item {
    padding-top: 18px;
    border-top: 2px solid var(--gold);
}

.sight-item h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 21px;
}

.sight-item p {
    margin: 0;
    color: #51463e;
    line-height: 1.65;
}

.sights-closing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 38px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
    .sights-category {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 760px) {
    .sights-page-content {
        padding: 32px 20px 54px;
    }

    .sights-feature-image img {
        aspect-ratio: 4 / 3;
    }

    .sights-feature-image figcaption {
        right: 10px;
        bottom: 10px;
    }

    .sights-introduction {
        padding: 38px 0 42px;
    }

    .sights-introduction h2,
    .sights-closing h2 {
        font-size: 25px;
    }

    .sights-category {
        padding: 38px 0;
    }

    .sights-items,
    .sights-closing {
        grid-template-columns: 1fr;
    }

    .sights-category-photo img {
        aspect-ratio: 4 / 3;
    }

    .sights-category-photo figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .sights-photo-credit {
        justify-content: flex-start;
    }

    .sights-closing {
        gap: 22px;
        padding-top: 38px;
    }

    .sights-closing .button {
        width: 100%;
    }
}

/* Professional subpage presentation */
.subpage-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 420px;
    padding: 76px 7vw 70px;
    overflow: hidden;
    isolation: isolate;
    background-image:
        linear-gradient(90deg, rgba(255, 250, 241, 0.99) 0%, rgba(255, 250, 241, 0.96) 34%, rgba(255, 250, 241, 0.68) 57%, rgba(255, 250, 241, 0.12) 100%),
        var(--subpage-hero-image);
    background-position: center 48%;
    background-size: cover;
    border-bottom: 0;
}

.subpage-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wine) 0 18%, var(--gold) 18% 34%, transparent 34%);
    content: "";
}

.subpage-hero .about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 740px;
    padding-left: 28px;
}

.subpage-hero .about-hero-inner::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 3px;
    background: var(--gold);
    content: "";
}

.subpage-hero .eyebrow {
    margin-bottom: 14px;
    color: var(--wine);
}

.subpage-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--ink);
    font-size: 64px;
    line-height: 1.04;
    text-transform: uppercase;
}

.subpage-hero p:not(.eyebrow) {
    max-width: 650px;
    margin-top: 22px;
    color: #392d27;
    font-size: 18px;
    line-height: 1.7;
}

.about-page,
.apartments-page,
.approach-page,
.pricing-page,
.gallery-page,
.sights-page,
.reservation-page {
    background: #f4f4f1;
}

.about-content,
.approach-content,
.pricing-content,
.gallery-page-content,
.apartments-page-content,
.sights-page-content,
.reservation-content {
    padding-top: 70px;
    padding-bottom: 84px;
}

.about-text h2,
.approach-text h2,
.pricing-section h2,
.gallery-category-heading h2,
.apartments-common h2,
.sights-category-heading h2 {
    position: relative;
    padding-top: 16px;
}

.about-text h2::before,
.approach-text h2::before,
.pricing-section h2::before,
.gallery-category-heading h2::before,
.apartments-common h2::before,
.sights-category-heading h2::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 2px;
    background: var(--gold);
    content: "";
}

.about-text,
.approach-text {
    color: #403731;
}

.about-text > p:first-child,
.approach-text > p:first-of-type {
    color: var(--ink);
    font-size: 19px;
    line-height: 1.8;
}

.house-rules-card,
.about-facts,
.map-embed-card,
.reservation-note,
.reservation-contact {
    background: #fff;
    border-color: rgba(75, 62, 51, 0.12);
    box-shadow: 0 18px 42px rgba(41, 33, 27, 0.08);
}

.house-rules-card {
    border-top: 3px solid var(--gold);
}

.reservation-contact {
    align-content: start;
    border-top: 3px solid var(--gold);
    color: var(--ink);
}

.reservation-contact h3 {
    color: var(--ink);
}

.reservation-contact p {
    color: var(--muted);
}

.reservation-contact a {
    color: var(--wine);
    overflow-wrap: anywhere;
}

.reservation-contact a:hover,
.reservation-contact a:focus-visible {
    color: #a56d0e;
}

.about-facts {
    border-top: 3px solid var(--wine);
}

@media (min-width: 901px) {
    .about-side,
    .approach-side {
        position: sticky;
        top: 122px;
    }
}

.approach-text {
    padding-left: 28px;
    border-left: 2px solid rgba(195, 137, 23, 0.38);
}

.map-embed-card {
    min-height: 420px;
}

.map-embed-card iframe {
    height: 420px;
}

.price-group {
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(75, 62, 51, 0.11);
    border-top: 3px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(41, 33, 27, 0.06);
}

.pricing-grid {
    gap: 22px;
}

.payment-panel {
    background: #fff;
    box-shadow: 0 10px 28px rgba(41, 33, 27, 0.05);
}

.photo-card,
.apartment-photo,
.sights-category-photo,
.sights-feature-image {
    background: #fff;
    border-color: rgba(75, 62, 51, 0.11);
    box-shadow: 0 15px 36px rgba(41, 33, 27, 0.09);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.photo-card img,
.apartment-photo img,
.sights-category-photo img,
.sights-feature-image img {
    transition: transform 320ms ease;
}

.photo-card:hover,
.apartment-photo:hover,
.sights-category-photo:hover,
.sights-feature-image:hover {
    box-shadow: 0 21px 48px rgba(41, 33, 27, 0.14);
    transform: translateY(-3px);
}

.photo-card:hover img,
.apartment-photo:hover img,
.sights-category-photo:hover img,
.sights-feature-image:hover img {
    transform: scale(1.025);
}

.gallery-category + .gallery-category {
    padding-top: 52px;
    border-top: 1px solid var(--line);
}

.gallery-category-heading {
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    align-items: end;
    gap: 34px;
}

.apartment-detail {
    gap: 58px;
    padding: 72px 0;
}

.apartment-detail:nth-child(even) {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.78fr);
}

.apartment-detail:nth-child(even) .apartment-detail-copy {
    order: 2;
}

.apartment-detail:nth-child(even) .apartment-photo-grid {
    order: 1;
}

.apartment-detail-copy {
    align-self: center;
}

.apartment-detail-copy h2 {
    font-size: 34px;
}

.sights-category {
    gap: 64px;
    padding: 58px 0;
}

.sight-item {
    padding: 22px 22px 0 0;
}

.reservation-form,
.message-form {
    background: #fff;
    border-color: rgba(75, 62, 51, 0.11);
    box-shadow: 0 20px 48px rgba(41, 33, 27, 0.09);
}

.message-section {
    background: #e8e9e6;
}

@media (max-width: 1100px) {
    .subpage-hero {
        min-height: 390px;
        padding: 68px 5vw 62px;
    }

    .subpage-hero h1 {
        font-size: 52px;
    }
}

@media (max-width: 900px) {
    .subpage-hero {
        background-image:
            linear-gradient(90deg, rgba(255, 250, 241, 0.97) 0%, rgba(255, 250, 241, 0.88) 57%, rgba(255, 250, 241, 0.42) 100%),
            var(--subpage-hero-image);
        background-position: 58% center;
    }

    .approach-text {
        padding-left: 0;
        border-left: 0;
    }

    .gallery-category-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 10px;
    }

    .apartment-detail:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .apartment-detail:nth-child(even) .apartment-detail-copy,
    .apartment-detail:nth-child(even) .apartment-photo-grid {
        order: initial;
    }
}

@media (max-width: 760px) {
    .subpage-hero {
        min-height: 360px;
        padding: 58px 22px 52px;
        background-image:
            linear-gradient(90deg, rgba(255, 250, 241, 0.93), rgba(255, 250, 241, 0.72)),
            var(--subpage-hero-image);
        background-position: 64% center;
    }

    .subpage-hero::after {
        background: linear-gradient(90deg, var(--wine) 0 34%, var(--gold) 34% 62%, transparent 62%);
    }

    .subpage-hero .about-hero-inner {
        padding-left: 18px;
    }

    .subpage-hero h1 {
        font-size: 38px;
        overflow-wrap: anywhere;
    }

    .subpage-hero p:not(.eyebrow) {
        font-size: 16px;
        line-height: 1.65;
    }

    .about-content,
    .approach-content,
    .pricing-content,
    .gallery-page-content,
    .apartments-page-content,
    .sights-page-content,
    .reservation-content {
        padding-top: 44px;
        padding-bottom: 58px;
    }

    .price-group {
        padding: 20px 18px;
    }

    .apartment-detail {
        gap: 32px;
        padding: 46px 0;
    }

    .apartment-detail-copy h2 {
        font-size: 26px;
    }

    .sights-category {
        gap: 30px;
        padding: 42px 0;
    }

    .photo-card:hover,
    .apartment-photo:hover,
    .sights-category-photo:hover,
    .sights-feature-image:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .photo-card,
    .apartment-photo,
    .sights-category-photo,
    .sights-feature-image,
    .photo-card img,
    .apartment-photo img,
    .sights-category-photo img,
    .sights-feature-image img {
        transition: none;
    }
}

/* Modern homepage */
main {
    background: #f4f4f1;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(560px, calc(100svh - 150px));
    height: calc(100svh - 150px);
    max-height: 720px;
    padding: 72px 7vw 68px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 250, 241, 0.93) 34%, rgba(255, 250, 241, 0.54) 58%, rgba(255, 250, 241, 0.08) 100%),
        var(--hero-image) center 48% / cover no-repeat;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wine) 0 18%, var(--gold) 18% 34%, transparent 34%);
    content: "";
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding-left: 30px;
}

.hero-copy::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 3px;
    background: var(--gold);
    content: "";
}

.hero .hero-eyebrow,
.section-kicker {
    margin: 0 0 13px;
    color: var(--wine);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 640px;
    color: var(--ink);
    font-size: 72px;
    line-height: 0.98;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    color: var(--gold-dark);
}

.hero .hero-lead {
    max-width: 590px;
    margin: 26px 0 30px;
    color: #40352e;
    font-size: 17px;
    line-height: 1.72;
}

.hero-lead strong {
    color: var(--ink);
    font-size: 20px;
}

.hero-actions {
    gap: 12px;
}

.hero-actions .button {
    min-height: 48px;
}

.feature-strip {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    padding: 27px 4vw;
    background: #fff;
    border-top: 0;
    border-bottom: 1px solid rgba(75, 62, 51, 0.12);
    box-shadow: 0 14px 38px rgba(41, 33, 27, 0.05);
}

.feature-strip div {
    min-height: 92px;
    padding: 4px 16px;
    border-right: 1px solid rgba(75, 62, 51, 0.11);
}

.feature-strip div:last-child {
    border-right: 0;
}

.feature-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
}

.feature-strip strong {
    font-size: 12px;
}

.feature-strip span {
    color: #6a5d54;
    font-size: 12px;
}

.section,
.home-info-section {
    padding: 86px 7vw;
}

.section-warm {
    background: #f4f4f1;
}

.section-heading {
    display: grid;
    justify-content: center;
    gap: 0;
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading::before,
.section-heading::after {
    display: none;
}

.section-heading h2 {
    color: var(--ink);
    font-size: 36px;
    line-height: 1.15;
    text-transform: uppercase;
}

.section-heading > p:last-child:not(.section-kicker) {
    margin: 16px auto 0;
    color: #61554d;
    font-size: 16px;
    line-height: 1.7;
}

.apartment-grid {
    gap: 28px;
    max-width: 1180px;
}

.apartment-card {
    background: #fff;
    border-color: rgba(75, 62, 51, 0.11);
    box-shadow: 0 18px 44px rgba(41, 33, 27, 0.09);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.apartment-card:hover {
    box-shadow: 0 24px 54px rgba(41, 33, 27, 0.14);
    transform: translateY(-4px);
}

.card-image {
    min-height: 0;
    aspect-ratio: 16 / 8.5;
    transition: background-size 320ms ease;
}

.card-image span {
    top: 20px;
    left: 20px;
    width: 64px;
    height: 64px;
    box-shadow: 0 9px 22px rgba(90, 56, 13, 0.2);
}

.card-body {
    padding: 28px 30px 30px;
    text-align: left;
}

.card-body h3 {
    font-size: 26px;
}

.card-body p {
    max-width: none;
    margin: 12px 0 24px;
}

.amenities {
    margin-bottom: 0;
}

.amenities li {
    align-items: flex-start;
    text-align: left;
}

.amenity-icon {
    margin-right: 0;
    margin-left: 0;
}

.centered {
    margin-top: 36px;
}

.gallery-section {
    background: #e8e9e6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 148px;
    gap: 14px;
    max-width: 1260px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background-position: center;
    border-color: rgba(75, 62, 51, 0.13);
    border-radius: 8px;
    box-shadow: 0 13px 30px rgba(41, 33, 27, 0.1);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.gallery-item::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(30, 22, 18, 0.2));
    content: "";
}

.gallery-item:hover,
.gallery-item:focus-visible {
    z-index: 1;
    box-shadow: 0 20px 42px rgba(41, 33, 27, 0.17);
    transform: translateY(-3px);
}

.gallery-item:nth-child(1) {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(4) {
    grid-column: span 3;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(5) {
    grid-column: span 4;
}

.home-info-section {
    background: #f4f4f1;
}

.info-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
}

.info-band article {
    min-height: 300px;
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(75, 62, 51, 0.11);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(41, 33, 27, 0.07);
}

.info-band h2 {
    position: relative;
    padding-top: 16px;
    font-size: 21px;
}

.info-band h2::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 2px;
    background: var(--gold);
    content: "";
}

.quote-card p {
    font-size: 17px;
}

.nearby-card ul {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
}

.contact-card a:not(.button) {
    color: var(--wine);
    font-weight: 700;
}

.info-band .map-card-embed {
    grid-column: 1 / -1;
    min-height: 330px;
    padding: 0;
}

.info-band .map-card-embed iframe {
    min-height: 330px;
}

.booking-section {
    position: relative;
    padding: 82px 7vw;
    overflow: hidden;
    background: var(--wine);
    color: #fff;
}

.booking-section::before {
    position: absolute;
    top: -80px;
    left: 50%;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(247, 216, 137, 0.23);
    border-radius: 50%;
    content: "";
    transform: translateX(-50%);
}

.booking-section .section-kicker {
    position: relative;
    color: #f7d889;
}

.booking-section h2 {
    position: relative;
    margin-bottom: 14px;
    font-size: 34px;
}

.booking-section p:not(.section-kicker) {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
}

.booking-section .button {
    position: relative;
    box-shadow: 0 12px 28px rgba(40, 5, 8, 0.28);
}

@media (max-width: 1100px) {
    .hero {
        min-height: min(540px, calc(100svh - 132px));
        height: calc(100svh - 132px);
        padding: 64px 5vw;
    }

    .hero h1 {
        font-size: 60px;
    }

    .feature-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .feature-strip div:nth-child(4) {
        border-right: 0;
    }

    .feature-strip div:nth-child(n + 5) {
        padding-top: 18px;
        border-top: 1px solid rgba(75, 62, 51, 0.11);
    }

    .info-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-band .contact-card {
        grid-column: 1 / -1;
        min-height: 0;
    }
}

@media (max-width: 760px) {
    .hero {
        align-items: flex-end;
        min-height: min(590px, calc(100svh - 112px));
        height: calc(100svh - 112px);
        max-height: 720px;
        padding: 58px 22px 52px;
        background:
            linear-gradient(180deg, rgba(255, 250, 241, 0.34) 0%, rgba(255, 250, 241, 0.78) 40%, rgba(255, 250, 241, 0.97) 100%),
            var(--hero-image) 61% center / cover no-repeat;
    }

    .hero::after {
        background: linear-gradient(90deg, var(--wine) 0 34%, var(--gold) 34% 62%, transparent 62%);
    }

    .hero-copy {
        padding-left: 18px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero .hero-lead {
        margin: 20px 0 24px;
        font-size: 15px;
        line-height: 1.62;
    }

    .hero-lead strong {
        font-size: 17px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

    .feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 18px 14px;
    }

    .feature-strip div,
    .feature-strip div:nth-child(n + 5) {
        min-height: 104px;
        padding: 14px 8px;
        border-top: 1px solid rgba(75, 62, 51, 0.11);
        border-right: 1px solid rgba(75, 62, 51, 0.11);
    }

    .feature-strip div:nth-child(odd) {
        border-right: 1px solid rgba(75, 62, 51, 0.11);
    }

    .feature-strip div:nth-child(even) {
        border-right: 0;
    }

    .feature-strip div:nth-child(-n + 2) {
        border-top: 0;
    }

    .feature-strip div:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .section,
    .home-info-section {
        padding: 58px 18px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .apartment-grid {
        grid-template-columns: 1fr;
    }

    .card-body {
        padding: 24px 20px;
    }

    .amenities {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 150px;
    }

    .gallery-item:nth-child(1) {
        grid-column: 1 / -1;
        grid-row: span 2;
    }

    .gallery-item:nth-child(n + 2) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .info-band {
        grid-template-columns: 1fr;
    }

    .info-band .contact-card,
    .info-band .map-card-embed {
        grid-column: auto;
    }

    .info-band article {
        min-height: 0;
        padding: 26px 22px;
    }

    .info-band .map-card-embed,
    .info-band .map-card-embed iframe {
        min-height: 300px;
    }

    .booking-section {
        padding: 66px 22px;
    }

    .booking-section h2 {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .apartment-card,
    .gallery-item,
    .card-link-hint span,
    .footer-social-link,
    .footer-social-icon {
        transition: none;
    }
}

/* Built-in house rules page */
.rules-page {
    background: #fffaf2;
}

.rules-hero .about-hero-inner {
    max-width: 920px;
}

.rules-content {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
    padding: 64px 0 84px;
}

.rules-summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--line);
}

.rules-summary .eyebrow {
    margin-bottom: 8px;
}

.rules-effective-date {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
}

.rules-translation-notice {
    margin: 24px 0 0;
    padding: 14px 18px;
    color: #5b4c42;
    background: #fff7ea;
    border-left: 3px solid var(--gold);
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    line-height: 1.6;
}

.rules-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 22px;
}

.rules-nav a {
    padding-bottom: 4px;
    border-bottom: 2px solid rgba(195, 137, 23, 0.4);
    color: var(--wine);
    font-size: 14px;
    font-weight: 800;
}

.rules-nav a:hover,
.rules-nav a:focus-visible {
    border-color: var(--gold);
    color: #a56d0e;
}

.rules-section {
    display: grid;
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
    gap: 52px;
    padding: 56px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 120px;
}

.rules-section-heading {
    align-self: start;
}

.rules-section-heading h2 {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: 1.2;
}

.rules-list {
    display: grid;
    gap: 22px;
    margin: 0;
    padding-left: 28px;
}

.rules-list > li {
    padding-left: 10px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.rules-list > li::marker {
    color: var(--gold);
    font-weight: 800;
}

.rules-sublist {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-left: 22px;
}

.rules-sublist li {
    line-height: 1.65;
}

.rules-closing {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding: 24px 28px;
    border-radius: 8px;
    background: var(--wine);
    color: #fff;
}

.rules-closing span {
    color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 901px) {
    .rules-section-heading {
        position: sticky;
        top: 130px;
    }
}

@media (max-width: 760px) {
    .rules-content {
        width: min(100% - 36px, 1160px);
        padding: 40px 0 58px;
    }

    .rules-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .rules-nav {
        justify-content: flex-start;
        gap: 10px 18px;
    }

    .rules-section {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 42px 0;
    }

    .rules-section-heading h2 {
        font-size: 24px;
    }

    .rules-list {
        gap: 20px;
        padding-left: 24px;
    }

    .rules-list > li {
        padding-left: 5px;
        font-size: 15px;
    }

    .rules-closing {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Accessible image viewer for hostel photos */
.image-lightbox-trigger {
    cursor: zoom-in;
}

.image-lightbox-trigger:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

body.has-open-lightbox {
    overflow: hidden;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 16, 13, 0.94);
    backdrop-filter: blur(8px);
}

.image-lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 18px;
    width: min(1420px, 100%);
    height: 100%;
    padding: 72px 28px 32px;
}

.image-lightbox-figure {
    min-width: 0;
    margin: 0;
    text-align: center;
}

.image-lightbox-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    margin: 0 auto;
    object-fit: contain;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.image-lightbox-caption {
    min-height: 26px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.image-lightbox-control {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(20, 16, 13, 0.58);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.image-lightbox-control:hover,
.image-lightbox-control:focus-visible {
    border-color: var(--gold);
    background: var(--wine);
    outline: none;
    transform: scale(1.05);
}

.image-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 2;
    font-size: 30px;
}

.image-lightbox-prev {
    justify-self: end;
}

.image-lightbox-next {
    justify-self: start;
}

@media (max-width: 760px) {
    .image-lightbox-dialog {
        display: block;
        padding: 68px 14px 82px;
    }

    .image-lightbox-figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .image-lightbox-image {
        max-height: calc(100vh - 190px);
    }

    .image-lightbox-caption {
        flex: 0 0 auto;
    }

    .image-lightbox-prev,
    .image-lightbox-next {
        position: absolute;
        bottom: 18px;
    }

    .image-lightbox-prev {
        left: calc(50% - 58px);
    }

    .image-lightbox-next {
        right: calc(50% - 58px);
    }

    .image-lightbox-close {
        top: 12px;
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-lightbox-control {
        transition: none;
    }
}

/* Google review carousel inside the existing testimonial card */
.quote-card {
    display: flex;
    flex-direction: column;
}

.review-carousel {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 215px;
}

.review-stage {
    position: relative;
    flex: 1;
    min-height: 150px;
}

.review-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
}

.review-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.quote-card .review-slide p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.review-author {
    display: grid;
    gap: 2px;
    margin-top: auto;
}

.review-author strong {
    color: var(--ink);
    font-size: 14px;
}

.review-author span {
    color: #776a61;
    font-size: 12px;
}

.review-slide .stars {
    margin-top: 7px;
    font-size: 15px;
    letter-spacing: 1px;
}

.review-carousel-footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    margin-top: 12px;
    padding-top: 13px;
    border-top: 1px solid rgba(75, 62, 51, 0.11);
}

.review-controls,
.review-dots {
    display: flex;
    align-items: center;
}

.review-controls {
    gap: 8px;
}

.review-dots {
    gap: 6px;
}

.review-arrow,
.review-dot {
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(123, 17, 22, 0.26);
    background: transparent;
    color: var(--wine);
    cursor: pointer;
}

.review-arrow {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 24px;
    line-height: 1;
}

.review-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: #cfc5bb;
}

.review-dot.is-active {
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(189, 139, 34, 0.16);
}

.review-arrow:hover,
.review-arrow:focus-visible {
    border-color: var(--gold);
    background: var(--wine);
    color: #fff;
    outline: none;
}

.review-dot:focus-visible {
    outline: 2px solid var(--wine);
    outline-offset: 3px;
}

.google-review-summary {
    display: grid;
    justify-items: end;
    color: var(--wine);
    line-height: 1.2;
    text-align: right;
}

.google-review-summary strong {
    font-size: 18px;
}

.google-review-summary span {
    color: #776a61;
    font-size: 11px;
    font-weight: 700;
}

.google-review-summary:hover span,
.google-review-summary:focus-visible span {
    color: var(--wine);
}

.google-review-summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .review-slide {
        transition: none;
    }
}

/* JavaScript-triggered homepage header entrance */
.site-header-home {
    opacity: 0;
    transform: translate3d(0, -112%, 0);
    transform-origin: top center;
    transition:
        opacity 300ms ease-out,
        transform 980ms cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 700ms ease;
    will-change: opacity, transform;
}

.site-header-home.is-entered {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.site-header-home .brand,
.site-header-home .primary-nav,
.site-header-home .header-booking,
.site-header-home .language-switcher,
.site-header-home .menu-toggle {
    opacity: 0;
}

.site-header-home.is-entered .brand,
.site-header-home.is-entered .primary-nav,
.site-header-home.is-entered .header-booking,
.site-header-home.is-entered .language-switcher,
.site-header-home.is-entered .menu-toggle {
    opacity: 1;
}

.site-header-home.is-entered .brand {
    animation: header-item-arrival 620ms cubic-bezier(0.22, 1, 0.36, 1) 260ms backwards;
}

.site-header-home.is-entered .primary-nav {
    animation: header-item-arrival 590ms cubic-bezier(0.22, 1, 0.36, 1) 390ms backwards;
}

.site-header-home.is-entered .header-booking {
    animation: header-item-arrival 560ms cubic-bezier(0.22, 1, 0.36, 1) 510ms backwards;
}

.site-header-home.is-entered .language-switcher {
    animation: header-item-arrival 560ms cubic-bezier(0.22, 1, 0.36, 1) 470ms backwards;
}

.site-header-home.is-entered .menu-toggle {
    animation: header-item-arrival 560ms cubic-bezier(0.22, 1, 0.36, 1) 390ms backwards;
}

.site-header-home.is-entered .header-booking:hover {
    transform: translateY(-1px);
}

@keyframes header-item-arrival {
    0% {
        opacity: 0;
        transform: translate3d(0, -18px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header-home,
    .site-header-home .brand,
    .site-header-home .primary-nav,
    .site-header-home .header-booking,
    .site-header-home .language-switcher,
    .site-header-home .menu-toggle {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
        will-change: auto;
    }
}


