:root {
    --container: 1320px;
    --gold: #c99b16;
    --gold-dark: #98720d;
    --green: #52651e;
    --green-dark: #33410f;
    --ink: #22231f;
    --muted: #6f7168;
    --cream: #f7f5ef;
    --line: #e9e4d8;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(35, 32, 22, 0.13);
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: Inter, Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    background: var(--white);
    font-size: 15px;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

.form-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

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

@keyframes premiumFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bookingStepPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 155, 22, 0);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(201, 155, 22, 0.14);
    }
}

@keyframes bookingCardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bookingShine {
    from {
        transform: translateX(-130%) skewX(-18deg);
    }

    to {
        transform: translateX(240%) skewX(-18deg);
    }
}

@keyframes titleLineGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes titleTextIn {
    from {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes titleAccentGlow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(201, 155, 22, 0);
    }

    45% {
        box-shadow: 0 0 22px rgba(201, 155, 22, 0.3);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero h1,
    .page-hero h1,
    .intro h2,
    .bungalows h2,
    .spain h2,
    .contact h2,
    .invest h2,
    .section-heading h2,
    .custom-page-content h2,
    .custom-page-content h3 {
        animation: premiumFadeUp 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .hero p,
    .hero .btn,
    .page-hero p,
    .page-hero .eyebrow {
        animation: premiumFadeUp 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
        animation-delay: 0.12s;
    }
}

@media (prefers-reduced-motion: no-preference) {
    body:not(.admin-page) .reveal-on-scroll {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
        transition-delay: var(--reveal-delay, 0ms);
    }

    body:not(.admin-page) .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    body:not(.admin-page) h1.reveal-on-scroll,
    body:not(.admin-page) h2.reveal-on-scroll {
        position: relative;
    }

    body:not(.admin-page) h1.reveal-on-scroll.is-visible,
    body:not(.admin-page) h2.reveal-on-scroll.is-visible {
        animation: titleTextIn 0.82s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    body:not(.admin-page) h1.reveal-on-scroll::after,
    body:not(.admin-page) h2.reveal-on-scroll::after {
        display: block;
        width: min(96px, 42%);
        height: 3px;
        margin-top: 16px;
        content: "";
        border-radius: 999px;
        background: linear-gradient(90deg, var(--gold), var(--green));
        opacity: 0.75;
        transform: scaleX(0);
        transform-origin: left;
    }

    body:not(.admin-page) h1.reveal-on-scroll.is-visible::after,
    body:not(.admin-page) h2.reveal-on-scroll.is-visible::after {
        animation:
            titleLineGrow 0.72s cubic-bezier(0.2, 0.7, 0.2, 1) 0.22s both,
            titleAccentGlow 1.6s ease 0.22s both;
    }

    body:not(.admin-page) .reveal-soft {
        transform: translateY(16px) scale(0.985);
    }

    body:not(.admin-page) .reveal-soft.is-visible {
        transform: translateY(0) scale(1);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 108px;
    padding: 16px max(32px, calc((100vw - var(--container)) / 2));
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(201, 155, 22, 0.12);
}

.brand img {
    width: 190px;
    height: 76px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    position: relative;
    padding: 12px 0;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav .active::after {
    transform: scaleX(1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::after {
    content: "\2192";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 13px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-light::after {
    color: var(--green);
    background: rgba(82, 101, 30, 0.12);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(35, 32, 22, 0.18);
}

.btn:hover::after {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.32);
}

.cookie-actions .btn::after {
    display: none;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, #d9ae25, #b8880f);
}

.btn-green {
    color: var(--white);
    background: var(--green);
}

.btn-light {
    color: var(--ink);
    background: var(--white);
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 70px max(32px, calc((100vw - var(--container)) / 2)) 95px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(18, 26, 9, 0.58), rgba(18, 26, 9, 0.18) 46%, rgba(18, 26, 9, 0.08)),
        var(--hero-image, url("../img/site/hero-home.jpg")) center / cover;
}

.hero-content {
    width: min(640px, 100%);
}

.hero h1,
.intro h2,
.bungalows h2,
.spain h2,
.contact h2,
.invest h2 {
    margin: 0;
    font-family: var(--serif);
    line-height: 1.03;
    font-weight: 500;
}

.hero h1 {
    font-size: clamp(54px, 7vw, 92px);
    margin-bottom: 24px;
    letter-spacing: 0;
}

.hero p {
    max-width: 620px;
    margin: 0 0 32px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
    font-weight: 800;
}

.location-pill {
    position: absolute;
    right: max(32px, calc((100vw - var(--container)) / 2));
    bottom: 96px;
    z-index: 2;
    padding: 13px 22px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(75, 91, 31, 0.86);
    box-shadow: 0 18px 42px rgba(17, 24, 9, 0.22);
    font-weight: 800;
    pointer-events: none;
}

.booking-panel {
    position: relative;
    z-index: 8;
    width: min(var(--container), calc(100% - 40px));
    margin: -52px auto 0;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
    gap: 0;
    align-items: end;
    overflow: hidden;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 7px;
}

.booking-form label {
    position: relative;
    padding: 0 20px;
    border-right: 1px solid var(--line);
}

.booking-form label::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 9px;
    height: 9px;
    border: 2px solid rgba(82, 101, 30, 0.55);
    border-radius: 50%;
}

label span {
    color: var(--muted);
    font-size: 12px;
}

input,
select,
textarea {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
}

input[type="date"] {
    min-height: 28px;
    padding: 0;
    text-align: left;
    color: var(--ink);
    line-height: 1.2;
    appearance: none;
    -webkit-appearance: none;
}

input[type="date"]::-webkit-date-and-time-value {
    min-height: 28px;
    text-align: left;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    margin-left: auto;
    opacity: 0.75;
}

input[type="date"]:invalid,
input[type="date"]:placeholder-shown {
    color: var(--muted);
}

textarea,
.contact-card input,
.contact-card select {
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

.notice {
    margin: 0 0 12px;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 800;
}

.notice.success {
    color: #25430d;
    background: #edf6df;
}

.notice.error {
    color: #6d2d18;
    background: #fae8df;
}

.section-grid {
    width: min(var(--container), calc(100% - 40px));
    margin: 88px auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    gap: 78px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--green);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 900;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--gold);
}

.intro h2,
.bungalows h2,
.contact h2,
.invest h2 {
    font-size: clamp(34px, 4vw, 48px);
    margin-bottom: 24px;
}

.intro p,
.bungalows p,
.contact p,
.invest p {
    color: var(--muted);
    line-height: 1.8;
}

.check-list {
    list-style: none;
    margin: 28px 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: #45483d;
}

.check-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 19px;
    height: 19px;
    content: "";
    border-radius: 50%;
    background: var(--gold);
}

.check-list li::after {
    position: absolute;
    top: 4px;
    left: 7px;
    width: 5px;
    height: 9px;
    content: "";
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.rounded-photo {
    width: 100%;
    aspect-ratio: 1.48;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(35, 32, 22, 0.12);
}

.features {
    width: min(var(--container), calc(100% - 40px));
    margin: 38px auto 88px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 12px;
    background: linear-gradient(135deg, #fbfaf5, #f0f2e9);
    box-shadow: 0 10px 30px rgba(35, 32, 22, 0.06);
}

.features article {
    position: relative;
    min-height: 138px;
    padding: 28px 30px;
    border-right: 1px solid var(--line);
}

.features article::before {
    content: "";
    position: absolute;
    top: 24px;
    right: 24px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(82, 101, 30, 0.24);
    border-radius: 50%;
    background:
        linear-gradient(var(--green), var(--green)) center / 14px 1px no-repeat,
        linear-gradient(var(--green), var(--green)) center / 1px 14px no-repeat;
    opacity: 0.7;
}

.features article:last-child {
    border-right: 0;
}

.feature-icon {
    display: block;
    color: var(--green);
    font-family: var(--serif);
    font-size: 30px;
    margin-bottom: 12px;
}

.features h3,
.bungalow-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.features p,
.bungalow-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

.bungalows {
    grid-template-columns: 0.65fr 1.35fr;
}

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

.bungalow-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 13px 28px rgba(35, 32, 22, 0.08);
}

.bungalow-card img {
    width: 100%;
    aspect-ratio: 1.28;
    object-fit: cover;
}

.bungalow-card div {
    padding: 18px;
}

.spain {
    min-height: 330px;
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1.28fr);
    align-items: end;
    gap: 40px;
    padding: 64px max(32px, calc((100vw - var(--container)) / 2)) 34px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(31, 63, 77, 0.78), rgba(31, 63, 77, 0.28) 48%, rgba(31, 63, 77, 0.06)),
        url("../img/site/spain-hero.jpg") center / cover;
}

.spain h2 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 18px;
}

.spain p {
    max-width: 470px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.spain-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    backdrop-filter: blur(10px);
}

.spain-stats span {
    min-height: 92px;
    padding: 18px 20px;
    border-right: 1px solid rgba(82, 101, 30, 0.18);
    color: var(--muted);
}

.spain-stats span:last-child {
    border-right: 0;
}

.spain-stats strong {
    display: block;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
}

.contact {
    align-items: start;
}

.contact-card {
    display: grid;
    gap: 22px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.invest {
    width: min(var(--container), calc(100% - 40px));
    margin: 90px auto;
    padding: 58px;
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green-dark), #8b7b17);
}

.invest .eyebrow,
.invest p {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer {
    padding: 58px max(32px, calc((100vw - var(--container)) / 2)) 26px;
    background: linear-gradient(180deg, #fbfaf7, #f3f0e7);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer a {
    font-weight: 800;
    color: var(--green);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, 0.65fr));
    gap: 56px;
    align-items: start;
}

.footer-brand {
    display: grid;
    justify-items: start;
    gap: 18px;
}

.footer-brand p {
    max-width: 390px;
    margin: 0;
    line-height: 1.75;
}

.footer-column {
    display: grid;
    gap: 13px;
    align-content: start;
}

.footer-column h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.footer-column h2::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 1px solid rgba(201, 155, 22, 0.8);
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--gold) 0 3px, transparent 4px);
}

