:root {
    --ink: #142033;
    --ink-soft: #526174;
    --navy: #0f2747;
    --navy-deep: #091b33;
    --teal: #2f8f82;
    --teal-soft: #e7f5f2;
    --line: #dfe6ee;
    --surface: #ffffff;
    --surface-soft: #f4f7fa;
    --danger: #b42318;
    --shadow-lg: 0 28px 70px rgba(10, 32, 57, 0.16);
    --shadow-md: 0 14px 34px rgba(20, 39, 65, 0.10);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 11px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--surface-soft);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
[hidden] { display: none !important; }

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-md);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(216, 225, 235, 0.9);
}
.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 34px;
}
.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.brand-logo {
    display: block;
    width: clamp(168px, 17vw, 210px);
    height: auto;
    max-height: 58px;
    object-fit: contain;
}
.header-nav { display: flex; align-items: center; gap: 26px; margin-left: 18px; }
.header-nav a { position: relative; padding: 27px 0 24px; color: #5a6778; font-size: 14px; font-weight: 650; }
.header-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 4px; background: transparent; }
.header-nav a.active { color: var(--navy); }
.header-nav a.active::after { background: var(--teal); }
.header-action {
    margin-left: auto;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}
.header-action:hover { border-color: #b8c5d4; box-shadow: 0 8px 20px rgba(20, 39, 65, 0.08); }

.hero-section {
    position: relative;
    overflow: visible;
    min-height: 594px;
    padding: 82px 0 74px;
    background:
        linear-gradient(118deg, rgba(8, 27, 51, 0.98), rgba(15, 48, 83, 0.95)),
        radial-gradient(circle at 80% 10%, rgba(58, 161, 145, 0.28), transparent 35%);
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(12px); pointer-events: none; }
.hero-glow-one { width: 410px; height: 410px; right: -120px; top: -130px; background: rgba(65, 182, 164, 0.15); }
.hero-glow-two { width: 280px; height: 280px; left: -120px; bottom: -130px; background: rgba(122, 167, 216, 0.12); }
.hero-content { position: relative; z-index: 2; }
.hero-copy { max-width: 700px; text-align: center; margin: 0 auto 38px; color: #fff; }
.eyebrow { display: inline-block; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-copy .eyebrow { color: #8ce0d2; }
.hero-copy h1 { margin: 13px 0 14px; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.045em; }
.hero-copy p { max-width: 650px; margin: 0 auto; color: rgba(235, 242, 250, 0.82); font-size: 18px; }

.search-panel {
    position: relative;
    max-width: 1130px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.985);
    overflow: visible;
    box-shadow: var(--shadow-lg);
}
.search-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.panel-kicker { display: block; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.search-panel-heading h2 { margin: 4px 0 0; color: var(--navy); font-size: 24px; letter-spacing: -0.03em; }
.secure-note { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; background: var(--teal-soft); color: #236c62; font-size: 12px; font-weight: 700; }
.secure-note svg { width: 15px; height: 15px; fill: currentColor; }

.hotel-search-form {
    display: grid;
    grid-template-columns: minmax(250px, 1.45fr) minmax(150px, .8fr) minmax(150px, .8fr) minmax(210px, 1.05fr);
    gap: 13px;
    align-items: start;
}
.field { position: relative; min-width: 0; }
.field > label { display: block; margin: 0 0 7px 2px; color: #354459; font-size: 12px; font-weight: 750; }
.control-with-icon { position: relative; }
.control-with-icon > svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 14px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    fill: #64758a;
    pointer-events: none;
}
.control-with-icon input,
.control-with-icon select,
.guest-trigger {
    width: 100%;
    height: 54px;
    border: 1px solid #cfd9e4;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.control-with-icon input,
.control-with-icon select { padding: 0 13px 0 44px; }
.control-with-icon select { cursor: pointer; appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, #6a798b 50%), linear-gradient(135deg, #6a798b 50%, transparent 50%); background-position: calc(100% - 17px) 23px, calc(100% - 12px) 23px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.control-with-icon input:hover,
.control-with-icon select:hover,
.guest-trigger:hover { border-color: #acbac9; }
.control-with-icon input:focus,
.control-with-icon select:focus,
.guest-trigger:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47, 143, 130, 0.13); }
.control-with-icon input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .08); }
.field-error { min-height: 17px; margin: 4px 2px 0; color: var(--danger); font-size: 11px; line-height: 1.35; }

.destination-field { position: relative; z-index: 25; grid-column: span 1; }
.suggestions {
    position: absolute;
    z-index: 90;
    top: calc(100% - 11px);
    left: 0;
    width: 100%;
    max-width: 100%;
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 52px rgba(16, 36, 62, .18);
}
.suggestion-option {
    width: 100%;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.suggestion-option:hover, .suggestion-option.active { background: #f0f6f6; }
.suggestion-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #eef3f7; color: var(--navy); }
.suggestion-icon svg { width: 18px; height: 18px; fill: currentColor; }
.suggestion-copy { display: grid; min-width: 0; }
.suggestion-copy strong, .suggestion-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-copy strong { font-size: 14px; }
.suggestion-copy small { margin-top: 2px; color: var(--ink-soft); font-size: 11px; }
.suggestion-type { padding: 4px 7px; border-radius: 999px; background: #f3f5f7; color: #657386; font-size: 10px; text-transform: capitalize; }
.suggestion-loading, .suggestion-empty { padding: 16px 13px; color: var(--ink-soft); font-size: 13px; }

.guest-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 13px; cursor: pointer; }
.guest-trigger-main { min-width: 0; display: flex; align-items: center; gap: 10px; }
.guest-trigger-main > svg { width: 20px; height: 20px; flex: 0 0 auto; fill: #64758a; }
.guest-trigger-main > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.guest-trigger .chevron { width: 18px; height: 18px; fill: none; stroke: #64758a; stroke-width: 2; }
.guest-popover {
    position: absolute;
    z-index: 45;
    top: calc(100% - 11px);
    right: 0;
    width: min(390px, 94vw);
    max-height: 520px;
    overflow: auto;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 52px rgba(16, 36, 62, .18);
}
.guest-popover-head, .room-editor-heading, .counter-row, .guest-popover-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.guest-popover-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.guest-popover-head > div { display: grid; }
.guest-popover-head small { margin-top: 2px; color: var(--ink-soft); font-size: 11px; }
.icon-button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f1f4f7; color: #34465b; font-size: 21px; cursor: pointer; }
.room-editor { padding: 15px 0; border-bottom: 1px solid var(--line); }
.room-editor-heading { margin-bottom: 10px; }
.remove-room { border: 0; background: transparent; color: var(--danger); font-size: 11px; font-weight: 700; cursor: pointer; }
.counter-row { padding: 8px 0; }
.counter-row > div:first-child { display: grid; }
.counter-row small { color: var(--ink-soft); font-size: 11px; }
.counter-controls { display: grid; grid-template-columns: 31px 34px 31px; align-items: center; text-align: center; }
.counter-controls button { width: 31px; height: 31px; border: 1px solid #cfd9e4; border-radius: 9px; background: #fff; color: var(--navy); font-size: 18px; line-height: 1; cursor: pointer; }
.counter-controls button:hover { border-color: var(--teal); background: var(--teal-soft); }
.counter-controls span { font-size: 13px; font-weight: 750; }
.child-ages { margin-top: 8px; padding: 11px; border-radius: 11px; background: #f6f8fa; }
.child-ages > span { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 750; }
.child-age-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.child-age-grid label { display: grid; gap: 4px; color: var(--ink-soft); font-size: 10px; }
.child-age-grid select { height: 36px; padding: 0 9px; border: 1px solid #ced8e3; border-radius: 8px; background: #fff; }
.guest-popover-actions { padding-top: 14px; }
.text-button { border: 0; background: transparent; color: var(--teal); font-size: 12px; font-weight: 750; cursor: pointer; }
.text-button:disabled { color: #9aa7b5; cursor: not-allowed; }
.primary-small { padding: 9px 16px; border: 0; border-radius: 9px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }

.residency-field { grid-column: span 1; }
.search-action-wrap { grid-column: -2 / -1; align-self: end; }
.search-button {
    width: 100%;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--teal);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(47, 143, 130, .22);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.search-button:hover { transform: translateY(-1px); background: #287d72; box-shadow: 0 15px 28px rgba(47, 143, 130, .28); }
.search-button:active { transform: translateY(0); }
.search-button svg { width: 19px; height: 19px; fill: currentColor; }
.search-footnote { display: flex; align-items: center; gap: 22px; margin-top: 11px; color: #718093; font-size: 11px; }
.search-footnote span { position: relative; padding-left: 14px; }
.search-footnote span::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

.benefits-section { padding: 76px 0 84px; }
.section-heading { max-width: 690px; margin-bottom: 30px; }
.section-heading h2 { margin: 10px 0 0; color: var(--navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.035em; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefit-card { min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 8px 24px rgba(20, 39, 65, .05); }
.benefit-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--teal-soft); color: var(--teal); }
.benefit-icon svg { width: 22px; height: 22px; fill: currentColor; }
.benefit-card h3 { margin: 21px 0 8px; color: var(--navy); font-size: 18px; }
.benefit-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 0;
    background:
        radial-gradient(circle at 88% 0, rgba(47, 143, 130, .2), transparent 31%),
        linear-gradient(145deg, var(--navy-deep), #102b4d 70%, #123454);
    color: #fff;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--teal), #71c8bc 50%, rgba(113, 200, 188, 0));
}
.footer-main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 1.55fr) repeat(3, minmax(160px, 1fr));
    align-items: start;
    gap: clamp(34px, 4.5vw, 70px);
    padding-top: 70px;
    padding-bottom: 60px;
}
.footer-brand { min-width: 0; }
.footer-brand-link {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 12px;
    background: #fff;
}
.footer-brand-logo {
    display: block;
    width: min(220px, 62vw);
    height: auto;
}
.footer-description { max-width: 430px; margin: 23px 0 0; color: #c3d0dc; font-size: 15px; line-height: 1.75; }
.footer-trust-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.footer-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(121,208,194,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: #e0eaf1;
    font-size: 11.5px;
    font-weight: 750;
}
.footer-trust-list i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #79d0c2; box-shadow: 0 0 0 4px rgba(121,208,194,.1); }
.footer-column { min-width: 0; padding-top: 2px; }
.footer-column h2 { margin: 0 0 23px; color: #fff; font-size: 16px; line-height: 1.2; letter-spacing: .01em; }
.footer-column h2::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    margin-top: 11px;
    border-radius: 999px;
    background: #71c8bc;
}
.footer-column ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.footer-column a,
.footer-feature-list li { color: #c0cfdb; font-size: 14px; line-height: 1.55; }
.footer-column a { display: inline-flex; align-items: center; min-height: 25px; font-weight: 560; transition: color .18s ease, transform .18s ease; }
.footer-column a:hover { color: #fff; transform: translateX(3px); }
.footer-column a:focus-visible { border-radius: 3px; outline: 2px solid #79d0c2; outline-offset: 4px; color: #fff; }
.footer-feature-list li { position: relative; padding-left: 15px; }
.footer-feature-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #66b9ad; }
.footer-support p { margin: 0; color: #aebfd0; font-size: 11px; line-height: 1.7; }
.footer-contact-link,
.footer-support-note {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    border-radius: 999px;
    background: rgba(121,208,194,.12);
    color: #9de0d5;
    font-size: 10px;
    font-weight: 800;
}
.footer-contact-link { padding: 9px 12px; }
.footer-support-note { padding: 9px 12px 9px 28px; position: relative; }
.footer-support-note::before { content: ""; position: absolute; left: 13px; width: 6px; height: 6px; border-radius: 50%; background: #79d0c2; box-shadow: 0 0 0 4px rgba(121,208,194,.09); }
.footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
    border-top: 1px solid rgba(255,255,255,.14);
}
.footer-bottom p { margin: 0; color: #aebfd0; font-size: 12px; line-height: 1.6; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 24px; color: #aebfd0; font-size: 12px; line-height: 1.6; }
.footer-legal a { color: #c7d4de; font-weight: 650; }
.footer-legal a:hover { color: #fff; }
.footer-legal > * + * { position: relative; }
.footer-legal > * + *::before { content: ""; position: absolute; left: -13px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #5f798e; transform: translateY(-50%); }

.results-shell { min-height: calc(100vh - 180px); padding: 38px 0 70px; }
.results-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.back-link { color: var(--navy); font-size: 13px; font-weight: 750; }
.phase-badge { padding: 7px 10px; border-radius: 999px; background: var(--teal-soft); color: #286f65; font-size: 11px; font-weight: 750; }
.search-summary-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 7px 22px rgba(20,39,65,.05); overflow: hidden; }
.search-summary-card > div { min-width: 0; padding: 17px 20px; border-right: 1px solid var(--line); }
.search-summary-card > div:last-child { border-right: 0; }
.search-summary-card strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; font-size: 13px; }
.summary-label { color: var(--ink-soft); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.results-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
.filter-placeholder { min-height: 350px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.skeleton-title, .skeleton-line { border-radius: 6px; background: linear-gradient(90deg, #edf1f4, #f7f9fa, #edf1f4); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.skeleton-title { width: 62%; height: 18px; margin-bottom: 24px; }
.skeleton-line { width: 70%; height: 11px; margin: 13px 0; }
.skeleton-line.wide { width: 92%; }
.skeleton-line.short { width: 46%; }
.filter-placeholder hr { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.phase-message-card { min-height: 430px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px, 6vw, 68px); border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-md); }
.phase-number { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; }
.phase-message-card h1 { max-width: 700px; margin: 10px 0 13px; color: var(--navy); font-size: clamp(30px, 5vw, 48px); line-height: 1.07; letter-spacing: -.04em; }
.phase-message-card p { max-width: 740px; margin: 0; color: var(--ink-soft); }
.next-build-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.next-build-list span { padding: 8px 10px; border-radius: 8px; background: #f1f5f8; color: #4c5c70; font-size: 11px; font-weight: 700; }
.primary-link { display: inline-flex; padding: 11px 16px; border-radius: 10px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 800; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 1080px) {
    .hotel-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-action-wrap { grid-column: auto; }
}

@media (min-width: 961px) {
    .footer-column {
        padding-left: clamp(14px, 1.2vw, 22px);
        border-left: 1px solid rgba(255,255,255,.1);
    }
}

@media (max-width: 960px) {
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 24px, 1180px); }
    .header-inner { min-height: 66px; gap: 16px; }
    .brand-logo { width: 165px; max-height: 49px; }
    .header-nav { display: none; }
    .header-action { padding: 9px 12px; font-size: 11px; }
    .hero-section { min-height: auto; padding: 54px 0 48px; }
    .hero-copy { margin-bottom: 26px; }
    .hero-copy h1 { font-size: 39px; }
    .hero-copy p { font-size: 15px; }
    .search-panel { padding: 20px 16px 17px; border-radius: 19px; }
    .search-panel-heading { align-items: flex-start; }
    .search-panel-heading h2 { font-size: 20px; }
    .secure-note { display: none; }
    .hotel-search-form { grid-template-columns: 1fr; gap: 6px; }
    .field-error { min-height: 13px; }
    .search-action-wrap { margin-top: 2px; }
    .search-footnote { display: none; }
    .suggestions { top: calc(100% - 7px); width: 100%; max-width: 100%; max-height: 270px; }
    .guest-popover { position: fixed; z-index: 100; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-height: min(72vh, 560px); border-radius: 18px; }
    .benefits-section { padding: 55px 0 60px; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefit-card { min-height: 0; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; padding-top: 54px; padding-bottom: 46px; }
    .footer-brand { grid-column: 1 / -1; }
    .search-summary-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-summary-card > div:nth-child(2) { border-right: 0; }
    .search-summary-card > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .results-layout { grid-template-columns: 1fr; }
    .filter-placeholder { display: none; }
    .phase-message-card { min-height: 420px; padding: 32px 22px; }
}

@media (max-width: 560px) {
    .footer-main { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; padding-bottom: 38px; }
    .footer-brand { grid-column: auto; }
    .footer-column { padding-top: 0; }
    .footer-brand-logo { width: min(205px, 70vw); }
    .footer-description { margin-top: 20px; font-size: 14px; }
    .footer-column h2 { margin-bottom: 18px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; min-height: 104px; padding-top: 22px; padding-bottom: 22px; }
    .footer-legal { justify-content: flex-start; }
}

@media (max-width: 420px) {
    .brand-logo { width: 154px; }
    .header-action { display: none; }
    .hero-copy h1 { font-size: 34px; }
    .search-summary-card { grid-template-columns: 1fr; }
    .search-summary-card > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .search-summary-card > div:last-child { border-bottom: 0; }
    .child-age-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Live destination and hotel search */
.live-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #2f9b7e;
    box-shadow: 0 0 0 4px rgba(47, 155, 126, .13);
}

.suggestion-warning {
    margin: 7px 4px 3px;
    padding: 9px 10px;
    border-radius: 9px;
    background: #fff8e8;
    color: #806320;
    font-size: 10px;
    line-height: 1.45;
}

.results-page { background: #f4f7fa; }
.results-page .site-footer { background: radial-gradient(circle at 88% 0, rgba(47, 143, 130, .2), transparent 31%), linear-gradient(145deg, var(--navy-deep), #102b4d 70%, #123454); }
.live-results-layout { grid-template-columns: 278px minmax(0, 1fr); align-items: start; }

.search-context-card {
    position: sticky;
    top: 18px;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 7px 22px rgba(20,39,65,.05);
}
.context-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.context-card-head > div { min-width: 0; display: grid; }
.context-card-head strong { color: var(--navy); font-size: 13px; }
.context-card-head small { margin-top: 3px; color: var(--ink-soft); font-size: 10px; }
.context-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.context-icon svg { width: 21px; height: 21px; fill: currentColor; }
.context-list { margin: 8px 0 0; }
.context-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef2f5; }
.context-list dt { color: var(--ink-soft); font-size: 11px; }
.context-list dd { margin: 0; color: var(--navy); font-size: 11px; font-weight: 750; text-align: right; }
.api-config-state { display: flex; gap: 10px; margin-top: 17px; padding: 12px; border-radius: 11px; }
.api-config-state > span { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 3px; border-radius: 50%; }
.api-config-state > div { display: grid; }
.api-config-state strong { font-size: 11px; }
.api-config-state small { margin-top: 3px; font-size: 10px; line-height: 1.45; }
.api-config-state.is-ready { background: #eaf7f2; color: #226b5b; }
.api-config-state.is-ready > span { background: #2f9b7e; box-shadow: 0 0 0 4px rgba(47,155,126,.12); }
.api-config-state.needs-setup { background: #fff4e5; color: #855c18; }
.api-config-state.needs-setup > span { background: #c7821c; box-shadow: 0 0 0 4px rgba(199,130,28,.12); }
.phase-note { margin-top: 15px; padding: 14px; border: 1px dashed #cbd7e3; border-radius: 11px; background: #f8fafc; }
.phase-note strong { color: var(--navy); font-size: 11px; }
.phase-note p { margin: 5px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }

.results-main { min-width: 0; }
.results-toolbar { min-height: 74px; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 15px; }
.results-toolbar > div { min-width: 0; }
.results-toolbar h1 { margin: 5px 0 4px; color: var(--navy); font-size: clamp(25px, 3vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.results-toolbar p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.sort-control { display: grid; flex: 0 0 180px; gap: 5px; }
.sort-control span { color: var(--ink-soft); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.sort-control select { width: 100%; height: 41px; padding: 0 31px 0 11px; border: 1px solid #cfd9e4; border-radius: 10px; background: #fff; color: var(--ink); font-size: 12px; outline: 0; }
.sort-control select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,143,130,.11); }
.sort-control select:disabled { color: #94a0ae; background: #f1f4f7; }

.results-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 13px 15px;
    border: 1px solid #d6e8e4;
    border-radius: 12px;
    background: #f0f9f7;
    color: #235f57;
}
.results-notice > div { display: grid; }
.results-notice strong { font-size: 12px; }
.results-notice small { margin-top: 2px; color: #537c76; font-size: 10px; }
.results-spinner { width: 19px; height: 19px; flex: 0 0 auto; border: 2px solid rgba(47,143,130,.22); border-top-color: var(--teal); border-radius: 50%; animation: result-spin .75s linear infinite; }
@keyframes result-spin { to { transform: rotate(360deg); } }

.hotel-skeleton-list, .hotel-results-list { display: grid; gap: 14px; }
.hotel-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 220px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20,39,65,.055);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hotel-card:not(.hotel-card-skeleton):hover { transform: translateY(-2px); border-color: #c7d4e0; box-shadow: 0 15px 32px rgba(20,39,65,.09); }
.hotel-card-media { position: relative; min-width: 0; min-height: 250px; overflow: hidden; background: #e9eef3; }
.hotel-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hotel-live-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 999px; background: rgba(255,255,255,.94); color: #245f56; box-shadow: 0 7px 18px rgba(8,27,51,.12); font-size: 10px; font-weight: 800; }
.hotel-live-badge .live-dot { width: 6px; height: 6px; box-shadow: none; }
.hotel-card-content { min-width: 0; padding: 19px 20px; }
.hotel-card-heading h2 { margin: 0; overflow-wrap: anywhere; color: var(--navy); font-size: 19px; line-height: 1.2; letter-spacing: -.025em; }
.hotel-location { display: flex; align-items: center; gap: 6px; margin: 7px 0 0; color: var(--ink-soft); font-size: 11px; }
.inline-icon { width: 16px; height: 16px; display: inline-grid; place-items: center; flex: 0 0 auto; color: #718196; }
.inline-icon svg { width: 15px; height: 15px; fill: currentColor; }
.hotel-identity-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; }
.hotel-kind, .hotel-hid { padding: 5px 7px; border-radius: 7px; background: #f1f4f7; color: #647285; font-size: 9px; font-weight: 750; }
.hotel-hid { background: #edf7f5; color: #31766d; }
.hotel-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.hotel-badges span { padding: 6px 8px; border-radius: 7px; background: #f8f4e7; color: #775f25; font-size: 9px; font-weight: 750; }
.rate-preview { display: grid; gap: 9px; margin-top: 15px; padding-top: 14px; border-top: 1px solid #edf1f4; }
.rate-preview-row { min-width: 0; display: flex; align-items: flex-start; gap: 9px; }
.rate-preview-row > div { min-width: 0; display: grid; }
.rate-preview-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #314258; font-size: 11px; }
.rate-preview-row small { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7a8797; font-size: 9px; }
.rate-preview-row.cancellation-positive .inline-icon, .rate-preview-row.cancellation-positive strong { color: #217a62; }
.rate-preview-row.cancellation-warning .inline-icon, .rate-preview-row.cancellation-warning strong { color: #9a6b1b; }
.rate-preview-row .low-allotment { color: #b24a31; font-weight: 750; }

.hotel-card-price { min-width: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: 20px; border-left: 1px solid var(--line); background: #fbfcfd; text-align: right; }
.price-kicker { color: var(--ink-soft); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.hotel-total-price { margin-top: 5px; color: var(--navy); font-size: 25px; line-height: 1; letter-spacing: -.035em; }
.hotel-total-price.price-unavailable { font-size: 18px; }
.per-night-price { margin-top: 7px; color: #41546b; font-size: 10px; font-weight: 700; }
.price-note { max-width: 180px; margin-top: 5px; color: #8994a2; font-size: 9px; line-height: 1.4; }
.view-rooms-button { width: 100%; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; margin-top: 17px; padding: 10px 13px; border-radius: 10px; background: var(--teal); color: #fff; font-size: 11px; font-weight: 800; box-shadow: 0 9px 18px rgba(47,143,130,.18); }
.view-rooms-button:hover { background: #287d72; }

.hotel-card-skeleton { min-height: 250px; pointer-events: none; }
.hotel-image-skeleton, .hotel-content-skeleton span, .hotel-price-skeleton span { background: linear-gradient(90deg, #e9eef2, #f7f9fa, #e9eef2); background-size: 200% 100%; animation: shimmer 1.5s linear infinite; }
.hotel-image-skeleton { min-height: 250px; }
.hotel-content-skeleton { display: grid; align-content: center; gap: 13px; padding: 24px; }
.hotel-content-skeleton span { height: 12px; border-radius: 7px; }
.hotel-content-skeleton span:nth-child(1) { width: 72%; height: 20px; }
.hotel-content-skeleton span:nth-child(2) { width: 47%; }
.hotel-content-skeleton span:nth-child(3) { width: 90%; margin-top: 12px; }
.hotel-content-skeleton span:nth-child(4) { width: 64%; }
.hotel-price-skeleton { display: grid; align-content: center; justify-items: end; gap: 13px; padding: 24px; border-left: 1px solid var(--line); background: #fbfcfd; }
.hotel-price-skeleton span { width: 76%; height: 16px; border-radius: 7px; }
.hotel-price-skeleton span:last-child { width: 100%; height: 42px; margin-top: 18px; }

.results-empty, .page-error-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20,39,65,.055);
}
.results-empty > div, .page-error-card > div { min-width: 0; }
.results-empty strong { color: var(--navy); font-size: 16px; }
.results-empty p, .page-error-card p { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.results-empty-icon, .page-error-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: #fff0ee; color: #b42318; font-size: 17px; font-weight: 850; }
.results-empty-icon.muted { background: #eef3f7; color: #657589; }
.request-id { display: block; margin-top: 8px; color: #7c8897; font-size: 9px; overflow-wrap: anywhere; }
.retry-search-button { display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; padding: 9px 13px; border: 0; border-radius: 9px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.retry-search-button.secondary { background: var(--teal); }
.results-debug { margin-top: 11px; padding: 0 3px; color: #8994a2; font-size: 9px; text-align: right; overflow-wrap: anywhere; }
.page-error-card { min-height: 330px; align-items: center; padding: clamp(28px, 5vw, 58px); }
.page-error-card h1 { margin: 8px 0 0; color: var(--navy); font-size: clamp(27px, 4vw, 40px); }
.page-error-card .primary-link { margin-top: 19px; }

.hotel-preview-shell { min-height: calc(100vh - 180px); }
.hotel-preview-card { display: grid; grid-template-columns: 310px minmax(0, 1fr); overflow: hidden; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); }
.hotel-preview-media { position: relative; min-height: 250px; }
.hotel-preview-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hotel-preview-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(28px, 5vw, 52px); }
.hotel-preview-copy h1 { margin: 8px 0 7px; color: var(--navy); font-size: clamp(30px, 5vw, 48px); line-height: 1.06; letter-spacing: -.04em; }
.hotel-preview-copy > p { margin: 0; color: var(--ink-soft); }
.hotel-preview-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hotel-preview-facts span { padding: 8px 10px; border-radius: 9px; background: #f1f5f8; color: #526174; font-size: 10px; }
.compact-phase-card { min-height: 330px; }
.compact-phase-card h2 { max-width: 760px; margin: 10px 0 13px; color: var(--navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -.035em; }
.compact-phase-card code { padding: 2px 5px; border-radius: 5px; background: #eef2f5; color: #33455c; }

@media (max-width: 1040px) {
    .hotel-card { grid-template-columns: 190px minmax(0, 1fr) 200px; }
    .hotel-card-content { padding: 17px; }
    .hotel-card-price { padding: 17px; }
}

@media (max-width: 820px) {
    .live-results-layout { grid-template-columns: 1fr; }
    .search-context-card { position: static; }
    .context-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
    .context-list > div { display: grid; gap: 3px; padding: 9px; border: 0; border-radius: 9px; background: #f4f7fa; }
    .context-list dd { text-align: left; }
    .phase-note { display: none; }
    .api-config-state { margin-top: 12px; }
    .hotel-card { grid-template-columns: 180px minmax(0, 1fr); }
    .hotel-card-price { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 18px; border-left: 0; border-top: 1px solid var(--line); text-align: left; }
    .hotel-card-price .price-kicker, .hotel-card-price .hotel-total-price, .hotel-card-price .per-night-price, .hotel-card-price .price-note { grid-column: 1; }
    .view-rooms-button { grid-column: 2; grid-row: 1 / span 4; width: 150px; margin-top: 0; }
    .hotel-price-skeleton { grid-column: 1 / -1; min-height: 86px; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
    .results-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
    .sort-control { width: 100%; flex-basis: auto; }
    .context-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-context-card { padding: 16px; }
    .hotel-card { grid-template-columns: 1fr; }
    .hotel-card-media { min-height: 205px; max-height: 250px; }
    .hotel-card-content { padding: 17px 16px; }
    .hotel-card-price { grid-column: auto; grid-template-columns: minmax(0, 1fr) 130px; padding: 16px; }
    .view-rooms-button { width: 130px; }
    .hotel-image-skeleton { min-height: 205px; }
    .hotel-content-skeleton { min-height: 190px; }
    .hotel-price-skeleton { grid-column: auto; }
    .results-empty, .page-error-card { padding: 22px 17px; }
    .results-debug { text-align: left; }
    .hotel-preview-card { grid-template-columns: 1fr; }
    .hotel-preview-media { min-height: 220px; max-height: 260px; }
}

@media (max-width: 470px) {
    .results-topbar { align-items: flex-start; flex-direction: column; }
    .context-list { grid-template-columns: 1fr 1fr; }
    .hotel-card-price { display: flex; align-items: stretch; text-align: left; }
    .view-rooms-button { width: 100%; margin-top: 14px; }
    .price-note { max-width: none; }
    .rate-preview-row strong, .rate-preview-row small { white-space: normal; }
    .hotel-preview-copy { padding: 26px 20px; }
}

/* Live destination and hotel search */
.configuration-notice {
    max-width: 1130px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: -9px auto 16px;
    padding: 14px 17px;
    border: 1px solid rgba(255, 211, 120, .42);
    border-radius: 14px;
    background: rgba(255, 249, 232, .97);
    color: #5d4816;
    box-shadow: 0 12px 34px rgba(6, 23, 43, .16);
}
.configuration-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff0bd;
    color: #8a6511;
    font-size: 14px;
    font-weight: 900;
}
.configuration-notice strong { display: block; color: #4b390f; font-size: 13px; }
.configuration-notice p { margin: 3px 0 0; font-size: 12px; }
.configuration-notice code { padding: 2px 5px; border-radius: 5px; background: rgba(255,255,255,.74); font-size: 11px; }
.secure-note.needs-setup { background: #fff3d2; color: #755713; }
.secure-note.is-ready { background: var(--teal-soft); color: #236c62; }
.suggestion-icon.is-hotel { background: #eef0fb; color: #4f5fa6; }
.suggestion-warning { padding: 9px 11px 5px; color: #7b681d; font-size: 10px; line-height: 1.4; }
.search-button:disabled { cursor: wait; opacity: .88; transform: none; }
.search-button.is-loading svg { animation: searchPulse .9s ease-in-out infinite alternate; }
@keyframes searchPulse { to { transform: scale(1.17); opacity: .55; } }
.search-summary-card small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 11px; }

.state-card {
    min-height: 430px;
    display: grid;
    grid-template-columns: auto minmax(0, 760px);
    align-content: center;
    justify-content: center;
    gap: 22px;
    padding: clamp(30px, 6vw, 68px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-md);
}
.state-card .state-icon,
.empty-results-card .state-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    font-weight: 850;
}
.error-state .state-icon { background: #9f2f25; }
.state-card h1 { margin: 10px 0 10px; color: var(--navy); font-size: clamp(28px, 4vw, 43px); line-height: 1.08; letter-spacing: -.035em; }
.state-card p { max-width: 710px; margin: 0 0 20px; color: var(--ink-soft); }
.validation-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.validation-list span { padding: 8px 10px; border-radius: 9px; background: #fff0ee; color: #8c2d24; font-size: 12px; font-weight: 700; }
.code-instruction,
.request-reference {
    max-width: 620px;
    display: grid;
    gap: 4px;
    margin: 17px 0 23px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #f6f8fa;
}
.code-instruction span,
.request-reference span { color: var(--ink-soft); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.code-instruction code,
.request-reference code { overflow-wrap: anywhere; color: var(--navy); font-size: 12px; }

.live-results-layout { grid-template-columns: 258px minmax(0, 1fr); align-items: start; }
.results-sidebar {
    position: sticky;
    top: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 39, 65, .05);
}
.sidebar-section { padding: 18px; border-bottom: 1px solid var(--line); }
.sidebar-section:last-child { border-bottom: 0; }
.sidebar-kicker { display: block; margin-bottom: 5px; color: var(--teal); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.sidebar-section > strong { display: block; color: var(--navy); font-size: 15px; line-height: 1.3; }
.sidebar-section > p { margin: 7px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.compact-facts { display: grid; gap: 11px; }
.compact-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.compact-facts span { color: var(--ink-soft); font-size: 11px; }
.compact-facts strong { color: var(--ink); font-size: 11px; }
.rate-limit-box { background: #f0faf7; }
.rate-limit-box > span,
.request-id-box > span { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.rate-limit-box > strong { color: #256b61; font-size: 12px; }
.request-id-box code { display: block; overflow-wrap: anywhere; color: #46556a; font-size: 10px; line-height: 1.45; }
.next-phase-note { background: #f7f9fb; }

.hotel-results { min-width: 0; }
.hotel-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 2px 0 16px;
}
.hotel-results-heading h1 { margin: 7px 0 4px; color: var(--navy); font-size: clamp(27px, 4vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.hotel-results-heading p { max-width: 720px; margin: 0; color: var(--ink-soft); font-size: 12px; }
.result-count { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: 11px; font-weight: 800; }
.hotel-card-list { display: grid; gap: 15px; }
.hotel-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 190px;
    min-height: 248px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(20, 39, 65, .055);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hotel-card:hover { transform: translateY(-2px); border-color: #c8d5e1; box-shadow: 0 16px 34px rgba(20, 39, 65, .10); }
.hotel-card-media { position: relative; min-height: 100%; overflow: hidden; background: #e9eef4; }
.hotel-card-media img { width: 100%; height: 100%; min-height: 248px; display: block; object-fit: cover; }
.live-rate-pill { position: absolute; top: 13px; left: 13px; padding: 6px 8px; border-radius: 999px; background: rgba(10, 32, 56, .84); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hotel-card-body { min-width: 0; padding: 20px; }
.hotel-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 13px; }
.hotel-kind { display: block; margin-bottom: 3px; color: var(--teal); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hotel-card h2 { margin: 0; color: var(--navy); font-size: 21px; line-height: 1.22; letter-spacing: -.025em; }
.hotel-location { display: flex; align-items: center; gap: 5px; margin: 6px 0 0; color: var(--ink-soft); font-size: 11px; }
.hotel-location svg { width: 14px; height: 14px; flex: 0 0 auto; fill: currentColor; }
.hid-chip { flex: 0 0 auto; padding: 5px 7px; border-radius: 7px; background: #f0f3f7; color: #657286; font-size: 9px; font-weight: 750; }
.hotel-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.hotel-badges span { padding: 5px 7px; border-radius: 7px; background: var(--teal-soft); color: #276d63; font-size: 9px; font-weight: 750; }
.room-rate-preview { display: grid; grid-template-columns: 1.35fr .85fr; gap: 13px; margin-top: 15px; padding: 12px 13px; border-radius: 11px; background: #f6f8fa; }
.room-rate-preview > div { min-width: 0; display: grid; gap: 3px; }
.room-rate-preview span { color: var(--ink-soft); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.room-rate-preview strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 11px; }
.hotel-policy-row { display: flex; align-items: center; gap: 7px; margin-top: 13px; color: #596a7d; font-size: 11px; }
.hotel-policy-row svg { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; }
.hotel-policy-row.tone-positive { color: #237164; }
.hotel-policy-row.tone-warning { color: #8a621b; }
.hotel-secondary-facts { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 13px; color: #6d7a8b; font-size: 10px; }
.hotel-secondary-facts span { position: relative; padding-left: 10px; }
.hotel-secondary-facts span::before { content: ""; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: #92a1b0; }
.hotel-card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    border-left: 1px solid var(--line);
    background: #fbfcfd;
    text-align: right;
}
.hotel-card-price > span { color: var(--ink-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.hotel-card-price > strong { margin-top: 4px; color: var(--navy); font-size: 25px; letter-spacing: -.035em; }
.hotel-card-price > small { margin-top: 3px; color: var(--ink-soft); font-size: 9px; line-height: 1.35; }
.view-rooms-button { width: 100%; display: inline-flex; align-items: center; justify-content: center; margin-top: 17px; padding: 11px 12px; border-radius: 10px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 9px 20px rgba(47, 143, 130, .18); }
.view-rooms-button:hover { background: #287d72; }
.hotel-card-price em { margin-top: 7px; color: #7c8998; font-size: 8px; font-style: normal; }
.empty-results-card { min-height: 370px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px; border: 1px dashed #cbd6e0; border-radius: 17px; background: #fff; text-align: center; }
.empty-results-card h2 { margin: 17px 0 7px; color: var(--navy); }
.empty-results-card p { max-width: 520px; margin: 0 0 22px; color: var(--ink-soft); }

.hotel-detail-shell { min-height: calc(100vh - 180px); padding: 38px 0 70px; }
.hotel-detail-preview { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-md); }
.hotel-detail-visual { position: relative; min-height: 520px; background: #e8eef3; }
.hotel-detail-visual img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hotel-detail-visual > span { position: absolute; left: 18px; bottom: 18px; padding: 7px 10px; border-radius: 999px; background: rgba(8, 27, 49, .84); color: #fff; font-size: 10px; font-weight: 750; }
.hotel-detail-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 68px); }
.hotel-detail-copy h1 { margin: 10px 0 10px; color: var(--navy); font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -.045em; }
.hotel-detail-copy > p { margin: 0; color: var(--ink-soft); }
.implementation-note { margin: 27px 0 4px; padding: 17px; border: 1px solid #cfe5df; border-radius: 13px; background: #f0faf7; }
.implementation-note strong { color: #245f57; }
.implementation-note p { margin: 6px 0 0; color: #4f6d68; font-size: 12px; }
.implementation-note code { font-size: 11px; }

@media (max-width: 980px) {
    .live-results-layout { grid-template-columns: 1fr; }
    .results-sidebar { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sidebar-section { border-right: 1px solid var(--line); border-bottom: 0; }
    .sidebar-section:nth-child(n+4) { display: none; }
    .hotel-card { grid-template-columns: 190px minmax(0, 1fr); }
    .hotel-card-price { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); border-left: 0; text-align: left; }
    .hotel-card-price .view-rooms-button { width: auto; min-width: 150px; margin: 0 0 0 auto; }
    .hotel-card-price em { display: none; }
    .hotel-detail-preview { grid-template-columns: 1fr; }
    .hotel-detail-visual { min-height: 360px; max-height: 470px; }
}

@media (max-width: 760px) {
    .configuration-notice { margin-top: -6px; }
    .state-card { grid-template-columns: 1fr; min-height: 410px; padding: 30px 22px; }
    .live-results-layout { gap: 15px; }
    .results-sidebar { display: none; }
    .hotel-results-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
    .hotel-card { grid-template-columns: 1fr; }
    .hotel-card-media img { height: 205px; min-height: 205px; }
    .hotel-card-body { padding: 17px; }
    .hotel-card-price { grid-column: auto; align-items: flex-start; flex-wrap: wrap; padding: 17px; }
    .hotel-card-price .view-rooms-button { order: 5; width: 100%; margin: 11px 0 0; }
    .hotel-card-price > small { width: 100%; }
    .room-rate-preview { grid-template-columns: 1fr; }
    .hotel-detail-copy { padding: 31px 22px; }
    .hotel-detail-copy h1 { font-size: 36px; }
}

@media (max-width: 460px) {
    .configuration-notice { display: none; }
    .hotel-card-title-row { flex-direction: column; }
    .hid-chip { order: -1; }
    .hotel-card-price { display: grid; grid-template-columns: 1fr; }
    .hotel-card-price > strong { font-size: 24px; }
}

