﻿html, body {
    overflow-x: clip;
    max-width: 100%;
}

html {
    scroll-padding-top: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

#banner .reveal {
    opacity: 1;
    transform: translateY(0);
}

.hero-banner {
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    animation: heroBgZoom 22s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.45) 0%, rgba(30, 41, 59, 0.3) 45%, rgba(51, 65, 85, 0.2) 100%);
    pointer-events: none;
}

@keyframes heroBgZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-image {
        animation: none;
    }
}

.hero-content-glass {
    position: relative;
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-content-glass {
        padding: 2rem 2rem;
        border-radius: 1.5rem;
    }
}

.hero-content-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff3a30, #ff6b63, #ff3a30, transparent);
}

.hero-content-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 58, 48, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content-inner {
    position: relative;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
    animation: heroGlowFloat 8s ease-in-out infinite;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    background: rgba(255, 58, 48, 0.2);
    border: 1px solid rgba(255, 58, 48, 0.55);
    color: #ffd4d1;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(255, 58, 48, 0.2);
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #ff3a30;
    box-shadow: 0 0 12px rgba(255, 58, 48, 0.9);
    animation: heroDotPulse 2s ease-in-out infinite;
}

.hero-title-highlight {
    background: linear-gradient(90deg, #ffffff 0%, #ffb4af 45%, #ff3a30 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-cta-group {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    padding: 0.35rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 640px) {
    .hero-cta-group {
        flex-wrap: nowrap;
        border-radius: 9999px;
        padding: 0.4rem;
    }
}

.hero-cta-item {
    position: relative;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.625rem;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    background: transparent;
    border: none;
    max-width: 100%;
}

    .hero-cta-item::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0.375rem;
        right: 0.375rem;
        border-radius: 0.625rem;
        background: transparent;
        z-index: -1;
    }

@media (min-width: 640px) {
    .hero-cta-item {
        padding: 0.75rem 1.125rem;
        font-size: 0.8125rem;
        border-radius: 9999px;
    }

        .hero-cta-item::before {
            left: 0.5rem;
            right: 0.5rem;
            border-radius: 9999px;
        }
}

.hero-cta-item svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 0.85;
}

.hero-cta-item:hover::before {
    background: #ff3a30;
}

.hero-cta-item:hover {
    color: #ffffff;
}

    .hero-cta-item:hover svg {
        opacity: 1;
    }

.hero-cta-divider {
    display: none;
    width: 1px;
    flex-shrink: 0;
    align-self: stretch;
    margin: 0.75rem 0.125rem;
    background: rgba(255, 255, 255, 0.25);
}

@media (min-width: 640px) {
    .hero-cta-divider {
        display: block;
    }
}

.hero-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .hero-modal.open {
        opacity: 1;
        visibility: visible;
    }

.hero-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-modal-panel {
    position: relative;
    width: 100%;
    max-width: 44rem;
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.25rem;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s ease;
}

.hero-modal.open .hero-modal-panel {
    transform: translateY(0) scale(1);
}

.hero-modal-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 3.5rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(90deg, rgba(255, 58, 48, 0.06), transparent);
}

.hero-modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    text-align: center;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-modal-close {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: #64748b;
    transition: background 0.2s ease, color 0.2s ease;
}

    .hero-modal-close:hover {
        background: #f1f5f9;
        color: #ff3a30;
    }

.hero-modal-body {
    padding: 1.5rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.hero-modal-content {
    display: none;
}

    .hero-modal-content.active {
        display: block;
        animation: fadeIn 0.35s ease;
    }

#hero-modal:has(#modal-best-time.active) .hero-modal-panel {
    max-width: 52rem;
}

#hero-modal:has(#modal-visa.active) .hero-modal-panel {
    max-width: 52rem;
}

#hero-modal:has(#modal-itineraries.active) .hero-modal-panel {
    max-width: 72rem;
}

.season-intro {
    font-family: 'Playfair Display', Georgia, serif;
    text-align: center;
    font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
    line-height: 1.65;
    color: #64748b;
    max-width: 38rem;
    margin: 0 auto 1.5rem;
}

.season-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .season-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.season-card {
    position: relative;
    display: flex;
    gap: 1rem;
    padding: 1.125rem 1.125rem 1.125rem 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .season-card::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -20%;
        width: 7rem;
        height: 7rem;
        border-radius: 50%;
        opacity: 0.35;
        pointer-events: none;
    }

    .season-card:hover {
        transform: translateY(-4px);
    }

.hero-modal-content.active .season-card {
    animation: seasonCardIn 0.5s ease backwards;
}

    .hero-modal-content.active .season-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .hero-modal-content.active .season-card:nth-child(2) {
        animation-delay: 0.12s;
    }

    .hero-modal-content.active .season-card:nth-child(3) {
        animation-delay: 0.19s;
    }

    .hero-modal-content.active .season-card:nth-child(4) {
        animation-delay: 0.26s;
    }

@keyframes seasonCardIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.season-card--summer {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 55%, #fed7aa 100%);
    border-color: rgba(251, 146, 60, 0.35);
    box-shadow: 0 8px 24px rgba(251, 146, 60, 0.15);
}

    .season-card--summer::before {
        background: radial-gradient(circle, #fdba74, transparent 70%);
    }

    .season-card--summer:hover {
        box-shadow: 0 14px 36px rgba(251, 146, 60, 0.28);
    }

.season-card--autumn {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
}

    .season-card--autumn::before {
        background: radial-gradient(circle, #fbbf24, transparent 70%);
    }

    .season-card--autumn:hover {
        box-shadow: 0 14px 36px rgba(217, 119, 6, 0.22);
    }

.season-card--winter {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 55%, #bae6fd 100%);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
}

    .season-card--winter::before {
        background: radial-gradient(circle, #7dd3fc, transparent 70%);
    }

    .season-card--winter:hover {
        box-shadow: 0 14px 36px rgba(14, 165, 233, 0.22);
    }

.season-card--spring {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}

    .season-card--spring::before {
        background: radial-gradient(circle, #6ee7b7, transparent 70%);
    }

    .season-card--spring:hover {
        box-shadow: 0 14px 36px rgba(16, 185, 129, 0.22);
    }

.season-icon {
    flex-shrink: 0;
    width: 3.75rem;
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.season-svg {
    width: 2.5rem;
    height: 2.5rem;
    overflow: visible;
}

.season-sun-rays {
    transform-origin: 32px 32px;
    animation: seasonSunSpin 12s linear infinite;
}

.season-sun-core {
    transform-origin: 32px 32px;
    transform-box: fill-box;
    animation: seasonSunPulse 2.5s ease-in-out infinite;
}

@keyframes seasonSunSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes seasonSunPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
    }

    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.85));
    }
}

.season-leaf {
    transform-origin: center;
}

.season-leaf--1 {
    animation: seasonLeafSway 2.8s ease-in-out infinite;
}

.season-leaf--2 {
    animation: seasonLeafSway 3.4s ease-in-out infinite 0.4s;
}

.season-leaf--3 {
    animation: seasonLeafFall 4s ease-in-out infinite 0.8s;
}

@keyframes seasonLeafSway {
    0%, 100% {
        transform: rotate(-8deg) translateY(0);
    }

    50% {
        transform: rotate(10deg) translateY(-3px);
    }
}

@keyframes seasonLeafFall {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: translate(4px, 6px) rotate(18deg);
        opacity: 0.75;
    }
}

.season-snowflake {
    transform-origin: center;
}

.season-snowflake--1 {
    animation: seasonSnowDrift 3s ease-in-out infinite;
}

.season-snowflake--2 {
    animation: seasonSnowDrift 3.8s ease-in-out infinite 0.5s;
}