.footer-column p {
    margin: 0;
    line-height: 1.55;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.footer-meta {
    justify-self: center;
}

.tb2x-credit {
    justify-self: end;
}

.booking-form-compact {
    grid-template-columns: repeat(3, minmax(190px, 1fr)) auto;
}

.page-hero {
    min-height: 390px;
    display: grid;
    align-content: end;
    padding: 74px max(32px, calc((100vw - var(--container)) / 2));
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(18, 26, 9, 0.72), rgba(18, 26, 9, 0.22)),
        url("../img/site/hero-home.jpg") center / cover;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 0 18px;
    font-family: var(--serif);
    font-size: clamp(44px, 6vw, 74px);
    line-height: 1.04;
    font-weight: 500;
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 0;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 700;
}

.page-hero .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.custom-page-content {
    width: min(980px, calc(100% - 40px));
    margin: 78px auto 104px;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(201, 155, 22, 0.12);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 18px 58px rgba(34, 35, 31, 0.06);
}

.custom-page-content > *:first-child {
    margin-top: 0;
}

.custom-page-content > *:last-child {
    margin-bottom: 0;
}

.custom-page-content h2,
.custom-page-content h3 {
    max-width: 760px;
    margin: 34px 0 16px;
    color: var(--ink);
    font-family: var(--serif);
    line-height: 1.08;
    font-weight: 600;
}

