:root {
    --brand-navy: #0b3a63;
    --brand-river: #1f6fa5;
    --brand-sky: #5aa7d6;
    --brand-accent: #d96a1d;
    --brand-gold: #e08a3a;
    --brand-sunset-soft: #ffb347;
    --brand-sunset-deep: #c94b16;
    --brand-sunset-start: #c96a2b;
    --brand-sunset-end: #e08a3a;
    --brand-sunset-shadow: rgba(201, 106, 43, 0.25);
    --brand-ink: #0a2239;
    --surface: #0b1726;
    --surface-soft: #10253d;
    --surface-card: rgba(10, 28, 47, 0.82);
    --copy: #dce9f5;
    --copy-muted: #a8bfd6;
    --line: rgba(255, 255, 255, 0.08);
}

/* ------------------------------
   Motion
------------------------------ */
@keyframes fade-slide-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@keyframes fade-slide-right {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }

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

@keyframes fade-slide-left {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

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

@keyframes soft-pop-in {
    from {
        opacity: 0;
        transform: scale(.98) translateY(10px);
    }

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

/* ------------------------------
   Base
------------------------------ */
html,
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top, rgba(201, 106, 43, 0.08) 0%, rgba(201, 106, 43, 0) 24%), radial-gradient(circle at 80% 20%, rgba(224, 138, 58, 0.06) 0%, rgba(224, 138, 58, 0) 30%), linear-gradient(180deg, #0a1724 0%, #0c1d2d 45%, #091521 100%);
    color: var(--copy);
}

a,
.btn-link {
    color: var(--brand-sky);
}

    a:hover {
        color: #8ec7ea;
    }

h1,
h2,
h3,
h4,
h5 {
    color: #fff;
    font-weight: 800;
}

.page-animate {
    animation: fade-slide-up .55s ease-out both;
}

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

/* ------------------------------
   Shared Buttons / Utility
------------------------------ */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--brand-gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-spacing {
    padding-top: 2rem;
}

.page-header {
    padding-top: 4rem;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 0.75rem;
}

.hero-copy,
.section-copy {
    max-width: 70ch;
    color: var(--copy-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 1rem;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-title,
.hero-title:focus,
.hero-title:focus-visible {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
    z-index: 1;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.btn-primary-brand,
.btn-secondary-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.95rem 1.4rem;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
    border: none;
    cursor: pointer;
    will-change: transform;
}

    .btn-primary-brand:hover,
    .btn-secondary-brand:hover {
        transform: translateY(-2px);
    }

.btn-primary-brand {
    color: #fff;
    background: linear-gradient( 135deg, var(--brand-sunset-start) 0%, var(--brand-sunset-end) 100% );
    box-shadow: 0 10px 25px var(--brand-sunset-shadow), 0 0 0 rgba(0,0,0,0);
}

    .btn-primary-brand:hover {
        box-shadow: 0 16px 34px rgba(201, 106, 43, 0.30);
    }

.btn-secondary-brand {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

    .btn-secondary-brand:hover {
        box-shadow: 0 12px 26px rgba(0,0,0,.16);
    }

.brand-nav {
    animation: fade-slide-up .45s ease-out both;
}

.site-footer {
    animation: fade-slide-up .55s ease-out both;
}

/* ------------------------------
   Layout Grids
------------------------------ */
.grid-3,
.grid-4,
.stats-grid,
.gallery-grid,
.pricing-grid,
.contact-grid {
    display: grid;
    gap: 1.25rem;
}

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

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

/* ------------------------------
   Cards
------------------------------ */
.section-card,
.feature-card,
.stat-card,
.aircraft-card,
.gallery-card,
.price-card,
.contact-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface-card);
    padding: 1.4rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), 0 24px 60px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.03);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
    transform: translateY(0);
    will-change: transform;
}

    .section-card:hover,
    .feature-card:hover,
    .stat-card:hover,
    .aircraft-card:hover,
    .gallery-card:hover,
    .price-card:hover,
    .contact-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22), 0 34px 80px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.04);
        border-color: rgba(255,255,255,0.14);
    }

