/* ================================================
   XY MUSICS — Complete Redesign
   Warm Cinematic Aesthetic
   ================================================ */

/* ===== LOCAL FONTS (Self-hosted) ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('assets/fonts/playfair-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('assets/fonts/playfair-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('assets/fonts/playfair-latin-ext-wght-italic.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('assets/fonts/playfair-latin-wght-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== CUSTOM PROPERTIES ===== */
:root {
    /* Colors */
    --bg-dark: #0a0a0f;
    --bg-darker: #06060a;
    --bg-card: #111118;
    --bg-card-hover: #16161f;
    --gold: #d4a853;
    --gold-light: #e8c97a;
    --gold-dark: #b08930;
    --text-primary: #f0ece4;
    --text-secondary: #d7d0c4;
    --text-muted: #b4ac9f;
    --border-color: rgba(212, 168, 83, 0.12);
    --border-hover: rgba(212, 168, 83, 0.3);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --section-py: clamp(50px, 6vw, 90px);
    --container-px: clamp(20px, 5vw, 60px);
    --container-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s var(--ease-out);
    --transition-med: 0.6s var(--ease-out);
    --transition-smooth: 0.4s var(--ease-out);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Global grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* Section divider glow */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
    opacity: 0.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Inline icon fallback (replaces external icon webfont) */
i.iconified {
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

i.iconified svg {
    width: 1em;
    height: 1em;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ===== UTILITIES ===== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

header.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-color);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.5px;
}

.btn-gold {
    background: var(--gold);
    color: var(--bg-dark);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 168, 83, 0.25);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(240, 236, 228, 0.25);
}

.btn-outline-light:hover {
    border-color: var(--text-primary);
    background: rgba(240, 236, 228, 0.05);
    transform: translateY(-3px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--border-color);
}

.btn-outline-gold:hover {
    border-color: var(--gold);
    background: rgba(212, 168, 83, 0.06);
    transform: translateY(-3px);
}

.btn-outline {
    background: rgba(14, 14, 22, 0.7);
    color: var(--text-primary);
    border: 1px solid rgba(212, 168, 83, 0.34);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--text-primary);
    background: rgba(212, 168, 83, 0.14);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== HERO ===== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Defer below-the-fold rendering work */
main>section:not(#hero) {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 15%, rgba(212, 168, 83, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 15% 75%, rgba(160, 100, 30, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 85% 80%, rgba(80, 50, 100, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(10, 10, 15, 1) 0%, transparent 40%),
        var(--bg-dark);
}

/* Animated floating orb on hero */
.hero-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatOrb 8s ease-in-out infinite;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    50% {
        transform: translateX(-50%) translateY(30px) scale(1.05);
    }
}

/* Hero Background Video (YouTube) */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 Aspect Ratio */
    transform: translate(-50%, -50%);
    opacity: 0.4;
    filter: saturate(1.08);
    object-fit: cover;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 15, 0.8) 0%,
            rgba(10, 10, 15, 0.6) 50%,
            var(--bg-dark) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Ensure content is above video */
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

/* Keep above-the-fold content visible without waiting for reveal observer */
#hero .reveal {
    opacity: 1;
    transform: none;
}

/* Watch Intro Button Special Style */
.js-open-intro-video {
    position: relative;
    overflow: hidden;
}

.js-open-intro-video i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.js-open-intro-video:hover i {
    transform: scale(1.2);
}

/* ===== INTRO VIDEO MODAL ===== */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
}

.video-modal-overlay[aria-hidden="false"] {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-overlay[aria-hidden="false"] .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: color 0.3s ease;
    padding: 10px;
    /* Larger touch target */
}

/* Improved Close Button for All Screens */
.video-modal-close {
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-close:hover {
    color: var(--gold);
    background: rgba(0, 0, 0, 0.9);
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    background: #000;
}

.video-modal-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .video-modal-overlay {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
    }

    .video-modal-content {
        width: 100vw;
        max-width: none;
        height: 100vh;
        border-radius: 0;
    }

    .video-modal-wrapper {
        width: 100%;
        height: 100%;
        padding-bottom: 0;
    }

    .video-modal-wrapper video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 18px;
    margin-bottom: 20px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 24px;
}

#hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

#hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-sub-desktop {
    display: inline;
}

.hero-sub-mobile {
    display: none;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 60px;
    background: rgba(17, 17, 24, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 48px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
}

.hero-stat strong {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.hero-stat strong .counter {
    font-family: inherit;
}

.hero-stat span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: hintBounce 2.5s infinite;
}

.scroll-hint i {
    font-size: 0.9rem;
}

@keyframes hintBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: 20px;
    font-size: 1rem;
}

/* ===== ABOUT / INSTRUCTORS ===== */
#about {
    padding: var(--section-py) 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
    top: 10%;
    right: -15%;
    pointer-events: none;
}

#about::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 60, 140, 0.04) 0%, transparent 70%);
    bottom: 15%;
    left: -10%;
    pointer-events: none;
}

.instructor-block {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Image smaller (was 1fr 1fr) */
    gap: 60px;
    align-items: start;
    /* Align to top to prevent massive empty space below image when text expands */
    margin-bottom: 80px;
}

.instructor-block:last-child {
    margin-bottom: 0;
}

.instructor-block--reverse {
    direction: rtl;
}

.instructor-block--reverse>* {
    direction: ltr;
}

.instructor-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-card);
    max-width: 320px;
    /* Constrain physical width */
    margin: 0 auto;
    /* Center if column is wider */
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.instructor-block:hover .instructor-image img {
    transform: scale(1.05);
}

/* Bio Expansion */
.instructor-bio-wrapper {
    position: relative;
    transition: all 0.5s ease;
}

.instructor-bio-wrapper.collapsed {
    max-height: 280px;
    /* Adjust to match image height roughly */
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: none;
    border: none;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #fff;
    gap: 12px;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn.expanded i {
    transform: rotate(180deg);
}

.instructor-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.6) 100%);
    pointer-events: none;
}

.instructor-details h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.instructor-role {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 24px;
}

.instructor-bio p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.instructor-socials {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.instructor-socials a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.instructor-socials a:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.15);
}

/* ===== SERVICES ===== */
#services {
    padding: var(--section-py) 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 168, 83, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 100%, rgba(80, 50, 120, 0.03) 0%, transparent 60%),
        var(--bg-darker);
    position: relative;
}

.services-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(212, 168, 83, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(212, 168, 83, 0.08);
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 24px;
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--bg-dark);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.service-number {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(212, 168, 83, 0.05);
    line-height: 1;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.service-card:hover .service-number {
    color: rgba(212, 168, 83, 0.1);
}

/* ===== PORTFOLIO ===== */
#portfolio {
    padding: var(--section-py) 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

#portfolio::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.035) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    pointer-events: none;
}

/* Featured Video */
.featured-video {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 40px;
    transition: border-color var(--transition-fast);
}

.featured-video:hover {
    border-color: var(--border-hover);
}

.featured-video-embed {
    border-radius: 12px;
    overflow: hidden;
}

.featured-video-embed .embed-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.08);
    border: 1px solid rgba(212, 168, 83, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.featured-badge i {
    font-size: 0.6rem;
}

.featured-video-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-video-info h3 em {
    font-style: italic;
    color: var(--text-secondary);
    font-weight: 400;
}

.featured-video-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.portfolio-embed {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.embed-label {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.embed-label .fab.fa-youtube {
    color: #ff0000;
}

.embed-label .fab.fa-spotify {
    color: #1DB954;
}

.embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lite-youtube {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 168, 83, 0.25), transparent 45%),
        linear-gradient(140deg, rgba(18, 18, 28, 0.95), rgba(10, 10, 16, 0.98));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.lite-youtube::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.42));
}

.lite-youtube__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(212, 168, 83, 0.45);
    min-height: 44px;
    border-radius: 999px;
    background: rgba(10, 10, 15, 0.82);
    color: #f0ece4;
    padding: 12px 18px;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 2;
    transition: transform .24s ease, background .24s ease;
}