.custom-page-content h2 {
    font-size: clamp(34px, 4vw, 50px);
}

.custom-page-content h3 {
    font-size: clamp(25px, 3vw, 34px);
}

.custom-page-content p,
.custom-page-content li {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.custom-page-content p {
    margin: 0 0 20px;
}

.custom-page-content ul,
.custom-page-content ol {
    display: grid;
    gap: 10px;
    max-width: 760px;
    margin: 0 0 24px;
    padding-left: 24px;
}

.custom-page-content a {
    color: var(--green);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: rgba(82, 101, 30, 0.28);
    text-underline-offset: 4px;
}

.park-hero {
    background:
        linear-gradient(90deg, rgba(18, 26, 9, 0.72), rgba(18, 26, 9, 0.16)),
        url("../img/site/park-hero.jpg") center / cover;
}

.bungalows-hero {
    background:
        linear-gradient(90deg, rgba(18, 26, 9, 0.72), rgba(18, 26, 9, 0.16)),
        url("../img/site/bungalows-hero.jpg") center / cover;
}

.facilities-hero {
    background:
        linear-gradient(90deg, rgba(18, 26, 9, 0.72), rgba(18, 26, 9, 0.16)),
        url("../img/site/facilities-hero.jpg") center / cover;
}

.spain-page-hero {
    background:
        linear-gradient(90deg, rgba(31, 63, 77, 0.74), rgba(31, 63, 77, 0.18)),
        url("../img/site/spain-hero.jpg") center / cover;
}

.contact-hero {
    background:
        linear-gradient(90deg, rgba(18, 26, 9, 0.72), rgba(18, 26, 9, 0.16)),
        url("../img/site/contact-hero.jpg") center / cover;
}

.invest-hero {
    background:
        linear-gradient(90deg, rgba(38, 47, 11, 0.76), rgba(120, 91, 12, 0.26)),
        url("../img/site/invest-hero.jpg") center / cover;
}

.booking-hero {
    background:
        linear-gradient(90deg, rgba(18, 26, 9, 0.72), rgba(18, 26, 9, 0.16)),
        url("../img/site/booking-hero.jpg") center / cover;
}

.news-hero {
    background:
        linear-gradient(90deg, rgba(18, 26, 9, 0.72), rgba(18, 26, 9, 0.16)),
        url("../img/site/news-hero.jpg") center / cover;
}

.listing-section,
.facility-list,
.experience-grid,
.invest-detail,
.booking-page-grid,
.news-section {
    width: min(var(--container), calc(100% - 40px));
    margin: 90px auto;
}

.news-section-home {
    margin-top: 88px;
}

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

.section-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 500;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
}

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