.card-kicker {
    color: var(--brand-gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.card-title {
    color: #fff;
    margin: 0.6rem 0;
}

.card-copy,
.price-points li,
.contact-list li,
.auth-helper {
    color: var(--copy-muted);
}

.stats-grid .stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

/* ------------------------------
   Hero Section
------------------------------ */
.hero-section {
    padding: 5.5rem 0 4rem;
}

.hero-panel {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 32px;
    padding: 3rem;
    background: linear-gradient( 135deg, rgba(15, 48, 79, 0.96) 0%, rgba(16, 67, 110, 0.92) 48%, rgba(201, 75, 22, 0.14) 100% ), radial-gradient( circle at top right, rgba(224, 138, 58, 0.12) 0%, rgba(224, 138, 58, 0) 34% );
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255,255,255,0.04);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.25rem;
    align-items: start;
}

.hero-title {
    max-width: 18ch;
    font-size: clamp(2.5rem, 5vw, 3rem);
    line-height: 1.02;
    margin-bottom: 1rem;
}

.hero-side-panel {
    align-self: start;
    border-radius: 28px;
    padding: 1.5rem;
    background: linear-gradient( 180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05) );
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 40px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(14px);
}

.hero-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.hero-feature-card {
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient( 180deg, rgba(9, 39, 66, 0.86), rgba(8, 31, 54, 0.78) );
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    word-break: normal;
    overflow-wrap: anywhere;
    box-shadow: 0 10px 24px rgba(0,0,0,.14), 0 18px 40px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
    transform: translateY(0);
    will-change: transform;
    animation: soft-pop-in .55s ease-out both;
}

    .hero-feature-card:hover {
        transform: translateY(-7px) scale(1.01);
        border-color: rgba(255,255,255,.16);
        box-shadow: 0 16px 28px rgba(0,0,0,.20), 0 28px 64px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.05);
    }

    .hero-feature-card:nth-child(1) {
        animation-delay: .05s;
    }

    .hero-feature-card:nth-child(2) {
        animation-delay: .12s;
    }

    .hero-feature-card:nth-child(3) {
        animation-delay: .19s;
    }

    .hero-feature-card:nth-child(4) {
        animation-delay: .26s;
    }

.hero-panel > * {
    animation: fade-slide-up .6s ease-out both;
}

    .hero-panel > *:nth-child(1) {
        animation-delay: .04s;
    }

    .hero-panel > *:nth-child(2) {
        animation-delay: .12s;
    }

    .hero-panel > *:nth-child(3) {
        animation-delay: .20s;
    }

.hero-feature-title {
    font-size: clamp(0.98rem, 1.45vw, 1.2rem);
    line-height: 1.08;
    margin: 0 0 0.5rem 0;
    color: #fff;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: manual;
}
.hero-feature-copy {
    color: var(--copy-muted);
    line-height: 1.5;
    font-size: clamp(0.88rem, 1.05vw, 0.95rem);
    overflow-wrap: normal;
}

.hero-content-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0.35rem;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.hero-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.18));
}

.section-intro {
    margin-bottom: 1.75rem;
    max-width: 760px;
}
.section-intro--compact {
    max-width: 680px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.15;
    margin: 3rem 0 1rem;
    color: #fff;
}
.section-title--compact {
    font-size: clamp(1.55rem, 2.6vw, 2.25rem);
    max-width: 18ch;
}

.section-grid-top {
    margin-top: 1.25rem;
}

.quick-panel {
    min-height: 220px;
}

/* ------------------------------
   Lists
------------------------------ */
.check-list,
.price-points,
.contact-list {
    margin: 0;
    padding-left: 1.1rem;
}

.booking-note {
    border-left: 4px solid var(--brand-gold);
}

/* ------------------------------
   Auth Pages
------------------------------ */
.auth-page {
    padding: 4rem 1.25rem 5rem;
}

.auth-shell {
    max-width: 560px;
    margin: 0 auto;
}

.auth-card {
    background: linear-gradient(180deg, rgba(10, 33, 57, 0.92), rgba(8, 26, 45, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
}

.auth-card--small {
    text-align: center;
}

.auth-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-gold);
}

.auth-title {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.05;
    color: #fff;
}