.season-snowflake--3 {
    animation: seasonSnowDrift 4.2s ease-in-out infinite 1s;
}

@keyframes seasonSnowDrift {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.9;
    }

    50% {
        transform: translateY(5px) rotate(180deg);
        opacity: 0.55;
    }
}

.season-rain-drop {
    animation: seasonRainFall 1.4s ease-in infinite;
}

    .season-rain-drop:nth-child(2) {
        animation-delay: 0.35s;
    }

    .season-rain-drop:nth-child(3) {
        animation-delay: 0.7s;
    }

.season-flower-petal {
    transform-origin: 32px 38px;
    animation: seasonFlowerBloom 3s ease-in-out infinite;
}

@keyframes seasonRainFall {
    0% {
        transform: translateY(-2px);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

@keyframes seasonFlowerBloom {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.08) rotate(4deg);
    }
}

.season-body {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.season-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: #0f172a;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.season-period {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: none;
    color: #ff3a30;
    margin-bottom: 0.5rem;
}

    .season-period::before {
        content: '';
        width: 0.375rem;
        height: 0.375rem;
        border-radius: 50%;
        background: currentColor;
        opacity: 0.85;
    }

.season-desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #475569;
}

@media (prefers-reduced-motion: reduce) {
    .season-sun-rays,
    .season-sun-core,
    .season-leaf,
    .season-snowflake,
    .season-rain-drop,
    .season-flower-petal,
    .hero-modal-content.active .season-card,
    .visa-globe-ring,
    .visa-stamp,
    .visa-shamrock,
    .hero-modal-content.active .visa-card,
    .hero-modal-content.active .visa-check-item,
    .hero-modal-content.active .itinerary-card {
        animation: none;
    }

    .itinerary-card:hover,
    .itinerary-card:hover .itinerary-image,
    .itinerary-card:hover .itinerary-download {
        transform: none;
    }

    .itinerary-toast {
        animation: none;
    }
}

.visa-intro {
    font-family: 'Playfair Display', Georgia, serif;
    text-align: center;
    font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
    line-height: 1.65;
    color: #64748b;
    max-width: 38rem;
    margin: 0 auto 1.5rem;
}

.visa-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visa-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .visa-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.visa-card {
    position: relative;
    display: flex;
    gap: 1rem;
    padding: 1.125rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .visa-card::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -15%;
        width: 7rem;
        height: 7rem;
        border-radius: 50%;
        opacity: 0.35;
        pointer-events: none;
    }

    .visa-card:hover {
        transform: translateY(-4px);
    }

.hero-modal-content.active .visa-card {
    animation: seasonCardIn 0.5s ease backwards;
}

#modal-visa.active .visa-card--entry {
    animation-delay: 0.05s;
}

#modal-visa.active .visa-card--uk {
    animation-delay: 0.12s;
}

#modal-visa.active .visa-card--ireland {
    animation-delay: 0.19s;
}

#modal-visa.active .visa-card--checklist {
    animation-delay: 0.26s;
}

.visa-card--entry {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 45%, #bfdbfe 100%);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.14);
}

    .visa-card--entry::before {
        background: radial-gradient(circle, #93c5fd, transparent 70%);
    }

    .visa-card--entry:hover {
        box-shadow: 0 14px 36px rgba(37, 99, 235, 0.24);
    }

.visa-card--uk {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 50%, #fecaca 100%);
    border-color: rgba(220, 38, 38, 0.25);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.1);
}

    .visa-card--uk::before {
        background: radial-gradient(circle, #fca5a5, transparent 70%);
    }

    .visa-card--uk:hover {
        box-shadow: 0 14px 36px rgba(220, 38, 38, 0.18);
    }

.visa-card--ireland {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    border-color: rgba(16, 185, 129, 0.28);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}

    .visa-card--ireland::before {
        background: radial-gradient(circle, #6ee7b7, transparent 70%);
    }

    .visa-card--ireland:hover {
        box-shadow: 0 14px 36px rgba(16, 185, 129, 0.2);
    }

.visa-card--checklist {
    flex-direction: column;
    gap: 0.875rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 40%, #fff1f2 100%);
    border-color: rgba(255, 58, 48, 0.22);
    box-shadow: 0 8px 28px rgba(255, 58, 48, 0.1);
}

    .visa-card--checklist::before {
        top: auto;
        bottom: -25%;
        left: -10%;
        right: auto;
        background: radial-gradient(circle, #ff6b63, transparent 70%);
    }

    .visa-card--checklist:hover {
        box-shadow: 0 14px 36px rgba(255, 58, 48, 0.18);
    }

.visa-icon {
    flex-shrink: 0;
    width: 3.75rem;
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.visa-svg {
    width: 2.5rem;
    height: 2.5rem;
    overflow: visible;
}

.visa-globe-ring {
    transform-origin: 32px 32px;
    animation: visaGlobeSpin 18s linear infinite;
}

.visa-globe-core {
    animation: visaGlobePulse 3s ease-in-out infinite;
}

@keyframes visaGlobeSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes visaGlobePulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }
}

.visa-stamp {
    transform-origin: 32px 32px;
    animation: visaStampPop 2.8s ease-in-out infinite;
}

@keyframes visaStampPop {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.05) rotate(-4deg);
    }
}

.visa-shamrock {
    transform-origin: 32px 34px;
    animation: visaShamrockSway 3.2s ease-in-out infinite;
}

@keyframes visaShamrockSway {
    0%, 100% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(8deg);
    }
}

.visa-body {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.visa-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: #0f172a;
    font-size: clamp(1.125rem, 2.2vw, 1.375rem);
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.visa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
    font-weight: 700;
    color: #ff3a30;
    margin-bottom: 0.45rem;
}

    .visa-badge::before {
        content: '';
        width: 0.375rem;
        height: 0.375rem;
        border-radius: 50%;
        background: currentColor;
    }

.visa-desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #475569;
}

.visa-checklist {
    display: grid;
    gap: 0.625rem;
}

@media (min-width: 640px) {
    .visa-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.visa-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 58, 48, 0.12);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #475569;
}

.hero-modal-content.active .visa-check-item {
    animation: seasonCardIn 0.45s ease backwards;
}

#modal-visa.active .visa-check-item:nth-child(1) {
    animation-delay: 0.32s;
}

#modal-visa.active .visa-check-item:nth-child(2) {
    animation-delay: 0.38s;
}

#modal-visa.active .visa-check-item:nth-child(3) {
    animation-delay: 0.44s;
}

#modal-visa.active .visa-check-item:nth-child(4) {
    animation-delay: 0.5s;
}

.visa-check-icon {
    flex-shrink: 0;
    width: 1.375rem;
    height: 1.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ff3a30, #ff6b63);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 58, 48, 0.35);
}

.visa-note {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px dashed rgba(100, 116, 139, 0.25);
    font-size: 0.75rem;
    line-height: 1.55;
    color: #64748b;
}

.itineraries-soon {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 45%, #fff1f2 100%);
    border: 1px solid rgba(255, 58, 48, 0.18);
    box-shadow: 0 10px 32px rgba(255, 58, 48, 0.1);
}

.itineraries-soon-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(255, 58, 48, 0.12);
}

.itineraries-soon-svg {
    width: 2.75rem;
    height: 2.75rem;
}

.itineraries-soon-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.itineraries-soon-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    color: #64748b;
    max-width: 28rem;
    margin: 0 auto;
}

.itinerary-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