.news-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 13px 28px rgba(35, 32, 22, 0.08);
}

.news-card img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
}

.news-card div {
    padding: 22px;
}

.news-meta {
    margin: 0 0 10px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.news-card h2 {
    margin: 0 0 12px;
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.15;
    font-weight: 500;
}

.news-card p:not(.news-meta) {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.detail-hero {
    width: min(var(--container), calc(100% - 40px));
    margin: 52px auto 0;
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
    gap: 58px;
    align-items: center;
}

.detail-hero h1,
.detail-main h2,
.detail-panel h2,
.booking-page-form h2,
.admin-dashboard h1 {
    margin: 0 0 18px;
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.05;
}

.detail-hero h1 {
    font-size: clamp(44px, 6vw, 76px);
}

.detail-hero p,
.detail-main p,
.booking-side p {
    color: var(--muted);
    line-height: 1.8;
}

.detail-hero img {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.detail-layout {
    width: min(var(--container), calc(100% - 40px));
    margin: 82px auto 96px;
    display: grid;
    grid-template-columns: minmax(420px, 1fr) 360px;
    gap: 42px;
    align-items: start;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.detail-gallery img {
    width: 100%;
    aspect-ratio: 1.28;
    object-fit: cover;
    border-radius: 10px;
}

.detail-panel {
    position: sticky;
    top: 132px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffdf8;
    box-shadow: var(--shadow);
}

.detail-panel dl,
.summary-list {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
}

.detail-panel dl div,
.summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.detail-panel dt,
.summary-list dt {
    color: var(--muted);
    font-weight: 700;
}

.summary-list dt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.summary-list dt span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: var(--green);
    background: rgba(82, 101, 30, 0.1);
    font-size: 13px;
}

.detail-panel dd,
.summary-list dd {
    margin: 0;
    text-align: right;
    font-weight: 900;
}

.booking-flow {
    position: relative;
    width: min(var(--container), calc(100% - 40px));
    margin: 74px auto 96px;
    scroll-margin-top: 132px;
}

.booking-flow::before {
    position: absolute;
    top: 20px;
    right: 8%;
    left: 8%;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(201, 155, 22, 0.32), transparent);
}

.booking-steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.booking-steps li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #f2efe5;
    color: var(--muted);
    font-weight: 900;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.step-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    color: var(--green);
    background: rgba(82, 101, 30, 0.1);
    font-size: 15px;
    line-height: 1;
}

.booking-steps li.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 14px 34px rgba(82, 101, 30, 0.18);
}

.booking-steps li.active .step-icon {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
}

.booking-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-heading::before {
    display: inline-grid !important;
    place-items: center;
    width: 34px !important;
    height: 34px !important;
    margin-right: 0 !important;
    border-radius: 50%;
    color: var(--green);
    background: rgba(201, 155, 22, 0.16) !important;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1;
    vertical-align: 0 !important;
}

.booking-heading-home::before {
    content: "⌂" !important;
}

.booking-heading-dates::before {
    content: "↗" !important;
}

.booking-heading-details::before {
    content: "◎" !important;
}

.booking-heading-confirm::before {
    content: "✓" !important;
}

.booking-heading-home::before {
    content: "1" !important;
}

.booking-heading-dates::before {
    content: "2" !important;
}

.booking-heading-details::before {
    content: "3" !important;
}

.booking-heading-confirm::before {
    content: "4" !important;
}

.booking-flow-grid {
    display: grid;
    grid-template-columns: minmax(460px, 1.2fr) minmax(320px, 0.8fr);
    gap: 32px;
    align-items: start;
}

.booking-page-form,
.booking-side {
    position: relative;
}

.booking-page-form::after,
.booking-side::after {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 74px;
    height: 74px;
    content: "";
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 155, 22, 0.13), transparent 68%);
    pointer-events: none;
}

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

.choice-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.choice-card:hover,
.choice-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(201, 155, 22, 0.45);
    box-shadow: 0 18px 46px rgba(34, 35, 31, 0.12);
}

.choice-card:has(input:checked) {
    border-color: var(--gold);
    background: #fffaf0;
    box-shadow: 0 18px 46px rgba(201, 155, 22, 0.15);
}