.auth-copy {
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    font-size: 1rem;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-field {
    display: grid;
    gap: 0.45rem;
}

    .auth-field label {
        color: #fff;
        font-size: 0.95rem;
        font-weight: 600;
    }

.auth-input {
    width: 100%;
    min-height: 54px;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    font: inherit;
}

    .auth-input:focus {
        border-color: rgba(217, 106, 29, 0.8);
        box-shadow: 0 0 0 4px rgba(217, 106, 29, 0.12);
        background: rgba(255, 255, 255, 0.08);
    }

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.25rem;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.auth-error {
    border: 1px solid rgba(248, 113, 113, 0.3);
    background: rgba(127, 29, 29, 0.22);
    color: #fecaca;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    line-height: 1.5;
}

.auth-submit {
    min-height: 54px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.auth-footer {
    margin-top: 1.4rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.96rem;
}

    .auth-footer a {
        color: #fff;
        font-weight: 600;
        text-decoration: none;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

.validation-message,
.validation-errors {
    color: #fecaca;
    font-size: 0.9rem;
}

/* ------------------------------
   About page
------------------------------ */

.values-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.75rem;
}

.value-item {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

    .value-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.value-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.value-description {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.45;
}

/* ------------------------------
   Fleet page
------------------------------ */

.fleet-grid {
    align-items: stretch;
}

.fleet-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.fleet-description {
    margin-bottom: 1.1rem;
}

.fleet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.fleet-meta-item {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 0.9rem;
    min-width: 120px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.fleet-meta-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
    font-weight: 700;
}

.fleet-meta-value {
    color: #fff;
    font-weight: 600;
    font-size: 0.98rem;
}

/* ------------------------------
   Gallery
------------------------------ */

/* ------------------------------
   Gallery
------------------------------ */

/* ------------------------------
   Gallery
------------------------------ */

.gallery-stage-shell {
    display: grid;
    gap: 1.15rem;
}

.gallery-stage-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 28, 47, 0.72);
    box-shadow: 0 18px 40px rgba(0,0,0,0.24), 0 38px 90px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.03);
    outline: none;
}

.gallery-stage-image-wrap {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 48, 79, 0.92), rgba(201, 106, 43, 0.18)), radial-gradient(circle at top right, rgba(224, 138, 58, 0.18), rgba(224, 138, 58, 0));
}

.gallery-stage-image {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    display: block;
    animation: gallery-stage-fade .45s ease;
    transform: scale(1);
    transition: transform .9s ease;
}

.gallery-stage-card:hover .gallery-stage-image {
    transform: scale(1.03);
}

.gallery-stage-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.14) 50%, rgba(0,0,0,0.04)), linear-gradient(to right, rgba(201,106,43,0.10), transparent 32%);
    pointer-events: none;
}

.gallery-stage-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.7rem 1.7rem 1.9rem;
    z-index: 2;
    max-width: 760px;
    animation: gallery-stage-copy-in .45s ease;
}

.gallery-stage-kicker {
    margin: 0 0 0.45rem;
    color: var(--brand-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.gallery-stage-title {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.gallery-stage-copy {
    margin: 0.7rem 0 0;
    color: rgba(255,255,255,0.84);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 60ch;
}

.gallery-stage-nav,
.gallery-stage-open {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.10);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

    .gallery-stage-nav:hover {
        transform: translateY(-50%) scale(1.03);
        background: rgba(255,255,255,0.16);
        box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    }

    .gallery-stage-open:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.16);
        box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    }

.gallery-stage-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    opacity: .88;
}

.gallery-stage-nav--prev {
    left: 1rem;
}

.gallery-stage-nav--next {
    right: 1rem;
}

.gallery-stage-open {
    right: 1rem;
    bottom: 1rem;
    border-radius: 999px;
    padding: 0.74rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

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

.gallery-thumb {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 28, 47, 0.7);
    padding: 0;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, opacity .24s ease, filter .24s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.03);
}

    .gallery-thumb:hover {
        transform: translateY(-4px);
        border-color: rgba(255,255,255,0.14);
        box-shadow: 0 16px 28px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.04);
    }

    .gallery-thumb.is-active {
        transform: translateY(-2px) scale(1.02);
        border-color: rgba(224,138,58,0.55);
        box-shadow: 0 18px 32px rgba(0,0,0,0.24), 0 0 0 2px rgba(224,138,58,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
    }

.gallery-thumb-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease, opacity .3s ease, filter .3s ease;
}

.gallery-thumb:hover .gallery-thumb-image {
    transform: scale(1.06);
}

