@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #f4eee5;
    --surface: #fbf8f2;
    --surface-strong: #fffdf9;
    --text: #1f1a17;
    --muted: #6a6156;
    --line: #dbcbb6;
    --brand: #9d7240;
    --brand-dark: #5b4023;
    --brand-soft: #d8b785;
    --ink-soft: #3b342e;
    --success: #2e7d32;
    --danger: #b23a2c;
    --warning: #b9851d;
    --shadow: 0 18px 46px rgba(50, 35, 17, 0.08);
    --shadow-strong: 0 28px 70px rgba(44, 30, 13, 0.14);
    --radius: 24px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(216, 183, 133, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(157, 114, 64, 0.08), transparent 24%),
        linear-gradient(180deg, #fbf7f1 0%, var(--bg) 58%, #f2eadf 100%);
    color: var(--text);
    font: 16px/1.7 "Inter", "Helvetica Neue", sans-serif;
}

body:not(.admin-body) p,
body:not(.admin-body) li,
body:not(.admin-body) blockquote,
body:not(.admin-body) .lead,
body:not(.admin-body) .hero-note,
body:not(.admin-body) .detail-item span {
    text-align: justify;
    text-justify: inter-word;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

.shell {
    width: min(1320px, calc(100% - 3rem));
    margin: 0 auto;
}

.narrow-shell {
    width: min(520px, calc(100% - 2rem));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(250, 246, 240, 0.84);
    border-bottom: 1px solid rgba(157, 114, 64, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

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

.brand span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand strong {
    font-size: 1rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand small,
.muted {
    color: var(--muted);
}

.nav-toggle {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-strong);
    padding: 0.7rem 1rem;
    color: var(--brand-dark);
}

.site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.site-nav.is-open {
    display: flex;
}

.site-nav a {
    padding: 0.85rem 1rem;
    border-radius: 14px;
}

.language-switcher {
    width: 100%;
}

.language-switcher summary {
    width: 100%;
}

.language-switcher-menu {
    position: static;
    margin-top: 0.45rem;
    min-width: 100%;
    box-shadow: none;
}

.language-switcher {
    position: relative;
}

.language-switcher summary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    min-width: 148px;
    padding: 0.78rem 0.95rem;
    border: 1px solid rgba(157, 114, 64, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--brand-dark);
    cursor: pointer;
    list-style: none;
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

.language-switcher-caret {
    font-size: 0.85rem;
    opacity: 0.72;
    transition: transform 0.2s ease;
}

.language-switcher[open] .language-switcher-caret {
    transform: rotate(180deg);
}

.language-switcher-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    z-index: 30;
    display: grid;
    min-width: 210px;
    padding: 0.45rem;
    border: 1px solid rgba(157, 114, 64, 0.16);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 18px 46px rgba(50, 35, 17, 0.1);
}

.language-switcher-menu a {
    padding: 0.72rem 0.9rem;
    border-radius: 12px;
    color: var(--brand-dark);
    font-size: 0.92rem;
    line-height: 1.2;
}

.language-switcher-menu a:hover,
.language-switcher-menu a.is-active {
    background: rgba(157, 114, 64, 0.12);
}

.site-nav a:hover,
.site-nav a.is-active {
    background: rgba(157, 114, 64, 0.12);
    color: var(--brand-dark);
}

.admin-link {
    border: 1px solid rgba(136, 97, 59, 0.2);
}

.hero,
.page-hero {
    padding: 3rem 0 2rem;
}

.home-hero {
    padding-top: 2rem;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(247, 242, 234, 0.96), rgba(247, 242, 234, 0.78) 48%, rgba(247, 242, 234, 0.94)),
        url("../images/image-sezione.jpg") center / cover no-repeat;
    border-bottom: 1px solid rgba(136, 97, 59, 0.1);
}

.page-hero::before {
    content: "";
    position: absolute;
    right: clamp(1rem, 7vw, 5rem);
    top: 50%;
    width: clamp(88px, 13vw, 148px);
    aspect-ratio: 1.32;
    background: url("../images/logo.png") center / contain no-repeat;
    opacity: 0.18;
    transform: translateY(-50%);
    pointer-events: none;
}

.page-hero .page-intro-shell {
    position: relative;
    z-index: 1;
}

.hero-grid,
.page-panel,
.contact-grid,
.admin-grid,
.room-detail,
.room-detail-layout,
.footer-grid {
    display: grid;
    gap: 1.25rem;
}

.hero-grid {
    align-items: center;
}

.hero-card,
.card,
.page-panel,
.calendar-table-wrap,
.map-card,
.flash {
    background: var(--surface-strong);
    border: 1px solid rgba(157, 114, 64, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.bot-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hero-card {
    padding: 0.85rem;
    background: linear-gradient(160deg, rgba(255,255,255,0.94), rgba(247, 238, 225, 0.9));
}

.hero-card img,
.page-panel img,
.room-card img,
.room-gallery img,
.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius) - 8px);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
}