.choice-card input {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
}

.choice-card img {
    width: 100%;
    aspect-ratio: 1.6;
    object-fit: cover;
    border-radius: 7px;
    transition: transform 0.35s ease;
}

.choice-card:hover img,
.choice-card:focus-within img {
    transform: scale(1.035);
}

.choice-card span {
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
}

.choice-card small {
    color: var(--muted);
    line-height: 1.5;
}

.booking-side img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 0 18px;
}

.booking-page-form .btn-primary {
    position: relative;
    overflow: hidden;
}

.booking-page-form .btn-primary::before {
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: 0;
    width: 38px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .booking-flow-grid,
    .booking-steps li,
    .choice-card,
    .booking-side {
        animation: bookingCardIn 0.65s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .booking-steps li:nth-child(2) {
        animation-delay: 0.05s;
    }

    .booking-steps li:nth-child(3) {
        animation-delay: 0.1s;
    }

    .booking-steps li:nth-child(4) {
        animation-delay: 0.15s;
    }

    .choice-card:nth-child(2) {
        animation-delay: 0.05s;
    }

    .choice-card:nth-child(3) {
        animation-delay: 0.1s;
    }

    .choice-card:nth-child(4) {
        animation-delay: 0.15s;
    }

    .choice-card:nth-child(5) {
        animation-delay: 0.2s;
    }

    .choice-card:nth-child(6) {
        animation-delay: 0.25s;
    }

    .booking-steps li.active .step-icon {
        animation: bookingStepPulse 1.8s ease-in-out infinite;
    }

    .booking-page-form .btn-primary:hover::before {
        opacity: 1;
        animation: bookingShine 0.9s ease;
    }
}

.admin-page {
    min-height: 100vh;
    background: #f6f3eb;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 24px;
    padding: 24px;
    background: #fffdf8;
    border-right: 1px solid var(--line);
}

.admin-logo img {
    width: 185px;
    height: 74px;
    object-fit: contain;
}

.admin-nav {
    display: grid;
    align-content: start;
    gap: 10px;
}

.admin-nav a {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--muted);
}

.admin-nav a span {
    color: var(--ink);
    font-weight: 900;
}

.admin-nav a small {
    line-height: 1.45;
}

.admin-nav a:hover,
.admin-nav a.active {
    border-color: rgba(201, 155, 22, 0.28);
    background: #f5f0e3;
    color: var(--green);
}

.admin-sidebar-footer {
    display: grid;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.admin-sidebar-footer a,
.admin-sidebar-footer button {
    color: var(--green);
    font-weight: 900;
}

.admin-sidebar-footer form {
    margin: 0;
}

.admin-sidebar-footer button {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-tb2x-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.admin-tb2x-badge span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.admin-tb2x-badge img {
    width: 58px;
    max-height: 24px;
    object-fit: contain;
}

.admin-main {
    width: min(100%, 1480px);
    padding: 34px 42px 74px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 30px;
}

.admin-topbar h1 {
    margin: 0 0 10px;
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
}

.admin-topbar p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.admin-topbar-actions {
    flex: 0 0 auto;
}

.admin-panel {
    margin-bottom: 28px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(35, 32, 22, 0.06);
}

.admin-section-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 22px;
}

.admin-section-title h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stat-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(35, 32, 22, 0.06);
}

.admin-stat-card span,
.admin-toolbar span {
    display: block;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-stat-card strong {
    display: block;
    margin: 8px 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1;
}

.admin-stat-card small,
.admin-toolbar {
    color: var(--muted);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px max(28px, calc((100vw - var(--container)) / 2));
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.admin-header img,
.admin-login img {
    width: 170px;
    height: 68px;
    object-fit: contain;
}

.admin-header nav {
    display: flex;
    gap: 18px;
    font-weight: 900;
}

.admin-dashboard {
    width: min(var(--container), calc(100% - 40px));
    margin: 46px auto 90px;
    display: grid;
    gap: 54px;
}

.admin-dashboard {
    width: 100%;
    margin: 0;
}

.admin-login {
    width: min(470px, calc(100% - 40px));
    margin: 70px auto;
    display: grid;
    gap: 20px;
    justify-items: center;
}

.admin-login-card {
    display: grid;
    gap: 18px;
    width: 100%;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.admin-login h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: 42px;
}

.admin-login p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.admin-count {
    align-self: center;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--green);
    background: #edf2df;
    font-weight: 900;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(35, 32, 22, 0.06);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 940px;
}

.admin-table th,
.admin-table td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--green);
    background: #fbfaf5;
    font-size: 12px;
    text-transform: uppercase;
}

