/* ==========================================================================
   Better Life Estate — Premium Visual Upgrades
   Layered on top of style.css. Adds editorial-level polish:
   dramatic typography, cinematic hero, bento grids, refined motion,
   decorative accents, and sophisticated hover states.
   ========================================================================== */


/* ==========================================================================
   PREMIUM TOKENS
   ========================================================================== */

:root {
    --display-font: 'Playfair Display', 'Cormorant Garamond', serif;
    --display-italic: italic 700 1em var(--display-font);

    --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ==========================================================================
   TYPOGRAPHY — EDITORIAL
   ========================================================================== */

/* Bigger, more dramatic display sizes */
:root {
    --fs-display: clamp(3.4rem, 8vw, 7rem);
    --fs-h1-lg: clamp(2.6rem, 5vw, 4.5rem);
}

/* Section title with thinner italic accent */
.section-title em,
.hero-title em {
    font-style: italic;
    font-weight: 500;
}

/* Heading kicker — small uppercase label above titles */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.kicker::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.kicker.center {
    justify-content: center;
}

.kicker.center::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
}

/* Better section headers with eyebrow text */
.section-eyebrow {
    text-align: center;
    margin-bottom: 80px;
}

.section-eyebrow .section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow .section-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 24px auto 0;
}

/* Drop cap for editorial paragraphs */
.drop-cap::first-letter {
    font-family: var(--display-font);
    font-size: 4.5em;
    line-height: 0.85;
    float: left;
    margin: 8px 14px 0 0;
    color: var(--gold);
    font-weight: 700;
}


/* ==========================================================================
   HERO — CINEMATIC SPLIT
   ========================================================================== */

.hero-cinematic {
    min-height: 100vh;
    position: relative;
    background: var(--navy-deep);
    color: var(--text-on-dark);
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.hero-cinematic .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.hero-cinematic .hero-text {
    padding: 140px 80px 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-cinematic .hero-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(193, 164, 97, 0.12), transparent 50%),
        linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
    z-index: -1;
}

.hero-cinematic .hero-text::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grain);
    opacity: 0.4;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: -1;
}

.hero-cinematic .hero-image {
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.hero-cinematic .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: heroPan 24s ease-in-out infinite alternate;
}

@keyframes heroPan {
    from { transform: scale(1.05) translate(0, 0); }
    to { transform: scale(1.15) translate(-2%, -2%); }
}

.hero-cinematic .hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 22, 40, 0.4) 0%, transparent 40%, transparent 100%);
    pointer-events: none;
}

.hero-cinematic .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.9s var(--ease-cinematic) 0.2s forwards;
}

.hero-cinematic .hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-cinematic .hero-headline {
    font-family: var(--display-font);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--white);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 1.1s var(--ease-cinematic) 0.35s forwards;
}

.hero-cinematic .hero-headline em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold-light);
    display: block;
}

.hero-cinematic .hero-lead {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    max-width: 520px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-cinematic) 0.5s forwards;
}

.hero-cinematic .hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-cinematic) 0.65s forwards;
}

.hero-cinematic .hero-meta {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-cinematic) 0.85s forwards;
}

.hero-cinematic .hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-cinematic .hero-meta-num {
    font-family: var(--display-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.hero-cinematic .hero-meta-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    z-index: 3;
}

.hero-scroll::before {
    content: '';
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    animation: scrollLine 2.5s var(--ease-cinematic) infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleX(0.5); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
}


/* ==========================================================================
   PREMIUM BUTTONS
   ========================================================================== */

.btn-cinematic {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 36px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--gold);
    border: none;
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.6s var(--ease-cinematic), background 0.6s var(--ease-cinematic);
    text-decoration: none;
}

.btn-cinematic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-cinematic);
    z-index: 0;
}

.btn-cinematic:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-cinematic:hover {
    color: var(--navy);
}

.btn-cinematic > * {
    position: relative;
    z-index: 1;
}

.btn-cinematic .btn-arrow {
    transition: transform 0.5s var(--ease-cinematic);
}

.btn-cinematic:hover .btn-arrow {
    transform: translateX(6px);
}

/* Ghost button on dark */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 19px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: all 0.4s var(--ease-cinematic);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(193, 164, 97, 0.05);
}


/* ==========================================================================
   GOLD DIVIDER + DECORATIVE
   ========================================================================== */

.gold-rule {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
    display: block;
}

.gold-rule.left { margin: 0 0 24px 0; }

.section-deco {
    position: relative;
}

.section-deco::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.5;
}


/* ==========================================================================
   PREMIUM CARDS — REFINED
   ========================================================================== */

.card-premium {
    position: relative;
    background: var(--white);
    padding: 48px 36px;
    border: 1px solid var(--border-color);
    transition: all 0.6s var(--ease-cinematic);
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-cinematic);
}

.card-premium:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-strong);
    box-shadow: 0 24px 60px rgba(10, 22, 40, 0.1);
}

.card-premium:hover::before {
    transform: scaleX(1);
}

.card-premium .card-num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--display-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 2px;
    opacity: 0.6;
}

.card-premium .card-icon-line {
    width: 56px;
    height: 56px;
    margin-bottom: 32px;
    color: var(--gold);
    transition: transform 0.6s var(--ease-cinematic);
}

.card-premium:hover .card-icon-line {
    transform: translateX(4px);
}

.card-premium h3,
.card-premium h4 {
    font-family: var(--display-font);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.card-premium p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}


/* ==========================================================================
   BENTO GRID — DESTINATIONS
   ========================================================================== */

.bento-destinations {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 380px 280px;
    gap: 16px;
    margin-top: 64px;
}

.bento-card {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    cursor: pointer;
    text-decoration: none;
    color: var(--white);
    isolation: isolate;
}

.bento-card:nth-child(1) {
    grid-row: span 2;
}

.bento-card:nth-child(4) {
    grid-column: span 2;
}

.bento-card .bento-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-cinematic), filter 0.8s var(--ease-cinematic);
    z-index: 1;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(5, 13, 26, 0.95));
    z-index: 2;
    transition: opacity 0.6s var(--ease-cinematic);
}

.bento-card:hover .bento-img {
    transform: scale(1.08);
    filter: brightness(0.85) saturate(1.1);
}

.bento-card .bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px;
    z-index: 3;
}

.bento-card .bento-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 12px;
    padding: 5px 12px;
    background: rgba(193, 164, 97, 0.15);
    border: 1px solid rgba(193, 164, 97, 0.4);
    backdrop-filter: blur(10px);
}

.bento-card h3 {
    font-family: var(--display-font);
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.bento-card .bento-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    max-width: 380px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s var(--ease-cinematic), transform 0.5s var(--ease-cinematic);
}

.bento-card:hover .bento-desc {
    opacity: 1;
    transform: translateY(0);
}

.bento-card .bento-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    transition: gap 0.4s var(--ease-cinematic);
}

.bento-card:hover .bento-cta {
    gap: 14px;
}

.bento-card.featured h3 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}


/* ==========================================================================
   PROCESS — ALTERNATING TIMELINE
   ========================================================================== */

.process-cinematic {
    max-width: 1100px;
    margin: 64px auto 0;
    position: relative;
}

.process-cinematic::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-color-strong) 10%, var(--border-color-strong) 90%, transparent);
    transform: translateX(-50%);
}

.process-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 56px;
    min-height: 120px;
}

.process-row:last-child { margin-bottom: 0; }

.process-row .process-content {
    padding: 28px 0;
}

.process-row:nth-child(odd) .process-content {
    grid-column: 1;
    text-align: right;
    padding-right: 16px;
}

.process-row:nth-child(odd) .process-spacer {
    grid-column: 3;
}

.process-row:nth-child(even) .process-content {
    grid-column: 3;
    text-align: left;
    padding-left: 16px;
}

.process-row:nth-child(even) .process-spacer {
    grid-column: 1;
}