@media (min-width: 640px) {
    .itinerary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.itinerary-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1.125rem;
    background: #0f172a;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    /* Percentage padding keeps the 4:5 ratio on browsers without aspect-ratio support. */
    .itinerary-card::before {
        content: '';
        display: block;
        padding-top: 125%;
    }

@media (max-width: 639px) {
    .itinerary-card {
        width: 100%;
        max-width: 24rem;
        margin: 0 auto;
    }

        .itinerary-card::before {
            padding-top: 66%;
        }
}

    .itinerary-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.32);
    }

    .itinerary-card:focus-visible {
        outline: 3px solid #ff3a30;
        outline-offset: 3px;
    }

.hero-modal-content.active .itinerary-card {
    animation: seasonCardIn 0.5s ease backwards;
}

    .hero-modal-content.active .itinerary-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .hero-modal-content.active .itinerary-card:nth-child(2) {
        animation-delay: 0.12s;
    }

    .hero-modal-content.active .itinerary-card:nth-child(3) {
        animation-delay: 0.19s;
    }

.itinerary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.itinerary-card:hover .itinerary-image {
    transform: scale(1.08);
}

.itinerary-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 42%, rgba(15, 23, 42, 0.05) 75%);
    transition: opacity 0.35s ease;
}

.itinerary-card:hover .itinerary-overlay {
    opacity: 0.88;
}

.itinerary-duration {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    z-index: 1;
    padding: 0.3125rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 58, 48, 0.95);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 58, 48, 0.4);
}

.itinerary-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.875rem;
    padding: 1.25rem 1rem 1.5rem;
}

.itinerary-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: #fff;
    font-size: clamp(1.0625rem, 2vw, 1.375rem);
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.itinerary-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.125rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ff3a30, #ff6b63);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(255, 58, 48, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.itinerary-card:hover .itinerary-download {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(255, 58, 48, 0.45);
}

.itinerary-toast-root {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    width: min(22rem, calc(100vw - 2.5rem));
    pointer-events: none;
}

.itinerary-toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 0.875rem 1rem;
    overflow: hidden;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 58, 48, 0.2);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: auto;
    animation: itineraryToastIn 0.35s ease;
}

    .itinerary-toast.is-leaving {
        animation: itineraryToastOut 0.3s ease forwards;
    }

@keyframes itineraryToastIn {
    from {
        opacity: 0;
        transform: translateX(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes itineraryToastOut {
    to {
        opacity: 0;
        transform: translateX(20px) scale(0.98);
    }
}

.itinerary-toast-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ff3a30, #ff6b63);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 58, 48, 0.32);
}

    .itinerary-toast-icon svg {
        width: 1.125rem;
        height: 1.125rem;
    }

.itinerary-toast-body {
    flex: 1 1 auto;
    min-width: 0;
}

.itinerary-toast-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.itinerary-toast-text {
    margin-top: 0.125rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
}

.itinerary-toast-close {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: #94a3b8;
    transition: background 0.2s ease, color 0.2s ease;
}

    .itinerary-toast-close:hover {
        background: #f1f5f9;
        color: #ff3a30;
    }

    .itinerary-toast-close svg {
        width: 0.875rem;
        height: 0.875rem;
    }

.itinerary-toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    transform-origin: left center;
    background: linear-gradient(90deg, #ff3a30, #ff6b63);
    animation: itineraryToastProgress linear forwards;
}

@keyframes itineraryToastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@media (max-width: 480px) {
    .itinerary-toast-root {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 0.75rem;
        width: auto;
    }
}

.itinerary-download-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.connect-grid {
    display: grid;
    gap: 1.25rem;
    padding: 0.5rem 0 1.75rem;
}

.connect-card-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .connect-card-wrap::after {
        display: none;
    }

.connect-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    min-height: 100%;
    gap: 1rem;
    padding: 1.375rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

    .connect-card:hover {
        transform: translateY(-6px);
    }

    .connect-card::before {
        content: '';
        position: absolute;
        top: -35%;
        right: -18%;
        width: 8rem;
        height: 8rem;
        border-radius: 50%;
        opacity: 0.4;
        pointer-events: none;
    }

.connect-card--air {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 55%, #dbeafe 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

    .connect-card--air::before {
        background: radial-gradient(circle, #93c5fd, transparent 70%);
    }

    .connect-card--air:hover {
        box-shadow: 0 18px 44px rgba(37, 99, 235, 0.22);
    }

.connect-card--road {
    background: linear-gradient(145deg, #ffffff 0%, #fff7ed 55%, #ffedd5 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

    .connect-card--road::before {
        background: radial-gradient(circle, #fdba74, transparent 70%);
    }

    .connect-card--road:hover {
        box-shadow: 0 18px 44px rgba(234, 88, 12, 0.2);
    }

.connect-card--rail {
    background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 55%, #ede9fe 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

    .connect-card--rail::before {
        background: radial-gradient(circle, #c4b5fd, transparent 70%);
    }

    .connect-card--rail:hover {
        box-shadow: 0 18px 44px rgba(124, 58, 237, 0.2);
    }

.connect-card--local {
    background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 55%, #d1fae5 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

    .connect-card--local::before {
        background: radial-gradient(circle, #6ee7b7, transparent 70%);
    }

    .connect-card--local:hover {
        box-shadow: 0 18px 44px rgba(16, 185, 129, 0.2);
    }

@media (min-width: 768px) {
    .connect-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, 1fr);
        gap: 1.5rem;
        align-items: stretch;
        perspective: 1500px;
        perspective-origin: 50% 35%;
    }

    .connect-card {
        min-height: 21rem;
        transform-style: preserve-3d;
        backface-visibility: hidden;
        transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.5s ease;
        box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22), 0 8px 18px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -2px 0 rgba(15, 23, 42, 0.04);
    }

        .connect-card:hover {
            transform: none;
            box-shadow: 0 32px 60px rgba(15, 23, 42, 0.28), 0 14px 28px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.98);
        }

    .connect-card-wrap {
        transform-style: preserve-3d;
    }

        .connect-card-wrap:nth-child(1) .connect-card {
            transform: rotateY(11deg) rotateX(9deg) translateZ(0);
        }

        .connect-card-wrap:nth-child(2) .connect-card {
            transform: rotateY(-11deg) rotateX(9deg) translateZ(0);
        }

        .connect-card-wrap:nth-child(3) .connect-card {
            transform: rotateY(11deg) rotateX(-7deg) translateZ(0);
        }

        .connect-card-wrap:nth-child(4) .connect-card {
            transform: rotateY(-11deg) rotateX(-7deg) translateZ(0);
        }

        .connect-card-wrap:hover .connect-card,
        .connect-card-wrap:focus-within .connect-card {
            transform: rotateY(0deg) rotateX(0deg) translateY(-14px) translateZ(48px) scale(1.03);
            z-index: 5;
        }

        .connect-card-wrap::after {
            content: '';
            display: block;
            width: 72%;
            height: 1.125rem;
            margin: 0.35rem auto 0;
            background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.42) 0%, transparent 72%);
            transform: rotateX(72deg) scaleY(0.55);
            opacity: 0.55;
            transition: opacity 0.45s ease, transform 0.45s ease;
            pointer-events: none;
        }

        .connect-card-wrap:hover::after,
        .connect-card-wrap:focus-within::after {
            opacity: 0.28;
            transform: rotateX(72deg) scaleY(0.42);
        }

    .connect-head {
        transform: translateZ(18px);
    }

    .connect-icon {
        transform: translateZ(28px);
    }

    .connect-body {
        transform: translateZ(14px);
    }
}

.connect-head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.connect-icon {
    flex-shrink: 0;
    width: 5.5rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 16px rgba(15, 23, 42, 0.08);
}

.connect-svg {
    width: 3.75rem;
    height: 3.75rem;
    overflow: visible;
}

.connect-plane {
    animation: connectPlaneFly 2.8s ease-in-out infinite;
}

.connect-plane-trail {
    animation: connectPlaneTrail 2.8s ease-in-out infinite;
}

@keyframes connectPlaneFly {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(4px, -5px) rotate(-6deg);
    }
}

@keyframes connectPlaneTrail {
    0%, 100% {
        opacity: 0.25;
        transform: scaleX(0.85);
    }

    50% {
        opacity: 0.55;
        transform: scaleX(1);
    }
}

.connect-car {
    animation: connectCarDrive 2.4s ease-in-out infinite;
}

.connect-road-line {
    animation: connectRoadScroll 1.6s linear infinite;
}

@keyframes connectCarDrive {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@keyframes connectRoadScroll {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -16;
    }
}

.connect-train {
    animation: connectTrainMove 2.6s ease-in-out infinite;
}

.connect-rail-spark {
    animation: connectRailSpark 1.8s ease-in-out infinite;
}

@keyframes connectTrainMove {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }
}

@keyframes connectRailSpark {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.connect-tram {
    animation: connectTramSlide 3s ease-in-out infinite;
}

.connect-arrow {
    animation: connectArrowPulse 1.6s ease-in-out infinite;
}

.connect-arrow--2 {
    animation-delay: 0.4s;
}

@keyframes connectTramSlide {
    0%, 100% {
        transform: translateX(-2px);
    }

    50% {
        transform: translateX(4px);
    }
}

@keyframes connectArrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.55;
    }

    50% {
        transform: translateX(3px);
        opacity: 1;
    }
}

.connect-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.connect-body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .connect-grid {
        gap: 1rem;
    }
}

.connect-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475569;
}