h1,
h2,
h3 {
    margin: 0 0 0.75rem;
    line-height: 1.15;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
}

h3 {
    font-size: 1.1rem;
}

.lead {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 62ch;
}

.hero-note {
    max-width: 58ch;
    margin: 0 0 1.25rem;
    color: var(--ink-soft);
}

.home-slider,
.villa-slider {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: 32px;
    border: 1px solid rgba(157, 114, 64, 0.14);
    box-shadow: var(--shadow-strong);
    background: #1e1813;
}

.home-slider-track {
    position: relative;
    min-height: inherit;
}

.home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.home-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.home-slide img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.home-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, rgba(22, 18, 14, 0.08) 8%, rgba(22, 18, 14, 0.76) 100%);
    color: #fffaf2;
}

.home-slide-overlay .lead,
.home-slide-overlay .hero-note,
.home-slide-overlay .eyebrow,
.home-slide-overlay h1 {
    color: inherit;
}

.home-slide-caption {
    position: absolute;
    left: clamp(1.5rem, 4vw, 3.5rem);
    bottom: 1rem;
    margin: 0;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(251, 248, 242, 0.12);
    color: #f7efe1;
    font-size: 0.92rem;
    backdrop-filter: blur(10px);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(251, 248, 242, 0.18);
    color: #fffaf2;
    font-size: 2rem;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.carousel-arrow-prev {
    left: 1rem;
}

.carousel-arrow-next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
    z-index: 2;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.carousel-dots button.is-active {
    background: #fffaf2;
}

.home-story-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.1rem;
}

.home-story-gallery img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
}

.villa-slide img {
    min-height: 520px;
}

.villa-story-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.villa-story-card {
    padding: 1.4rem;
}

.button,
.ghost-button,
.text-link,
.link-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.9rem 1.25rem;
    font-weight: 600;
}

.button {
    background: linear-gradient(135deg, var(--brand) 0%, #7d5730 100%);
    color: white;
    border: 0;
    box-shadow: 0 12px 28px rgba(93, 64, 35, 0.18);
}

.button:hover {
    background: var(--brand-dark);
}

.ghost-button {
    border: 1px solid rgba(157, 114, 64, 0.22);
    background: rgba(255,255,255,0.36);
    color: var(--brand-dark);
}

.text-link {
    padding: 0;
    color: var(--brand-dark);
}

.small {
    padding: 0.65rem 0.9rem;
    font-size: 0.92rem;
}

.inline-actions,
.hero-actions,
.room-meta,
.split-heading,
.form-two,
.list-row,
.inline-status {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.stacked-section,
.page-content {
    padding: 1.5rem 0 2rem;
}

.section-heading,
.split-heading {
    margin-bottom: 1.1rem;
}

.feature-grid,
.room-grid,
.stat-grid,
.media-grid {
    display: grid;
    gap: 1rem;
}

.card,
.room-card-body,
.admin-main {
    padding: 1rem;
}

.card h3 + p,
.card h2 + p {
    color: var(--ink-soft);
}

.page-panel,
.room-card,
.contact-card {
    overflow: hidden;
}

.page-panel img {
    min-height: 240px;
}

.room-detail-layout {
    align-items: start;
    padding-bottom: 2rem;
}

.room-main {
    display: grid;
    gap: 1.25rem;
}

.room-sidebar {
    display: grid;
    gap: 1rem;
}

.room-sidebar-card {
    position: sticky;
    top: 6.5rem;
}

.room-description-card h2,
.room-sidebar-card h2 {
    margin-bottom: 0.5rem;
}

.room-sections {
    display: grid;
    gap: 1rem;
}

.details-grid {
    display: grid;
    gap: 0.85rem;
}

.detail-item {
    display: grid;
    gap: 0.15rem;
    padding: 0.9rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(157, 114, 64, 0.08), rgba(255,255,255,0.62));
}

.detail-item strong {
    color: var(--brand-dark);
}

.info-list {
    margin: 0;
    padding-left: 1.1rem;
}

.info-list li + li {
    margin-top: 0.6rem;
}

.info-stack {
    display: grid;
    gap: 0.75rem;
}

.info-stack p {
    margin: 0;
}

.rate-table-wrap {
    overflow-x: auto;
}

.rate-table {
    width: 100%;
    border-collapse: collapse;
}

.rate-table th,
.rate-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #eee2d3;
    text-align: center;
}