.gallery-thumb.is-active .gallery-thumb-image {
    filter: saturate(1.05) contrast(1.02);
}

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.76), rgba(0,0,0,0.08) 55%, transparent), linear-gradient(to right, rgba(201,106,43,0.10), transparent);
    pointer-events: none;
}

.gallery-thumb-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.9rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    z-index: 2;
}

/* Lightbox */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(3, 10, 18, 0.90);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    animation: gallery-lightbox-in .22s ease;
}

.gallery-lightbox-dialog {
    position: relative;
    width: min(1180px, 100%);
    max-height: 92vh;
    outline: none;
}

.gallery-lightbox-figure {
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(8, 26, 45, 0.96);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
}

.gallery-lightbox-image {
    width: 100%;
    max-height: 74vh;
    display: block;
    object-fit: contain;
    background: #08121c;
    animation: gallery-stage-fade .28s ease;
}

.gallery-lightbox-caption {
    padding: 1rem 1.15rem 1.2rem;
}

.gallery-lightbox-count {
    color: var(--brand-gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.gallery-lightbox-title {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.15;
}

.gallery-lightbox-copy {
    margin: 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    border: none;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    transition: transform 0.22s ease, background 0.22s ease;
}

    .gallery-lightbox-close:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,0.16);
    }

    .gallery-lightbox-nav:hover {
        transform: translateY(-50%) scale(1.03);
        background: rgba(255,255,255,0.16);
    }

.gallery-lightbox-close {
    top: -0.9rem;
    right: -0.9rem;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    font-size: 1.5rem;
}

.gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    font-size: 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-nav--prev {
    left: -1.15rem;
}

.gallery-lightbox-nav--next {
    right: -1.15rem;
}

.gallery-stage-image--animated {
    animation: gallery-stage-fade .35s ease;
}

.gallery-stage-content--animated {
    animation: gallery-stage-copy-in .35s ease;
}

.gallery-stage-nav:focus-visible,
.gallery-stage-open:focus-visible,
.gallery-thumb:focus-visible,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
    outline: 3px solid rgba(224, 138, 58, 0.95);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(224, 138, 58, 0.16);
}

@keyframes gallery-stage-fade {
    from {
        opacity: 0;
        transform: scale(1.015);
    }

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

@keyframes gallery-stage-copy-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

@keyframes gallery-lightbox-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .gallery-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-stage-image-wrap,
    .gallery-stage-image {
        min-height: 460px;
    }
}

@media (max-width: 900px) {
    .gallery-stage-image-wrap,
    .gallery-stage-image {
        min-height: 320px;
    }

    .gallery-stage-content {
        padding: 1.15rem 1.15rem 1.3rem;
    }

    .gallery-stage-title {
        font-size: clamp(1.35rem, 7vw, 2rem);
    }

    .gallery-stage-copy {
        font-size: 0.92rem;
    }

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

    .gallery-thumb-image {
        height: 150px;
    }

    .gallery-stage-nav {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.7rem;
    }

    .gallery-stage-nav--prev {
        left: 0.7rem;
    }

    .gallery-stage-nav--next {
        right: 0.7rem;
    }

    .gallery-stage-open {
        right: 0.7rem;
        bottom: 0.7rem;
        padding: 0.65rem 0.9rem;
        font-size: 0.82rem;
    }

    .gallery-lightbox {
        padding: 1rem;
    }

    .gallery-lightbox-nav {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.8rem;
    }

    .gallery-lightbox-nav--prev {
        left: 0.3rem;
    }

    .gallery-lightbox-nav--next {
        right: 0.3rem;
    }
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 1024px) {
    .grid-4,
    .stats-grid,
    .gallery-grid,
    .grid-3,
    .pricing-grid,
    .contact-grid,
    .hero-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .hero-panel {
        padding: 2rem;
    }

    .grid-4,
    .stats-grid,
    .gallery-grid,
    .grid-3,
    .pricing-grid,
    .contact-grid,
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-title {
        max-width: none;
    }
}