.process-row .process-marker {
    grid-column: 2;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: 50%;
    font-family: var(--display-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    position: relative;
    z-index: 2;
    transition: all 0.5s var(--ease-cinematic);
}

.process-row:hover .process-marker {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(193, 164, 97, 0.35);
}

.process-content h3 {
    font-family: var(--display-font);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.process-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 420px;
}

.process-row:nth-child(odd) .process-content p {
    margin-left: auto;
}


/* ==========================================================================
   STATS COUNTER — DRAMATIC
   ========================================================================== */

.stats-cinematic {
    background: var(--navy-deep);
    color: var(--white);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.stats-cinematic::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(193, 164, 97, 0.08), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(193, 164, 97, 0.05), transparent 40%);
}

.stats-cinematic .container { position: relative; z-index: 2; }

.stats-cinematic .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    padding: 56px 32px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.4s var(--ease-cinematic);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
    background: rgba(193, 164, 97, 0.04);
}

.stat-number {
    font-family: var(--display-font);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.stat-number .plus,
.stat-number .pct {
    font-size: 0.6em;
    margin-left: 2px;
    color: var(--gold-light);
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}


/* ==========================================================================
   SECTION SPACING & DIVIDERS
   ========================================================================== */

.section-tight { padding: 80px 20px; }
.section-large { padding: 140px 20px; }

.divider-fade {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color-strong), transparent);
    margin: 0 auto;
    max-width: 200px;
}


/* ==========================================================================
   WATERMARK / BACKGROUND ACCENT
   ========================================================================== */

.bg-watermark {
    position: relative;
    overflow: hidden;
}

.bg-watermark::before {
    content: 'BLE';
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-family: var(--display-font);
    font-size: 28vw;
    font-weight: 800;
    font-style: italic;
    color: rgba(193, 164, 97, 0.04);
    line-height: 0.85;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}


/* ==========================================================================
   FAQ — ELEVATED
   ========================================================================== */

.faq-elevated .faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 28px 0;
    margin-bottom: 0;
    transition: background 0.3s ease;
}

.faq-elevated .faq-item:last-child {
    border-bottom: none;
}

.faq-elevated .faq-item.active {
    background: transparent;
    border-left: none;
}

.faq-elevated .faq-q {
    padding: 0;
}

.faq-elevated .faq-q h4 {
    font-family: var(--display-font);
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.01em;
}


/* ==========================================================================
   IMAGE TREATMENTS
   ========================================================================== */

.img-frame {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.img-frame::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
    border: 1px solid var(--gold);
    z-index: -1;
    transition: all 0.6s var(--ease-cinematic);
}

.img-frame:hover::after {
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
}

.img-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s var(--ease-cinematic);
}

.img-frame:hover img {
    transform: scale(1.04);
}


/* ==========================================================================
   FOOTER UPGRADE
   ========================================================================== */

.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.4;
}

.footer-tagline {
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 64px;
    max-width: 720px;
    letter-spacing: -0.02em;
}

.footer-tagline em {
    color: var(--gold);
    font-weight: 700;
}


/* ==========================================================================
   RESPONSIVE — PREMIUM
   ========================================================================== */

@media (max-width: 1100px) {
    .hero-cinematic .hero-text {
        padding: 120px 48px 80px 48px;
    }
    .hero-scroll { left: 48px; }
    .bento-destinations {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 320px 320px 320px;
    }
    .bento-card:nth-child(1) {
        grid-row: span 1;
        grid-column: span 2;
    }
    .bento-card:nth-child(4) {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .hero-cinematic .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-cinematic .hero-image {
        display: none;
    }
    .hero-cinematic .hero-text {
        padding: 120px 24px 80px 24px;
    }
    .hero-cinematic::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('https://images.unsplash.com/photo-1582672060674-bc2bd808a8b5?w=1920&q=85') center/cover;
        opacity: 0.25;
        z-index: 0;
    }
    .hero-cinematic .hero-meta {
        grid-template-columns: 1fr 1fr;
    }
    .process-row {
        grid-template-columns: auto 1fr;
        gap: 20px;
        text-align: left;
    }
    .process-row .process-content,
    .process-row:nth-child(odd) .process-content,
    .process-row:nth-child(even) .process-content {
        grid-column: 2;
        text-align: left;
        padding: 0;
    }
    .process-row:nth-child(odd) .process-content p,
    .process-row:nth-child(even) .process-content p {
        margin-left: 0;
        margin-right: 0;
    }
    .process-row .process-spacer { display: none; }
    .process-row .process-marker {
        grid-column: 1;
        grid-row: 1;
    }
    .process-cinematic::before {
        left: 28px;
    }
    .stats-cinematic .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

@media (max-width: 600px) {
    .bento-destinations {
        grid-template-columns: 1fr;
        grid-template-rows: 320px 320px 320px 320px;
    }
    .bento-card:nth-child(1),
    .bento-card:nth-child(4) {
        grid-column: span 1;
    }
    .stats-cinematic .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .stat-item:last-child { border-bottom: none; }
}


/* ==========================================================================
   NAVIGATION FIX — match HTML/JS class names
   ========================================================================== */

/* Hide mobile nav by default on all viewports */
.nav-mobile {
    display: none;
}

.nav-overlay {
    display: none;
}

/* Hamburger toggle button — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Hamburger animation when open */
body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Tablet/mobile breakpoint — show hamburger, hide nav links */
@media (max-width: 980px) {
    .nav-links {
        display: none !important;
    }
    .nav-toggle {
        display: flex;
    }

    /* Mobile overlay backdrop */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 22, 40, 0.6);
        backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        z-index: 998;
        transition: opacity 0.4s var(--ease-cinematic), visibility 0.4s;
    }

    body.nav-open .nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile menu panel — slides in from right */
    .nav-mobile {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 85vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 100px 32px 32px 32px;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-cinematic);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    body.nav-open .nav-mobile {
        transform: translateX(0);
    }

    .nav-mobile a {
        display: block;
        padding: 16px 0;
        font-family: 'Playfair Display', serif;
        font-size: 1.25rem;
        font-weight: 500;
        color: var(--navy);
        border-bottom: 1px solid var(--border-color);
        text-decoration: none;
        transition: color 0.3s ease, padding-left 0.3s ease;
    }

    .nav-mobile a:hover {
        color: var(--gold);
        padding-left: 8px;
    }

    .nav-mobile a[class*="btn-"] {
        margin-top: 24px;
        padding: 18px 24px;
        text-align: center;
        font-size: 0.95rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        background: var(--gold);
        color: var(--white) !important;
        border-bottom: none;
    }

    .nav-mobile a[class*="btn-"]:hover {
        background: var(--gold-dark);
        padding-left: 24px;
    }

    /* Lock body scroll when mobile nav open */
    body.nav-open {
        overflow: hidden;
    }
}

/* Hide the legacy .nav-hamburger and .nav-mobile-overlay from style.css —
   they're not used by our HTML/JS but defined in old base CSS */
.nav-hamburger,
.nav-mobile-overlay {
    display: none !important;
}


/* ==========================================================================
   COMPANY VIDEO — premium player
   ========================================================================== */

.company-video-section {
    padding: 140px 20px 120px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.company-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--gold), transparent);
    opacity: 0.5;
}

.company-video-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.company-video-header h2 {
    font-family: var(--display-font);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 24px;
}

.company-video-header h2 em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.company-video-header p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

.company-video-wrap {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.company-video-wrap::before {
    content: '';
    position: absolute;
    top: 24px;
    left: -24px;
    right: 24px;
    bottom: -24px;
    border: 1px solid var(--gold);
    z-index: 0;
    transition: all 0.6s var(--ease-cinematic);
    pointer-events: none;
}

.company-video-wrap:hover::before {
    top: 12px;
    left: -12px;
    right: 12px;
    bottom: -12px;
}

.company-video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--navy-deep);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 30px 80px rgba(10, 22, 40, 0.18);
    z-index: 1;
}

.company-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-cinematic), filter 0.5s ease;
    z-index: 1;
}

.company-video-player:hover .company-video-poster {
    transform: scale(1.04);
    filter: brightness(0.85);
}

.company-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 30%, rgba(5, 13, 26, 0.85) 100%),
        linear-gradient(90deg, rgba(5, 13, 26, 0.4) 0%, transparent 50%);
    z-index: 2;
}