.rate-table th {
    background: linear-gradient(135deg, #c79c59, #9a6f3c);
    color: white;
}

.mini-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mini-gallery img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
}

.room-quote {
    margin: 0;
    color: var(--muted);
    font-style: italic;
    line-height: 1.8;
}

.room-card {
    background: var(--surface-strong);
    border: 1px solid rgba(157, 114, 64, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.room-card-cover {
    display: block;
    overflow: hidden;
}

.room-card img {
    aspect-ratio: 4 / 3;
    transition: transform 0.35s ease;
}

.room-card:hover img {
    transform: scale(1.03);
}

.room-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.room-title-link {
    color: inherit;
}

.room-title-link:hover {
    color: var(--brand-dark);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pill-list li {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(157, 114, 64, 0.08);
    color: var(--brand-dark);
    font-size: 0.92rem;
}

.calendar-table-wrap {
    overflow-x: auto;
}

.calendar-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.calendar-table th,
.calendar-table td {
    padding: 0.6rem;
    border-bottom: 1px solid #efe5d7;
    text-align: center;
}

.calendar-table th:first-child,
.calendar-table td:first-child {
    position: sticky;
    left: 0;
    background: #fffdf9;
}

.calendar-table td span,
.calendar-table td small {
    display: block;
}

.status-available {
    background: rgba(46, 125, 50, 0.1);
}

.status-booked {
    background: rgba(178, 58, 44, 0.12);
}

.status-blocked {
    background: rgba(185, 133, 29, 0.16);
}

.availability-month-shell {
    display: grid;
    gap: 1.5rem;
}

.availability-rate-note {
    max-width: 780px;
    margin-top: 1rem;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.7;
}

.availability-toolbar {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.availability-selection-help {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(157, 114, 64, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(157, 114, 64, 0.08);
    color: var(--brand-dark);
    font-weight: 700;
}

.availability-legend {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 253, 249, 0.82);
}

.availability-legend span {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    font-size: 0.92rem;
    color: var(--muted);
}

.status-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    display: inline-block;
}

.availability-month {
    display: grid;
    gap: 1rem;
}

.availability-month-heading {
    align-items: center;
}

.month-nav {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.month-nav-button {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    font-size: 1.65rem;
    line-height: 1;
}

.month-nav-button.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.month-weekdays,
.availability-month-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.55rem;
}

.month-weekdays span {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-dark);
}

.availability-day {
    min-height: 178px;
    display: grid;
    align-content: start;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1px solid #eadbc6;
    border-radius: var(--radius-sm);
    background: #fffdf9;
}

.availability-day-muted {
    background: rgba(255, 253, 249, 0.42);
}

.availability-day-empty {
    min-height: 178px;
    border: 0;
    background: transparent;
}

.availability-day-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.45rem;
    color: var(--ink);
}

.availability-day-head strong {
    font-size: 1.2rem;
    font-family: var(--font-serif);
}

.availability-day-head span {
    font-size: 0.78rem;
    color: var(--muted);
}

.availability-room-lines {
    display: grid;
    gap: 0.45rem;
}

.availability-room-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.2rem 0.45rem;
    align-items: center;
    padding: 0.5rem 0.55rem;
    border-left: 4px solid rgba(46, 125, 50, 0.48);
    border-radius: 8px;
    background: rgba(46, 125, 50, 0.08);
}