@media (max-width: 1024px) {
    .hero-feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-side-panel {
        padding: 1.2rem;
    }

    .hero-feature-card {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .auth-page {
        padding: 2rem 1rem 3rem;
    }

    .auth-card {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .auth-title {
        font-size: 2rem;
    }

    .auth-input,
    .auth-submit {
        min-height: 50px;
    }
}

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

/* =========================
   Shared club controls
   ========================= */

.club-panel {
    border-radius: 28px;
}

.club-panel--danger {
    border: 1px solid rgba(220, 38, 38, .18);
}

.club-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.club-kicker {
    margin: 0 0 .35rem;
    color: var(--brand-gold);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.club-form,
.booking-form {
    display: grid;
    gap: 1rem;
}

.club-form-grid,
.booking-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.club-field,
.booking-field {
    display: grid;
    gap: .48rem;
    grid-column: span 3;
    min-width: 0;
}

.club-field--wide,
.booking-field--wide {
    grid-column: 1 / -1;
}

.club-field label,
.booking-field label,
.club-label {
    font-weight: 800;
    color: rgba(241, 245, 249, .98);
    font-size: .95rem;
    line-height: 1.2;
}


.club-textarea,
.booking-textarea {
    min-height: 120px;
    resize: vertical;
}

.booking-action-row,
.club-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    align-items: center;
    margin-top: .9rem;
}

.booking-secondary-button {
    min-height: 54px;
    padding: 0 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .36);
    background: rgba(30, 41, 59, .92);
    color: #f8fafc;
    font-weight: 800;
    font-size: .95rem;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
    white-space: nowrap;
}

.booking-secondary-button:hover {
    border-color: rgba(96, 165, 250, .55);
    background: rgba(37, 99, 235, .14);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
    transform: translateY(-1px);
}

.booking-secondary-button:active {
    transform: translateY(0);
}

.booking-help-text {
    color: rgba(226, 232, 240, .74);
    font-size: .92rem;
    max-width: 560px;
}

.booking-meta {
    color: rgba(226, 232, 240, .72);
}

.booking-colour-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="color"].booking-colour-picker {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
}

    input[type="color"].booking-colour-picker::-webkit-color-swatch-wrapper {
        padding: 0;
    }

    input[type="color"].booking-colour-picker::-webkit-color-swatch {
        border: none;
        border-radius: 12px;
    }

.club-input,
.club-select,
.club-textarea,
.booking-input {
    width: 100%;
    min-height: 56px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, .38);
    background: rgba(20, 35, 56, .92);
    color: #f8fafc;
    padding: .95rem 1.05rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 0 0 1px rgba(255, 255, 255, .02);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font: inherit;
}

    .club-input::placeholder,
    .club-textarea::placeholder,
    .booking-input::placeholder {
        color: rgba(203, 213, 225, .46);
    }

    .club-input:focus,
    .club-select:focus,
    .club-textarea:focus,
    .booking-input:focus {
        border-color: rgba(96, 165, 250, .9);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, .16);
        background: rgba(24, 41, 67, .98);
    }

    .club-input:hover,
    .club-select:hover,
    .club-textarea:hover,
    .booking-input:hover {
        border-color: rgba(96, 165, 250, .55);
    }

/* Date inputs */
input[type="date"].booking-input,
input[type="date"].club-input {
    color-scheme: dark;
}

    input[type="date"].booking-input::-webkit-calendar-picker-indicator,
    input[type="date"].club-input::-webkit-calendar-picker-indicator {
        filter: invert(1) brightness(1.45);
        opacity: 1;
        cursor: pointer;
    }

/* Select inputs */
select.booking-input,
select.club-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 3rem;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.82) 50%), linear-gradient(135deg, rgba(255,255,255,.82) 50%, transparent 50%);
    background-position: calc(100% - 22px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.booking-switch-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    cursor: pointer;
    user-select: none;
    color: rgba(241, 245, 249, .96);
    font-weight: 800;
    margin: 0;
}

.booking-switch-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.booking-switch-slider {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .28);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    flex: 0 0 auto;
}

.booking-switch-slider::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .25);
    transition: transform .2s ease;
}

.booking-switch-input:checked + .booking-switch-slider {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border-color: rgba(96, 165, 250, .45);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.booking-switch-input:checked + .booking-switch-slider::after {
    transform: translateX(20px);
}

.booking-switch-text {
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .club-field,
    .booking-field {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    .club-form-grid,
    .booking-form-grid {
        grid-template-columns: 1fr;
    }

    .club-field,
    .club-field--wide,
    .booking-field,
    .booking-field--wide {
        grid-column: auto;
    }

    .booking-action-row,
    .club-action-row {
        align-items: stretch;
    }
}
