/* ============================================
   Bella Rosa Salon - Modern Beauty Website
   Minimalist, Geometric, Purple/Lavender Theme
   ============================================ */

/* ========== ACCESSIBILITY ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
    /* Primary Color Palette - Coral/Peach */
    --primary: #DEA193;
    --primary-rgb: 222, 161, 147;
    --primary-light: #E8B8AD;
    --primary-dark: #C98A7C;
    --primary-subtle: rgba(var(--primary-rgb), 0.1);
    --primary-glow: rgba(var(--primary-rgb), 0.4);
    
    /* Secondary Colors */
    --secondary: #a29257;
    --accent: #D3AF37;
    --accent-rgb: 211, 175, 55;
    --accent-light: #E0C45E;
    
    /* Neutrals */
    --dark: #1F1F1F;
    --dark-rgb: 31, 31, 31;
    --dark-soft: #2D2D2D;
    --gray-900: #374151;
    --gray-700: #4B5563;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-soft: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(var(--dark-rgb), 0.4) 0%, rgba(var(--dark-rgb), 0.85) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(var(--primary-rgb), 0.3) 0%, rgba(var(--accent-rgb), 0.3) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(var(--primary-rgb), 0.5) 0%, rgba(var(--accent-rgb), 0.45) 100%);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Spacing Scale */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    
    /* Border Radius */
    --rounded-sm: 0.25rem;
    --rounded: 0.5rem;
    --rounded-lg: 0.75rem;
    --rounded-xl: 1rem;
    --rounded-2xl: 1.5rem;
    --rounded-full: 9999px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-purple: 0 10px 40px rgba(var(--primary-rgb), 0.3);
    --shadow-pink: 0 10px 40px rgba(var(--accent-rgb), 0.2);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    
    /* Layout */
    --header-height: 80px;
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ========== BASE RESET ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-normal) var(--ease-out);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* ========== SECTION COMPONENTS ========== */
.section-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--rounded-full);
    margin-bottom: var(--sp-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: var(--sp-4);
}

.section-title em {
    font-style: normal;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-16);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-8);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    line-height: 1;
    border-radius: var(--rounded-full);
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn i {
    font-size: 0.9em;
    transition: transform var(--duration-normal) var(--ease-out);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(var(--primary-rgb), 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.btn--white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn--ghost-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn--sm {
    padding: var(--sp-3) var(--sp-5);
    font-size: var(--text-xs);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    z-index: 999;
}

.header__logo-icon {
    font-size: var(--text-3xl);
    color: var(--white);
    transition: color var(--duration-normal) var(--ease-out);
}

.header.scrolled .header__logo-icon {
    color: var(--primary);
}

.header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header__logo-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--white);
    transition: color var(--duration-normal) var(--ease-out);
}

.header.scrolled .header__logo-name {
    color: var(--dark);
}

.header__logo-tagline {
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--duration-normal) var(--ease-out);
}

.header.scrolled .header__logo-tagline {
    color: var(--primary);
}

/* Logo Image (when using image instead of icon+text) */
.header__logo-image {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled .header__logo-image {
    height: 32px;
}

/* Navigation */
/* Hide sidebar logo on desktop */
.nav__logo {
    display: none;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}

.nav__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: var(--sp-2) 0;
    transition: color var(--duration-normal) var(--ease-out);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.header.scrolled .nav__link {
    color: var(--gray-700);
}

.nav__link--cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--rounded-full);
    box-shadow: var(--shadow-purple);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.4);
}

/* Mobile Menu Button */
.header__menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    z-index: 1002;
}

.header__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled .header__menu-btn span {
    background: var(--dark);
}

/* Close button (X) always dark */
.header__menu-btn.active span {
    background: var(--dark);
}

.header__menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.header__menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Fallback for div with background-image */
    background-size: cover;
    background-position: center;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--sp-8);
    max-width: 900px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--rounded-2xl);
    backdrop-filter: blur(5px);
}

.hero__badge {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: var(--sp-6);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-4xl), 10vw, 5.5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--sp-6);
}