.availability-room-line span {
    min-width: 0;
    font-weight: 700;
    font-size: 0.82rem;
}

.availability-room-line strong {
    font-size: 0.78rem;
    color: var(--brand-dark);
}

.availability-room-line small {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.72rem;
}

.availability-room-request {
    grid-column: 1 / -1;
    width: fit-content;
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
    cursor: pointer;
}

.availability-room-request.is-selected {
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    background: rgba(157, 114, 64, 0.16);
    text-decoration: none;
}

.availability-selection-tooltip {
    grid-column: 1 / -1;
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    background: var(--brand-dark);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.35;
}

.status-border-booked {
    border-left-color: rgba(178, 58, 44, 0.64);
    background: rgba(178, 58, 44, 0.09);
}

.status-border-blocked {
    border-left-color: rgba(185, 133, 29, 0.68);
    background: rgba(185, 133, 29, 0.11);
}

.availability-no-data {
    color: var(--muted);
}

.mobile-calendar-list {
    display: grid;
    gap: 1rem;
}

.range-list {
    display: grid;
    gap: 0.75rem;
}

.range-item {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(136, 97, 59, 0.06);
}

.stack-form {
    display: grid;
    gap: 0.9rem;
}

.stack-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.stack-form input,
.stack-form textarea,
.stack-form select,
.newsletter-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    padding: 0.9rem 1rem;
}

.newsletter-form {
    display: grid;
    gap: 0.75rem;
}

.newsletter-form button {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand) 0%, #7d5730 100%);
    color: white;
    padding: 0.85rem 1rem;
}

.form-errors,
.flash {
    padding: 0.9rem 1rem;
    margin: 1rem auto;
}

.flash-success {
    border-left: 4px solid var(--success);
}

.flash-error,
.form-errors {
    border-left: 4px solid var(--danger);
    color: var(--danger);
}

.map-card iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: inherit;
}

.map-card.compact iframe {
    min-height: 280px;
}

.site-footer {
    padding: 2.8rem 0 3.2rem;
    background:
        linear-gradient(180deg, rgba(36, 27, 20, 0.98), rgba(27, 20, 15, 1)),
        #1f1712;
    color: #f5ede1;
    border-top: 1px solid rgba(216, 183, 133, 0.12);
}

.site-footer h3,
.site-footer p,
.site-footer a {
    color: inherit;
}

.site-footer .eyebrow {
    color: var(--brand-soft);
}

.admin-body {
    background: #f5efe5;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    gap: 1rem;
}

.admin-sidebar {
    background: #241b14;
    color: #f8f1e7;
    padding: 1rem;
}

.brand-admin img {
    background: white;
    border-radius: 999px;
}

.admin-nav {
    display: grid;
    gap: 0.3rem;
    margin: 1.5rem 0;
}

