/* ============================================
   뮤직홈 오케스트라 - Main Stylesheet
   Premium Church Orchestra Website
   ============================================ */

/* === CSS Custom Properties === */
:root {
    --navy: #0a1628;
    --navy-light: #132240;
    --navy-mid: #1a2d4d;
    --gold: #c9a227;
    --gold-light: #e8c84a;
    --gold-dark: #a68520;
    --white: #ffffff;
    --cream: #f8f6f0;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d1d1d1;
    --gray-500: #888;
    --gray-700: #444;
    --gray-900: #1a1a1a;
    --burgundy: #6b1d2a;
    --burgundy-light: #8b2d3a;
    --text-dark: #1a1a2e;
    --text-light: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.25);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Noto Serif KR', Georgia, serif;
    --container: 1280px;
    --header-height: 80px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
video { max-width: 100%; }

.skip-nav {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--navy); padding: 8px 24px;
    z-index: 10000; border-radius: 0 0 8px 8px; font-weight: 700;
}
.skip-nav:focus { top: 0; }

/* === Container === */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Typography === */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--navy);
}

.section-title.white { color: var(--white); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 700px;
    line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(201,162,39,0.3);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201,162,39,0.4);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}
.btn-navy:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}
.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* === Top Bar === */
.top-bar {
    background: var(--navy);
    color: var(--gray-300);
    font-size: 0.78rem;
    padding: 6px 0;
    letter-spacing: 0.5px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-text { opacity: 0.8; }
.top-bar-links { display: flex; gap: 16px; }
.top-bar-links a { color: var(--gold-light); }
.top-bar-links a:hover { color: var(--gold); }

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    height: var(--header-height);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    height: 64px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo { display: flex; align-items: center; }
.logo-img {
    height: 36px;
    width: auto;
    transition: var(--transition);
}
.site-header.scrolled .logo-img { height: 30px; }

/* === Desktop Navigation === */
.main-nav { display: flex; }

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-item:hover .nav-link {
    color: var(--navy);
    background: var(--gray-100);
}

.nav-arrow { transition: transform 0.2s; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-link:hover, .dropdown-link.active {
    background: var(--cream);
    color: var(--navy);
    font-weight: 600;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,162,39,0.3);
}

/* === Mobile Toggle === */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
    border-radius: 2px;
}

/* === Mobile Navigation === */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
}

.mobile-nav.active { right: 0; }

.mobile-nav-inner { padding: 24px; }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-logo { height: 28px; }

.mobile-close {
    font-size: 32px;
    color: var(--gray-700);
    line-height: 1;
}

.mobile-nav-group { margin-bottom: 4px; }

.mobile-nav-group-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-group-btn .nav-arrow { transition: transform 0.3s; }
.mobile-nav-group.active .mobile-nav-group-btn .nav-arrow { transform: rotate(180deg); }

.mobile-sub-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-group.active .mobile-sub-list { max-height: 500px; }

.mobile-sub-list a {
    display: block;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-sub-list a:hover { color: var(--gold-dark); background: var(--cream); }

.mobile-cta-btn {
    display: block;
    text-align: center;
    margin-top: 24px;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    font-weight: 700;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img, .hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.6) 50%, rgba(10,22,40,0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,162,39,0.15);
    border: 1px solid rgba(201,162,39,0.3);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 .gold { color: var(--gold-light); }

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}

/* === Page Hero (inner pages) === */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero .section-label { color: var(--gold-light); }
.page-hero .section-title { color: var(--white); margin-bottom: 16px; }
.page-hero .section-subtitle { color: rgba(255,255,255,0.7); }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { opacity: 0.3; }

/* === Sections === */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }

.section-cream { background: var(--cream); }
.section-gray { background: var(--gray-100); }

.section-navy-gradient {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
}

/* === Guinness Section === */
.guinness-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}

.guinness-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,162,39,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.guinness-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(201,162,39,0.4);
}

.guinness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.guinness-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.guinness-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201,162,39,0.3);
    box-shadow: 0 8px 30px rgba(201,162,39,0.15);
}

.guinness-card img {
    width: 100%;
    height: auto;
}

/* === Media Gallery === */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.media-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.media-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.media-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,22,40,0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    background: rgba(10,22,40,0.4);
}

.gallery-zoom {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--navy);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

/* === Video Gallery === */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.video-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #000;
}

.video-item video {
    width: 100%;
    display: block;
}