.hero__title span {
    display: block;
    font-size: 0.4em;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: var(--sp-2);
    color: rgba(255, 255, 255, 0.8);
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto var(--sp-10);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    justify-content: center;
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    color: var(--white);
    opacity: 0.7;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.hero__scroll:hover {
    opacity: 1;
}

.hero__scroll-text {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__scroll-icon {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: var(--sp-24) 0;
    background: var(--off-white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
    margin-bottom: var(--sp-16);
}

.about__text-block {
    padding-right: var(--sp-8);
}

.about__text-block p {
    margin-bottom: var(--sp-5);
    color: var(--gray-600);
    line-height: 1.8;
    font-size: var(--text-lg);
}

.about__text-block p:last-of-type {
    margin-bottom: var(--sp-8);
}

.about__text-block strong {
    color: var(--primary);
    font-weight: 600;
}

.about__image-single {
    position: relative;
    border-radius: var(--rounded-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image-single img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.about__image-single:hover img {
    transform: scale(1.05);
}

.about__experience-badge {
    position: absolute;
    bottom: var(--sp-6);
    right: var(--sp-6);
    background: var(--gradient-primary);
    padding: var(--sp-5) var(--sp-6);
    border-radius: var(--rounded-xl);
    text-align: center;
    box-shadow: var(--shadow-purple);
}

.about__experience-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.about__experience-text {
    display: block;
    font-size: var(--text-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--sp-1);
}

.about__features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
}

.about__feature-card {
    background: var(--white);
    padding: var(--sp-8);
    border-radius: var(--rounded-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--ease-out);
}

.about__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.about__feature-card .about__feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: var(--text-2xl);
    border-radius: var(--rounded-full);
    margin: 0 auto var(--sp-5);
    transition: all var(--duration-normal) var(--ease-out);
}

.about__feature-card:hover .about__feature-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.about__feature-card h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-2);
}

.about__feature-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* ========== COURSES SECTION ========== */
.courses {
    padding: var(--sp-24) 0;
    background: var(--white);
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
    gap: var(--sp-8);
    justify-content: center;
}

.course-card {
    background: var(--white);
    border-radius: var(--rounded-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--ease-out);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.course-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.course-card:hover .course-card__image img {
    transform: scale(1.1);
}

.course-card__content {
    padding: var(--sp-6);
}

.course-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-3);
}

.course-card__desc {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: var(--sp-5);
}

.course-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--duration-normal) var(--ease-out);
}

.course-card__link:hover {
    gap: var(--sp-4);
    color: var(--primary-dark);
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: var(--sp-24) 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.services__tabs {
    display: flex;
    justify-content: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-12);
    flex-wrap: wrap;
}

.services__tab {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-8);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-500);
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--rounded-full);
    transition: all var(--duration-normal) var(--ease-out);
}

.services__tab i {
    font-size: var(--text-lg);
}

.services__tab:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.services__tab--active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-purple);
}

.services__tab--active:hover {
    color: var(--white);
    border-color: transparent;
}

.services__panel {
    display: none;
}

.services__panel--active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services__list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    padding: var(--sp-6);
    background: var(--white);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--duration-normal) var(--ease-out);
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    transform: translateX(8px);
}

.service-item__info {
    flex: 1;
}

.service-item__name {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-1);
}

.service-item__desc {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.service-item__meta {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    flex-shrink: 0;
}

.service-item__price {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary);
}

.service-item__book {
    padding: var(--sp-3) var(--sp-5);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--white);
    background: var(--gradient-primary);
    border-radius: var(--rounded-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--duration-normal) var(--ease-out);
}

.service-item__book:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-purple);
}

/* ========== TEAM SECTION ========== */
.team {
    padding: var(--sp-24) 0;
    background: var(--white);
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: var(--sp-8);
    justify-content: center;
}

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

.team-card__image {
    position: relative;
    width: 280px;
    height: 340px;
    margin: 0 auto var(--sp-6);
    border-radius: var(--rounded-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

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

.team-card__social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: var(--sp-4);
    padding: var(--sp-5);
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-normal) var(--ease-out);
}

.team-card:hover .team-card__social {
    opacity: 1;
    transform: translateY(0);
}

.team-card__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--rounded-full);
    font-size: var(--text-base);
    transition: all var(--duration-normal) var(--ease-out);
}

.team-card__social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.team-card__name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-1);
}