.company-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--navy);
    cursor: pointer;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-spring);
    padding-left: 4px;
    box-shadow: 0 16px 50px rgba(193, 164, 97, 0.4);
}

.company-video-play::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    opacity: 0.5;
    animation: playPulse 2.4s ease-out infinite;
}

@keyframes playPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.company-video-player:hover .company-video-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--gold-light);
    box-shadow: 0 24px 70px rgba(193, 164, 97, 0.6);
}

.company-video-meta {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    color: var(--white);
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.company-video-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
    padding: 5px 12px;
    background: rgba(193, 164, 97, 0.15);
    border: 1px solid rgba(193, 164, 97, 0.4);
    backdrop-filter: blur(10px);
}

.company-video-title {
    font-family: var(--display-font);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 4px;
}

.company-video-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    flex-shrink: 0;
}

.company-video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.company-video-player.playing .company-video-iframe {
    opacity: 1;
    visibility: visible;
}

.company-video-player.playing .company-video-poster,
.company-video-player.playing .company-video-overlay,
.company-video-player.playing .company-video-play,
.company-video-player.playing .company-video-meta {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Bullets below video */
.company-video-bullets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 56px auto 0;
}

.cv-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.cv-bullet svg {
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 900px) {
    .company-video-section { padding: 100px 20px 80px; }
    .company-video-bullets {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .company-video-play {
        width: 72px;
        height: 72px;
    }
    .company-video-meta {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    .company-video-wrap::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .company-video-bullets {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   BENTO 10 — destination grid with Dubaj as flagship 2x2
   ========================================================================== */

.bento-destinations.bento-10 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 14px;
    margin-top: 64px;
}

.bento-destinations.bento-10 .bento-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* "Wkrótce więcej" full-width feature card */
.bento-card.bento-soon {
    grid-column: span 4;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    position: relative;
}

.bento-card.bento-soon::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(193, 164, 97, 0.15), transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(193,164,97,0.15)'/%3E%3C/svg%3E");
    z-index: 1;
}

.bento-card.bento-soon::after {
    content: '+';
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--display-font);
    font-size: 120px;
    font-weight: 300;
    color: rgba(193, 164, 97, 0.15);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

.bento-card.bento-soon .bento-soon-content {
    position: relative;
    z-index: 2;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 32px 48px;
}

.bento-card.bento-soon h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    color: var(--white);
}

.bento-card.bento-soon .bento-desc {
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    opacity: 1;
    transform: none;
}

.bento-card.bento-soon .bento-cta {
    margin-top: 16px;
}

@media (max-width: 1100px) {
    .bento-destinations.bento-10 {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
    }
    .bento-destinations.bento-10 .bento-card:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
    .bento-card.bento-soon {
        grid-column: span 3;
    }
}

@media (max-width: 760px) {
    .bento-destinations.bento-10 {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .bento-destinations.bento-10 .bento-card:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
    .bento-card.bento-soon {
        grid-column: span 2;
    }
    .bento-card.bento-soon::after { font-size: 80px; right: 16px; }
    .bento-card.bento-soon .bento-soon-content { padding: 24px; }
}

@media (max-width: 480px) {
    .bento-destinations.bento-10 {
        grid-template-columns: 1fr;
    }
    .bento-destinations.bento-10 .bento-card:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-card.bento-soon { grid-column: span 1; }
}


/* ==========================================================================
   BENTO EDITORIAL — magazine-style asymmetric grid for 10 destinations
   ========================================================================== */

.bento-editorial {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
    margin-top: 64px;
}

.be-card {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    text-decoration: none;
    color: var(--white);
    isolation: isolate;
    transition: transform 0.6s var(--ease-cinematic);
}

.be-card:hover {
    transform: translateY(-4px);
}

/* Hero (Dubaj) — 2 cols x 3 rows */
.be-card.be-hero {
    grid-column: span 2;
    grid-row: span 3;
}

/* Wide landscape (Tajlandia) — 2 cols x 1 row */
.be-card.be-wide {
    grid-column: span 2;
}

.be-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-cinematic), filter 0.6s ease;
    z-index: 1;
}

.be-card:hover .be-img {
    transform: scale(1.06);
    filter: brightness(0.78) saturate(1.05);
}

.be-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(5, 13, 26, 0.92) 100%);
    z-index: 2;
}

.be-card.be-hero::after {
    background: linear-gradient(180deg, transparent 35%, rgba(5, 13, 26, 0.96) 100%);
}

.be-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 22px;
    z-index: 3;
}

.be-card.be-hero .be-content {
    padding: 36px 36px 32px;
}

.be-card.be-wide .be-content {
    padding: 26px 28px;
}

.be-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.be-num {
    font-family: var(--display-font);
    font-style: italic;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.be-card.be-hero .be-num {
    font-size: 16px;
}

.be-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    padding: 4px 10px;
    background: rgba(193, 164, 97, 0.15);
    border: 1px solid rgba(193, 164, 97, 0.4);
    backdrop-filter: blur(10px);
}

.be-tag-flagship {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.be-content h3 {
    font-family: var(--display-font);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 600;
    color: var(--white);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

.be-card.be-hero .be-content h3 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.be-card.be-wide .be-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.be-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    max-width: 380px;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease-cinematic), transform 0.4s var(--ease-cinematic);
}

.be-card.be-hero .be-desc {
    opacity: 1;
    transform: none;
    font-size: 15px;
    max-width: 480px;
    margin-bottom: 24px;
}

.be-card.be-wide .be-desc {
    opacity: 1;
    transform: none;
    margin-top: 4px;
}

.be-card:hover .be-desc {
    opacity: 1;
    transform: translateY(0);
}

.be-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold-light);
    padding-top: 12px;
    border-top: 1px solid rgba(193, 164, 97, 0.3);
    transition: gap 0.3s var(--ease-cinematic), color 0.3s ease;
}

.be-card:hover .be-cta {
    gap: 16px;
    color: var(--gold);
}

.be-cta svg {
    transition: transform 0.4s var(--ease-cinematic);
}

.be-card:hover .be-cta svg {
    transform: translateX(4px);
}

/* Hover gold accent line on top */
.be-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-cinematic);
    z-index: 4;
}

.be-card:hover::before {
    transform: scaleX(1);
}

/* "More coming" line under grid */
.bento-after-line {
    margin-top: 48px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: var(--cream);
    border-left: 3px solid var(--gold);
}

.bento-after-line .bento-line-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(193, 164, 97, 0.6);
    margin-right: 4px;
    flex-shrink: 0;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.bento-after-line .bento-line-text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.bento-after-line .bento-line-text strong {
    color: var(--navy);
    font-weight: 600;
}

.bento-after-line .bento-line-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--navy);
    transition: gap 0.3s var(--ease-cinematic), border-color 0.3s ease, color 0.3s ease;
}

.bento-after-line .bento-line-cta:hover {
    color: var(--gold-dark);
    border-color: var(--gold-dark);
    gap: 16px;
}

@media (max-width: 1100px) {
    .bento-editorial {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }
    .be-card.be-hero {
        grid-column: span 3;
        grid-row: span 2;
    }
    .be-card.be-wide {
        grid-column: span 3;
    }
}