.lite-youtube__play:hover {
    transform: translate(-50%, -50%) scale(1.03);
    background: rgba(12, 12, 20, 0.95);
}

.lite-youtube__play i {
    color: var(--gold);
}

.embed-wrapper--spotify {
    padding-bottom: 0;
    height: auto;
}

.embed-wrapper--spotify iframe {
    position: static;
    height: 352px;
}

.spotify-embed-frame {
    border-radius: 12px;
}

.portfolio-cta {
    text-align: center;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
    padding: var(--section-py) 0;
    background:
        radial-gradient(ellipse 50% 50% at 20% 50%, rgba(212, 168, 83, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 30%, rgba(60, 40, 80, 0.03) 0%, transparent 60%),
        var(--bg-darker);
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all var(--transition-fast);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-card blockquote {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gold);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testimonial-dots .dot {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
    position: relative;
}

.testimonial-dots .dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--text-muted);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-fast);
}

.testimonial-dots .dot.active {
    border-radius: 12px;
}

.testimonial-dots .dot.active::before {
    width: 24px;
    border-radius: 6px;
    background: var(--gold);
}

/* ===== FAQ ===== */
#faq {
    padding: var(--section-py) 0;
    background: var(--bg-darker);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item[open] {
    border-color: rgba(212, 168, 83, 0.3);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    list-style: none;
    transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--gold);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item[open] summary {
    color: var(--gold);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* FAQ Show More */
.faq-hidden-group {
    display: none;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.faq-hidden-group.visible {
    display: flex;
    animation: faqSlideDown 0.5s ease forwards;
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-show-more-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    text-align: center;
}

.faq-show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-show-more-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-show-more-btn:hover {
    border-color: rgba(212, 168, 83, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 168, 83, 0.12);
    color: var(--gold);
}

.faq-show-more-btn:hover::before {
    opacity: 1;
}

.faq-show-more-btn i {
    font-size: 0.85rem;
    color: var(--gold);
    transition: transform 0.4s ease;
}

.faq-show-more-btn.expanded i {
    transform: rotate(180deg);
}

.faq-count {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

/* ===== BLOG PREVIEW ===== */
#blog {
    padding: var(--section-py) 0;
    background: var(--bg-darker);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.blog-preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.blog-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-preview-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.blog-preview-card:hover::before {
    opacity: 1;
}

.blog-preview-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 168, 83, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.blog-preview-card:hover .blog-preview-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gold);
    color: var(--bg-dark);
}

.blog-preview-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 12px;
    opacity: 0.8;
}

.blog-preview-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.blog-preview-card:hover h3 {
    color: var(--gold);
}

.blog-preview-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.blog-preview-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.blog-preview-card:hover .blog-preview-link {
    gap: 12px;
    color: var(--gold);
}

.blog-preview-more {
    text-align: center;
    margin-top: 32px;
}

/* ===== INSTAGRAM ===== */
#instagram {
    padding: var(--section-py) 0;
    background: var(--bg-dark);
    position: relative;
}

#instagram h2 em {
    font-style: italic;
    color: var(--gold);
}

.instagram-profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.instagram-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    display: block;
    transition: all var(--transition-fast);
    text-decoration: none;
    color: inherit;
}

.instagram-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.instagram-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.instagram-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) border-box;
    padding: 2px;
    flex-shrink: 0;
}

.instagram-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.instagram-user-info {
    flex: 1;
}

.instagram-user-info strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.instagram-user-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.instagram-card:hover .instagram-follow-btn {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(225, 48, 108, 0.3);
}

.instagram-bio {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.instagram-preview {
    border-radius: 12px;
    background: #08090f;
    border: 1px solid rgba(212, 168, 83, 0.24);
    padding: 14px;
}

.instagram-preview-title {
    margin: 0 0 10px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
}

.instagram-focus-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.instagram-focus-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(212, 168, 83, 0.2);
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 12px;
    color: var(--text-primary);
    font-size: 0.84rem;
    line-height: 1.45;
}