.team-card__role {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--sp-3);
}

.team-card__bio {
    font-size: var(--text-sm);
    color: var(--gray-500);
    max-width: 280px;
    margin: 0 auto;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: var(--sp-24) 0;
    background: var(--off-white);
}

.testimonials__slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
}

.testimonial-card {
    background: var(--white);
    padding: var(--sp-8);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card__stars {
    display: flex;
    gap: var(--sp-1);
    margin-bottom: var(--sp-5);
}

.testimonial-card__stars i {
    color: #FBBF24;
    font-size: var(--text-lg);
}

.testimonial-card__text {
    font-size: var(--text-base);
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.testimonial-card__author img {
    width: 56px;
    height: 56px;
    border-radius: var(--rounded-full);
    object-fit: cover;
    border: 3px solid var(--primary-subtle);
}

.testimonial-card__author-info h5 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-1);
}

.testimonial-card__author-info span {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* ========== CTA BANNER ========== */
.cta-banner {
    position: relative;
    padding: var(--sp-24) 0;
    overflow: hidden;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-banner__overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
}

.cta-banner__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner__tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--rounded-full);
    margin-bottom: var(--sp-6);
}

.cta-banner__title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--sp-6);
}

.cta-banner__desc {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: var(--sp-10);
}

.cta-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    justify-content: center;
    margin-bottom: var(--sp-10);
}

.cta-banner__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-8);
}

.cta-banner__feature {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: var(--white);
}

.cta-banner__feature i {
    color: #A7F3D0;
}

/* ========== GALLERY SECTION ========== */
.gallery {
    padding: var(--sp-24) 0;
    background: var(--white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
}

.gallery__item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--rounded-xl);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: var(--sp-24) 0;
    background: var(--off-white);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: start;
}

.contact__intro {
    font-size: var(--text-lg);
    color: var(--gray-500);
    margin-bottom: var(--sp-8);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    margin-bottom: var(--sp-8);
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
}

.contact__detail-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: var(--text-lg);
    border-radius: var(--rounded-lg);
    flex-shrink: 0;
}

.contact__detail-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-1);
}

.contact__detail-content p,
.contact__detail-content address,
.contact__detail-content a {
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact__detail-content a:hover {
    color: var(--primary);
}

.contact__social h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-4);
}

.contact__social-links {
    display: flex;
    gap: var(--sp-3);
}

.contact__social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--gray-500);
    font-size: var(--text-lg);
    border-radius: var(--rounded-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--duration-normal) var(--ease-out);
}

.contact__social-links a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
}

.contact__map {
    height: 500px;
    border-radius: var(--rounded-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
}

/* ========== LEGAL PAGES ========== */
.legal-section {
    padding: var(--sp-16) 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-date {
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-bottom: var(--sp-8);
}

.legal-intro {
    background: var(--gray-100);
    padding: var(--sp-6);
    border-radius: var(--rounded-lg);
    margin-bottom: var(--sp-10);
    border-left: 4px solid var(--primary);
}

.legal-intro p {
    color: var(--gray-700);
    line-height: 1.8;
    margin: 0;
}

.legal-block {
    margin-bottom: var(--sp-10);
}

.legal-block h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--dark);
    margin-bottom: var(--sp-4);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.legal-block h2 i {
    color: var(--primary);
    font-size: var(--text-lg);
}

.legal-block h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark);
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-3);
}

.legal-block p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--sp-4);
}

.legal-block ul {
    margin-left: var(--sp-6);
    margin-bottom: var(--sp-4);
}

.legal-block li {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--sp-2);
    list-style: disc;
}

.legal-block a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-block a:hover {
    color: var(--primary-dark);
}

.legal-contact-info {
    background: var(--gray-100);
    padding: var(--sp-6);
    border-radius: var(--rounded-lg);
    margin: var(--sp-4) 0;
}

.legal-contact-info p {
    margin-bottom: var(--sp-2);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.legal-contact-info i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.legal-authority {
    margin-top: var(--sp-6);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--gray-200);
}

.legal-acceptance {
    background: linear-gradient(135deg, var(--primary-subtle), rgba(var(--primary-rgb), 0.1));
    padding: var(--sp-6);
    border-radius: var(--rounded-lg);
    margin-top: var(--sp-10);
}