.connect-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.connect-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #334155;
    padding: 0.45rem 0.625rem;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 58, 48, 0.1);
}

.connect-list-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #ff3a30;
    flex-shrink: 0;
}

.connect-note {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #64748b;
}

.connect-times-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ff3a30;
    margin-bottom: 0.625rem;
}

.connect-times {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
}

.connect-time-chip {
    text-align: center;
    padding: 0.625rem 0.375rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 58, 48, 0.12);
    box-shadow: 0 2px 8px rgba(255, 58, 48, 0.08);
}

.connect-time-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ff3a30;
    line-height: 1.1;
}

.connect-time-city {
    font-size: 0.6875rem;
    color: #64748b;
    margin-top: 0.2rem;
}

@media (prefers-reduced-motion: reduce) {
    .connect-plane,
    .connect-plane-trail,
    .connect-car,
    .connect-road-line,
    .connect-train,
    .connect-rail-spark,
    .connect-tram,
    .connect-arrow {
        animation: none;
    }

    .connect-card-wrap:nth-child(n) .connect-card {
        transform: none !important;
    }

    .connect-card-wrap::after {
        display: none;
    }
}

.hotel-intro {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    color: #64748b;
    max-width: 36rem;
    margin: 0.75rem auto 0;
}

.hotel-block {
    margin-bottom: 3rem;
}

    .hotel-block:last-child {
        margin-bottom: 0;
    }

.hotel-category {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.hotel-category-icon {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    background: rgba(255, 58, 48, 0.08);
    box-shadow: 0 4px 14px rgba(255, 58, 48, 0.12);
}

.hotel-category-svg {
    width: 2rem;
    height: 2rem;
    overflow: visible;
}

.hotel-category-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.hotel-grid {
    display: grid;
    gap: 1rem;
}

.hotel-grid--casino {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .hotel-grid--casino {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .hotel-grid--casino {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hotel-grid--feature {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .hotel-grid--feature {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hotel-card {
    position: relative;
    display: flex;
    gap: 0.875rem;
    padding: 1.125rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .hotel-card::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -15%;
        width: 6rem;
        height: 6rem;
        border-radius: 50%;
        opacity: 0.35;
        pointer-events: none;
    }

    .hotel-card:hover {
        transform: translateY(-5px);
    }

.hotel-card--casino {
    background: linear-gradient(145deg, #ffffff 0%, #fff7ed 55%, #ffedd5 100%);
    border-color: rgba(234, 88, 12, 0.22);
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.1);
}

    .hotel-card--casino::before {
        background: radial-gradient(circle, #fdba74, transparent 70%);
    }

    .hotel-card--casino:hover {
        box-shadow: 0 14px 36px rgba(234, 88, 12, 0.2);
    }

.hotel-card--boardwalk {
    flex-direction: column;
    gap: 1rem;
    padding: 1.375rem;
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 55%, #dbeafe 100%);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.1);
}

    .hotel-card--boardwalk::before {
        background: radial-gradient(circle, #93c5fd, transparent 70%);
    }

    .hotel-card--boardwalk:hover {
        box-shadow: 0 16px 40px rgba(37, 99, 235, 0.2);
    }

.hotel-card--golf {
    flex-direction: column;
    gap: 1rem;
    padding: 1.375rem;
    background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 55%, #d1fae5 100%);
    border-color: rgba(16, 185, 129, 0.22);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.1);
}

    .hotel-card--golf::before {
        background: radial-gradient(circle, #6ee7b7, transparent 70%);
    }

    .hotel-card--golf:hover {
        box-shadow: 0 16px 40px rgba(16, 185, 129, 0.2);
    }

.hotel-icon {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 12px rgba(15, 23, 42, 0.06);
}

.hotel-icon--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
}

.hotel-svg {
    width: 2rem;
    height: 2rem;
    overflow: visible;
}

.hotel-svg--lg {
    width: 2.5rem;
    height: 2.5rem;
}

.hotel-chip {
    transform-origin: 32px 32px;
    animation: hotelChipSpin 4s linear infinite;
}

.hotel-dice {
    animation: hotelDiceRoll 2.8s ease-in-out infinite;
}

.hotel-crown {
    animation: hotelCrownGlow 2.5s ease-in-out infinite;
}

.hotel-guitar {
    animation: hotelGuitarStrum 2.6s ease-in-out infinite;
}

.hotel-wave {
    animation: hotelWaveMove 2.2s ease-in-out infinite;
}

.hotel-boardwalk {
    animation: hotelBoardwalkGlow 3s ease-in-out infinite;
}

.hotel-flag {
    transform-origin: 40px 18px;
    animation: hotelFlagSway 2.8s ease-in-out infinite;
}

.hotel-tree {
    transform-origin: bottom center;
    animation: hotelTreeSway 3.2s ease-in-out infinite;
}

.hotel-category-chip {
    transform-origin: 32px 32px;
    animation: hotelChipSpin 5s linear infinite;
}

@keyframes hotelChipSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hotelDiceRoll {
    0%, 100% {
        transform: rotate(0deg) translateY(0);
    }

    50% {
        transform: rotate(12deg) translateY(-3px);
    }
}

@keyframes hotelCrownGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.4));
    }

    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8));
    }
}

@keyframes hotelGuitarStrum {
    0%, 100% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(6deg);
    }
}

@keyframes hotelWaveMove {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

@keyframes hotelBoardwalkGlow {
    0%, 100% {
        opacity: 0.85;
    }

    50% {
        opacity: 1;
    }
}

@keyframes hotelFlagSway {
    0%, 100% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

@keyframes hotelTreeSway {
    0%, 100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(4deg);
    }
}

.hotel-body {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hotel-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.hotel-name--lg {
    font-size: clamp(1.125rem, 2vw, 1.3125rem);
    margin-bottom: 0.35rem;
}

.hotel-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.35rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ff3a30;
}

    .hotel-tag::before {
        content: '';
        width: 0.35rem;
        height: 0.35rem;
        border-radius: 50%;
        background: currentColor;
    }

.hotel-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
}