.admin-quicklinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

.admin-tile {
    display: grid;
    gap: 8px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(35, 32, 22, 0.06);
}

.admin-tile span {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-tile strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.1;
}

.admin-tile small {
    color: var(--muted);
    line-height: 1.6;
}

.admin-form-grid {
    display: grid;
    gap: 22px;
}

.admin-field {
    display: grid;
    gap: 8px;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    color: var(--ink);
    font: inherit;
}

.admin-color-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.admin-color-row input[type="color"] {
    width: 74px;
    height: 48px;
    padding: 4px;
    cursor: pointer;
}

.admin-color-row strong {
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
}

.admin-field-image {
    gap: 12px;
}

.admin-image-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.admin-image-row img {
    width: 170px;
    height: 104px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.admin-savebar {
    position: sticky;
    bottom: 18px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid rgba(201, 155, 22, 0.28);
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.admin-savebar span {
    color: var(--muted);
    font-weight: 800;
}

.admin-field small {
    color: var(--muted);
}

.admin-page-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.admin-page-tabs a {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--white);
    font-weight: 900;
    font-size: 13px;
}

.admin-page-tabs a.active,
.admin-page-tabs a:hover {
    color: var(--white);
    border-color: var(--green);
    background: var(--green);
}

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

.simple-editor-help {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: #fbfaf5;
}

.simple-editor-help button,
.simple-editor-format {
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--green);
    background: var(--white);
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
}

.simple-editor-format {
    min-width: 116px;
}

.simple-editor-wrap {
    display: grid;
}

.simple-editor {
    min-height: 360px;
    padding: 20px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    color: var(--ink);
    background: var(--white);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.72;
    outline: none;
}

.simple-editor:focus {
    border-color: rgba(201, 155, 22, 0.55);
    box-shadow: 0 0 0 4px rgba(201, 155, 22, 0.11);
}

.simple-editor h2,
.simple-editor h3,
.simple-editor p,
.simple-editor ul,
.simple-editor ol {
    max-width: 760px;
}

.simple-editor h2,
.simple-editor h3 {
    margin: 18px 0 10px;
    font-family: var(--serif);
    line-height: 1.14;
}

.simple-editor h2 {
    font-size: 30px;
}

.simple-editor h3 {
    font-size: 22px;
}

.simple-editor p {
    margin: 0 0 14px;
}

.simple-editor ul,
.simple-editor ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.simple-editor a {
    color: var(--green);
    font-weight: 900;
    text-decoration: underline;
}

.admin-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    font-weight: 800;
}

.admin-check input {
    width: 18px;
    height: 18px;
}

.admin-thumb {
    width: 98px;
    height: 64px;
    object-fit: cover;
    border-radius: 7px;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.admin-toolbar strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 18px;
}

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

.admin-accommodation-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(35, 32, 22, 0.06);
}

.admin-accommodation-card > img {
    width: 100%;
    height: 100%;
    min-height: 286px;
    object-fit: cover;
}

.admin-accommodation-body {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.admin-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.admin-status {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.admin-status.is-active {
    color: #294412;
    background: #e8f2d9;
}

.admin-status.is-hidden {
    color: #7b4323;
    background: #f8e7d8;
}

.admin-accommodation-body h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 29px;
    line-height: 1.08;
}

.admin-accommodation-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.admin-mini-dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.admin-mini-dl div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
}

.admin-mini-dl dt {
    color: var(--muted);
    font-weight: 800;
}

.admin-mini-dl dd {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
}

.admin-card-actions form {
    margin: 0;
}

.admin-card-actions button,
.admin-actions-cell button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--green);
    background: #fbfaf5;
    font-weight: 900;
    cursor: pointer;
}

.admin-card-actions .admin-danger-button,
.admin-actions-cell .admin-danger-button {
    color: #8f2d16;
    border-color: rgba(143, 45, 22, 0.24);
    background: #fae8df;
}

.admin-empty {
    grid-column: 1 / -1;
    padding: 34px;
    border: 1px dashed rgba(82, 101, 30, 0.3);
    border-radius: 14px;
    background: #fffdf8;
}

.admin-empty h2 {
    margin: 0 0 10px;
    font-family: var(--serif);
    font-size: 32px;
}

.admin-empty p {
    color: var(--muted);
}

.admin-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: start;
}

.admin-preview-panel {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
}

.admin-large-preview,
.admin-preview-placeholder {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #f5f0e3;
}

.admin-preview-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
}