.legal-acceptance p {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    margin: 0;
    color: var(--gray-700);
    line-height: 1.8;
}

.legal-acceptance i {
    color: var(--primary);
    font-size: var(--text-xl);
    margin-top: 4px;
}

/* ========== ROVA SECTION ========== */
.rova-section {
    background: var(--gray-100);
    padding: var(--sp-16) 0;
}

.rova-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-8);
}

.rova-logo {
    width: 150px;
}

.rova-logo img {
    width: 100%;
    height: auto;
}

.rova-disclaimer {
    text-align: left;
}

.rova-disclaimer h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--dark);
    margin-bottom: var(--sp-4);
    text-align: center;
}

.rova-disclaimer p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--sp-4);
}

.rova-disclaimer ul {
    margin-left: var(--sp-6);
    margin-bottom: var(--sp-4);
}

.rova-disclaimer li {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--sp-2);
    list-style: disc;
}

.rova-disclaimer a {
    color: var(--primary);
    text-decoration: underline;
}

.rova-disclaimer a:hover {
    color: var(--primary-dark);
}

.rova-notice {
    background: var(--white);
    padding: var(--sp-6);
    border-radius: var(--rounded-lg);
    margin: var(--sp-6) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    border: 1px solid var(--gray-200);
}

.rova-notice > i {
    color: var(--primary);
    font-size: var(--text-xl);
    flex-shrink: 0;
    margin-top: 4px;
}

.rova-notice p {
    margin: 0;
}

.rova-links {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
    margin-top: var(--sp-6);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--gray-300);
    padding-top: var(--sp-16);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--sp-12);
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}

.footer__logo-icon {
    font-size: var(--text-3xl);
    color: var(--primary-light);
}

.footer__logo-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--white);
}

.footer__logo-tagline {
    font-size: var(--text-xs);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-400);
}

/* Logo Image (when using image instead of icon+text) */
.footer__logo-image {
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.footer__desc {
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
    color: var(--gray-400);
}

.footer__social {
    display: flex;
    gap: var(--sp-3);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-400);
    border-radius: var(--rounded-lg);
    transition: all var(--duration-normal) var(--ease-out);
}

.footer__social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer__title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--sp-6);
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.footer__menu a {
    font-size: var(--text-sm);
    color: var(--gray-400);
    transition: all var(--duration-normal) var(--ease-out);
}

.footer__menu a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
}

.footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: var(--text-sm);
}

.footer__contact-list li i {
    color: var(--primary-light);
    margin-top: 3px;
}

.footer__contact-list a:hover {
    color: var(--primary-light);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-6) 0;
}

.footer__copyright {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.footer__legal {
    display: flex;
    gap: var(--sp-6);
}

.footer__legal a {
    font-size: var(--text-sm);
    color: var(--gray-500);
    transition: color var(--duration-normal) var(--ease-out);
}

.footer__legal a:hover {
    color: var(--primary-light);
}

/* ========== MOBILE CTA ========== */
.mobile-cta {
    position: fixed;
    bottom: var(--sp-6);
    right: var(--sp-6);
    z-index: 999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: var(--text-xl);
    border-radius: var(--rounded-full);
    box-shadow: var(--shadow-purple);
    transition: all var(--duration-normal) var(--ease-out);
}

.mobile-cta:hover {
    transform: scale(1.1);
}

/* ========== BACK TO TOP ========== */
.back-top {
    position: fixed;
    bottom: var(--sp-6);
    left: var(--sp-6);
    z-index: 999;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    font-size: var(--text-base);
    border-radius: var(--rounded-full);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-subtle);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration-normal) var(--ease-out);
}

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