.hotel-feature-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .hotel-chip,
    .hotel-dice,
    .hotel-crown,
    .hotel-guitar,
    .hotel-wave,
    .hotel-boardwalk,
    .hotel-flag,
    .hotel-tree,
    .hotel-category-chip {
        animation: none;
    }
}

#things-to-do {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #f0f0f0;
}

    #things-to-do::before,
    #things-to-do::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
    }

    #things-to-do::before {
        top: -8rem;
        right: -6rem;
        width: 22rem;
        height: 22rem;
        background: radial-gradient(circle, rgba(255, 58, 48, 0.1) 0%, transparent 70%);
    }

    #things-to-do::after {
        bottom: -6rem;
        left: -5rem;
        width: 18rem;
        height: 18rem;
        background: radial-gradient(circle, rgba(255, 58, 48, 0.07) 0%, transparent 70%);
    }

.todo-inner {
    position: relative;
    z-index: 1;
}
/* Section accent heading (arrows + lines) */
.accent-header {
    width: 100%;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .accent-header {
        margin-bottom: 3rem;
    }
}

.accent-header-eyebrow {
    display: block;
    text-align: center;
    color: #ff3a30;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.accent-header-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.accent-header-center {
    flex: 1;
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1.25rem);
    min-width: 0;
}

.accent-header-line {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 58, 48, 0.06), rgba(255, 58, 48, 0.4));
}

.accent-header-line--right {
    background: linear-gradient(90deg, rgba(255, 58, 48, 0.4), rgba(255, 58, 48, 0.06));
}

.accent-header-title {
    flex-shrink: 0;
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.375rem, 3.2vw, 3rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.15;
    text-align: center;
}

.accent-header-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff3a30;
    flex-shrink: 0;
}

    .accent-header-arrow svg {
        width: clamp(1.125rem, 2.5vw, 1.5rem);
        height: clamp(1.125rem, 2.5vw, 1.5rem);
    }

.accent-header-desc {
    margin: 1rem auto 0;
    max-width: 48rem;
    text-align: center;
    color: #64748b;
    line-height: 1.6;
}

.accent-header--light .accent-header-eyebrow {
    color: rgba(255, 255, 255, 0.9);
}

.accent-header--light .accent-header-title {
    color: #ffffff;
}

.accent-header--light .accent-header-arrow {
    color: #ffffff;
}

.accent-header--light .accent-header-line {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.65));
}

.accent-header--light .accent-header-line--right {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.08));
}

.accent-header--light .accent-header-desc {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 480px) {
    .accent-header-row {
        gap: 0.375rem;
    }

    .accent-header-center {
        gap: 0.375rem;
    }

    .accent-header-title {
        font-size: clamp(1.125rem, 4.5vw, 1.375rem);
        flex-shrink: 1;
        max-width: 100%;
    }

    .accent-header-arrow svg {
        width: 1rem;
        height: 1rem;
    }

    .accent-header-line {
        min-width: 0.75rem;
    }
}

/* Things to Do — tabs */
.todo-tabs-shell {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

.todo-nav {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0.75rem;
    background: #f8fafc;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

    .todo-nav::-webkit-scrollbar {
        display: none;
    }

.todo-nav-track {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    padding: 0.3rem;
    background: #f1f5f9;
    border-radius: 0.75rem;
    position: relative;
    width: max-content;
    max-width: none;
    margin: 0;
}

.todo-nav-glider {
    position: absolute;
    top: 0.3rem;
    left: 0;
    width: 0;
    height: calc(100% - 0.3rem + 7px);
    background: #ff3a30;
    border-radius: 0.55rem 0.55rem 0 0;
    box-shadow: 0 4px 14px rgba(255, 58, 48, 0.35);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
    clip-path: polygon( 0 0, 100% 0, 100% calc(100% - 8px), calc(50% + 8px) calc(100% - 8px), 50% 100%, calc(50% - 8px) calc(100% - 8px), 0 calc(100% - 8px) );
}

.todo-nav-link {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.625rem 0.875rem;
    border: none;
    border-radius: 0.55rem;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color 0.3s ease;
}

.todo-nav-text--short {
    display: none;
}

.todo-nav-link:hover,
.todo-nav-link:focus-visible {
    color: #ff3a30;
    outline: none;
}

.todo-nav-link.is-active {
    color: #ffffff;
}

.todo-panels-wrap {
    padding: 1.125rem;
    background: linear-gradient(180deg, #fff5f4 0%, #ffffff 100%);
}

@media (min-width: 640px) {
    .todo-nav {
        padding: 0.875rem 1rem;
    }

    .todo-nav-link {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .todo-panels-wrap {
        padding: 1.375rem;
    }
}

@media (min-width: 768px) {
    .todo-panels-wrap {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .todo-nav {
        padding: 1rem 1rem 1.125rem;
        text-align: center;
    }

    .todo-nav-link {
        padding: 0.625rem 1.125rem;
    }

    .todo-panels-wrap {
        padding: 1.75rem;
    }
}

@media (max-width: 639px) {
    .todo-tabs-shell {
        border-radius: 1rem;
    }

    .todo-nav-link {
        min-height: 2.625rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .todo-nav-text--full {
        display: none;
    }

    .todo-nav-text--short {
        display: inline;
    }

    .todo-panel-head {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .todo-panel-icon {
        width: 3rem;
        height: 3rem;
    }

    .todo-item {
        padding: 1rem 1rem 0.875rem 2.5rem;
    }
}

.todo-panel {
    display: none;
}

    .todo-panel.is-active {
        display: block;
        opacity: 1;
        transform: none;
        animation: todoTabFade 0.35s ease;
    }

@keyframes todoTabFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .todo-nav-glider,
    .todo-panel.is-active {
        animation: none;
        transition: none;
    }
}

.todo-panel-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.todo-panel-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.todo-panel-icon--stay {
    background: linear-gradient(135deg, #0f766e, #2dd4bf);
}

.todo-panel-icon--attractions {
    background: linear-gradient(135deg, #ea580c, #fb923c);
}

.todo-panel-icon--beach {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.todo-panel-icon--casino {
    background: linear-gradient(135deg, #d97706, #fbbf24);
}

.todo-panel-icon--art {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.todo-panel-icon--shop {
    background: linear-gradient(135deg, #db2777, #f472b6);
}

.todo-panel-icon--night {
    background: linear-gradient(135deg, #4338ca, #818cf8);
}

.todo-panel-meta {
    flex: 1;
    min-width: 0;
}

.todo-panel-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.todo-panel-count {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ff3a30;
}

.todo-panel-accent {
    flex-shrink: 0;
    width: 3px;
    align-self: stretch;
    border-radius: 9999px;
    background: linear-gradient(180deg, #ff3a30, #ff6b63);
    opacity: 0.35;
}

.todo-category-svg {
    width: 2rem;
    height: 2rem;
    overflow: visible;
}

.todo-items {
    display: grid;
    gap: 0.875rem;
    counter-reset: todo-item;
}

.todo-items--3 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .todo-items--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .todo-items--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.todo-items--2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .todo-items--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.todo-item {
    position: relative;
    padding: 1.125rem 1.125rem 1rem 2.75rem;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-left: 6px solid #ff3a30;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.todo-panel.is-active .todo-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 58, 48, 0.14);
}

    .todo-panel.is-active .todo-item:hover {
        background: #ffffff;
        box-shadow: 0 10px 28px rgba(255, 58, 48, 0.12);
    }

.todo-item::before {
    counter-increment: todo-item;
    content: counter(todo-item, decimal-leading-zero);
    position: absolute;
    left: 1rem;
    top: 1.125rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #ff3a30;
    opacity: 0.85;
}

.todo-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 58, 48, 0.28);
    border-left-color: #ff3a30;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(255, 58, 48, 0.1);
}

.todo-item-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    transition: color 0.25s ease;
}

.todo-item:hover .todo-item-title {
    color: #ff3a30;
}

.todo-item-desc {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #64748b;
}

.todo-ferris {
    transform-origin: 32px 32px;
    animation: todoFerrisSpin 10s linear infinite;
}

.todo-wave {
    animation: todoWaveMove 2.4s ease-in-out infinite;
}

.todo-dice {
    animation: hotelDiceRoll 2.8s ease-in-out infinite;
}

.todo-palette {
    animation: todoPaletteTilt 3s ease-in-out infinite;
}

.todo-bag {
    animation: todoBagBounce 2.6s ease-in-out infinite;
}

.todo-moon {
    animation: todoMoonGlow 2.8s ease-in-out infinite;
}

.todo-star {
    animation: todoStarTwinkle 1.8s ease-in-out infinite;
}

@keyframes todoFerrisSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes todoWaveMove {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@keyframes todoPaletteTilt {
    0%, 100% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(8deg);
    }
}

@keyframes todoBagBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes todoMoonGlow {
    0%, 100% {
        opacity: 0.85;
        filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.4));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.85));
    }
}

@keyframes todoStarTwinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .todo-ferris,
    .todo-wave,
    .todo-dice,
    .todo-palette,
    .todo-bag,
    .todo-moon,
    .todo-star {
        animation: none;
    }
}

#where-to-eat {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.eat-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.eat-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.eat-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(248, 250, 252, 0.92) 0%, rgba(241, 245, 249, 0.88) 45%, rgba(248, 250, 252, 0.34) 100% );
}

.eat-content {
    position: relative;
    z-index: 1;
}

.eat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .eat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .eat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.eat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.25rem 1.125rem 1.375rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 58, 48, 0.18);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(255, 58, 48, 0.08);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .eat-card::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #ff3a30 0%, #ff6b63 100%);
        border-radius: 1rem 0 0 1rem;
    }

    .eat-card::before {
        content: '';
        position: absolute;
        top: -35%;
        right: -15%;
        width: 6rem;
        height: 6rem;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 58, 48, 0.12), transparent 70%);
        pointer-events: none;
    }

    .eat-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255, 58, 48, 0.4);
        box-shadow: 0 14px 36px rgba(255, 58, 48, 0.18);
    }

        .eat-card:hover .eat-icon {
            background: rgba(255, 58, 48, 0.12);
            border-color: rgba(255, 58, 48, 0.28);
        }