.instagram-focus-list li i {
    color: var(--gold);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.instagram-cta-links {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.instagram-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(212, 168, 83, 0.28);
    color: var(--text-primary);
    background: rgba(12, 12, 20, 0.74);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all var(--transition-fast);
}

.instagram-cta-link i {
    color: var(--gold);
}

.instagram-cta-link:hover {
    color: #fff9ea;
    border-color: var(--border-hover);
    background: rgba(212, 168, 83, 0.18);
}

/* ===== VOICE COACHING CTA ===== */
#voice-cta {
    padding: 60px 0;
    background: var(--bg-darker);
}

.cta-banner {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
    top: -50%;
    right: -5%;
    pointer-events: none;
}

.cta-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(212, 168, 83, 0.08);
    color: var(--gold);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cta-content h2 i {
    color: var(--gold);
    margin-right: 8px;
    font-size: 0.9em;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cta-content p strong {
    color: var(--gold);
    font-weight: 600;
}

.cta-note-quote {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
    font-style: italic;
}

.cta-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ===== CONTACT ===== */
#contact {
    padding: var(--section-py) 0;
    background:
        radial-gradient(ellipse 70% 60% at 30% 50%, rgba(212, 168, 83, 0.04) 0%, transparent 60%),
        var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 16px 0 16px;
    line-height: 1.2;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-note-text {
    font-size: 0.9em;
    opacity: 0.8;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-list li i {
    color: var(--gold);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.contact-list li a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-list li a:hover {
    color: var(--gold);
}

/* Contact Badges */
.contact-badges {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(212, 168, 83, 0.35);
    color: var(--text-primary);
    background: rgba(10, 10, 16, 0.55);
    transition: all var(--transition-fast);
}

.contact-badge:hover {
    border-color: var(--gold);
    color: #fff5d8;
    background: rgba(212, 168, 83, 0.18);
    transform: translateY(-2px);
}

.contact-badge i {
    font-size: 1rem;
}

/* Map */
.map-container {
    margin-top: 48px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
    filter: grayscale(0.3) brightness(0.85) contrast(1.1);
    transition: filter var(--transition-fast);
}

.map-embed {
    border: 0;
    border-radius: 16px;
}

.map-container:hover iframe {
    filter: grayscale(0) brightness(0.9) contrast(1);
}

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--bg-card);
    padding: 0 6px;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -8px;
    left: 12px;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
footer {
    padding: 40px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-inner p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.1rem;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

/* Footer Nav */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-seo {
    max-width: 600px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Focus Visible — Keyboard Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
details summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* CTA Icon Pulse */
@keyframes ctaPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.cta-icon {
    animation: ctaPulse 3s ease-in-out infinite;
}



/* ===== SERVICE CARD LINKS ===== */
.service-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.service-link:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

/* ===== CONTENT-VISIBILITY (Rendering Performance) ===== */
#faq,
#contact,
footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ===================================================
   RESPONSIVE — Mobile First Overrides
   =================================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .services-scroll {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Header */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 0;
        padding: 90px 20px 28px;
        transition: right 0.5s var(--ease-out);
        border-left: 1px solid var(--border-color);
        z-index: 1000;
    }

    .nav-links .lang-dropdown {
        order: -1;
        margin-bottom: 20px;
        width: 100%;
        justify-content: center;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 12px 0;
    }

    .nav-links a {
        display: block;
        width: auto;
        padding: 8px 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links .nav-cta {
        min-width: 180px;
        text-align: center;
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Hero */
    .hero-eyebrow {
        display: none;
    }

    #hero h1 {
        font-size: 3rem;
        margin-bottom: 14px;
    }

    #hero h1 br {
        display: none;
    }

    .hero-sub {
        max-width: 340px;
        margin: 0 auto 22px;
        line-height: 1.6;
    }

    .hero-sub-desktop {
        display: none;
    }

    .hero-sub-mobile {
        display: inline;
    }

    .hero-actions {
        width: min(100%, 360px);
        margin: 0 auto;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .hero-stats {
        display: flex;
        margin: 28px auto 0;
        padding: 14px 12px;
        border-radius: 12px;
        width: min(100%, 360px);
        justify-content: center;
    }

    .hero-stat {
        padding: 0 17px;
    }

    .hero-stat strong {
        font-size: 1.45rem;
    }

    .hero-stat span {
        font-size: 0.58rem;
        letter-spacing: 0.6px;
    }

    .hero-stat-divider {
        height: 24px;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
        padding: 11px 14px;
        font-size: 0.79rem;
        gap: 6px;
    }

    .scroll-hint {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        margin-top: 14px;
        font-size: 0.62rem;
        letter-spacing: 2px;
        opacity: 0.85;
        animation: none;
    }

    /* Instructors */
    .instructor-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .instructor-block--reverse {
        direction: ltr;
    }

    .instructor-image {
        aspect-ratio: 16/10;
    }

    .instructor-details h3 {
        font-size: 1.6rem;
    }

    /* Featured Video */
    .featured-video {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 16px;
    }

    .featured-video-embed {
        order: 1;
    }

    .featured-video-info {
        order: 2;
    }

    .featured-video-info h3 {
        font-size: 1.4rem;
    }

    /* Testimonials */
    .testimonial-card {
        flex: 0 0 85%;
        min-width: 260px;
    }

    /* Instagram */
    .instagram-profiles {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .instagram-follow-btn {
        display: none;
    }

    .instagram-card-header {
        gap: 12px;
    }

    .instagram-cta-links {
        flex-direction: column;
    }

    .instagram-cta-link {
        width: 100%;
    }

    /* CTA Banner */
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 24px;
    }

    .cta-content h2 {
        font-size: 1.3rem;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 28px 24px;
    }

    .map-container {
        margin-top: 32px;
    }

    .map-container iframe {
        height: 300px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 420px) {
    #hero h1 {
        font-size: 3rem;
    }

    .hero-stats {
        width: min(100%, 330px);
        padding: 12px 8px;
        margin: 24px auto 0;
    }

    .hero-stat strong {
        font-size: 1.82rem;
    }

    .hero-stat span {
        font-size: 0.54rem;
    }

    .hero-actions {
        width: min(100%, 360px);
        padding: 0;
        gap: 8px;
    }

    .hero-actions .btn {
        padding: 10px 10px;
        font-size: 0.75rem;
    }

    .scroll-hint {
        margin-top: 12px;
        font-size: 0.58rem;
        width: 100%;
        justify-content: center;
    }

    .instructor-bio-wrapper.collapsed {
        max-height: 200px;
    }
}

/* ===================================================
   EVENTS SECTION
   =================================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.event-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 168, 83, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 168, 83, 0.3);
    box-shadow: 0 12px 40px rgba(212, 168, 83, 0.08);
}

.event-emoji {
    font-size: 2.8rem;
    margin-bottom: 16px;
    line-height: 1;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.event-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.event-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.events-cta-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.events-cta {
    text-align: center;
    margin-top: 40px;
}

.events-cta-btn {
    font-size: 1rem;
    padding: 14px 32px;
    gap: 8px;
    color: #08090f;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.18);
}

@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===================================================
   CTA POPUP MODAL
   =================================================== */
.cta-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cta-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cta-popup-card {
    position: relative;
    background: rgba(18, 18, 28, 0.92);
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: 24px;
    padding: 48px 40px 40px;
    max-width: 560px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 0 60px rgba(212, 168, 83, 0.12),
        0 24px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-popup-overlay.active .cta-popup-card {
    transform: translateY(0) scale(1);
}

.cta-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-popup-overlay.active .cta-popup-card {
    transform: translateY(0) scale(1);
}

.cta-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
}

.cta-popup-close:hover {
    color: var(--text-primary);
}

.cta-popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(212, 168, 83, 0.05));
    border: 1px solid rgba(212, 168, 83, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popupPulse 2.5s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes popupPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.06);
        opacity: 0.88;
    }
}

.cta-popup-card h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.cta-popup-subtitle {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 16px;
}

.cta-popup-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
}