.back-top:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .about__wrapper {
        gap: var(--sp-10);
    }
    
    .about__images {
        height: 500px;
    }
    
    .courses__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    }

    .team__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    }
    
    .team-card__image {
        width: 100%;
        height: 300px;
    }
    
    .testimonials__slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials__slider .testimonial-card:last-child {
        display: none;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer__top {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-8);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    /* Mobile Navigation */
    .header__menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        padding: var(--sp-8) var(--sp-8) var(--sp-20);
        box-shadow: var(--shadow-2xl);
        transition: right var(--duration-normal) var(--ease-out);
        z-index: 1001;
        overflow-y: auto;
    }
    
    /* Logo in sidebar */
    .nav__logo {
        display: flex;
        align-items: center;
        gap: var(--sp-3);
        margin-bottom: var(--sp-8);
        padding-bottom: var(--sp-6);
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav__logo-icon {
        font-size: var(--text-3xl);
        color: var(--primary);
    }
    
    .nav__logo-text {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
    }
    
    .nav__logo-name {
        font-family: var(--font-display);
        font-size: var(--text-xl);
        font-weight: 600;
        color: var(--dark);
    }
    
    .nav__logo-tagline {
        font-size: var(--text-xs);
        font-weight: 400;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--primary);
    }
    
    /* Logo Image (when using image instead of icon+text) */
    .nav__logo-image {
        height: 36px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-6);
    }
    
    .nav__link {
        font-size: var(--text-lg);
        color: var(--dark);
    }
    
    .nav__link--cta {
        margin-top: var(--sp-8);
        width: 100%;
        text-align: center;
    }
    
    /* About Section */
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-10);
    }
    
    .about__text-block {
        padding-right: 0;
        text-align: center;
    }
    
    .about__text-block .btn {
        margin: 0 auto;
    }
    
    .about__image-single {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about__image-single img {
        height: 350px;
    }
    
    .about__features-row {
        grid-template-columns: 1fr;
        gap: var(--sp-5);
    }
    
    .about__feature-card {
        padding: var(--sp-6);
    }
    
    /* Hero padding mobile */
    .hero__content {
        padding: var(--sp-8) var(--sp-6);
        margin: 0 var(--sp-4);
    }
    
    /* Courses */
    .courses__grid {
        grid-template-columns: 1fr;
    }

    /* Services Tabs */
    .services__tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .services__tab {
        justify-content: center;
    }
    
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-4);
    }
    
    .service-item__meta {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Team */
    .team__grid {
        grid-template-columns: 1fr;
    }
    
    .team-card__image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto var(--sp-5);
    }
    
    /* Testimonials */
    .testimonials__slider {
        grid-template-columns: 1fr;
    }
    
    .testimonials__slider .testimonial-card:last-child {
        display: block;
    }
    
    /* Gallery */
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact */
    .contact__wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact__map {
        height: 350px;
    }
    
    /* Footer */
    .footer__top {
        grid-template-columns: 1fr;
        gap: var(--sp-10);
        text-align: center;
    }
    
    .footer__logo {
        justify-content: center;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .footer__menu,
    .footer__contact-list {
        align-items: center;
    }
    
    .footer__contact-list li {
        justify-content: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: var(--sp-4);
        text-align: center;
    }
    
    /* Mobile CTA */
    .mobile-cta {
        display: flex;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    
    .hero__title {
        font-size: var(--text-4xl);
    }
    
    .hero__content {
        padding: var(--sp-6) var(--sp-5);
        margin: 0 var(--sp-3);
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
    }
    
    .about__image-single img {
        height: 280px;
    }
    
    .about__experience-badge {
        padding: var(--sp-4) var(--sp-5);
    }
    
    .about__experience-number {
        font-size: var(--text-2xl);
    }
    
    .cta-banner__buttons {
        flex-direction: column;
    }
    
    .cta-banner__buttons .btn {
        width: 100%;
    }
    
    .cta-banner__features {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-3);
    }
    
    .footer__legal {
        flex-direction: column;
        gap: var(--sp-2);
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ========== PAGE HERO (Secondary Pages) ========== */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
}

.page-hero--compact {
    padding: 120px 0 50px;
}

.page-hero--compact .page-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
}

.page-hero__content {
    position: relative;
    z-index: 1;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--sp-4);
}

.page-hero__title em {
    font-style: normal;
    opacity: 0.9;
}

.page-hero__desc {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
}

.page-hero .breadcrumbs {
    margin-bottom: var(--sp-6);
}