@media (max-width: 760px) {
    .bento-editorial {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .be-card.be-hero {
        grid-column: span 2;
        grid-row: span 2;
    }
    .be-card.be-wide {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .bento-editorial {
        grid-template-columns: 1fr;
    }
    .be-card.be-hero,
    .be-card.be-wide {
        grid-column: span 1;
    }
}


/* ═══════════════════════════════════════════════════════════
   SUBPAGE RESPONSIVE — collapse 2-column inline grids on mobile
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    /* Any inline-styled 2-column grid in subpages collapses to 1 column */
    section .container > div[style*="grid-template-columns"][style*="1fr"] {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
    /* 4-column stat strips collapse to 2 */
    section .container[style*="repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
    }
    /* Form 2-column collapses */
    form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {
    section .container[style*="repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   HOME BOOKING — GHL Calendar section before footer
   ========================================================================== */

.home-booking {
    padding: 130px 20px 130px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.home-booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--gold), transparent);
    opacity: 0.6;
}

.home-booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.home-booking-info {
    padding: 32px 0;
}

.home-booking-info .kicker {
    color: var(--gold);
    margin-bottom: 24px;
}

.home-booking-info h2 {
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin: 0 0 28px;
}

.home-booking-info h2 em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.home-booking-info > p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 32px;
    max-width: 480px;
}

.home-booking-list {
    list-style: none;
    margin: 0 0 40px;
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-booking-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
}

.home-booking-list li svg {
    color: var(--gold);
    flex-shrink: 0;
    background: rgba(193, 164, 97, 0.08);
    border-radius: 50%;
    padding: 6px;
    width: 30px;
    height: 30px;
}

.home-booking-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 8px;
}

.hb-trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hb-trust-num {
    font-family: var(--display-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.hb-trust-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hb-trust-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

/* Calendar frame — premium card */
.home-booking-calendar {
    position: relative;
}

.home-booking-calendar::before {
    content: '';
    position: absolute;
    top: 16px;
    left: -16px;
    right: 16px;
    bottom: -16px;
    border: 1px solid var(--gold);
    z-index: 0;
    transition: all 0.6s var(--ease-cinematic);
    pointer-events: none;
}

.home-booking-calendar:hover::before {
    top: 8px;
    left: -8px;
    right: 8px;
    bottom: -8px;
}

.hb-calendar-frame {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 80px rgba(10, 22, 40, 0.1);
    z-index: 1;
    overflow: hidden;
}

.hb-calendar-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

.hb-calendar-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.hb-calendar-header h4 {
    font-family: var(--display-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    letter-spacing: -0.01em;
}

.hb-calendar-frame iframe {
    display: block;
    background: var(--white);
}

@media (max-width: 980px) {
    .home-booking { padding: 90px 20px; }
    .home-booking-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .home-booking-calendar::before { display: none; }
    .home-booking-trust {
        gap: 16px;
        flex-wrap: wrap;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   PROCESS STACK — sticky scroll-driven cards
   ═══════════════════════════════════════════════════════════════════ */
.process-stack {
    background: var(--navy-deep);
    color: var(--white);
    position: relative;
    padding: 0;
}

.process-stack-heading {
    text-align: center;
    padding: 140px 20px 80px;
    max-width: 880px;
    margin: 0 auto;
}

.process-stack-heading .kicker {
    color: var(--gold) !important;
}

.process-stack-heading .kicker::before,
.process-stack-heading .kicker::after {
    background: var(--gold) !important;
}

.process-stack-title {
    font-family: var(--display-font);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--white);
    margin: 16px 0 24px;
}

.process-stack-title em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold-light);
}

.process-stack-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 580px;
    margin: 0 auto;
}

/* The stack track */
.process-stack-track {
    position: relative;
}

/* Each card is full viewport height and STICKY at top */
.process-step-card {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    isolation: isolate;
}

/* Background image fills the card */
.psc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 1.2s var(--ease-cinematic);
    z-index: 1;
}

.process-step-card:hover .psc-bg {
    transform: scale(1.1);
}

.psc-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(5, 13, 26, 0.92) 0%, rgba(10, 22, 40, 0.7) 50%, rgba(5, 13, 26, 0.85) 100%);
    z-index: 2;
}

.psc-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.psc-num {
    font-family: var(--display-font);
    font-style: italic;
    font-size: clamp(8rem, 15vw, 18rem);
    font-weight: 700;
    line-height: 0.85;
    color: var(--gold);
    opacity: 0.9;
    letter-spacing: -0.04em;
    text-shadow: 0 0 60px rgba(193, 164, 97, 0.3);
}

.psc-body {
    max-width: 560px;
}

.psc-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.psc-tag::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold-light);
}

.psc-body h3 {
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 24px;
}

.psc-body p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 28px;
}

.psc-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.psc-bullets li {
    padding: 14px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.psc-bullets li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Progress indicator bottom-right */
.psc-progress {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 4;
    font-family: var(--display-font);
    font-style: italic;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1px;
}

.psc-progress .psc-current {
    color: var(--gold);
    font-size: 24px;
    font-weight: 700;
    margin-right: 8px;
}

/* Final CTA below stack */
.process-stack-cta {
    text-align: center;
    padding: 80px 20px 140px;
    background: var(--navy-deep);
    position: relative;
    z-index: 5;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .process-step-card {
        height: 100vh;
        min-height: 720px;
    }
    .psc-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: left;
        padding: 0 24px;
    }
    .psc-num {
        font-size: 6rem;
    }
    .psc-progress {
        bottom: 24px;
        right: 24px;
    }
}

@media (max-width: 600px) {
    .psc-num {
        font-size: 4.5rem;
    }
    .psc-body h3 {
        font-size: 1.8rem;
    }
}


/* ==========================================================================
   HERO VSL — video player as right column of split hero
   ========================================================================== */

/* Replace .hero-image with .hero-vsl in the grid */
.hero-cinematic .hero-vsl {
    position: relative;
    padding: 80px 60px 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

/* subtle radial glow */
.hero-cinematic .hero-vsl::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 40%, rgba(193, 164, 97, 0.12), transparent 55%),
        radial-gradient(circle at 30% 70%, rgba(193, 164, 97, 0.06), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-vsl-frame {
    position: relative;
    z-index: 2;
    margin-left: 60px;
}

/* Decorative gold offset border behind player */
.hero-vsl-frame::before {
    content: '';
    position: absolute;
    top: 16px;
    left: -16px;
    right: 16px;
    bottom: -16px;
    border: 1px solid var(--gold);
    z-index: 0;
    transition: all 0.6s var(--ease-cinematic);
    pointer-events: none;
}

.hero-vsl-frame:hover::before {
    top: 8px;
    left: -8px;
    right: 8px;
    bottom: -8px;
}

.hero-vsl-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(193, 164, 97, 0.35);
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border-radius: 50px;
    align-self: flex-start;
    position: relative;
    z-index: 3;
}

.vsl-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(193, 164, 97, 0.25);
    animation: vslPulse 2s ease-in-out infinite;
}

@keyframes vslPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(193, 164, 97, 0.25); }
    50% { box-shadow: 0 0 0 8px rgba(193, 164, 97, 0); }
}

.hero-vsl-player {
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--navy-deep);
    overflow: hidden;
}

.hero-vsl-caption {
    position: relative;
    z-index: 2;
    margin-left: 60px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 480px;
}

.hero-vsl-eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.hero-vsl-caption p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-cinematic .hero-vsl {
        padding: 60px 40px;
    }
    .hero-vsl-frame { margin-left: 0; }
    .hero-vsl-frame::before { display: none; }
    .hero-vsl-caption { margin-left: 0; }
}

@media (max-width: 900px) {
    .hero-cinematic .hero-vsl {
        padding: 0 24px 60px;
        background: transparent;
    }
    .hero-cinematic .hero-vsl::before { display: none; }
    .hero-vsl-frame { margin-left: 0; }
    .hero-vsl-caption { margin-left: 0; padding-top: 16px; }
}


/* ==========================================================================
   HERO VSL — BLE monogram watermark (like footer)
   ========================================================================== */

.hero-cinematic .hero-vsl::after {
    content: 'BLE';
    position: absolute;
    bottom: -8vw;
    right: -2vw;
    font-family: var(--display-font);
    font-style: italic;
    font-weight: 800;
    font-size: 26vw;
    line-height: 0.85;
    color: rgba(193, 164, 97, 0.06);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.05em;
}

@media (max-width: 900px) {
    .hero-cinematic .hero-vsl::after {
        font-size: 32vw;
        bottom: -16vw;
        right: -4vw;
    }
}


/* Hero headline — em should NOT force line break */
.hero-cinematic .hero-headline em {
    display: inline !important;
}

/* TEAM ELEVATED — premium person cards with stats + flag + per-page link */
.team-elevated-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 64px;
}

.team-elevated-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.6s var(--ease-cinematic);
    display: flex;
    flex-direction: column;
}

.team-elevated-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-cinematic);
    z-index: 4;
}