.cta-popup-desc strong {
    color: var(--text-primary);
}

.cta-popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-dark);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-popup-video-wrapper {
    width: 100%;
    margin: 0 0 20px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(212, 168, 83, 0.25);
    background: #000;
}

.cta-popup-video-wrapper video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    background: #000;
}

.cta-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 168, 83, 0.35);
}

.cta-popup-btn i {
    font-size: 1.2rem;
}

.cta-popup-dismiss {
    display: block;
    margin: 16px auto 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cta-popup-dismiss:hover {
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .cta-popup-card {
        padding: 36px 24px 28px;
    }

    .cta-popup-card h2 {
        font-size: 1.35rem;
    }

    .cta-popup-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

/* ===================================================
   MOBILE SCROLL FIXES & PADDING (Steps 727+)
   =================================================== */

/* Add Events to shared padding logic explicitly */
#events {
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

/* Prevent scroll trapping on horizontal scrollers */
.services-scroll,
.events-grid,
.blog-preview-grid {
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}

/* Mobile Horizontal Scroll Overrides */
/* Mobile Horizontal Scroll Overrides */
@media (max-width: 768px) {

    .services-scroll,
    .events-grid,
    .blog-preview-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        /* Edge-to-edge effect */
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        /* Critical for scroll handling */
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
    }

    .service-card,
    .event-card,
    .blog-preview-card {
        flex: 0 0 85% !important;
        min-width: 280px !important;
        scroll-snap-align: center;
        margin: 0 !important;
        height: auto !important;
    }
}

/* ===================================================
   VIDEO INTEGRATION STYLES
   =================================================== */

/* 1. Voice CTA Video Layout */
/* 1. Voice CTA Video Layout */
/* 1. Voice CTA Video Layout */
/* Styles removed as video was requested to be deleted */

/* 2. Instructor Video */
.instructor-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 3. Studio Life Section (Horizontal Scroll) */
#studio-life {
    padding: var(--section-py) 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.studio-life-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.studio-video-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #000;
    aspect-ratio: 9/16;
    /* Vertical video ratio */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.studio-video-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.studio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Studio Life Mobile Scroll */
@media (max-width: 1024px) {
    .studio-life-scroll {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
    }

    .studio-life-scroll::-webkit-scrollbar {
        display: none;
    }

    .studio-video-card {
        flex: 0 0 260px;
        min-width: 260px;
        /* Fixed width for vertical videos */
        scroll-snap-align: center;
    }
}

/* 4. Custom Play Button Overlay */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 2;
    gap: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.video-wrapper:hover .video-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.5rem;
    padding-left: 4px;
    /* Center the icon visually */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
    box-shadow: 0 10px 28px rgba(212, 168, 83, 0.28);
    animation: pulse-gold 2s infinite;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    will-change: transform, opacity;
}