.page-hero .breadcrumbs__item,
.page-hero .breadcrumbs__item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-hero .breadcrumbs__item::after {
    color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumbs__item a:hover {
    color: var(--white);
}

.page-hero .breadcrumbs__item--active span {
    color: var(--white);
}

/* ========== COURSES PAGE ========== */
.courses-category {
    padding: var(--sp-16) 0;
}

.courses-category--alt {
    background: var(--gray-50);
}

.courses-category__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--sp-12);
}

.courses-category__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--dark);
    margin-bottom: var(--sp-4);
}

.courses-category__desc {
    font-size: var(--text-lg);
    color: var(--gray-500);
    line-height: 1.7;
}

.courses-page__grid {
    display: flex;
    flex-direction: column;
    gap: var(--sp-10);
}

.course-detail {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--sp-10);
    background: var(--white);
    border-radius: var(--rounded-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.course-detail:nth-child(even) {
    direction: rtl;
}

.course-detail:nth-child(even) > * {
    direction: ltr;
}

.course-detail__image {
    position: relative;
}

.course-detail__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-detail__content {
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-detail__content h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--dark);
    margin-bottom: var(--sp-4);
}

.course-detail__desc {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
}

.course-detail__features {
    display: flex;
    gap: var(--sp-6);
    margin-bottom: var(--sp-6);
}

.course-detail__features li {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.course-detail__features i {
    color: var(--primary);
    font-size: var(--text-sm);
    width: 16px;
    text-align: center;
}

.course-detail__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-6);
    border-top: 1px solid var(--gray-100);
}

.course-detail__price {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }
    
    .page-hero--compact {
        padding: 100px 0 30px;
    }
    
    .course-detail {
        grid-template-columns: 1fr;
    }
    
    .course-detail:nth-child(even) {
        direction: ltr;
    }
    
    .course-detail__image {
        min-height: 200px;
        position: relative;
    }
    
    .course-detail__content {
        padding: var(--sp-6);
    }
    
    .course-detail__features {
        flex-wrap: wrap;
        gap: var(--sp-3) var(--sp-6);
    }
    
    .courses-category {
        padding: var(--sp-12) 0;
    }
    
    .courses-category__header {
        margin-bottom: var(--sp-8);
    }
}
/* ========== PRODUCT PAGE - COURSE DETAIL ========== */
.product-section {
    padding: var(--sp-16) 0;
    background: var(--off-white);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: var(--sp-8);
    text-align: center;
}

.breadcrumbs__list {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.breadcrumbs__item::after {
    content: '/';
    color: var(--gray-300);
}

.breadcrumbs__item:last-child::after {
    display: none;
}

.breadcrumbs__item a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs__item a:hover {
    color: var(--primary);
}

.breadcrumbs__item--active span {
    color: var(--dark);
    font-weight: 500;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 500px;
}

.product-gallery__main {
    background: var(--white);
    border-radius: var(--rounded-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--sp-4);
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
}

.product-gallery__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-gallery__slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery__slider .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.6;
}

.product-gallery__slider .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-3);
}

.product-gallery__thumb {
    aspect-ratio: 1;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    opacity: 0.7;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    background: var(--white);
    border-radius: var(--rounded-2xl);
    padding: var(--sp-8);
    box-shadow: var(--shadow-lg);
}

.product-info .section-tag {
    margin-bottom: var(--sp-3);
}

.product-info__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-4);
    line-height: 1.2;
}

.product-info__title em {
    color: var(--primary);
    font-style: italic;
}

.product-info__price-box {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    background: var(--gradient-primary);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--rounded-full);
    margin-bottom: var(--sp-6);
}

.product-info__price-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
}

.product-info__price-value {
    color: var(--white);
    font-size: var(--text-xl);
    font-weight: 700;
}

.product-info__desc {
    color: var(--gray-700);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--sp-6);
}

.product-info__meta {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid var(--gray-100);
}

.product-info__meta-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--gray-700);
}

.product-info__meta-item i {
    color: var(--primary);
    width: 20px;
}

/* Date Selection */
.product-dates {
    margin-bottom: var(--sp-6);
}

.product-dates__title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-3);
}

.product-dates__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
}

.product-dates__option {
    position: relative;
    cursor: pointer;
}