.team-elevated-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(10, 22, 40, 0.12);
    border-color: rgba(193, 164, 97, 0.35);
}

.team-elevated-card:hover::before {
    transform: scaleX(1);
}

.te-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--cream);
}

.te-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 1s var(--ease-cinematic);
    filter: grayscale(20%) contrast(1.05);
}

.team-elevated-card:hover .te-photo {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1);
}

.te-flag {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 28px;
    line-height: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.te-body {
    padding: 32px 30px 36px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.te-role {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.te-body h3 {
    font-family: var(--display-font);
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0 0 18px;
}

.te-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 24px;
    flex: 1;
}

.te-stats {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.te-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.te-stat-num {
    font-family: var(--display-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.te-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.te-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold);
    transition: gap 0.4s var(--ease-cinematic), color 0.3s ease;
}

.team-elevated-card:hover .te-cta {
    gap: 16px;
    color: var(--gold-dark);
}

@media (max-width: 980px) {
    .team-elevated-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 480px;
        margin: 56px auto 0;
    }
}

/* PROFILE PAGES — career timeline, role cards, profile split */
.profile-split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.profile-split .img-frame {
    position: sticky;
    top: 120px;
}

.profile-bio-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.profile-bio-flag {
    font-size: 32px;
    line-height: 1;
}

.profile-bio-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.profile-bio p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 0 0 22px;
}

.profile-bio p:first-of-type::first-letter {
    font-family: var(--display-font);
    font-size: 64px;
    font-weight: 600;
    float: left;
    line-height: 0.9;
    margin: 6px 14px 0 0;
    color: var(--gold);
}

/* Career timeline */
.career-timeline {
    position: relative;
    max-width: 760px;
    margin: 70px auto 0;
    padding-left: 40px;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold) 0%, rgba(193,164,97,0.2) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 44px;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 32px;
    align-items: start;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 8px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px var(--cream);
}

.timeline-year {
    font-family: var(--display-font);
    font-style: italic;
    font-size: 28px;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
}

.timeline-content h4 {
    font-family: var(--display-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 8px;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 900px) {
    .profile-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .profile-split .img-frame {
        position: static;
        max-width: 420px;
    }
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .career-timeline {
        padding-left: 28px;
    }
    .timeline-item::before {
        left: -28px;
    }
}

/* Role cards (What I do at BLE) */
.role-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.role-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 36px 30px;
    position: relative;
    transition: all 0.5s var(--ease-cinematic);
}

.role-card:hover {
    transform: translateY(-4px);
    border-color: rgba(193, 164, 97, 0.4);
    box-shadow: 0 18px 40px rgba(10, 22, 40, 0.08);
}

.role-card-num {
    font-family: var(--display-font);
    font-style: italic;
    font-size: 36px;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 18px;
    display: block;
}

.role-card h4 {
    font-family: var(--display-font);
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 14px;
    line-height: 1.25;
}

.role-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 900px) {
    .role-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Other team mini cards */
.other-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.other-team-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px;
    border: 1px solid var(--border-color);
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: all 0.5s var(--ease-cinematic);
}

.other-team-card:hover {
    border-color: rgba(193, 164, 97, 0.4);
    transform: translateX(4px);
    box-shadow: 0 12px 30px rgba(10, 22, 40, 0.08);
}

.other-team-photo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(193,164,97,0.4);
}

.other-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.other-team-meta .ot-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
    display: block;
}

.other-team-meta h4 {
    font-family: var(--display-font);
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 4px;
}

.other-team-meta p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 900px) {
    .other-team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* ==========================================================================
   TEAM GROUP PHOTOS BANNER — editorial dual-image hero
   ========================================================================== */

.team-group-banner {
    background: var(--cream);
    padding: 130px 20px 60px;
    position: relative;
}

.team-group-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--gold), transparent);
    opacity: 0.5;
}

.team-group-banner .container {
    max-width: 1280px;
}

.team-group-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 36px;
}

.team-group-photo {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    aspect-ratio: 4 / 3;
    isolation: isolate;
}

.team-group-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 22, 40, 0.25) 100%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.6s var(--ease-cinematic);
}

.team-group-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-cinematic), filter 0.5s ease;
    z-index: 1;
}

.team-group-photo:hover img {
    transform: scale(1.05);
    filter: brightness(1.05) saturate(1.1);
}

.team-group-photo:hover::after { opacity: 0.6; }

.team-group-large {
    aspect-ratio: auto;
    min-height: 480px;
}

.team-group-small {
    aspect-ratio: auto;
    min-height: 480px;
}

/* Editorial offset gold border accent on the large photo */
.team-group-large {
    position: relative;
}

.team-group-large::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -18px;
    right: 18px;
    bottom: -18px;
    border: 1px solid var(--gold);
    z-index: 0;
    pointer-events: none;
    transition: all 0.6s var(--ease-cinematic);
}

.team-group-large:hover::before {
    top: 8px;
    left: -8px;
    right: 8px;
    bottom: -8px;
}

.team-group-caption {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding-top: 24px;
}

.team-group-caption .kicker {
    color: var(--gold);
    margin-bottom: 16px;
    justify-content: center;
}

.team-group-caption .kicker::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.team-group-caption p {
    font-family: var(--display-font);
    font-style: italic;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--navy);
    margin: 0;
    letter-spacing: -0.01em;
}

@media (max-width: 900px) {
    .team-group-banner { padding: 80px 20px 40px; }
    .team-group-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .team-group-large,
    .team-group-small {
        min-height: 320px;
    }
    .team-group-large::before { display: none; }
}


/* ==========================================================================
   TEAM HERO BANNER — full-width signature team photo
   ========================================================================== */

.team-hero-banner {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: var(--navy-deep);
    color: var(--white);
}

.team-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.team-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    animation: heroPan 28s ease-in-out infinite alternate;
}

.team-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.4) 0%, rgba(10, 22, 40, 0.2) 30%, rgba(5, 13, 26, 0.92) 100%),
        radial-gradient(ellipse at 25% 80%, rgba(193, 164, 97, 0.18), transparent 55%);
    pointer-events: none;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-hero-content .kicker {
    margin-bottom: 24px;
}

.team-hero-content .kicker::before {
    background: var(--gold-light);
}

.team-hero-title {
    font-family: var(--display-font);
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--white);
    margin: 0 0 28px;
    max-width: 880px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.team-hero-title em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold-light);
}

.team-hero-lead {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
    margin: 0 0 40px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.team-hero-meta {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 720px;
    flex-wrap: wrap;
}

.thm-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.thm-num {
    font-family: var(--display-font);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    letter-spacing: -0.02em;
}

.thm-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.thm-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .team-hero-banner { min-height: 70vh; }
    .team-hero-content { padding: 80px 24px; }
    .team-hero-meta {
        gap: 24px;
        padding-top: 24px;
    }
    .thm-divider { display: none; }
}


/* ==========================================================================
   AGENTS TEASER — "Od agentów dla agentów" split section on home
   ========================================================================== */

.agents-teaser {
    padding: 130px 20px;
    background: var(--white);
    position: relative;
}

.agents-teaser .container {
    max-width: 1280px;
}

.agents-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Photo side */
.agents-teaser-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--navy);
    isolation: isolate;
}

.agents-teaser-photo::before {
    content: '';
    position: absolute;
    top: 24px;
    left: -24px;
    right: 24px;
    bottom: -24px;
    border: 1px solid var(--gold);
    z-index: -1;
    transition: all 0.6s var(--ease-cinematic);
    pointer-events: none;
}

.agents-teaser-photo:hover::before {
    top: 12px;
    left: -12px;
    right: 12px;
    bottom: -12px;
}

.agents-teaser-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-cinematic), filter 0.5s ease;
}

.agents-teaser-photo:hover img {
    transform: scale(1.04);
    filter: brightness(1.04) saturate(1.05);
}

.atp-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    padding: 8px 16px;
    background: rgba(193, 164, 97, 0.95);
    backdrop-filter: blur(10px);
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Content side */
.agents-teaser-content .kicker {
    color: var(--gold);
}

.agents-teaser-content h2 {
    font-family: var(--display-font);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin: 0 0 32px;
}

