:root {
    --bg-main: #fcfbfb;
    /* Soft warm white */
    --bg-card: rgba(255, 255, 255, 0.7);
    --primary: #5c7285;
    /* Elegant French Blue */
    --secondary: #8b9bb4;
    /* Soft Dusty Blue */
    --accent: #d2bba0;
    /* Elegant Warm Taupe / Sand */
    --accent-light: #fbf8f5;
    /* Very Light Sand */
    --text-main: #545e6b;
    /* Soft slate main text */
    --text-muted: #8a99a8;
    /* Soft blue-grey muted */
    --text-header: #2b3543;
    /* Softer dark blue-grey for headers */
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-highlight: rgba(255, 255, 255, 1);
    --glass-shadow: rgba(0, 0, 0, 0.05);
    --gradient-glow: linear-gradient(135deg, var(--primary), var(--accent));
    --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h2,
h3,
h4,
.stat-number {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-header);
}

h1,
.logo,
.vision-author strong {
    font-family: 'Playfair Display', serif;
    color: var(--text-header);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-padding {
    padding: 8rem 0;
}

.text-gradient {
    background: var(--gradient-glow);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.mobile-break {
    display: none;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-glow);
    color: white;
    box-shadow: 0 4px 15px rgba(92, 114, 133, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 8px 25px rgba(92, 114, 133, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-header);
    box-shadow: 0 2px 10px var(--glass-shadow);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(92, 114, 133, 0.2);
}

.full-width {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--text-header);
    transition: color 0.3s;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .nav-links a:not(.btn-primary) {
    text-shadow: none;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-glow);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    color: var(--text-header);
    z-index: 102;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.navbar.scrolled .hamburger {
    text-shadow: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    background-image: url('assets/images/hero-ballet.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-slogan {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--text-header);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-header);
    font-weight: 500;
    margin-bottom: 3rem;
    max-width: 800px;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.9), 0 0 5px rgba(255, 255, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-header);
    animation: bounce 2s infinite;
    opacity: 0.7;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Glass Card Component */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    pointer-events: none;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.feature-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-light), rgba(255, 255, 255, 0.8));
    color: #b59f87;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(210, 187, 160, 0.3);
    box-shadow: 0 4px 10px rgba(210, 187, 160, 0.1);
    flex-shrink: 0;
}

.feature-list h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--text-header);
    font-weight: 500;
}

.feature-list p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.about-image-container {
    position: relative;
}

.vision-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3.5rem 3rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.8));
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 15px 35px -10px rgba(92, 114, 133, 0.15), 0 5px 15px -5px rgba(0, 0, 0, 0.05);
}

.vision-card::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--accent);
    filter: blur(50px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

.vision-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--gradient-glow);
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

.vision-icon {
    font-size: 2.8rem;
    background: var(--gradient-glow);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.vision-text {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-header);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.vision-author {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border-left: 3px solid var(--primary);
    padding-left: 1.2rem;
}

.vision-author strong {
    color: var(--text-header);
    font-weight: 600;
    font-size: 1.15rem;
}

.vision-author span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Instructor Section */
.instructor-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.7));
}

.instructor-image-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 2.5rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.instructor-image {
    width: 100%;
    height: 520px;
    border-radius: 16px;
    background-size: cover;
    background-position: center 15%;
    background-color: #f0f0f0;
    /* Color correction using filters */
    filter: contrast(1.05) brightness(1.02) saturate(0.85);
}

.instructor-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 100px;
    height: 100px;
    background: var(--gradient-glow);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(210, 187, 160, 0.4);
    border: 4px solid white;
}

.instructor-info {
    display: flex;
    flex-direction: column;
}

.instructor-name {
    font-size: 2.8rem;
    font-weight: 600;
    color: #333333;
    line-height: 1.1;
    margin-bottom: 0;
}

.instructor-title {
    color: #C5A27D;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 0.2rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.instructor-bio {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
}

.instructor-credentials {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Courses Section */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.course-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--gradient-glow);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.course-card:hover::after {
    opacity: 1;
}