.product-dates__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-dates__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--sp-3) var(--sp-4);
    border: 2px solid var(--gray-300);
    border-radius: var(--rounded-lg);
    background: var(--white);
    transition: all var(--transition-fast);
}

.product-dates__range {
    font-weight: 600;
    color: var(--dark);
    font-size: var(--text-sm);
}

.product-dates__year {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.product-dates__option input:checked + .product-dates__box {
    border-color: var(--primary);
    background: var(--primary-subtle);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.product-dates__option input:checked + .product-dates__box .product-dates__range {
    color: var(--primary);
    font-weight: 700;
}

.product-dates__option--sold-out {
    pointer-events: none;
}

.product-dates__option--sold-out .product-dates__box {
    background: var(--gray-100);
    border-color: transparent;
    position: relative;
}

.product-dates__option--sold-out .product-dates__box::after {
    content: 'SOLD OUT';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    background: var(--error);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--rounded-sm);
}

.product-dates__option--sold-out .product-dates__range,
.product-dates__option--sold-out .product-dates__year {
    opacity: 0.4;
}

/* Payment Options */
.product-payment {
    margin-bottom: var(--sp-6);
}

.product-payment__title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-3);
}

.product-payment__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
}

.product-payment__option {
    position: relative;
    cursor: pointer;
}

.product-payment__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-payment__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--sp-4);
    border: 2px solid var(--gray-300);
    border-radius: var(--rounded-lg);
    background: var(--white);
    transition: all var(--transition-fast);
}

.product-payment__name {
    font-weight: 600;
    color: var(--dark);
    font-size: var(--text-sm);
}

.product-payment__amount {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary);
}

.product-payment__option input:checked + .product-payment__box {
    border-color: var(--primary);
    background: var(--primary-subtle);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Product CTA */
.product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    width: 100%;
    padding: var(--sp-4) var(--sp-6);
    font-size: var(--text-lg);
    margin-bottom: var(--sp-4);
}

/* Product Guarantee */
.product-guarantee {
    display: flex;
    justify-content: center;
}

.product-guarantee__item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--gray-500);
    font-size: var(--text-sm);
}

.product-guarantee__item i {
    color: var(--success);
}

/* ========== COURSE DESCRIPTION SECTION ========== */
.course-description {
    padding: var(--sp-16) 0;
    background: var(--white);
}

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

.course-description__header {
    text-align: center;
    margin-bottom: var(--sp-10);
}

.course-description__header .section-tag {
    margin-bottom: var(--sp-3);
}

.course-description__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--dark);
}

.course-description__title em {
    color: var(--primary);
    font-style: italic;
}

.course-description__body p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--sp-6);
}

.course-description__body h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-4);
    margin-top: var(--sp-8);
}

.course-description__list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-6) 0;
}

.course-description__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-2) 0;
    color: var(--gray-700);
}

.course-description__list li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Course Benefits Grid */
.course-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
}

.course-benefits__item {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-4);
    background: var(--off-white);
    border-radius: var(--rounded-xl);
    transition: all var(--transition-fast);
}

.course-benefits__item:hover {
    background: var(--primary-subtle);
    transform: translateY(-2px);
}

.course-benefits__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--rounded-lg);
    color: var(--white);
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.course-benefits__text h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: var(--sp-1);
}

.course-benefits__text p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* ========== PRODUCT PAGE RESPONSIVE ========== */
@media (max-width: 1024px) {
    .product-grid {
        gap: var(--sp-8);
    }
    
    .product-info__title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 768px) {
    .product-section {
        padding: var(--sp-12) 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
        max-width: 100%;
    }
    
    .product-info {
        padding: var(--sp-6);
    }
    
    .product-info__title {
        font-size: var(--text-2xl);
    }
    
    .product-dates__grid,
    .product-payment__options {
        grid-template-columns: 1fr;
    }
    
    .course-benefits {
        grid-template-columns: 1fr;
    }
    
    .course-description__title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 480px) {
    .breadcrumbs__item {
        font-size: var(--text-xs);
    }
    
    .product-gallery__thumbs {
        gap: var(--sp-2);
    }
    
    .product-info__price-box {
        padding: var(--sp-2) var(--sp-4);
    }
    
    .product-info__price-value {
        font-size: var(--text-lg);
    }
}