.agents-teaser-content h2 em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.atc-lead {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 0 18px;
    max-width: 540px;
}

.atc-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 36px 0;
    flex-wrap: wrap;
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 19px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
    background: transparent;
    border: 1px solid var(--border-color-strong);
    text-decoration: none;
    transition: all 0.4s var(--ease-cinematic);
}

.btn-ghost-light:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: rgba(193, 164, 97, 0.05);
}

/* Team signatures row */
.atc-signatures {
    display: flex;
    gap: 28px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.atc-sig {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.atc-sig:hover { transform: translateX(2px); }

.atc-sig img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.atc-sig:hover img { border-color: var(--gold); }

.atc-sig div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.atc-sig-name {
    font-family: var(--display-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.1;
}

.atc-sig-role {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (max-width: 980px) {
    .agents-teaser { padding: 90px 20px; }
    .agents-teaser-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .agents-teaser-photo { max-width: 480px; }
    .agents-teaser-photo::before { display: none; }
    .atc-signatures { gap: 16px; }
}


/* ==========================================================================
   TEAM CARDS — better photo cropping (head + torso, less full-body)
   ========================================================================== */

/* Tighter aspect ratio + zoom on upper portion */
.team-elevated-card .te-photo-wrap {
    aspect-ratio: 3 / 4 !important;
    background: var(--cream);
}

.team-elevated-card .te-photo {
    object-position: 50% 18% !important;
    transform: scale(1.05);
}

.team-elevated-card:hover .te-photo {
    transform: scale(1.1) !important;
}

/* Per-person fine-tuning */
.team-elevated-card[href*="tomasz"] .te-photo {
    object-position: 50% 35% !important;
    transform: scale(1.25);
}

.team-elevated-card[href*="tomasz"]:hover .te-photo {
    transform: scale(1.32) !important;
}

.team-elevated-card[href*="julia"] .te-photo {
    object-position: 50% 25% !important;
}

.team-elevated-card[href*="jan-kortyczko"] .te-photo {
    object-position: 50% 25% !important;
    transform: scale(1.35);
}

.team-elevated-card[href*="jan-kortyczko"]:hover .te-photo {
    transform: scale(1.4) !important;
}

/* Home page signature row — tighter portrait crop */
.atc-sig img {
    object-position: 50% 25% !important;
}

/* Other-team mini cards on dedicated person pages */
.other-team-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.other-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    transition: transform 0.6s var(--ease-cinematic);
}

.other-team-card[href*="tomasz"] .other-team-photo img {
    object-position: 50% 35%;
    transform: scale(1.25);
}

.other-team-card[href*="jan-kortyczko"] .other-team-photo img {
    object-position: 50% 25%;
    transform: scale(1.35);
}

/* Profile bio image-frame on dedicated pages — smart crop */
.profile-bio + .img-frame img,
.img-frame img {
    object-position: 50% 22%;
}

/* Page-hero blurred bg images of people — keep face visible */
.page-hero-bg img[src*="tomek"],
.page-hero-bg img[src*="julia"],
.page-hero-bg img[src*="jan"] {
    object-position: 50% 25%;
}


/* ==========================================================================
   TEAM PHOTOS — UPDATED CROP for new portraits (Julia DSC_0313, Jan DSC_0240)
   ========================================================================== */

/* New photos are already well-cropped — use natural framing, light zoom */
.team-elevated-card[href*="julia"] .te-photo {
    object-position: 50% 22% !important;
    transform: scale(1.02) !important;
}

.team-elevated-card[href*="julia"]:hover .te-photo {
    transform: scale(1.07) !important;
}

.team-elevated-card[href*="jan-kortyczko"] .te-photo {
    object-position: 50% 30% !important;
    transform: scale(1.05) !important;
}

.team-elevated-card[href*="jan-kortyczko"]:hover .te-photo {
    transform: scale(1.1) !important;
}

/* Other-team mini cards on dedicated person pages */
.other-team-card[href*="julia"] .other-team-photo img {
    object-position: 50% 25% !important;
    transform: scale(1.02) !important;
}

.other-team-card[href*="jan-kortyczko"] .other-team-photo img {
    object-position: 50% 30% !important;
    transform: scale(1.05) !important;
}

/* Signature row on home — head + shoulders */
.atc-sig img {
    object-position: 50% 28% !important;
}


/* ==========================================================================
   TEAM PHOTOS — FINAL crop tuning (Tomek=full-body, Julia=portrait, Jan=portrait)
   ========================================================================== */

/* TEAM ELEVATED CARDS (3-grid on o-nas) */
.team-elevated-card .te-photo-wrap {
    aspect-ratio: 3 / 4 !important;
}

/* TOMEK — full-body portrait, needs aggressive zoom on head + shoulders */
.team-elevated-card[href*="tomasz"] .te-photo {
    object-position: 50% 8% !important;
    transform: scale(2.2) !important;
    transform-origin: 50% 12% !important;
}
.team-elevated-card[href*="tomasz"]:hover .te-photo {
    transform: scale(2.3) !important;
}

/* JULIA — already cropped well, minimal zoom */
.team-elevated-card[href*="julia"] .te-photo {
    object-position: 50% 18% !important;
    transform: scale(1.05) !important;
    transform-origin: 50% 18% !important;
}
.team-elevated-card[href*="julia"]:hover .te-photo {
    transform: scale(1.1) !important;
}

/* JAN — also cropped, light zoom */
.team-elevated-card[href*="jan-kortyczko"] .te-photo {
    object-position: 50% 22% !important;
    transform: scale(1.08) !important;
    transform-origin: 50% 22% !important;
}
.team-elevated-card[href*="jan-kortyczko"]:hover .te-photo {
    transform: scale(1.13) !important;
}

/* OTHER-TEAM mini cards (na dedykowanych stronach) */
.other-team-photo {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
}
.other-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-team-card[href*="tomasz"] .other-team-photo img {
    object-position: 50% 8% !important;
    transform: scale(2.2) !important;
    transform-origin: 50% 12% !important;
}
.other-team-card[href*="julia"] .other-team-photo img {
    object-position: 50% 18% !important;
    transform: scale(1.05) !important;
}
.other-team-card[href*="jan-kortyczko"] .other-team-photo img {
    object-position: 50% 22% !important;
    transform: scale(1.08) !important;
}

/* HOME signature row (.atc-sig) — circles, very tight on faces */
.atc-sig img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.atc-sig:nth-child(1) img { /* Tomek */
    object-position: 50% 8% !important;
    transform: scale(2.0) !important;
    transform-origin: 50% 12% !important;
}
.atc-sig:nth-child(2) img { /* Julia */
    object-position: 50% 20% !important;
}
.atc-sig:nth-child(3) img { /* Jan */
    object-position: 50% 25% !important;
}

/* DEDICATED PROFILE PAGES — big img-frame portraits (full bio side) */
/* Tomek profile page */
.profile-split .img-frame img[src*="tomek"] {
    transform: scale(1.5) !important;
    transform-origin: 50% 25% !important;
    object-position: 50% 18% !important;
}
/* Julia + Jan are already well-cropped portraits */
.profile-split .img-frame img[src*="julia"],
.profile-split .img-frame img[src*="jan"] {
    object-position: 50% 18% !important;
}

/* PAGE HERO bg images — keep face visible */
.page-hero-bg img[src*="tomek"] {
    object-position: 50% 18% !important;
    transform: scale(1.3) !important;
}
.page-hero-bg img[src*="julia"],
.page-hero-bg img[src*="jan"] {
    object-position: 50% 22% !important;
}


/* ==========================================================================
   AGENTS TEASER — LANDSCAPE photo + better Tomek signature crop
   ========================================================================== */

/* Landscape layout: photo wider, content in correct ratio */
.agents-teaser-grid {
    grid-template-columns: 1.3fr 1fr !important;
    gap: 64px !important;
    align-items: center;
}

/* Photo aspect — landscape 4/3 */
.agents-teaser-photo {
    aspect-ratio: 4 / 3 !important;
}

/* Use the team-hero.jpg (landscape image (5)) — already set in HTML */
.agents-teaser-photo img {
    object-position: center center !important;
}

/* Tomek signature on home — VERY tight zoom on face since photo is full-body */
.atc-signatures .atc-sig:first-child img {
    object-position: 50% 8% !important;
    transform: scale(2.4) !important;
    transform-origin: 50% 12% !important;
}

@media (max-width: 980px) {
    .agents-teaser-grid {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
    }
    .agents-teaser-photo {
        aspect-ratio: 16 / 10 !important;
        max-width: 100%;
    }
}


/* ==========================================================================
   TOMEK CROP — final fix (full-body 852x1846 → show head+chest)
   Use scale + position so that the face lands in the upper half of the card
   ========================================================================== */

.team-elevated-card[href*="tomasz"] .te-photo {
    object-position: 50% 15% !important;
    transform: scale(1.55) !important;
    transform-origin: 50% 25% !important;
}
.team-elevated-card[href*="tomasz"]:hover .te-photo {
    transform: scale(1.62) !important;
}

.other-team-card[href*="tomasz"] .other-team-photo img {
    object-position: 50% 15% !important;
    transform: scale(1.55) !important;
    transform-origin: 50% 25% !important;
}

/* Home signature — circular 48px on Tomek needs even tighter face crop */
.atc-signatures .atc-sig:first-child img {
    object-position: 50% 18% !important;
    transform: scale(1.7) !important;
    transform-origin: 50% 25% !important;
}

/* Page hero of dedicated Tomek page — keep face visible */
.page-hero-bg img[src*="tomek"] {
    object-position: 50% 18% !important;
    transform: scale(1.4) !important;
    transform-origin: 50% 25% !important;
}

/* Profile big bio image on Tomek page */
.profile-split .img-frame img[src*="tomek"] {
    object-position: 50% 15% !important;
    transform: scale(1.55) !important;
    transform-origin: 50% 25% !important;
}


/* ==========================================================================
   BTN-CINEMATIC — fix invisible text on hover (text was rendering behind ::before)
   ========================================================================== */

.btn-cinematic {
    isolation: isolate !important;
    background: var(--gold) !important;
    color: var(--navy) !important;
}

.btn-cinematic::before {
    z-index: -1 !important;  /* Push sweep effect BEHIND text */
}

/* On hover: white sweep behind text, navy text stays visible */
.btn-cinematic:hover {
    color: var(--navy) !important;
    background: var(--gold) !important;
}

/* Make sure all children (svg, span, text-only) stay above ::before */
.btn-cinematic,
.btn-cinematic * {
    position: relative;
}

.btn-cinematic svg {
    z-index: 1;
}

/* Same fix for btn-ghost-light just in case */
.btn-ghost-light {
    isolation: isolate;
}


/* ==========================================================================
   FAQ on country pages — fix layout (button row alignment + answer toggle)
   ========================================================================== */

/* Container */
.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 0;
    margin-bottom: 12px;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(193, 164, 97, 0.35);
}

.faq-item.active {
    border-color: var(--gold);
    border-left: 3px solid var(--gold);
    background: rgba(193, 164, 97, 0.03);
}

/* Question button — flex row, full width */
.faq-item .faq-q {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    width: 100% !important;
    padding: 24px 28px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-item .faq-q h4 {
    font-family: 'Playfair Display', serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: var(--navy) !important;
    margin: 0 !important;
    flex: 1;
    text-align: left;
}

.faq-item .faq-q svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--gold);
    transition: transform 0.4s var(--ease-cinematic);
}

.faq-item.active .faq-q svg {
    transform: rotate(45deg);
    color: var(--navy);
}

/* Answer panel — collapsed by default, expand on .active */
.faq-item .faq-answer,
.faq-item .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-cinematic), padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer,
.faq-item.active .faq-a {
    max-height: 600px;
    padding: 0 28px 24px;
}