.admin-url-preview {
    display: grid;
    gap: 5px;
    padding: 14px;
    border-radius: 10px;
    background: #f5f0e3;
}

.admin-url-preview span {
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-url-preview strong {
    overflow-wrap: anywhere;
}

.admin-theme-preview {
    display: grid;
    gap: 12px;
    padding: 22px;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green-dark), var(--gold-dark));
}

.admin-theme-preview span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-theme-preview h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.05;
}

.admin-theme-preview p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.admin-actions-cell {
    display: grid;
    gap: 10px;
}

.admin-actions-cell form {
    margin: 0;
}

.admin-actions-cell button {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--green);
    background: #fbfaf5;
    font-weight: 900;
    cursor: pointer;
}

.booking-side h2::before,
.detail-panel h2::before,
.booking-page-form h2::before,
.admin-dashboard h1::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border-radius: 50%;
    vertical-align: -2px;
    background:
        radial-gradient(circle at center, var(--gold) 0 3px, transparent 4px),
        rgba(201, 155, 22, 0.16);
}

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

.card-price {
    margin-top: 10px !important;
    color: var(--green) !important;
    font-weight: 800;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--gold-dark);
    font-weight: 900;
}

.text-link::after {
    content: "\2192";
    font-size: 13px;
}

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

.facility-list article,
.experience-grid article,
.invest-detail article,
.booking-side {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(35, 32, 22, 0.06);
}

.facility-list span {
    display: block;
    width: 20px;
    height: 20px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--gold);
}

.facility-list h2,
.experience-grid h2,
.invest-detail h2,
.booking-side h2 {
    margin: 0 0 12px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
}

.facility-list p,
.experience-grid p,
.invest-detail p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.experience-grid,
.invest-detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.booking-page-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 0.8fr);
    gap: 34px;
    align-items: start;
}

.booking-page-form {
    padding: 38px;
}

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