/* === Hero Video === */
.hero-video-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 70vh;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.hero-video-text {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* === Feature Cards === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201,162,39,0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201,162,39,0.1), rgba(201,162,39,0.05));
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Dark theme feature cards */
.section-dark .feature-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}
.section-dark .feature-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(201,162,39,0.3);
}
.section-dark .feature-card h3 { color: var(--white); }
.section-dark .feature-card p { color: rgba(255,255,255,0.6); }

/* === Info Cards === */
.info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.info-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.info-card:hover .info-card-img img { transform: scale(1.05); }

.info-card-body {
    padding: 28px;
}

.info-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.info-card-body p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* === Timeline === */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light), var(--gold));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) { flex-direction: row-reverse; }

.timeline-content {
    width: 45%;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content { margin-left: auto; }

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 8px;
}

.timeline-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* === Process Steps === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    padding: 40px 24px;
    position: relative;
    counter-increment: step;
}

.process-step::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* === Stats Section === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* === Accordion (FAQ) === */
.accordion { max-width: 800px; margin: 0 auto; }

.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active { border-color: var(--gold); }

.accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    transition: var(--transition);
}

.accordion-item.active .accordion-trigger {
    background: var(--cream);
    color: var(--gold-dark);
}

.accordion-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--navy);
    border-radius: 2px;
}

.accordion-icon::before {
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 2px;
    transform: translateX(-50%);
    transition: transform 0.3s;
}

.accordion-icon::after {
    top: 50%;
    left: 4px;
    right: 4px;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-item.active .accordion-icon::before { transform: translateX(-50%) scaleY(0); }

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-panel-inner {
    padding: 0 24px 24px;
    font-size: 0.92rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* === Form Styles === */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-label .required {
    color: #dc3545;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: var(--transition);
    color: var(--text-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}

.form-textarea { resize: vertical; min-height: 140px; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.form-check label {
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.privacy-link {
    color: var(--gold-dark);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.privacy-link:hover { color: var(--gold); }

.form-error {
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 4px;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* === CTA Banner === */
.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--burgundy) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,162,39,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

/* === Footer === */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-since {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

.footer-heading {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    color: var(--white);
    z-index: 10;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: var(--white);
    z-index: 10;
    padding: 20px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* === Privacy Modal === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

.modal-close {
    font-size: 24px;
    color: var(--gray-500);
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.modal-body h4 {
    font-weight: 700;
    color: var(--navy);
    margin: 20px 0 8px;
    font-size: 0.95rem;
}

.modal-body h4:first-child { margin-top: 0; }

.modal-footer {
    padding: 16px 28px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* === Two Column Layout === */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.two-col-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* === Large Video Section === */
.large-video-section {
    position: relative;
    margin: 60px 0;
}

.large-video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
}

.large-video-wrapper video {
    width: 100%;
    display: block;
}

/* === Scroll Animations === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* === Content Prose === */
.prose {
    max-width: 800px;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--gray-700);
}

.prose h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin: 48px 0 16px;
}

.prose h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 12px;
}

.prose p { margin-bottom: 16px; }

.prose ul, .prose ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.prose li {
    margin-bottom: 8px;
    list-style: disc;
}

.prose ol li { list-style: decimal; }

.prose blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    background: var(--cream);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--navy);
}

/* === Certification Cards === */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.cert-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cert-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: contain;
    padding: 16px;
    background: var(--gray-100);
}

.cert-card-label {
    padding: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .header-cta { display: none; }
    .mobile-toggle { display: flex; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .two-col.reverse { direction: ltr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .cta-inner { flex-direction: column; text-align: center; }

    .timeline::before { left: 24px; }
    .timeline-item, .timeline-item:nth-child(odd) { flex-direction: column; padding-left: 60px; }
    .timeline-content, .timeline-item:nth-child(odd) .timeline-content { width: 100%; margin-left: 0; }
    .timeline-dot { left: 24px; }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; }

    .top-bar-text { display: none; }

    .hero { min-height: 70vh; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .hero-stat-number { font-size: 2rem; }

    .section { padding: 60px 0; }
    .page-hero { padding: 80px 0 60px; }

    .feature-grid { grid-template-columns: 1fr; }
    .media-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .media-gallery.cols-3, .media-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .video-gallery { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .guinness-grid { grid-template-columns: 1fr 1fr; }

    .lightbox-prev, .lightbox-next { font-size: 32px; padding: 10px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-content { padding: 80px 0 60px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .media-gallery { grid-template-columns: 1fr; }
    .guinness-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* === Print === */
@media print {
    .site-header, .top-bar, .mobile-nav, .back-to-top, .cta-banner, .lightbox { display: none !important; }
    body { color: #000; background: #fff; }
    .section-dark { background: #fff; color: #000; }
}