.faq-item .faq-answer p,
.faq-item .faq-a p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
    padding-top: 4px;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

@media (max-width: 600px) {
    .faq-item .faq-q {
        padding: 18px 20px !important;
        gap: 16px !important;
    }
    .faq-item .faq-q h4 {
        font-size: 16px !important;
    }
    .faq-item .faq-answer,
    .faq-item .faq-a { padding: 0 20px; }
    .faq-item.active .faq-answer,
    .faq-item.active .faq-a { padding: 0 20px 20px; }
}


/* ==========================================================================
   TOMEK signature circle on home — final fix (smaller zoom, higher position)
   ========================================================================== */
.atc-signatures .atc-sig:first-child img {
    object-position: 50% 5% !important;
    transform: scale(1.15) !important;
    transform-origin: 50% 10% !important;
}


/* ==========================================================================
   TELEGRAM GROUP SECTION — premium dual-column with phone mockup
   ========================================================================== */

.telegram-group {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    padding: 130px 20px;
    position: relative;
    overflow: hidden;
}

.telegram-group::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(40, 159, 232, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.telegram-group .container {
    max-width: 1280px;
    position: relative;
}

.tg-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left content */
.tg-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(40, 159, 232, 0.1);
    border: 1px solid rgba(40, 159, 232, 0.3);
    color: #289fe8;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 28px;
}

.tg-content h2 {
    font-family: var(--display-font);
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin: 0 0 24px;
}

.tg-content h2 em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.tg-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 36px;
    max-width: 560px;
}

/* Features list */
.tg-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    margin-bottom: 40px;
}

.tg-feat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tg-feat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(193, 164, 97, 0.12);
    border: 1px solid rgba(193, 164, 97, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.tg-feat h4 {
    font-family: var(--display-font);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--navy);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.tg-feat p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
}

/* CTA — Telegram blue gradient */
.tg-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #289fe8, #1d8acc);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s var(--ease-cinematic);
    box-shadow: 0 12px 32px rgba(40, 159, 232, 0.3);
}

.tg-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(40, 159, 232, 0.45);
    background: linear-gradient(135deg, #1d8acc, #2891d3);
}

.tg-cta svg {
    transition: transform 0.4s ease;
}

.tg-cta:hover svg {
    transform: translateX(4px);
}

/* Right side — phone mockup */
.tg-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tg-phone {
    width: 100%;
    max-width: 380px;
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(10, 22, 40, 0.18), 0 0 0 1px var(--border-color);
    overflow: hidden;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.6s var(--ease-cinematic);
}

.tg-phone:hover {
    transform: rotate(0deg) translateY(-4px);
}

.tg-phone-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #289fe8, #1d8acc);
    color: var(--white);
}

.tg-phone-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display-font);
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.tg-phone-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tg-phone-meta strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.tg-phone-meta span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

/* Messages */
.tg-phone-messages {
    padding: 24px 18px;
    background: #e8f0f7;
    background-image:
        radial-gradient(circle at 25% 30%, rgba(40, 159, 232, 0.04), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(193, 164, 97, 0.04), transparent 50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 380px;
}

.tg-msg {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 14px;
    border-top-left-radius: 4px;
    max-width: 85%;
    box-shadow: 0 2px 8px rgba(10, 22, 40, 0.05);
    position: relative;
}

.tg-msg-author {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #289fe8;
    margin-bottom: 4px;
}

.tg-msg p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--navy);
    margin: 0;
}

.tg-msg p strong {
    font-weight: 700;
    color: var(--gold-dark);
}

.tg-msg-time {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    text-align: right;
    margin-top: 4px;
}

@media (max-width: 980px) {
    .telegram-group { padding: 90px 20px; }
    .tg-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .tg-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tg-mockup { max-width: 380px; margin: 0 auto; }
    .tg-phone { transform: none; }
}


/* ==========================================================================
   COMPARISON SECTION — BLE vs Solo (sticky-scroll, Freedom-style, BLE colors)
   ========================================================================== */

.comparison {
    background: var(--white);
    padding: 130px 20px;
    position: relative;
}

.comparison .container {
    max-width: 1200px;
}

.comparison-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 80px;
}

.comparison-header h2 {
    font-family: var(--display-font);
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin: 16px 0 20px;
}