.video-wrapper:hover .play-button {
    transform: scale(1.15);
    background: var(--gold);
}

.video-overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.video-wrapper:hover .video-overlay span {
    transform: translateY(0);
    opacity: 1;
}

/* Playing State */
.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

/* 5. Custom Video Controls */
.cta-popup-video-wrapper,
.video-modal-wrapper {
    position: relative;
}

.custom-video-controls {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.55) 0%, rgba(10, 10, 15, 0.9) 100%);
    border: 1px solid rgba(212, 168, 83, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.custom-video-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(212, 168, 83, 0.35);
    border-radius: 8px;
    background: rgba(212, 168, 83, 0.12);
    color: #f0ece4;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    touch-action: manipulation;
}

.custom-video-btn:hover {
    background: rgba(212, 168, 83, 0.24);
    border-color: rgba(232, 201, 122, 0.85);
    transform: translateY(-1px);
}

.custom-video-btn .custom-video-icon {
    width: 15px;
    height: 15px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.custom-video-btn .custom-video-icon--fill {
    fill: currentColor;
    stroke: none;
}

.custom-video-controls[data-icon-theme="brand-outline"] {
    border: 1px solid rgba(212, 168, 83, 0.46);
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.5) 0%, rgba(8, 8, 12, 0.88) 100%);
    box-shadow: inset 0 0 0 1px rgba(212, 168, 83, 0.2), 0 10px 24px rgba(0, 0, 0, 0.34);
}

