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

:root {
    --ink: #161310;
    --ink-soft: #3f3832;
    --muted: #7a7168;
    --paper: #f4eee4;
    --paper-deep: #ebe3d4;
    --cream: #faf6ef;
    --white: #fffdf8;
    --gold: #b08958;
    --gold-deep: #8c6840;
    --gold-soft: #e8d4b4;
    --line: rgba(22, 19, 16, 0.08);
    --line-strong: rgba(22, 19, 16, 0.14);
    --overlay: rgba(14, 11, 9, 0.46);
    --shadow: 0 18px 50px rgba(22, 19, 16, 0.08);
    --shadow-lg: 0 30px 80px rgba(22, 19, 16, 0.16);
    --radius: 22px;
    --radius-sm: 14px;
    --header-h: 84px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.01em;
    min-height: 100vh;
}

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

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

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.container-wide {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(250, 246, 239, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 40px rgba(22, 19, 16, 0.05);
}

.site-header.is-home {
    position: absolute;
    left: 0;
    right: 0;
    background: transparent;
    color: var(--white);
}

.site-header.is-home.is-scrolled,
.site-header.is-home.nav-open {
    position: sticky;
    background: rgba(22, 19, 16, 0.88);
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
    gap: 5px;
}

.brand-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.brand-tag {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.68;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 10px 14px;
    border-radius: 999px;
    opacity: 0.78;
    transition: opacity 0.25s var(--ease), background 0.25s var(--ease);
}

.nav a:hover,
.nav a.active {
    opacity: 1;
}

.nav a.active {
    background: rgba(176, 137, 88, 0.14);
}

.nav-cta {
    background: var(--ink) !important;
    color: var(--cream) !important;
    opacity: 1 !important;
    margin-left: 8px;
}

.site-header.is-home .nav-cta {
    background: var(--white) !important;
    color: var(--ink) !important;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    position: absolute;
    left: 13px;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle span {
    top: 21px;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
}

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

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

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    padding: 160px 0 88px;
    color: var(--white);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14, 11, 9, 0.28) 0%, rgba(14, 11, 9, 0.18) 35%, rgba(14, 11, 9, 0.72) 100%),
        url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=2400&q=80') center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0.82;
}

.hero h1,
.display {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.hero h1 {
    font-size: clamp(3.2rem, 7vw, 6.4rem);
    max-width: 11ch;
    margin-bottom: 18px;
}

.hero-lead {
    max-width: 34rem;
    font-size: 1.05rem;
    font-weight: 300;
    opacity: 0.86;
    margin-bottom: 36px;
}

.search-desk {
    background: rgba(255, 253, 248, 0.96);
    color: var(--ink);
    border-radius: 28px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--cream);
}

.search-field label {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.search-field input,
.search-field select {
    border: 0;
    background: transparent;
    font-size: 1rem;
    color: var(--ink);
    outline: none;
    width: 100%;
}

.search-field input::placeholder {
    color: #b3aaa0;
}

.search-btn,
.btn-primary,
.btn-dark,
.btn-ghost,
.btn-gold {
    border: 0;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.search-btn,
.btn-primary,
.btn-dark {
    background: var(--ink);
    color: var(--cream);
    padding: 0 28px;
    min-height: 72px;
}

.btn-primary,
.btn-gold,
.btn-ghost {
    min-height: 52px;
    padding: 0 24px;
}

.search-btn:hover,
.btn-primary:hover,
.btn-dark:hover,
.btn-gold:hover {
    transform: translateY(-1px);
    background: #2a241e;
}

.btn-gold {
    background: var(--gold);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}

.page-hero .btn-ghost,
.page-hero .btn-ghost:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
}

/* Sections */
.section {
    padding: 96px 0;
}

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

.section-heading h2,
.page-hero h1,
.modal-content h2,
.contact-copy h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.1;
}

.section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-note {
    color: var(--muted);
    max-width: 28rem;
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px 32px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-index {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--gold);
}

.feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 500;
    margin: 28px 0 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.destination-card {
    position: relative;
    min-height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 0;
    padding: 0;
    display: block;
    text-align: left;
    color: var(--white);
    text-decoration: none;
}

.destination-card:nth-child(1),
.destination-card:nth-child(2) {
    grid-column: span 6;
    min-height: 380px;
}

.destination-card:nth-child(n+3) {
    grid-column: span 3;
}

.destination-card img,
.hotel-image img,
.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.destination-card:hover img,
.hotel-card:hover .hotel-image img {
    transform: scale(1.06);
}

.destination-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(14, 11, 9, 0.72) 100%);
}

.destination-meta {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 1;
}

.destination-meta h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
}

.destination-meta p {
    opacity: 0.78;
    font-size: 0.92rem;
}

.featured-grid,
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.hotel-card {
    background: var(--white);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.hotel-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--paper-deep);
}

.hotel-rating {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 253, 248, 0.92);
    color: var(--ink);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.hotel-info {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hotel-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.15;
}

.hotel-location,
.muted {
    color: var(--muted);
    font-size: 0.92rem;
}