.cookie-banner {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 45;
    width: min(640px, calc(100% - 56px));
    display: none;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(201, 155, 22, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 80px rgba(27, 31, 17, 0.2);
    backdrop-filter: blur(16px);
}

.cookie-banner.is-visible {
    display: grid;
}

.cookie-banner strong {
    display: block;
    margin-bottom: 5px;
    color: var(--green);
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.1;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.cookie-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 12px 28px rgba(82, 101, 30, 0.22);
    font-weight: 900;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.go-up-button {
    position: fixed;
    right: 28px;
    bottom: 112px;
    z-index: 42;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(201, 155, 22, 0.22);
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 16px 40px rgba(27, 31, 17, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.go-up-button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.maintenance-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    color: var(--ink);
    background:
        linear-gradient(120deg, rgba(18, 26, 9, 0.62), rgba(82, 101, 30, 0.22)),
        var(--maintenance-image) center / cover;
}

.maintenance-card {
    width: min(760px, 100%);
    padding: clamp(34px, 8vw, 72px);
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 18px;
    text-align: center;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 30px 90px rgba(17, 24, 9, 0.28);
}

.maintenance-card img {
    width: min(260px, 80%);
    height: 105px;
    object-fit: contain;
    margin-bottom: 22px;
}

.maintenance-card h1 {
    max-width: 620px;
    margin: 0 auto 18px;
    font-family: var(--serif);
    font-size: clamp(42px, 9vw, 76px);
    line-height: 1;
    font-weight: 600;
}

.maintenance-card p:not(.eyebrow) {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: clamp(17px, 4vw, 21px);
    line-height: 1.6;
}

.site-footer img {
    width: 150px;
    height: 56px;
    object-fit: contain;
}

.install-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--cream);
}

.install-card {
    width: min(540px, calc(100% - 40px));
    padding: 42px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.install-logo {
    width: 230px;
    margin: 0 auto 24px;
}

.install-card h1 {
    font-family: var(--serif);
    font-weight: 500;
}

@media (max-width: 1080px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-main {
        padding: 28px 24px 60px;
    }

    .admin-stat-grid,
    .admin-accommodation-grid,
    .admin-edit-layout {
        grid-template-columns: 1fr;
    }

    .admin-preview-panel {
        position: static;
    }

    .admin-accommodation-card {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .site-header {
        padding: 14px 24px;
        grid-template-columns: auto auto;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle-label {
        display: flex;
        justify-self: end;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid var(--line);
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        width: 20px;
        height: 2px;
        content: "";
        background: var(--green);
    }

    .nav-toggle-label span {
        position: relative;
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        position: absolute;
        left: 0;
    }

    .nav-toggle-label span::before {
        top: -7px;
    }

    .nav-toggle-label span::after {
        top: 7px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav a {
        padding: 14px;
    }

    .nav-toggle:checked ~ .main-nav {
        display: flex;
    }

    .booking-form {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .booking-form-compact,
    .listing-grid,
    .facility-list,
    .experience-grid,
    .invest-detail,
    .booking-page-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-form label {
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 10px;
    }

    .section-grid,
    .bungalows,
    .spain,
    .detail-hero,
    .detail-layout,
    .booking-flow-grid {
        grid-template-columns: 1fr;
    }

    .detail-panel {
        position: static;
    }

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

    .bungalow-cards {
        grid-template-columns: repeat(3, minmax(210px, 1fr));
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }
}

@media (max-width: 680px) {
    .admin-main {
        padding: 24px 16px 50px;
    }

    .admin-topbar,
    .admin-section-title,
    .admin-toolbar,
    .admin-savebar {
        display: grid;
        align-items: start;
    }

    .admin-nav,
    .admin-stat-grid,
    .admin-quicklinks,
    .admin-accommodation-grid,
    .admin-accommodation-card,
    .admin-image-row {
        grid-template-columns: 1fr;
    }

    .admin-accommodation-card > img {
        min-height: 220px;
        aspect-ratio: 1.45;
    }

    .site-header {
        min-height: 78px;
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 12px 34px rgba(35, 32, 22, 0.08);
    }

    .brand img {
        width: 132px;
        height: 54px;
    }

    .hero {
        min-height: 610px;
        padding: 118px 22px 122px;
        align-items: end;
        background-position: center top;
    }

    .hero-content {
        transform: translateY(0);
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 56px);
        line-height: 0.98;
        text-shadow: 0 3px 18px rgba(18, 26, 9, 0.34);
    }

    .hero p {
        font-size: 17px;
        line-height: 1.55;
        text-shadow: 0 2px 14px rgba(18, 26, 9, 0.36);
    }

    .location-pill {
        display: none;
    }

    .booking-panel {
        width: calc(100% - 26px);
        margin-top: -38px;
        border-radius: 18px;
    }

    .booking-form {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 12px;
    }

    .booking-form label {
        min-height: 94px;
        padding: 16px 18px;
        align-content: center;
    }

    .booking-form input[type="date"],
    .booking-form select,
    .booking-form input {
        min-height: 30px;
        font-size: 19px;
        text-align: left;
    }

    .booking-form input[type="date"]::-webkit-date-and-time-value {
        text-align: left;
    }

    .booking-form-compact,
    .listing-grid,
    .facility-list,
    .experience-grid,
    .invest-detail,
    .booking-page-grid,
    .news-grid,
    .admin-quicklinks,
    .choice-grid,
    .detail-gallery,
    .booking-steps,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .page-hero {
        min-height: 430px;
        padding: 48px 24px;
    }

    .listing-section,
    .facility-list,
    .experience-grid,
    .invest-detail,
    .booking-page-grid,
    .news-section,
    .detail-hero,
    .detail-layout,
    .booking-flow {
        width: calc(100% - 32px);
        margin: 64px auto;
    }

    .custom-page-content {
        width: calc(100% - 32px);
        margin: 54px auto 72px;
        padding: 26px 22px;
        border-radius: 8px;
    }

    .custom-page-content p,
    .custom-page-content li {
        font-size: 16px;
        line-height: 1.7;
    }

    .detail-hero {
        margin-top: 36px;
        gap: 28px;
    }

    .booking-steps li {
        text-align: left;
    }

    .section-heading-row {
        display: grid;
        align-items: start;
    }

    .section-grid {
        width: calc(100% - 32px);
        margin: 64px auto;
        gap: 30px;
    }

    .features,
    .spain-stats {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
    }

    .features article,
    .spain-stats span {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .spain {
        padding: 58px 24px 24px;
    }

    .bungalow-cards {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .invest {
        width: calc(100% - 32px);
        padding: 34px 24px;
    }

    .site-footer {
        padding: 44px 24px 24px;
    }

    .site-footer img {
        width: 168px;
        height: 72px;
        object-fit: contain;
    }

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

    .footer-brand {
        justify-items: center;
        text-align: center;
    }

    .footer-column {
        justify-items: center;
        text-align: center;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-meta,
    .tb2x-credit {
        justify-self: center;
    }

    .cookie-banner {
        right: 14px;
        bottom: 14px;
        width: calc(100% - 28px);
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .cookie-actions {
        grid-column: 1 / -1;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-actions .btn {
        flex: 1;
    }

    .go-up-button {
        right: 16px;
        bottom: 122px;
        width: 44px;
        height: 44px;
    }
}