.eat-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    background: rgba(255, 58, 48, 0.06);
    border: 1px solid rgba(255, 58, 48, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 12px rgba(255, 58, 48, 0.1);
    transition: background 0.35s ease, border-color 0.35s ease;
}

.eat-svg {
    width: 2.35rem;
    height: 2.35rem;
    overflow: visible;
}

.eat-steam {
    animation: eatSteam 1.5s ease-in-out infinite;
    stroke-width: 3;
}

.eat-steam--2 {
    animation-delay: 0.35s;
}

.eat-steam--3 {
    animation-delay: 0.7s;
}

.eat-plate {
    transform-origin: 32px 34px;
    transform-box: fill-box;
    animation: eatPlateGlow 2.2s ease-in-out infinite;
}

.eat-utensil {
    transform-origin: center;
    animation: eatUtensilSway 2.4s ease-in-out infinite;
}

.eat-utensil--right {
    animation-delay: 0.35s;
}

@keyframes eatSteam {
    0% {
        transform: translateY(4px);
        opacity: 0.35;
    }

    50% {
        transform: translateY(-12px);
        opacity: 1;
    }

    100% {
        transform: translateY(4px);
        opacity: 0.35;
    }
}

@keyframes eatPlateGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(255, 58, 48, 0.45));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 14px rgba(255, 58, 48, 0.85));
    }
}

@keyframes eatUtensilSway {
    0%, 100% {
        transform: rotate(-6deg);
    }

    50% {
        transform: rotate(8deg);
    }
}

.eat-name {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    transition: color 0.35s ease;
}

.eat-card:hover .eat-name {
    color: #ff3a30;
}

@media (prefers-reduced-motion: reduce) {
    .eat-steam,
    .eat-plate,
    .eat-utensil {
        animation: none;
    }
}

@keyframes heroGlowFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -16px) scale(1.08);
    }
}

@keyframes heroDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.85);
    }
}

#header .nav-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0.625rem;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-radius: 0;
    overflow: visible;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: #0f172a;
    transition: color 0.35s ease;
    isolation: isolate;
    box-sizing: border-box;
}

    #header .nav-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100% + 1px);
        background: #f1f5f9;
        z-index: -2;
        clip-path: polygon( 0 0, 100% 0, 100% 100%, calc(50% + 10px) 100%, 50% calc(100% - 10px), calc(50% - 10px) 100%, 0 100% );
    }

    #header .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100% + 1px);
        background: #ff3a30;
        border-radius: 0;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), clip-path 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }

    #header .nav-link:hover::before,
    #header .nav-link.active::before,
    #header .nav-link:focus-visible::before {
        transform: scaleY(1);
        clip-path: polygon( 0 0, 100% 0, 100% 100%, calc(50% + 10px) 100%, 50% calc(100% - 10px), calc(50% - 10px) 100%, 0 100% );
    }

    #header .nav-link:hover,
    #header .nav-link.active,
    #header .nav-link:focus-visible {
        color: #ffffff;
    }

    #header .nav-link:focus-visible {
        outline: none;
    }

    #header .nav-link .nav-icon {
        width: 1.125rem;
        height: 1.125rem;
        opacity: 1;
        overflow: visible;
        flex-shrink: 0;
        transform-origin: center;
        transition: color 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
        margin-bottom: 0.2rem;
        color: #ff3a30;
        animation: none;
    }

    #header .nav-link:hover .nav-icon,
    #header .nav-link.active .nav-icon,
    #header .nav-link:focus-visible .nav-icon {
        color: #ffffff;
        animation: navIconPulse 2s ease-in-out infinite;
    }

    #header .nav-link .nav-icon-record {
        fill: #ff3a30;
        animation: none;
        transform-origin: center;
    }

    #header .nav-link.active .nav-icon-record {
        animation: mediaRecordBlink 1.4s ease-in-out infinite;
    }

    #header .nav-link:hover .nav-icon-record,
    #header .nav-link.active .nav-icon-record,
    #header .nav-link:focus-visible .nav-icon-record {
        fill: #ffffff;
        animation: mediaRecordBlink 1.4s ease-in-out infinite;
    }

#mobile-menu .mobile-nav {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 400;
    color: #0f172a;
    background: #f1f5f9;
}

    #mobile-menu .mobile-nav .nav-icon {
        width: 1.125rem;
        height: 1.125rem;
        opacity: 1;
        overflow: visible;
        flex-shrink: 0;
        transition: color 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
        margin-right: 0.5rem;
        color: #ff3a30;
        animation: none;
    }

    #mobile-menu .mobile-nav:hover .nav-icon,
    #mobile-menu .mobile-nav.active .nav-icon,
    #mobile-menu .mobile-nav:focus-visible .nav-icon {
        color: #ffffff;
        animation: navIconPulse 2s ease-in-out infinite;
    }

#mobile-menu .nav-icon-record {
    fill: #ff3a30;
    animation: none;
    transform-origin: center;
}

#mobile-menu .mobile-nav.active .nav-icon-record {
    animation: mediaRecordBlink 1.4s ease-in-out infinite;
}

#mobile-menu .mobile-nav:hover .nav-icon-record,
#mobile-menu .mobile-nav.active .nav-icon-record,
#mobile-menu .mobile-nav:focus-visible .nav-icon-record {
    fill: #ffffff;
    animation: mediaRecordBlink 1.4s ease-in-out infinite;
}