.hotel-description {
    color: var(--ink-soft);
    font-size: 0.93rem;
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-tag {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border: 1px solid var(--line-strong);
    padding: 5px 9px;
    border-radius: 999px;
}

.hotel-footer {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hotel-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    line-height: 1;
}

.hotel-price span {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
}

.btn-book {
    background: var(--ink);
    color: var(--cream);
    border: 0;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 18px;
    cursor: pointer;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

/* Page hero */
.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding: 130px 0 56px;
    color: var(--white);
    overflow: hidden;
}

.page-hero-media {
    position: absolute;
    inset: 0;
}

.page-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 11, 9, 0.25), rgba(14, 11, 9, 0.66));
}

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

.page-hero p {
    max-width: 32rem;
    opacity: 0.82;
    margin-top: 10px;
}

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

.search-section .search-desk {
    grid-template-columns: 1.2fr 0.9fr 0.9fr auto;
    background: var(--white);
    box-shadow: var(--shadow);
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin: 36px 0 22px;
}

.results-count {
    color: var(--muted);
    font-size: 0.92rem;
}

.hotels-section,
.bookings-section,
.contact-section {
    padding: 20px 0 96px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(14, 11, 9, 0.55);
    padding: 24px;
    overflow: auto;
}

.modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    width: min(640px, 100%);
    border-radius: 28px;
    padding: 36px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--muted);
}

.booking-summary {
    background: var(--cream);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 22px;
}

.booking-summary strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line-strong);
    background: var(--cream);
    border-radius: 14px;
    padding: 0 14px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.form-group textarea {
    min-height: 120px;
    padding: 14px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.search-field:focus-within {
    border-color: var(--gold);
    background: #fff;
}

.form-group input[readonly] {
    color: var(--ink-soft);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.8rem;
}

.btn-primary {
    width: 100%;
    margin-top: 6px;
}

/* Bookings */
.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-card {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.booking-hotel-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
}

.booking-status {
    background: #e8f3e8;
    color: #2f6b3a;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.booking-detail-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.booking-detail-value {
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 72px 20px;
    background: var(--white);
    border: 1px dashed var(--line-strong);
    border-radius: 28px;
}

.empty-state-icon,
.empty-kicker {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.empty-state h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--muted);
    margin-bottom: 22px;
}

/* Contact */
.contact-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
}

.contact-visual {
    position: relative;
    min-height: 640px;
    border-radius: 32px;
    overflow: hidden;
    color: var(--white);
}

.contact-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 11, 9, 0.1), rgba(14, 11, 9, 0.7));
}

.contact-visual-copy {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    z-index: 1;
}

.contact-visual-copy h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
}

.contact-panel {
    background: var(--white);
    border-radius: 32px;
    padding: 36px;
    border: 1px solid var(--line);
}

.contact-aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
}

.contact-card {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.contact-card h3 {
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.contact-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.call-status {
    margin-top: 16px;
    display: none;
}

.call-status.is-visible {
    display: block;
}

.status-card {
    padding: 16px 18px;
    border-radius: 16px;
}

.status-card.success {
    background: #e8f3e8;
    color: #24552d;
}

.status-card.error {
    background: #f8e8e6;
    color: #7a2e27;
}

.status-card.pending {
    background: var(--paper);
    color: var(--ink-soft);
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: rgba(255, 253, 248, 0.78);
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand-mark {
    color: var(--white);
}

.footer-grid h4 {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 16px;
}

.footer-grid a,
.footer-grid p {
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    opacity: 0.62;
}

/* Toast */
.toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--ink);
    color: var(--cream);
    padding: 14px 18px;
    border-radius: 16px;
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    animation: rise 0.35s var(--ease);
}

.toast.error {
    background: #7a2e27;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.skeleton {
    background: linear-gradient(90deg, #efe7d8 25%, #f6f0e6 37%, #efe7d8 63%);
    background-size: 400% 100%;
    animation: shimmer 1.2s ease infinite;
    border-radius: 26px;
    min-height: 420px;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
        color: inherit;
    }

    .nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 16px;
        right: 16px;
        background: var(--white);
        color: var(--ink);
        border-radius: 22px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow-lg);
    }

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

    .nav a,
    .nav-cta,
    .site-header.is-home .nav-cta {
        background: transparent !important;
        color: var(--ink) !important;
        text-align: left;
    }

    .hero,
    .page-hero {
        padding-left: 0;
        padding-right: 0;
    }

    .search-desk,
    .search-section .search-desk {
        grid-template-columns: 1fr;
    }

    .search-btn {
        min-height: 56px;
    }

    .features-grid,
    .featured-grid,
    .hotels-grid,
    .contact-shell,
    .footer-grid,
    .booking-details,
    .form-row {
        grid-template-columns: 1fr;
    }

    .destinations-grid,
    .destination-card:nth-child(1),
    .destination-card:nth-child(2),
    .destination-card:nth-child(n+3) {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .destination-card {
        min-height: 240px;
    }

    .section-heading,
    .toolbar,
    .footer-bottom,
    .booking-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-visual {
        min-height: 360px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