.custom-video-controls[data-icon-theme="brand-outline"] .custom-video-btn {
    border: 1px solid rgba(212, 168, 83, 0.74);
    background: rgba(8, 8, 12, 0.48);
    color: #d4a853;
}

.custom-video-controls[data-icon-theme="brand-outline"] .custom-video-btn:hover {
    border-color: rgba(243, 211, 131, 0.92);
    background: rgba(212, 168, 83, 0.16);
    color: #f3d383;
}

.custom-video-controls[data-icon-theme="brand-outline"] .custom-video-icon--brand {
    stroke: currentColor;
    stroke-width: 1.8;
}

.custom-video-controls[data-icon-theme="brand-outline"] .custom-video-icon--brand .brand-fill {
    fill: currentColor;
    stroke: none;
}

.custom-video-time {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(240, 236, 228, 0.9);
    letter-spacing: 0.2px;
    min-width: 74px;
    text-align: center;
}

.custom-video-progress {
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(240, 236, 228, 0.2);
    cursor: pointer;
}

.custom-video-progress::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: var(--gold);
}

.custom-video-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: var(--gold);
}

.video-wrapper .custom-video-controls {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.video-wrapper:hover .custom-video-controls,
.video-wrapper:focus-within .custom-video-controls,
.video-wrapper.playing .custom-video-controls {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 768px) {
    .custom-video-controls {
        left: 8px;
        right: 8px;
        bottom: 8px;
        gap: 6px;
        padding: 7px 8px;
        grid-template-columns: auto auto 1fr auto auto;
    }

    .custom-video-btn {
        width: 32px;
        height: 32px;
        font-size: 0.82rem;
    }

    .custom-video-time {
        min-width: 64px;
        font-size: 0.66rem;
    }
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    70% {
        transform: scale(1.08);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================================================
   LAPTOP OPTIMIZATION (1366 x 768)
   =================================================== */
@media (min-width: 1025px) and (max-width: 1366px) {
    :root {
        --section-py: clamp(44px, 4.6vw, 64px);
        --container-px: clamp(18px, 3vw, 36px);
    }

    .nav-container {
        height: 66px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.78rem;
        letter-spacing: 0.3px;
    }

    .nav-cta {
        padding: 8px 16px;
    }

    #hero {
        min-height: 100svh;
    }

    .hero-content {
        padding-top: 56px;
    }

    #hero h1 {
        font-size: clamp(2.6rem, 5vw, 4.4rem);
        margin-bottom: 16px;
    }

    .hero-sub {
        max-width: 660px;
        margin-bottom: 26px;
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-actions {
        display: flex;
        gap: 12px;
    }

    .hero-actions .btn {
        padding: 12px 18px;
        font-size: 0.82rem;
    }

    .hero-stats {
        margin-top: 24px;
        padding: 16px 28px;
    }

    .hero-stat {
        padding: 0 20px;
    }

    .hero-stat strong {
        font-size: 2.15rem;
    }

    .hero-stat span {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    .scroll-hint {
        bottom: 14px;
        font-size: 0.64rem;
        letter-spacing: 2px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: clamp(1.9rem, 3vw, 2.8rem);
    }

    .services-scroll {
        gap: 18px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card h3 {
        font-size: 1.16rem;
    }

    .featured-video {
        gap: 24px;
        padding: 18px;
    }

    .featured-video-info h3 {
        font-size: 1.55rem;
    }

    .portfolio-grid {
        gap: 20px;
        margin-bottom: 32px;
    }

    .instructor-block {
        gap: 40px;
    }

    .testimonials-track {
        gap: 18px;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 280px;
        padding: 28px 22px;
    }

    .blog-preview-grid {
        gap: 22px;
        margin-top: 36px;
    }

    .blog-preview-card {
        padding: 24px;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) and (max-height: 768px) {
    #hero {
        justify-content: flex-start;
        min-height: 768px;
        padding-top: 90px;
        padding-bottom: 56px;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-badge {
        margin-bottom: 10px;
    }

    .hero-eyebrow {
        margin-bottom: 12px;
    }

    #hero h1 {
        font-size: clamp(2.4rem, 4.4vw, 3.8rem);
        margin-bottom: 12px;
    }

    .hero-sub {
        margin-bottom: 18px;
        max-width: 620px;
        line-height: 1.55;
    }

    .hero-stats {
        margin-top: 18px;
        padding: 14px 24px;
    }

    .hero-stat strong {
        font-size: 1.9rem;
    }

    .scroll-hint {
        position: static;
        transform: none;
        margin-top: 18px;
        animation: none;
    }
}

/* ===================================================
   COOKIE CONSENT
   =================================================== */

.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9990;
    max-width: 860px;
    margin: 0 auto;
    background: rgba(12, 12, 20, 0.95);
    border: 1px solid rgba(212, 168, 83, 0.26);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
}

.cookie-consent__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent__link {
    color: #e7c372;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 6px;
}

.cookie-consent__link:hover {
    color: #f0ece4;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cookie-consent__btn {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-consent__btn--primary {
    background: linear-gradient(135deg, #d4a853, #b08930);
    color: #0a0a0f;
}

.cookie-consent__btn--primary:hover {
    filter: brightness(1.05);
}

.cookie-consent__btn--ghost {
    background: transparent;
    border-color: rgba(212, 168, 83, 0.4);
    color: #f0ece4;
}

.cookie-consent__btn--ghost:hover {
    border-color: #d4a853;
    background: rgba(212, 168, 83, 0.08);
}

.cookie-consent__btn--text {
    background: transparent;
    color: #d4a853;
}

.cookie-consent__btn--text:hover {
    color: #e7c372;
}

.cookie-consent__prefs {
    border-top: 1px solid rgba(212, 168, 83, 0.16);
    padding: 12px 16px 14px;
}

.cookie-consent__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-bottom: 10px;
}

.cookie-consent__toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #d4a853;
}

.cookie-consent__save {
    margin-top: 4px;
}

.cookie-settings-btn {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 9989;
    border: 1px solid rgba(212, 168, 83, 0.4);
    border-radius: 999px;
    background: rgba(10, 10, 15, 0.84);
    color: #d4a853;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 7px 11px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}

.cookie-settings-btn:hover {
    border-color: #d4a853;
    background: rgba(212, 168, 83, 0.12);
}

@media (max-width: 768px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-radius: 12px;
    }

    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .cookie-consent__text {
        text-align: left;
    }

    .cookie-consent__actions {
        justify-content: center;
    }

    .cookie-consent__btn {
        flex: 1 1 auto;
        min-width: 110px;
    }

    .cookie-settings-btn {
        left: 10px;
        bottom: 10px;
        font-size: 0.72rem;
        padding: 7px 10px;
    }
}



/* ===================================================
   LANGUAGE DROPDOWN
   =================================================== */
.lang-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(224, 180, 90, 0.3);
    color: #f1ede5;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: rgba(224, 180, 90, 0.15);
    border-color: rgba(224, 180, 90, 0.6);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #0b0d14;
    border: 1px solid rgba(224, 180, 90, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    list-style: none;
    padding: 6px;
    min-width: 120px;
    display: none;
    z-index: 9999;
}

/* Mobile adjustments for dropdown */
@media (max-width: 768px) {
    .lang-menu {
        position: static;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(224, 180, 90, 0.1);
        padding: 5px;
    }
    
    .lang-menu a {
        text-align: center;
        padding: 10px;
    }
}

.lang-dropdown.open .lang-menu {
    display: block;
    animation: dropdownFade 0.2s ease forwards;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-menu li {
    margin: 0;
}

.lang-menu a {
    display: block;
    padding: 8px 12px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-menu a:hover,
.lang-menu a.active {
    background: rgba(224, 180, 90, 0.15);
    color: #e0b45a;
}