.admin-nav a {
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-main {
    padding-bottom: 3rem;
}

.admin-header {
    margin-bottom: 1rem;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    color: var(--brand-dark);
}

.simple-list {
    display: grid;
    gap: 1rem;
}

.simple-list > div,
.contact-card,
.media-card {
    padding: 0.85rem;
    border: 1px solid #eee0cd;
    border-radius: 14px;
    background: #fffdfa;
}

.contact-card,
.media-card {
    display: grid;
    gap: 0.75rem;
}

.link-danger {
    padding: 0;
    color: var(--danger);
}

.media-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.media-card img {
    aspect-ratio: 1 / 1;
}

.video-placeholder {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: linear-gradient(135deg, #d7c0a4, #aa7e55);
    color: white;
    font-weight: 700;
}

.auth-card {
    padding: 4rem 0;
}

.footer-grid,
.contact-grid,
.admin-grid,
.feature-grid,
.room-grid,
.stat-grid,
.hero-grid,
.page-panel,
.room-detail,
.room-detail-layout {
    grid-template-columns: 1fr;
}

.mobile-calendar-list {
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    body {
        font-size: 17px;
        line-height: 1.7;
    }

    .site-header {
        background: rgba(247, 242, 234, 0.78);
        border-bottom: 1px solid rgba(136, 97, 59, 0.1);
    }

    .header-inner {
        gap: 2rem;
        padding: 1rem 0;
    }

    .brand img {
        width: 58px;
        height: 58px;
    }

    .brand strong {
        font-size: 1.08rem;
    }

    .brand small {
        font-size: 0.95rem;
    }

    .site-nav {
        gap: 0.5rem;
    }

    .site-nav a {
        padding: 0.85rem 1.1rem;
        transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

    .site-nav a:hover {
        transform: translateY(-1px);
    }

    .hero,
    .page-hero {
        padding: 5rem 0 2.4rem;
    }

    .page-hero::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(136, 97, 59, 0.12), transparent);
    }

    h1 {
        font-size: clamp(3.4rem, 5vw, 5.4rem);
    }

    h2 {
        font-size: clamp(1.9rem, 3vw, 2.8rem);
    }

    .lead {
        font-size: 1.15rem;
        max-width: 54ch;
    }

    .stacked-section,
    .page-content {
        padding: 2.25rem 0 3rem;
    }

    .card,
    .room-card-body,
    .admin-main {
        padding: 1.35rem;
    }

    .hero-card {
        padding: 1rem;
        border-radius: 28px;
    }

    .hero-card img {
        min-height: 420px;
        aspect-ratio: 16 / 10;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
        gap: 2.2rem;
    }

    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .room-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.35rem;
    }

    .room-card {
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .room-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 48px rgba(60, 43, 21, 0.12);
    }

    .page-panel {
        grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
        gap: 1.5rem;
        padding: 1rem;
    }

    .page-panel img {
        min-height: 320px;
    }

    .room-detail-layout {
        grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr);
        gap: 1.5rem;
    }

    .room-main {
        gap: 1.5rem;
    }

    .room-gallery {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .room-gallery img:first-child {
        grid-column: 1 / -1;
        min-height: 420px;
    }

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

    .contact-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
        gap: 1.5rem;
        align-items: start;
    }

    .stacked-info {
        display: grid;
        gap: 1rem;
    }

    .site-footer {
        padding: 3rem 0 3.4rem;
    }
}

@media (min-width: 768px) {
    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .language-switcher {
        width: auto;
        margin-left: 0.35rem;
    }

    .language-switcher summary {
        width: auto;
        min-width: 138px;
    }

    .language-switcher-menu {
        position: absolute;
        margin-top: 0;
        min-width: 210px;
        box-shadow: 0 18px 46px rgba(50, 35, 17, 0.1);
    }

    .nav-toggle {
        display: none;
    }

    .hero,
    .page-hero {
        padding: 4.5rem 0 2rem;
    }

    .hero-grid,
    .page-panel,
    .contact-grid,
    .room-detail {
        grid-template-columns: 1.08fr 1fr;
    }

    .room-detail-layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    }

    .feature-grid,
    .room-grid,
    .stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .admin-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

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

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

    .mobile-calendar-list {
        display: none;
    }

    .admin-shell {
        grid-template-columns: 280px 1fr;
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        min-height: 100vh;
    }
}