.comparison-header h2 em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.comparison-header p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.comparison-table {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

/* STICKY headers — leci ze scrollem */
.comp-headers {
    position: sticky;
    top: 84px;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    background: var(--white);
    padding: 20px 0 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.comp-headers-empty {
    /* spacer for first column */
}

.comp-header {
    padding: 24px 28px;
    border-radius: 14px;
    transition: transform 0.4s var(--ease-cinematic);
}

/* BLE column — featured, gradient navy → navy-mid with gold accent */
.comp-header-ble {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    box-shadow: 0 16px 40px rgba(10, 22, 40, 0.18);
    position: relative;
    overflow: hidden;
}

.comp-header-ble::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(193, 164, 97, 0.25), transparent 70%);
    pointer-events: none;
}

.comp-header-ble .comp-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.comp-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

.comp-header-ble h3 {
    font-family: var(--display-font);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--white);
}

.comp-header-ble p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Solo column — alternative, muted */
.comp-header-solo {
    background: var(--cream);
    border: 1px solid var(--border-color);
}

.comp-header-solo .comp-status {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: inline-block;
}

.comp-header-solo h3 {
    font-family: var(--display-font);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--navy);
}

.comp-header-solo p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Row */
.comp-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    transition: transform 0.4s var(--ease-cinematic);
}

/* Feature description (left col) */
.comp-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.comp-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(193, 164, 97, 0.1);
    border: 1px solid rgba(193, 164, 97, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.comp-feature h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 2px;
    letter-spacing: 0.1px;
}

.comp-feature p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

/* BLE cell (yes) */
.comp-cell {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 24px;
    border-radius: 14px;
    transition: all 0.4s var(--ease-cinematic);
}

.comp-cell-yes {
    background: rgba(193, 164, 97, 0.06);
    border: 1px solid rgba(193, 164, 97, 0.25);
}

.comp-cell-yes .comp-mark {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.comp-cell-yes p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--navy);
    margin: 0;
}

.comp-cell-yes p strong {
    color: var(--gold-dark);
    font-weight: 700;
}

/* Solo cell (no) */
.comp-cell-no {
    background: rgba(10, 22, 40, 0.025);
    border: 1px solid var(--border-color);
}

.comp-cell-no .comp-mark {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(10, 22, 40, 0.1);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.comp-cell-no p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

.comparison-cta {
    text-align: center;
    margin-top: 64px;
}

@media (max-width: 980px) {
    .comparison { padding: 90px 16px; }
    .comp-headers,
    .comp-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .comp-headers {
        position: static;
        padding: 0;
        border: none;
        margin-bottom: 16px;
    }
    .comp-headers-empty { display: none; }
    .comp-row {
        gap: 0;
        padding: 16px 0 0;
        border-top: 1px solid var(--border-color);
    }
    .comp-row:first-child { border-top: none; padding-top: 0; }
    .comp-feature {
        background: var(--cream);
        border: none;
        margin-bottom: 8px;
    }
    .comp-cell {
        padding: 18px 20px;
    }
}


/* ==========================================================================
   TOMEK card photo — show face higher in frame (final tweak)
   ========================================================================== */
.team-elevated-card[href*="tomasz"] .te-photo {
    object-position: 50% 0% !important;
    transform: scale(1.5) !important;
    transform-origin: 50% 5% !important;
}
.team-elevated-card[href*="tomasz"]:hover .te-photo {
    transform: scale(1.55) !important;
}

.other-team-card[href*="tomasz"] .other-team-photo img {
    object-position: 50% 0% !important;
    transform: scale(1.5) !important;
    transform-origin: 50% 5% !important;
}

.profile-split .img-frame img[src*="tomek"] {
    object-position: 50% 0% !important;
    transform: scale(1.4) !important;
    transform-origin: 50% 5% !important;
}

.page-hero-bg img[src*="tomek"] {
    object-position: 50% 5% !important;
    transform: scale(1.3) !important;
    transform-origin: 50% 8% !important;
}


/* ==========================================================================
   O-NAS HERO — team photo brighter + better visibility
   ========================================================================== */

/* When team-hero.jpg is bg of page-hero, lower the dark overlay so face is visible */
.page-hero-bg img[src*="team-hero"] {
    opacity: 0.65 !important;
    filter: brightness(1.08) saturate(1.05);
}

/* Slightly lighter overlay on o-nas hero to keep team photo visible */
.page-hero:has(img[src*="team-hero"]) .page-hero-bg::after {
    background:
        radial-gradient(circle at 20% 50%, rgba(193, 164, 97, 0.08), transparent 50%),
        linear-gradient(180deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.85) 100%) !important;
}

/* Fallback for browsers without :has() */
.page-hero-team .page-hero-bg::after,
.page-hero .page-hero-bg img[src*="team-hero"] ~ ::after {
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.5) 0%, rgba(10, 22, 40, 0.85) 100%) !important;
}


/* ==========================================================================
   O-NAS HERO — center on faces (lower the photo so faces show)
   ========================================================================== */
.page-hero-bg img[src*="team-hero"] {
    object-position: 50% 30% !important;
    opacity: 0.7 !important;
}


/* ==========================================================================
   TOMEK CARD — final adjustment (face higher in frame, bigger)
   ========================================================================== */
.team-elevated-card[href*="tomasz"] .te-photo {
    object-position: 50% 8% !important;
    transform: scale(1.75) !important;
    transform-origin: 50% 12% !important;
}
.team-elevated-card[href*="tomasz"]:hover .te-photo {
    transform: scale(1.82) !important;
}

.other-team-card[href*="tomasz"] .other-team-photo img {
    object-position: 50% 8% !important;
    transform: scale(1.75) !important;
    transform-origin: 50% 12% !important;
}


/* ==========================================================================
   PROCESS PICTORIAL — alternating image + text rows on /wspolpraca
   ========================================================================== */
.process-pictorial {
    background: var(--white);
    padding-top: 40px;
    padding-bottom: 130px;
}

.pp-rows {
    display: flex;
    flex-direction: column;
    gap: 130px;
    margin-top: 80px;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.pp-row {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}

.pp-row-reverse {
    direction: rtl;
}

.pp-row-reverse > * {
    direction: ltr;
}

/* Image side */
.pp-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cream);
    isolation: isolate;
}

.pp-image::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -18px;
    right: 18px;
    bottom: -18px;
    border: 1px solid var(--gold);
    z-index: -1;
    pointer-events: none;
    transition: all 0.6s var(--ease-cinematic);
}

.pp-row:hover .pp-image::before {
    top: 8px;
    left: -8px;
    right: 8px;
    bottom: -8px;
}

.pp-row-reverse .pp-image::before {
    left: 18px;
    right: -18px;
}
.pp-row-reverse:hover .pp-image::before {
    left: 8px;
    right: -8px;
}

.pp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-cinematic), filter 0.4s ease;
}

.pp-row:hover .pp-image img {
    transform: scale(1.05);
    filter: brightness(1.04) saturate(1.05);
}

/* Big number floating on image */
.pp-num {
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-family: var(--display-font);
    font-style: italic;
    font-size: clamp(7rem, 11vw, 13rem);
    font-weight: 800;
    line-height: 0.8;
    color: var(--gold);
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.05em;
    z-index: 3;
    pointer-events: none;
}

.pp-row-reverse .pp-num {
    right: auto;
    left: -10px;
}

/* Content side */
.pp-content {
    padding: 0 8px;
}

.pp-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.pp-tag::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.pp-content h3 {
    font-family: var(--display-font);
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0 0 24px;
}

.pp-content p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-secondary);
    margin: 0;
}

.pp-quote {
    margin: 28px 0 0;
    padding: 0 0 0 22px;
    border-left: 2px solid var(--gold);
    font-family: var(--display-font);
    font-style: italic;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gold-dark);
}

@media (max-width: 980px) {
    .process-pictorial { padding-bottom: 90px; }
    .pp-rows { gap: 80px; margin-top: 56px; }
    .pp-row,
    .pp-row-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
    }
    .pp-image::before { display: none; }
    .pp-num { font-size: 6rem; bottom: -20px; right: 12px; }
    .pp-row-reverse .pp-num { left: auto; right: 12px; }
    .pp-content { padding: 0; }
}