.course-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.8s ease;
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, transparent 60%);
    z-index: 1;
}

.course-content {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    background: #ffffff;
    /* pure white for contrast */
}

.course-tags {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.tag {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.intensity-high {
    color: #a88863;
    background: #fbf6f0;
    border-color: #eeddc8;
}

.intensity-medium {
    color: #a88863;
    background: #fbf6f0;
    border-color: #eeddc8;
}

.intensity-low {
    color: #a88863;
    background: #fbf6f0;
    border-color: #eeddc8;
}

.course-header h3,
.course-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.course-time {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-time i {
    color: var(--primary);
}

.course-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Registration Section */
.register {
    position: relative;
}

.registration-stack {
    max-width: 800px;
    margin: 0 auto;
}

.trial-section {
    width: 100%;
}

.trial-section .registration-note {
    max-width: 680px;
    margin: 0.65rem auto 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.course-support-section {
    width: 100%;
    background-color: #FAF8F5;
}

.course-support-inner {
    max-width: 800px;
    margin: 0 auto;
}

.course-support-section .section-header {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.line-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 0.82rem 1.45rem;
    color: var(--text-header);
    font-size: 0.98rem;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(139, 155, 180, 0.38);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.line-cta-button i {
    color: #06c755;
    font-size: 1.25rem;
}

.line-cta-button:hover {
    color: var(--text-header);
    border-color: rgba(6, 199, 85, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.14);
}

.line-support-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 620px;
    margin: 0 auto 1.5rem;
}

.line-support-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 50px;
    padding: 0.7rem 0.9rem;
    color: var(--text-main);
    font-size: 0.98rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(210, 187, 160, 0.28);
    border-radius: 10px;
}

.line-support-list i {
    width: 1.1rem;
    color: var(--accent);
    text-align: center;
}

.ig-prominent-container {
    max-width: 380px;
    margin: 2rem auto 0;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(210, 187, 160, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ig-prominent-container h3 {
    color: var(--text-header);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.ig-prominent-container p {
    margin: -0.5rem 0 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-ig {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.68rem 1.65rem;
    background: #ffffff;
    border: 1px solid rgba(210, 187, 160, 0.3);
    border-radius: 30px;
    color: var(--text-header);
    font-size: 0.98rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-decoration: none;
}

.btn-ig i {
    font-size: 1.22rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-ig:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 187, 160, 0.2);
    border-color: var(--accent);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(210, 187, 160, 0.2);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(60, 55, 50, 0.08);
}

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

.form-grid.single-column {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    position: relative;
}

.form-group[hidden] {
    display: none;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-header);
}

.form-group:has(> input[required]:not(:disabled), > select[required]:not(:disabled)) > label::after,
.privacy-consent input[required] + span::after {
    content: ' *';
    color: #a15348;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    color: var(--text-header);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group textarea {
    min-height: 96px;
    line-height: 1.6;
    resize: vertical;
}

.form-group input,
.form-group select {
    height: 50px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:disabled {
    color: #94a3b8;
    background: #f5f6f8;
    cursor: not-allowed;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(92, 114, 133, 0.1);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #b7796d;
    box-shadow: 0 0 0 4px rgba(183, 121, 109, 0.14), inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.field-error {
    margin: 0.05rem 0 0;
    color: #a15348;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.45;
}

.field-note {
    margin: 0.05rem 0 0;
    color: #687789;
    font-size: 0.8rem;
    line-height: 1.5;
}

.field-hint {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem;
    margin: 0.05rem 0 0;
    padding: 0.65rem 0.75rem;
    color: #687789;
    font-size: 0.8rem;
    line-height: 1.5;
    background: rgba(92, 114, 133, 0.06);
    border: 1px solid rgba(92, 114, 133, 0.13);
    border-radius: 8px;
}

.field-hint[hidden] {
    display: none;
}

.field-hint i {
    margin-top: 0.18rem;
    color: var(--secondary);
}

.contact-hint {
    grid-column: 1 / -1;
}

.form-group select {
    appearance: none;
    background-image: url("assets/icons/select-chevron.svg");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
}

.form-group select.custom-select-native {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.custom-select {
    position: relative;
    z-index: 1;
}

.custom-select.is-open {
    z-index: 30;
}

.custom-select-trigger {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    height: 50px;
    padding: 0.9rem 1rem;
    color: #93a1b3;
    font: inherit;
    font-size: 0.95rem;
    line-height: normal;
    text-align: left;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.custom-select.has-value .custom-select-trigger {
    color: var(--text-header);
}

.custom-select-trigger:hover,
.custom-select.is-open .custom-select-trigger {
    border-color: rgba(92, 114, 133, 0.62);
    background: #ffffff;
}

.custom-select-trigger:disabled,
.custom-select-trigger:disabled:hover {
    color: #94a3b8;
    background: #f5f6f8;
    border-color: #d8dee7;
    box-shadow: none;
    cursor: not-allowed;
}

.custom-select-trigger:focus-visible,
.custom-select.is-open .custom-select-trigger {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(92, 114, 133, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.custom-select.is-invalid .custom-select-trigger {
    border-color: #b7796d;
    box-shadow: 0 0 0 4px rgba(183, 121, 109, 0.14), inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.custom-select-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-icon {
    width: 0.62rem;
    height: 0.62rem;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.custom-select.is-open .custom-select-icon {
    border-color: var(--primary);
    transform: translateY(2px) rotate(225deg);
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.18rem;
    max-height: 250px;
    padding: 0.45rem;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid rgba(210, 187, 160, 0.44);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(60, 55, 50, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transform-origin: top;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
    .custom-select-menu {
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

.custom-select.is-open .custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 0.65rem 0.75rem 0.65rem 2.35rem;
    color: var(--text-main);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-select-option[hidden] {
    display: none;
}

.custom-select-option::before {
    content: '';
    position: absolute;
    left: 0.82rem;
    width: 0.52rem;
    height: 0.28rem;
    border-left: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(-45deg);
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
    outline: none;
    color: var(--text-header);
    background: rgba(210, 187, 160, 0.14);
}

.custom-select-option.is-selected {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(92, 114, 133, 0.1), rgba(210, 187, 160, 0.16));
}

.custom-select-option.is-selected::before {
    border-color: var(--primary);
}

.custom-select-option.is-disabled {
    color: #a7b1bf;
    cursor: default;
}

.custom-select.has-value .custom-select-option.is-disabled {
    display: none;
}

.custom-select-option.is-disabled:hover,
.custom-select-option.is-disabled:focus-visible {
    background: transparent;
}

.privacy-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.8rem 0.9rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
}

.privacy-consent input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.18rem;
    accent-color: var(--primary);
}

.privacy-consent-field.is-invalid .privacy-consent {
    color: #8d493f;
    background: rgba(183, 121, 109, 0.07);
    border-color: #b7796d;
}

.privacy-consent-field .field-error {
    margin: 0.35rem 0 0 0.9rem;
}

.register-submit {
    width: 100%;
    border: none;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.register-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

.register-submit {
    min-height: 52px;
    touch-action: manipulation;
}

.form-disclaimer {
    margin: 0;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 10px;
}

.form-disclaimer[data-state="error"] {
    color: #a15348;
    background: rgba(183, 121, 109, 0.08);
    border: 1px solid rgba(183, 121, 109, 0.2);
}

.reservation-success-dialog {
    width: min(calc(100% - 2rem), 380px);
    margin: auto;
    padding: 1.75rem 1.5rem 1.4rem;
    color: var(--text-main);
    text-align: center;
    background: #fffdfb;
    border: 1px solid rgba(210, 187, 160, 0.45);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(43, 53, 67, 0.24);
}

.reservation-success-dialog[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reservation-success-dialog::backdrop {
    background: rgba(43, 53, 67, 0.58);
}

.reservation-dialog-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #7a8490;
    font: inherit;
    font-size: 1.65rem;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.reservation-dialog-close:focus-visible,
.reservation-dialog-confirm:focus-visible {
    outline: 3px solid rgba(92, 114, 133, 0.22);
    outline-offset: 3px;
}

.reservation-success-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 0.9rem;
    color: #ffffff;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(92, 114, 133, 0.24);
}

.reservation-success-dialog h3 {
    margin: 0;
    color: var(--text-header);
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
}

.reservation-success-dialog > p:last-of-type {
    max-width: 320px;
    margin: 0.6rem 0 1.1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.reservation-dialog-confirm {
    width: 100%;
    min-height: 48px;
    border: 0;
    cursor: pointer;
    touch-action: manipulation;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.active.reveal-up,
.active.reveal-left,
.active.reveal-right,
.active.reveal-scale {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .about-grid,
    .instructor-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-container {
        order: -1;
    }

    .section-padding {
        padding: 5rem 0;
    }

    .hero {
        background-position: 70% center;
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .nav-links {
        position: fixed;
        top: 0;
        bottom: 0;
        left: auto;
        right: -100%;
        width: 100%;
        height: 100dvh;
        min-height: 100vh;
        padding: clamp(10rem, 24vh, 12.75rem) 2.5rem 5rem;
        background:
            radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.92), rgba(252, 248, 243, 0.9) 62%, rgba(247, 240, 232, 0.94) 100%),
            #FAF8F5;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        overflow-y: auto;
        z-index: 101;
        transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links::before {
        content: "L’Attitude Ballet";
        position: absolute;
        top: 2.75rem;
        left: 2rem;
        color: #c9b9a9;
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.35rem, 5.5vw, 1.7rem);
        font-weight: 400;
        letter-spacing: 0.03em;
    }

    .nav-links::after {
        content: "―  ◆  ―";
        position: absolute;
        bottom: 2rem;
        left: 50%;
        color: rgba(197, 182, 168, 0.72);
        font-family: serif;
        font-size: 0.72rem;
        letter-spacing: 0.45em;
        transform: translateX(-50%);
    }

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

    .nav-links li {
        position: relative;
        width: min(100%, 430px);
        text-align: center;
    }

    .nav-links li:nth-child(-n+4) {
        margin-bottom: 1.85rem;
        padding-bottom: 1.85rem;
    }

    .nav-links li:nth-child(-n+4)::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: min(72%, 220px);
        height: 1px;
        background:
            linear-gradient(to right, rgba(197, 182, 168, 0.35) 0 43%, transparent 43% 57%, rgba(197, 182, 168, 0.35) 57% 100%);
        border: 0;
        transform: translateX(-50%);
    }

    .nav-links li:nth-child(-n+4)::before {
        content: "";
        position: absolute;
        bottom: -3px;
        left: 50%;
        width: 6px;
        height: 6px;
        background: rgba(197, 182, 168, 0.72);
        transform: translateX(-50%) rotate(45deg);
    }

    .nav-links a {
        display: inline-flex;
        justify-content: center;
        font-family: 'Playfair Display', 'Songti TC', 'PMingLiU', serif;
        font-size: clamp(1.35rem, 5.4vw, 1.7rem);
        font-weight: 300;
        letter-spacing: 0.1em;
        line-height: 1.25;
        color: var(--text-header) !important;
        text-shadow: none !important;
    }

    .nav-links a:not(.btn-primary)::after {
        display: none;
    }

    .nav-links a:not(.btn-primary) {
        font-weight: 400;
    }

    .nav-links li:last-child {
        margin-top: 2.5rem;
    }

    .nav-links li:last-child .btn-primary {
        width: min(88%, 320px);
        padding: 1rem 2rem;
        color: #ffffff !important;
        font-family: 'Playfair Display', 'Songti TC', 'PMingLiU', serif;
        font-size: 1.3rem;
        font-weight: 400;
        letter-spacing: 0.12em;
        box-shadow: 0 12px 28px rgba(92, 114, 133, 0.2);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: relative;
        width: 48px;
        height: 48px;
        margin: -8px;
        padding: 0;
        color: var(--text-header);
        background: transparent;
        border: 0;
        outline: none;
        text-shadow: none;
        z-index: 103;
    }

    .hamburger.is-open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.is-open {
        position: fixed;
        top: 2rem;
        right: 1rem;
        margin: 0;
        pointer-events: auto;
        touch-action: manipulation;
        isolation: isolate;
        z-index: 1000;
    }

    .hamburger.is-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hamburger:focus-visible {
        outline: 1px solid rgba(92, 114, 133, 0.45);
        outline-offset: 6px;
        border-radius: 2px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-slogan {
        font-size: 1.5rem;
        line-height: 1.35;
        letter-spacing: 1px;
    }

    .glass-card {
        padding: 2rem 1.2rem;
    }

    .instructor-image-wrapper {
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .instructor-badge {
        right: -15px;
        bottom: -25px;
    }

    .instructor-image {
        height: auto;
        aspect-ratio: 4/5;
    }

    .instructor-name {
        font-size: 2.2rem;
    }

    .registration-stack .section-header {
        margin-bottom: 2.5rem;
    }

    .mobile-break {
        display: block;
    }

    .line-cta-button {
        width: 100%;
        max-width: 100%;
        padding: 0.68rem 1.2rem;
        color: var(--text-header);
        font-size: 0.95rem;
        background: #ffffff;
        border: 1px solid rgba(139, 155, 180, 0.38);
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        white-space: normal;
    }

    .line-cta-button:hover {
        color: var(--text-header);
        background: #ffffff;
        border-color: rgba(6, 199, 85, 0.45);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(6, 199, 85, 0.14);
    }

    .ig-prominent-container {
        align-items: center;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }

    .line-support-list {
        gap: 0.7rem;
        margin-bottom: 1.25rem;
    }

    .line-support-list span {
        min-height: 44px;
        padding: 0.6rem 0.7rem;
        font-size: 0.9rem;
    }

    .register-form {
        gap: 1.05rem;
        padding: 1.1rem;
        border-radius: 14px;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea,
    .custom-select-trigger {
        font-size: 16px;
    }

    .form-group input,
    .form-group select,
    .custom-select-trigger {
        min-height: 52px;
    }

    .custom-select-option {
        min-height: 48px;
        font-size: 0.95rem;
    }

    .field-error {
        font-size: 0.82rem;
    }

    .field-hint {
        padding: 0.7rem 0.75rem;
        font-size: 0.82rem;
    }

    .reservation-success-dialog {
        width: min(calc(100% - 2rem), 360px);
        padding: 1.6rem 1.25rem 1.2rem;
        border-radius: 20px;
    }

    .reservation-success-dialog h3 {
        font-size: 1.45rem;
    }
}

/* Editorial Layout Component */
.editorial-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    padding: 1rem 0;
}

.editorial-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: center;
    position: relative;
    border-radius: 24px;
}

.editorial-block.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.editorial-block.reverse .editorial-image-box {
    order: 2;
}

.editorial-block.reverse .editorial-content-box {
    order: 1;
    margin-left: 0;
    margin-right: -2.5rem;
    z-index: 2;
}

.editorial-image-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.editorial-image {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

.editorial-block:hover .editorial-image {
    transform: scale(1.03);
}

.editorial-content-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 1);
    margin-left: -2.5rem;
    z-index: 2;
    position: relative;
}

.editorial-title {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: #333;
}

.editorial-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.editorial-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(197, 162, 125, 0.2);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.detail-label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.detail-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    padding-left: 1.6rem;
    line-height: 1.6;
}

.editorial-btn {
    padding: 0.8rem 2.2rem;
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .editorial-block, .editorial-block.reverse {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .editorial-image {
        height: 300px;
    }
    
    .editorial-content-box, .editorial-block.reverse .editorial-content-box {
        margin-left: 0;
        margin-right: 0;
        margin-top: -2.5rem;
        padding: 2rem 1.8rem;
    }
    
    .editorial-block.reverse .editorial-image-box {
        order: 1;
    }
    .editorial-block.reverse .editorial-content-box {
        order: 2;
    }
}

/* FAQ Accordion Component */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(197, 162, 125, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(197, 162, 125, 0.4);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.faq-question {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1.25rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
    color: #4A453F;
    list-style: none; /* remove default triangle */
}

/* Hide default marker for webkit and standards */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background-color: #FAF8F5;
}

.faq-question .icon {
    justify-self: end;
    color: #C5A27D;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    color: #666;
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: #A67352;
    font-weight: 500;
}

/* Class Location */
.location-section {
    background: #FAF8F5;
}

.location-card {
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(197, 162, 125, 0.22);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(60, 55, 50, 0.08);
}

.location-info {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.7rem 2rem;
}

.location-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: #ffffff;
    font-size: 1.15rem;
    background: var(--gradient-glow);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(92, 114, 133, 0.2);
}

.location-copy {
    min-width: 0;
}

.location-copy h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.location-floor {
    white-space: nowrap;
}

.location-map-link {
    min-height: 50px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    white-space: nowrap;
    touch-action: manipulation;
}

.location-map {
    height: 390px;
    background: #ece9e5;
    border-top: 1px solid rgba(197, 162, 125, 0.2);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Matrix Timetable Component */
.timetable-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.timetable-sidebar {
    flex: 0 0 250px;
    padding-top: 1rem;
}

.timetable-inst-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
}

.tt-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.tt-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.tt-role {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
}

.tt-btn {
    padding: 0.6rem 2rem;
    font-size: 0.95rem;
    border-color: #C5A27D;
    color: #8C7561;
}

.timetable-main {
    flex: 1;
    min-width: 0;
}

.table-scroll-container {
    overflow-x: auto;
    background-color: #F8F6F2;
    border: 1px solid rgba(197, 162, 125, 0.3);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.matrix-table th {
    background-color: #C5B6A8;
    color: white;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 1rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.matrix-table th:last-child {
    border-right: none;
}

.matrix-table td {
    border: 1px solid rgba(197, 162, 125, 0.2);
    padding: 1.5rem 1rem;
    text-align: center;
    vertical-align: top;
    height: 120px;
}

.empty-cell {
    background-color: rgba(255,255,255,0.3);
}

.tt-class-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.tt-class-box strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
}

.tt-time {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: #A67352;
}

.tt-teacher {
    font-size: 0.85rem;
    color: #8C7561;
}

/* Colors for levels based on user screenshot */
.depth-1 strong { color: #A67352; }
.depth-2 strong { color: #8F6246; }
.depth-3 strong { color: #784E33; }

/* Audience Guide */
.audience-guide {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(197, 162, 125, 0.1);
}

.guide-title {
    font-size: 1.1rem;
    color: #4A453F;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(197, 162, 125, 0.3);
    padding-bottom: 0.5rem;
    letter-spacing: 1px;
}

.guide-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.guide-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.guide-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    min-width: 175px;
    text-align: left;
}
.guide-badge.depth-1 { color: #A67352; }
.guide-badge.depth-2 { color: #8F6246; }
.guide-badge.depth-3 { color: #784E33; }

.guide-item p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    flex: 1;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .location-section .section-header {
        margin-bottom: 2rem;
    }

    .location-card {
        padding-bottom: 1rem;
        border-radius: 20px;
    }

    .location-info {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.9rem;
        padding: 1.2rem 1.3rem 1rem;
    }

    .location-icon {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .location-copy h3 {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .location-map-link {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 52px;
    }

    .location-map {
        height: 300px;
        margin: 0 1rem;
        overflow: hidden;
        border: 1px solid rgba(197, 162, 125, 0.22);
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(60, 55, 50, 0.07);
    }

    .timetable-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .timetable-sidebar {
        flex: none;
        width: 100%;
        padding-bottom: 1.5rem;
        border-bottom: 1px dashed rgba(197, 162, 125, 0.3);
    }
    
    .timetable-main {
        width: 100%;
    }
    
    .guide-item {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .guide-badge {
        text-align: left;
    }
}