@media (min-width: 1400px) {
    .shell {
        width: min(1520px, calc(100% - 4.5rem));
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
        gap: 2.6rem;
    }

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

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .calendar-table-wrap {
        display: none;
    }

    .availability-legend {
        gap: 0.65rem;
    }

    .month-weekdays {
        display: none;
    }

    .availability-month-grid {
        grid-template-columns: 1fr;
    }

    .availability-day,
    .availability-day-empty {
        min-height: 0;
    }

    .availability-day-empty {
        display: none;
    }

    .shell {
        width: min(100% - 1.25rem, 1120px);
    }

    .site-header {
        backdrop-filter: blur(10px);
    }

    .header-inner {
        padding: 0.7rem 0;
        gap: 0.75rem;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand strong {
        font-size: 0.95rem;
    }

    .brand small {
        font-size: 0.8rem;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    h2 {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .hero,
    .page-hero {
        padding: 2rem 0 1.3rem;
    }

    .lead {
        font-size: 1rem;
    }

    .card,
    .room-card-body,
    .admin-main {
        padding: 0.95rem;
    }

    .hero-card {
        padding: 0.55rem;
    }

    .hero-card img,
    .page-panel img {
        min-height: 220px;
    }

    .stacked-section,
    .page-content {
        padding: 1.1rem 0 1.6rem;
    }

    .feature-grid,
    .room-grid,
    .stat-grid,
    .media-grid,
    .room-sections,
    .details-grid {
        gap: 0.85rem;
    }

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

    .mini-gallery {
        grid-template-columns: 1fr;
    }

    .room-sidebar-card {
        position: static;
    }

    .site-footer {
        padding: 2rem 0 2.4rem;
    }
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.85rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(216, 183, 133, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
}

.home-story-panel {
    align-items: start;
}

.poem-card {
    align-self: stretch;
}

.home-feature-grid .card,
.home-essentials .card {
    padding: 1.35rem;
}

.review-window {
    position: relative;
    overflow: hidden;
    padding: clamp(1.3rem, 3vw, 2.2rem);
    border: 1px solid rgba(157, 114, 64, 0.14);
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(216, 183, 133, 0.32), transparent 30%),
        linear-gradient(135deg, rgba(255, 253, 249, 0.96), rgba(246, 237, 224, 0.88));
    box-shadow: var(--shadow-strong);
}

.review-window::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(157, 114, 64, 0.1);
    pointer-events: none;
}

.review-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.review-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.15rem;
    border: 1px solid rgba(157, 114, 64, 0.12);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.82);
    box-shadow: 0 18px 38px rgba(55, 36, 18, 0.08);
}

.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.review-platform {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
}