@keyframes navIconPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes mediaRecordBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

@media (prefers-reduced-motion: reduce) {
    #header .nav-link .nav-icon,
    #header .nav-link .nav-icon-record,
    #mobile-menu .mobile-nav .nav-icon,
    #mobile-menu .nav-icon-record {
        animation: none;
    }
}

#mobile-menu .mobile-nav.active,
#mobile-menu .mobile-nav:hover {
    background: #ff3a30;
    color: #ffffff;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card-hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(255, 58, 48, 0.12);
    }

.about-image-wrap {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.about-image-glow {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    box-shadow: 0 0 0 1px rgba(255, 58, 48, 0.12), 0 0 24px rgba(255, 58, 48, 0.22), 0 0 48px rgba(255, 58, 48, 0.12), 0 20px 40px rgba(255, 58, 48, 0.08);
    animation: aboutGlowPulse 4s ease-in-out infinite alternate;
}

    .about-image-glow::before {
        content: '';
        position: absolute;
        inset: -10%;
        border-radius: inherit;
        background: radial-gradient(circle at 50% 50%, rgba(255, 58, 48, 0.35) 0%, rgba(255, 107, 99, 0.12) 45%, rgba(255, 58, 48, 0) 72%);
        filter: blur(22px);
        opacity: 0.55;
        z-index: -1;
        pointer-events: none;
        animation: aboutGlowPulseSoft 4s ease-in-out infinite alternate-reverse;
    }

    .about-image-glow::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        box-shadow: inset 0 0 0 1px rgba(255, 58, 48, 0.15);
        pointer-events: none;
        z-index: 2;
    }

.about-image-inner {
    border-radius: 1rem;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

    .about-image-inner img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 16rem;
        object-fit: cover;
        transform: scale(1.14);
        transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

.about-image-wrap.visible .about-image-inner img {
    transform: scale(1);
    animation: aboutImageScale 7s ease-in-out 1.2s infinite alternate;
}

.about-image-wrap:hover .about-image-inner img {
    animation-play-state: paused;
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    background: #ff3a30;
    opacity: 0.18;
    z-index: 0;
    filter: blur(2px);
    animation: aboutAccentPulse 4s ease-in-out infinite alternate;
}

@keyframes aboutGlowPulse {
    0% {
        box-shadow: 0 0 0 1px rgba(255, 58, 48, 0.1), 0 0 18px rgba(255, 58, 48, 0.18), 0 0 36px rgba(255, 58, 48, 0.1), 0 16px 32px rgba(255, 58, 48, 0.06);
    }

    100% {
        box-shadow: 0 0 0 1px rgba(255, 58, 48, 0.18), 0 0 28px rgba(255, 58, 48, 0.32), 0 0 56px rgba(255, 58, 48, 0.16), 0 24px 48px rgba(255, 58, 48, 0.12);
    }
}

@keyframes aboutGlowPulseSoft {
    0% {
        opacity: 0.4;
        transform: scale(0.96);
    }

    100% {
        opacity: 0.65;
        transform: scale(1.04);
    }
}

@keyframes aboutImageScale {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.06);
    }
}

@keyframes aboutAccentPulse {
    0% {
        opacity: 0.14;
        transform: scale(0.95);
    }

    100% {
        opacity: 0.22;
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-image-glow,
    .about-image-glow::before,
    .about-image-accent {
        animation: none;
    }

    .about-image-inner img {
        transform: scale(1);
        animation: none;
        transition: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media — full primary gradient background */
#media {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(135deg, #d93228 0%, #ff3a30 35%, #ff5249 65%, #ff3a30 100%);
    color: #ffffff;
    padding-bottom: 0;
}

    #media::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 60% 50% at 15% 85%, rgba(255, 255, 255, 0.12) 0%, transparent 55%), radial-gradient(ellipse 45% 40% at 90% 10%, rgba(0, 0, 0, 0.12) 0%, transparent 55%);
        pointer-events: none;
        z-index: 0;
    }

.media-inner {
    position: relative;
    z-index: 1;
}

.media-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: #ffffff;
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.media-gallery-footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: max-content;
    max-width: calc(100% - 1.5rem);
}

@media (max-width: 767px) {
    .media-gallery-footer {
        bottom: 1.25rem;
        width: calc(100% - 1rem);
        max-width: none;
    }

    .media-logo-wrap {
        display: none;
    }

    .media-gallery-cta {
        width: auto;
        max-width: calc(100% - 0.5rem);
    }
}

.media-gallery-cta {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    background: #ffffff;
    color: #ff3a30;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

    .media-gallery-cta:hover {
        background: rgba(255, 255, 255, 0.92);
    }

    .media-gallery-cta svg {
        width: 1.25rem;
        height: 1.25rem;
        flex-shrink: 0;
    }

.media-logo {
    display: block;
    height: 4rem;
    width: auto;
    max-width: min(100%, 16rem);
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

@media (min-width: 768px) {
    .media-gallery-footer {
        bottom: 110px;
    }

    .media-logo-wrap {
        padding: 1rem 2rem;
    }

    .media-logo {
        height: 5rem;
        max-width: 20rem;
    }
}

/* Media — masonry gallery & lightbox */
.media-gallery-wrap {
    position: relative;
    margin-bottom: 0;
}

.media-masonry {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 34px;
    gap: 0.25rem;
    padding-bottom: 3.5rem;
}

@media (max-width: 767px) {
    .media-gallery-cta {
        padding: 0.4375rem 0.875rem;
        font-size: 0.75rem;
        gap: 0.375rem;
        line-height: 1.2;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    }

        .media-gallery-cta svg {
            width: 0.875rem;
            height: 0.875rem;
        }
}

.media-masonry-item:nth-child(1) {
    grid-row: span 2;
}

.media-masonry-item:nth-child(2) {
    grid-row: span 2;
}

.media-masonry-item:nth-child(3) {
    grid-row: span 3;
}

.media-masonry-item:nth-child(4) {
    grid-row: span 2;
}

.media-masonry-item:nth-child(5) {
    grid-row: span 2;
}

.media-masonry-item:nth-child(6) {
    grid-row: span 2;
}

@media (max-width: 767px) {
    .media-masonry-item {
        border-width: 2px;
        border-radius: 0.625rem;
    }
}

@media (min-width: 768px) {
    .media-masonry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 76px;
        gap: 0.75rem;
        padding-bottom: 6.75rem;
    }

    .media-masonry-item:nth-child(1) {
        grid-row: span 4;
    }

    .media-masonry-item:nth-child(2) {
        grid-row: span 3;
    }

    .media-masonry-item:nth-child(3) {
        grid-row: span 5;
    }

    .media-masonry-item:nth-child(4) {
        grid-row: span 3;
    }

    .media-masonry-item:nth-child(5) {
        grid-row: span 4;
    }

    .media-masonry-item:nth-child(6) {
        grid-row: span 3;
    }
}

@media (min-width: 1024px) {
    .media-masonry {
        grid-auto-rows: 84px;
        gap: 0.875rem;
    }
}

.media-masonry-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 4px solid #ffffff;
    box-sizing: border-box;
    border-radius: 0.875rem;
    overflow: hidden;
    cursor: pointer;
    background: #1e293b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .media-masonry-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .media-masonry-item::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.55) 100%);
        opacity: 0.5;
        transition: opacity 0.35s ease;
        pointer-events: none;
    }

.media-masonry-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 58, 48, 0);
    transition: background 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

    .media-masonry-overlay svg {
        width: 2rem;
        height: 2rem;
        color: #ffffff;
        opacity: 0;
        transform: scale(0.85);
        transition: opacity 0.35s ease, transform 0.35s ease;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    }