.review-badge,
.review-volume {
    color: var(--brand-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.review-badge {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(157, 114, 64, 0.1);
}

.review-score {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 0.95;
    color: var(--brand-dark);
}

.review-note {
    position: relative;
    z-index: 1;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.table-card {
    overflow-x: auto;
    border: 1px solid rgba(157, 114, 64, 0.1);
    border-radius: var(--radius);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.rates-page-table th:first-child,
.rates-page-table td:first-child,
.admin-rate-table th:first-child,
.admin-rate-table td:first-child {
    min-width: 180px;
}

.rate-input {
    width: 110px;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.rates-info-stack {
    margin-top: 1rem;
}

.rates-public-shell .table-card,
.rates-public-shell .info-stack,
.rates-request-grid {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .home-story-panel {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    }

    .page-preview-card {
        grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
    }

    .rooms-index-grid,
    .offers-grid-public {
        grid-template-columns: repeat(auto-fit, minmax(290px, 360px));
        justify-content: center;
    }

    .rates-request-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    }
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.concierge-intro,
.concierge-sections {
    padding: 1.2rem 0 2rem;
}

.concierge-banner {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    background:
        linear-gradient(145deg, rgba(255, 252, 247, 0.96), rgba(246, 234, 214, 0.95)),
        var(--surface-strong);
    border: 1px solid rgba(157, 114, 64, 0.16);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow-strong);
}

.concierge-pills {
    align-self: end;
}

.concierge-category {
    padding: 1rem 0 1.2rem;
}

.concierge-grid {
    display: grid;
    gap: 1rem;
}

.concierge-card {
    padding: 1.35rem;
}

.concierge-card-top,
.concierge-meta,
.concierge-actions,
.inline-checks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
}

.concierge-card-top,
.concierge-meta {
    justify-content: space-between;
}

.concierge-card-top {
    margin-bottom: 0.85rem;
}

.concierge-town,
.concierge-rating {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.concierge-town {
    color: var(--brand);
}

.concierge-rating {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(157, 114, 64, 0.12);
    color: var(--brand-dark);
}

.concierge-tagline {
    margin: 0 0 0.55rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.concierge-meta {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.concierge-actions {
    margin-top: 1rem;
}

.concierge-mini-card {
    padding: 1.25rem;
}

.concierge-preview {
    padding-top: 1.1rem;
}

.admin-section-card {
    margin-top: 1.2rem;
}

.closed-contacts-card {
    border-color: rgba(89, 79, 69, 0.12);
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.92), rgba(247, 242, 234, 0.7));
}

.closed-contacts-box {
    display: grid;
    gap: 1rem;
}

.closed-contacts-box summary {
    cursor: pointer;
    color: var(--brand-dark);
    font-weight: 700;
}

.closed-contacts-box .simple-list {
    margin-top: 1rem;
}

.contact-card.is-closed {
    opacity: 0.78;
    background: rgba(247, 242, 234, 0.58);
}

.marketing-directory-card {
    align-self: start;
}

.address-book {
    display: grid;
    gap: 1rem;
}

.address-book summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
}

.address-book summary::-webkit-details-marker {
    display: none;
}

.address-book summary strong {
    display: block;
    font-size: 1.25rem;
}

.address-book summary small {
    display: block;
    color: var(--muted);
    line-height: 1.5;
}

.address-book-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1rem;
}

.address-book-index a {
    min-width: 2rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(157, 114, 64, 0.18);
    border-radius: 999px;
    color: var(--brand-dark);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.address-book-groups {
    display: grid;
    gap: 1.1rem;
    margin-top: 1rem;
    max-height: 680px;
    overflow: auto;
    padding-right: 0.2rem;
}

.address-book-group {
    display: grid;
    gap: 0.7rem;
}

.address-book-letter {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(157, 114, 64, 0.14);
    border-radius: 999px;
    background: rgba(247, 242, 234, 0.96);
    color: var(--brand-dark);
    font-size: 0.85rem;
}

.admin-contacts-layout {
    align-items: start;
}

.admin-pages-layout,
.rates-request-grid {
    align-items: start;
}

.admin-message-box {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(157, 114, 64, 0.08), rgba(255, 255, 255, 0.78));
    border: 1px solid rgba(157, 114, 64, 0.14);
}

.admin-translation-panel {
    margin-top: 1rem;
    display: grid;
    gap: 0.75rem;
}

.admin-inline-label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.admin-inline-label select {
    min-width: 180px;
}

.admin-translate-form {
    margin-top: 1rem;
}

.admin-qr {
    margin-top: 0.85rem;
    width: 220px;
    max-width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(157, 114, 64, 0.12);
    background: #fff;
    padding: 0.5rem;
}

.page-preview-card {
    display: grid;
    gap: 1rem;
}

.page-preview-card img {
    width: 100%;
    min-height: 240px;
    object-fit: cover;
    border-radius: 18px;
}

.page-preview-body {
    display: grid;
    gap: 0.75rem;
}

.current-page-row {
    gap: 1rem;
}

.recipient-directory {
    max-height: 720px;
    overflow: auto;
}

.recipient-card {
    align-items: start;
}

.inline-badges {
    justify-content: flex-start;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(157, 114, 64, 0.08);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 600;
}

.recipient-picker {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(157, 114, 64, 0.12);
    border-radius: 18px;
    background: rgba(255, 252, 247, 0.72);
}

.recipient-checklist {
    display: grid;
    gap: 0.65rem;
    max-height: 260px;
    overflow: auto;
}

.recipient-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(157, 114, 64, 0.06);
    font-weight: 500;
}

.recipient-option input {
    width: auto;
    margin-top: 0.2rem;
}

.admin-table-card {
    margin-top: 0.75rem;
}

.admin-place-list {
    display: grid;
    gap: 0.9rem;
}

.admin-place-item {
    border: 1px solid rgba(157, 114, 64, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.75);
    overflow: hidden;
}

.admin-place-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    list-style: none;
}

.admin-place-item summary::-webkit-details-marker {
    display: none;
}

.admin-place-item summary span {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.admin-place-item > form {
    padding: 0 1.1rem 1rem;
}

.inline-delete {
    padding: 0 1.1rem 1.05rem;
}

@media (min-width: 768px) {
    .concierge-banner {
        grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
        align-items: end;
    }

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

@media (min-width: 1100px) {
    .concierge-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-slider,
    .villa-slider,
    .home-slide img,
    .villa-slide img {
        min-height: 440px;
    }

    .home-story-gallery {
        grid-template-columns: 1fr;
    }

    .carousel-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.6rem;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .concierge-banner {
        padding: 1.3rem;
    }

    .concierge-card {
        padding: 1.1rem;
    }

    .concierge-actions .button,
    .concierge-actions .ghost-button {
        width: 100%;
    }
}