.media-masonry-item:hover,
.media-masonry-item:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 58, 48, 0.28);
    outline: none;
}

    .media-masonry-item:hover img,
    .media-masonry-item:focus-visible img {
        transform: scale(1.06);
    }

    .media-masonry-item:hover::after,
    .media-masonry-item:focus-visible::after {
        opacity: 0.75;
    }

    .media-masonry-item:hover .media-masonry-overlay,
    .media-masonry-item:focus-visible .media-masonry-overlay {
        background: rgba(255, 58, 48, 0.25);
    }

        .media-masonry-item:hover .media-masonry-overlay svg,
        .media-masonry-item:focus-visible .media-masonry-overlay svg {
            opacity: 1;
            transform: scale(1);
        }

.media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

    .media-lightbox.open {
        opacity: 1;
        visibility: visible;
    }

.media-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: #000000;
}

.media-lightbox-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: #000000;
    overflow: hidden;
}

.media-lightbox-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

    .media-lightbox-toolbar > * {
        pointer-events: auto;
    }

.media-lightbox-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.media-lightbox-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.media-lightbox-close {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease;
}

    .media-lightbox-close:hover {
        background: #ff3a30;
        transform: scale(1.05);
    }

.media-lightbox-stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
    padding: 4.5rem 4rem 6.5rem;
}

.media-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    animation: mediaLightboxFade 0.4s ease;
}

@keyframes mediaLightboxFade {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.media-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease;
}

    .media-lightbox-nav:hover {
        background: #ff3a30;
        transform: translateY(-50%) scale(1.08);
    }

.media-lightbox-nav--prev {
    left: 1.25rem;
}

.media-lightbox-nav--next {
    right: 1.25rem;
}

.media-lightbox-thumbs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.25rem 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

    .media-lightbox-thumbs::-webkit-scrollbar {
        display: none;
    }

.media-lightbox-thumb {
    flex-shrink: 0;
    width: 5rem;
    height: 3.5rem;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .media-lightbox-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .media-lightbox-thumb:hover {
        opacity: 0.9;
        transform: translateY(-3px);
    }

    .media-lightbox-thumb.is-active {
        opacity: 1;
        border-color: #ff3a30;
        box-shadow: 0 0 16px rgba(255, 58, 48, 0.55);
        transform: translateY(-3px);
    }

@media (max-width: 639px) {
    .media-lightbox-stage {
        padding: 3.75rem 0.5rem 5.5rem;
    }

    .media-lightbox-nav {
        width: 2.5rem;
        height: 2.5rem;
    }

    .media-lightbox-nav--prev {
        left: 0.5rem;
    }

    .media-lightbox-nav--next {
        right: 0.5rem;
    }

    .media-lightbox-thumb {
        width: 3.75rem;
        height: 2.75rem;
    }

    .media-lightbox-toolbar {
        padding: 0.875rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .media-masonry-item img,
    .media-lightbox-img {
        animation: none;
        transition: none;
    }
}

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

    #mobile-menu.open {
        max-height: 480px;
        overflow-x: clip;
    }

section[id] {
    scroll-margin-top: 3rem;
}

.scroll-top-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 4px solid rgba(255, 255, 255, 0.7);
    border-radius: 9999px;
    background: #ff3a30;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 58, 48, 0.35), 0 4px 12px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.25s ease, box-shadow 0.25s ease;
}

    .scroll-top-btn.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top-btn:hover {
        background: #e03228;
        box-shadow: 0 10px 28px rgba(255, 58, 48, 0.45), 0 6px 16px rgba(15, 23, 42, 0.14);
    }

    .scroll-top-btn:focus-visible {
        outline: 2px solid #ff3a30;
        outline-offset: 3px;
    }

    .scroll-top-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }

@media (min-width: 768px) {
    .scroll-top-btn {
        right: 1.75rem;
        bottom: 1.75rem;
        width: 3.25rem;
        height: 3.25rem;
    }
}

/* Header — logo absolute within container */
#header .header-bar {
    height: 5rem;
    overflow-x: clip;
    overflow-y: visible;
    transition: background 0.35s ease;
}

#header .header-container {
    position: relative;
}

#header .logo-link {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 20;
    background: #ffffff;
    padding: 1rem 1.5rem 1.5rem 1.25rem;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: padding 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease;
}

@media (min-width: 768px) {
    #header .logo-link {
        padding: 1rem 1.75rem 1.75rem 1.5rem;
        border-radius: 0 0 1.25rem 1.25rem;
    }
}

#header.scrolled .logo-link {
    padding: 0.4rem 1rem 0.625rem 1rem;
    border-radius: 0 0 0.75rem 0.75rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

@media (min-width: 768px) {
    #header.scrolled .logo-link {
        padding: 0.4rem 1.25rem 0.625rem 1.25rem;
        border-radius: 0 0 0.875rem 0.875rem;
    }
}

#header .logo-img {
    height: 5rem;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.35s ease;
}

@media (min-width: 768px) {
    #header .logo-img {
        height: 7rem;
    }
}

@media (min-width: 1024px) {
    #header .logo-img {
        height: 8.5rem;
    }
}

#header.scrolled .logo-img {
    height: 5rem;
}

@media (min-width: 768px) {
    #header.scrolled .logo-img {
        height: 5.5rem;
    }
}

@media (min-width: 1024px) {
    #header.scrolled .logo-img {
        height: 6rem;
    }
}

#header .header-nav-wrap {
    padding-left: 6.75rem;
}

@media (min-width: 480px) {
    #header .header-nav-wrap {
        padding-left: 8.5rem;
    }
}

@media (min-width: 768px) {
    #header .header-nav-wrap {
        padding-left: 14.5rem;
    }
}

@media (min-width: 1024px) {
    #header .header-nav-wrap {
        padding-left: 18rem;
    }
}

@media (max-width: 767px) {
    #header .logo-link {
        max-width: calc(100vw - 4.5rem);
        padding: 0.75rem 0.875rem 1rem 0.875rem;
    }

    #header .logo-img {
        height: 4rem;
        max-width: 100%;
    }

    #header.scrolled .logo-link {
        padding: 0.35rem 0.75rem 0.5rem 0.75rem;
    }

    #header.scrolled .logo-img {
        height: 3.75rem;
    }
}

#header {
    border-top: 7px solid #ff3a30;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08);
}

    #header .header-bar,
    #header.scrolled .header-bar {
        background: #ffffff;
    }

.query-offcanvas {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
}

    .query-offcanvas.open {
        pointer-events: auto;
    }

.query-offcanvas-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.query-offcanvas.open .query-offcanvas-backdrop {
    opacity: 1;
}

.query-offcanvas-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(100%, 26rem);
    max-width: 100%;
    background: #ffffff;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 8px 0 40px rgba(15, 23, 42, 0.18);
    transform: translateX(-100%);
    transition: transform 0.32s ease;
}

.query-offcanvas.open .query-offcanvas-panel {
    transform: translateX(0);
}

.query-offcanvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 58, 48, 0.06) 0%, transparent 100%);
}

.query-offcanvas-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.query-offcanvas-subtitle {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: #64748b;
}

.query-offcanvas-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    color: #475569;
    background: rgba(15, 23, 42, 0.05);
    transition: background 0.2s ease, color 0.2s ease;
}

    .query-offcanvas-close:hover {
        background: rgba(255, 58, 48, 0.12);
        color: #ff3a30;
    }

.query-offcanvas-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    -webkit-overflow-scrolling: touch;
}

@media (prefers-reduced-motion: reduce) {
    .query-offcanvas-backdrop,
    .query-offcanvas-panel {
        transition: none;
    }
}

