/* ===========================
   SlimCare Clinic (슬림케어 의원)
   Obesity Treatment Clinic Theme
   Clean Medical Aesthetic
   =========================== */

/* --- CSS Variables --- */
:root {
    --primary: #0EA5A0;
    --primary-dark: #0B8A86;
    --primary-light: #E6F7F6;
    --primary-lighter: #F0FBFA;
    --accent: #14C4BE;
    --accent-dark: #0D9E99;
    --secondary: #1B2D4F;
    --secondary-light: #2A4370;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --dark: #0F172A;
    --gray-900: #1E293B;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748B;
    --gray-500: #94A3B8;
    --gray-400: #CBD5E1;
    --gray-300: #E2E8F0;
    --gray-200: #F1F5F9;
    --gray-100: #F4F7FA;
    --white: #FFFFFF;
    --font-main: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', sans-serif;
    --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.03);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.15);
    --shadow-primary: 0 4px 15px rgba(14,165,160,.25);
    --shadow-primary-lg: 0 8px 30px rgba(14,165,160,.3);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50px;
    --transition: all .3s cubic-bezier(.4,0,.2,1);
    --transition-fast: all .2s cubic-bezier(.4,0,.2,1);
    --transition-slow: all .5s cubic-bezier(.4,0,.2,1);
    --header-h: 80px;
    --section-padding: 120px;
    --container-max: 1280px;
    --container-sm: 960px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-main);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; }
::selection { background: var(--primary); color: var(--white); }

/* --- Preloader --- */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s, visibility .6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { text-align: center; }

.heartbeat-loader {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; height: 60px;
}
.heartbeat-line {
    width: 200px; height: 60px; position: relative;
}
.heartbeat-line svg {
    width: 100%; height: 100%;
}
.heartbeat-line svg path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: heartbeatDraw 2s ease-in-out infinite;
}
@keyframes heartbeatDraw {
    0% { stroke-dashoffset: 400; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -400; }
}

.pulse-dot {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--primary); position: relative;
    display: inline-block; margin-bottom: 24px;
    animation: pulseScale 1.5s ease-in-out infinite;
}
.pulse-dot::before,
.pulse-dot::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 50%; border: 2px solid var(--primary);
    animation: pulseRing 1.5s ease-out infinite;
}
.pulse-dot::after { animation-delay: .5s; }
@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.loader-text {
    font-size: 1.1rem; font-weight: 700; color: var(--primary);
    letter-spacing: 3px; text-transform: uppercase;
    font-family: var(--font-display);
}
.loader-text span {
    display: block; font-size: .75rem; font-weight: 400;
    color: var(--gray-500); letter-spacing: 2px; margin-top: 4px;
}

/* Medical bar loader alternative */
.medical-bars { display: flex; gap: 6px; justify-content: center; margin-bottom: 20px; }
.medical-bars .bar {
    width: 6px; height: 36px; border-radius: 3px;
    background: var(--primary);
    animation: medicalPulse 1.2s ease-in-out infinite;
}
.medical-bars .bar:nth-child(1) { animation-delay: 0s; }
.medical-bars .bar:nth-child(2) { animation-delay: .1s; background: var(--accent); }
.medical-bars .bar:nth-child(3) { animation-delay: .2s; }
.medical-bars .bar:nth-child(4) { animation-delay: .3s; background: var(--accent); }
.medical-bars .bar:nth-child(5) { animation-delay: .4s; }
@keyframes medicalPulse {
    0%, 100% { transform: scaleY(1); opacity: .4; }
    50% { transform: scaleY(2.2); opacity: 1; }
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--radius-full);
    font-weight: 600; font-size: .95rem;
    transition: var(--transition); cursor: pointer;
    border: 2px solid transparent;
    position: relative; overflow: hidden;
    font-family: var(--font-main);
    letter-spacing: -.2px;
    line-height: 1;
}
.btn i { font-size: .85rem; transition: transform .3s; }
.btn:hover i { transform: translateX(4px); }

.btn-primary {
    background: var(--primary); color: var(--white);
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-primary-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary); color: var(--white);
    box-shadow: 0 4px 15px rgba(27,45,79,.25);
}
.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

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

.btn-outline {
    border-color: var(--white); color: var(--white);
    background: transparent;
}
.btn-outline:hover {
    background: var(--white); color: var(--primary);
}

.btn-outline-primary {
    border-color: var(--primary); color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary); color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-outline-dark {
    border-color: var(--gray-400); color: var(--gray-700);
    background: transparent;
}
.btn-outline-dark:hover {
    border-color: var(--primary); color: var(--primary);
}

.btn-white {
    background: var(--white); color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.btn-white:hover {
    background: var(--gray-100); transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    border-color: rgba(255,255,255,.4); color: var(--white);
    background: transparent;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15); border-color: var(--white);
}

.btn-ghost {
    background: transparent; color: var(--primary);
    padding: 14px 16px;
}
.btn-ghost:hover { background: var(--primary-light); }

.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-icon {
    width: 48px; height: 48px; padding: 0;
    justify-content: center; border-radius: 50%;
}
.btn-icon.sm { width: 40px; height: 40px; }

/* --- Header / Navbar --- */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: var(--transition);
}
#header.scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}
.navbar { height: var(--header-h); }
.nav-container {
    max-width: var(--container-max); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.4rem; color: var(--white);
    transition: var(--transition);
}
#header.scrolled .logo { color: var(--primary); }
.logo-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: var(--transition);
}
#header:not(.scrolled) .logo-icon {
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
}
.logo-text { font-weight: 300; letter-spacing: -0.5px; }
.logo-text strong { font-weight: 900; }
.logo-sub {
    display: block; font-size: .6rem; letter-spacing: 2px;
    text-transform: uppercase; opacity: .7; font-weight: 400;
    margin-top: -2px;
}

/* Nav Menu */
.nav-menu {
    display: flex; align-items: center; gap: 4px;
}
.nav-link {
    padding: 8px 18px; font-size: .95rem; font-weight: 500;
    color: rgba(255,255,255,.85); border-radius: var(--radius-sm);
    transition: var(--transition); display: flex; align-items: center; gap: 6px;
}
.nav-link i { font-size: .65rem; transition: transform .3s; }
#header.scrolled .nav-link { color: var(--gray-700); }
.nav-link:hover,
.nav-link.active { color: var(--white); background: rgba(255,255,255,.15); }
#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active { color: var(--primary); background: var(--primary-light); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 8px;
    min-width: 220px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-radius: var(--radius-sm);
    color: var(--gray-700); font-size: .9rem;
    transition: var(--transition);
}
.dropdown-menu a i { font-size: .85rem; color: var(--gray-500); transition: var(--transition); }
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-menu a:hover i { color: var(--primary); }
.dropdown-divider {
    height: 1px; background: var(--gray-200);
    margin: 6px 8px;
}

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-consult {
    padding: 8px 20px; border-radius: var(--radius-full);
    font-size: .85rem; font-weight: 600;
    background: var(--primary); color: var(--white);
    transition: var(--transition);
}
.btn-consult:hover { background: var(--primary-dark); transform: translateY(-1px); }
#header:not(.scrolled) .btn-consult {
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.3);
}
.btn-lang {
    padding: 6px 14px; border-radius: 6px;
    font-size: .8rem; font-weight: 600; letter-spacing: 1px;
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.3);
    transition: var(--transition);
}
#header.scrolled .btn-lang { color: var(--gray-600); border-color: var(--gray-300); }
.btn-lang:hover { background: rgba(255,255,255,.15); }
#header.scrolled .btn-lang:hover { background: var(--gray-100); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
    width: 24px; height: 2px; background: var(--white);
    border-radius: 2px; transition: var(--transition);
}
#header.scrolled .hamburger span { background: var(--gray-800); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Overlay */
.mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 997;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* --- Hero Section --- */
.hero-section {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg-video {
    position: absolute; inset: 0;
    background: var(--secondary);
    overflow: hidden;
}
.hero-bg-video video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.hero-bg-image {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(27,45,79,.6) 0%, rgba(27,45,79,.4) 40%, rgba(14,165,160,.15) 100%),
        radial-gradient(ellipse at 30% 50%, rgba(14,165,160,.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(27,45,79,.2) 0%, transparent 50%);
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; color: var(--white);
    padding: 0 24px; max-width: 900px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 24px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius-full); font-size: .85rem;
    font-weight: 500; letter-spacing: 2px;
    color: rgba(255,255,255,.85); margin-bottom: 28px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.08);
    text-transform: uppercase;
}
.hero-badge i { font-size: .75rem; color: var(--accent); }
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900; line-height: 1.25;
    margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-line.highlight {
    background: linear-gradient(135deg, var(--accent), #6dd5ed);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.15rem; line-height: 1.8;
    color: rgba(255,255,255,.75);
    margin-bottom: 40px; font-weight: 300;
    max-width: 640px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll span {
    font-size: .7rem; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(255,255,255,.5);
}
.scroll-line {
    width: 1px; height: 60px; background: rgba(255,255,255,.2);
    position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 50%;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
    0% { top: -50%; } 100% { top: 100%; }
}

/* Hero Stats Bar */
.hero-stats {
    position: absolute; bottom: 0; left: 0; right: 0;
    z-index: 3; background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stats-inner {
    max-width: var(--container-max); margin: 0 auto;
    padding: 24px; display: flex;
    justify-content: center; gap: 60px;
}
.stat-item { text-align: center; color: var(--white); }
.stat-num {
    font-size: 2.2rem; font-weight: 900;
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--white), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-suffix {
    font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.7);
}
.stat-label {
    display: block; font-size: .78rem;
    color: rgba(255,255,255,.5); margin-top: 2px;
}

/* --- Section Basics --- */
.section { padding: var(--section-padding) 0; position: relative; }
.section-bg-light { background: var(--gray-100); }
.section-bg-white { background: var(--white); }
.section-bg-dark {
    background: linear-gradient(135deg, #0f1c32 0%, var(--secondary) 50%, #162544 100%);
}
.section-bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, var(--accent-dark) 100%);
}

.section-tag {
    display: inline-block; font-size: .78rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--primary); margin-bottom: 16px;
    position: relative; padding-left: 36px;
    font-family: var(--font-display);
}
.section-tag::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 24px; height: 2px; background: var(--primary);
    transform: translateY(-50%);
}
.section-tag.light { color: var(--accent); }
.section-tag.light::before { background: var(--accent); }
.section-tag.center { padding-left: 0; }
.section-tag.center::before { display: none; }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300; line-height: 1.3;
    color: var(--dark); margin-bottom: 16px;
}
.section-title strong { font-weight: 900; }
.section-title.light { color: var(--white); }
.section-title.light strong { color: var(--white); }

.section-subtitle {
    font-size: 1.05rem; color: var(--gray-600); max-width: 600px;
    line-height: 1.8;
}
.section-subtitle.light { color: rgba(255,255,255,.65); }

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }
.section-header.center .section-tag { padding-left: 0; }
.section-header.center .section-tag::before { display: none; }
.section-header:not(.center) {
    display: flex; justify-content: space-between; align-items: flex-end;
}

/* Dot pattern decoration */
.dot-pattern {
    position: absolute; width: 200px; height: 200px;
    background-image: radial-gradient(circle, var(--gray-300) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .5; z-index: 0;
}
.dot-pattern.top-right { top: 40px; right: 40px; }
.dot-pattern.bottom-left { bottom: 40px; left: 40px; }

/* --- Treatment Guide Section --- */
.treatment-guide { background: var(--white); }
.guide-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.guide-card {
    padding: 40px 28px; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--gray-300);
    transition: var(--transition); position: relative;
    overflow: hidden; text-align: center;
}
.guide-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.guide-card:hover::before { transform: scaleX(1); }
.guide-card:hover {
    border-color: transparent; box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}
.guide-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 24px;
    transition: var(--transition);
}
.guide-card:hover .guide-icon {
    background: var(--primary); color: var(--white);
    transform: scale(1.1);
}
.guide-step {
    position: absolute; top: 20px; right: 20px;
    font-size: 2.5rem; font-weight: 900;
    font-family: var(--font-display);
    color: var(--gray-200); line-height: 1;
}
.guide-card:hover .guide-step { color: var(--primary-light); }
.guide-card h3 {
    font-size: 1.15rem; font-weight: 700;
    color: var(--dark); margin-bottom: 12px;
}
.guide-card p {
    font-size: .88rem; color: var(--gray-600);
    line-height: 1.7;
}

/* Guide with connecting arrows */
.guide-flow {
    display: flex; align-items: center; gap: 16px;
    margin-top: 40px; justify-content: center;
    flex-wrap: wrap;
}
.guide-flow-step {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 24px; border-radius: var(--radius-full);
    background: var(--primary-light); color: var(--primary);
    font-weight: 600; font-size: .9rem;
}
.guide-flow-step i { font-size: 1rem; }
.guide-flow-arrow { color: var(--gray-400); font-size: .8rem; }

/* --- Programs Section --- */
.programs-section { background: var(--gray-100); }
.programs-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.program-card {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--white); box-shadow: var(--shadow-sm);
    transition: var(--transition); position: relative;
    border: 1px solid var(--gray-200);
}
.program-card:hover {
    box-shadow: var(--shadow-xl); transform: translateY(-8px);
    border-color: transparent;
}
.program-thumb {
    position: relative; overflow: hidden;
    aspect-ratio: 16/10;
}
.program-thumb-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--white); gap: 8px;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.program-thumb-placeholder i { font-size: 2.5rem; opacity: .7; }
.program-thumb-placeholder span { font-size: .9rem; font-weight: 500; opacity: .8; }
.program-card:hover .program-thumb-placeholder { transform: scale(1.05); }
.program-badge {
    position: absolute; top: 16px; left: 16px;
    padding: 6px 14px; border-radius: var(--radius-full);
    font-size: .75rem; font-weight: 600; letter-spacing: .5px;
    backdrop-filter: blur(10px);
}
.program-badge.popular { background: var(--primary); color: var(--white); }
.program-badge.new { background: var(--warning); color: var(--white); }
.program-badge.premium { background: var(--secondary); color: var(--white); }

.program-body { padding: 28px; }
.program-category {
    font-size: .78rem; font-weight: 600; color: var(--primary);
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 8px; font-family: var(--font-display);
}
.program-body h3 {
    font-size: 1.2rem; font-weight: 700;
    color: var(--dark); margin-bottom: 12px;
    line-height: 1.4;
}
.program-body > p {
    font-size: .88rem; color: var(--gray-600);
    line-height: 1.7; margin-bottom: 20px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.program-features {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 24px;
    padding-top: 20px; border-top: 1px solid var(--gray-200);
}
.program-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: .85rem; color: var(--gray-700);
}
.program-features li i {
    font-size: .7rem; color: var(--primary);
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.program-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px; border-top: 1px solid var(--gray-200);
}
.program-price {
    font-size: .85rem; color: var(--gray-500);
}
.program-price strong {
    font-size: 1.3rem; font-weight: 800; color: var(--primary);
    font-family: var(--font-display);
}
.program-link {
    font-size: .88rem; font-weight: 600;
    color: var(--primary); display: inline-flex;
    align-items: center; gap: 6px;
}
.program-link i { font-size: .75rem; transition: transform .3s; }
.program-link:hover i { transform: translateX(4px); }

/* --- Before/After Gallery --- */
.gallery-section { background: var(--white); }
.gallery-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.gallery-item {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--gray-200);
}
.gallery-item-inner {
    position: relative; width: 100%; height: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
}
.gallery-before,
.gallery-after {
    position: relative; overflow: hidden;
}
.gallery-before { border-right: 2px solid var(--white); }
.gallery-before-placeholder,
.gallery-after-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 600; color: var(--white);
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.gallery-before-placeholder { background: var(--gray-500); }
.gallery-after-placeholder { background: var(--primary); }
.gallery-item:hover .gallery-before-placeholder,
.gallery-item:hover .gallery-after-placeholder { transform: scale(1.05); }

.gallery-labels {
    position: absolute; bottom: 0; left: 0; right: 0;
    display: flex; z-index: 2;
}
.gallery-label {
    flex: 1; padding: 10px; text-align: center;
    font-size: .75rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-display);
}
.gallery-label.before-label {
    background: rgba(0,0,0,.6); color: var(--white);
}
.gallery-label.after-label {
    background: rgba(14,165,160,.85); color: var(--white);
}

.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(27,45,79,.8) 100%);
    opacity: 0; transition: var(--transition);
    display: flex; align-items: flex-end;
    padding: 24px; z-index: 3;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-info { color: var(--white); }
.gallery-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.gallery-info p { font-size: .82rem; opacity: .8; }
.gallery-zoom {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(.5);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.2rem;
    opacity: 0; transition: var(--transition); z-index: 4;
}
.gallery-item:hover .gallery-zoom {
    opacity: 1; transform: translate(-50%, -50%) scale(1);
}

/* Gallery filter tabs */
.gallery-filters {
    display: flex; gap: 8px; justify-content: center;
    margin-bottom: 40px; flex-wrap: wrap;
}
.gallery-filter {
    padding: 8px 20px; border-radius: var(--radius-full);
    font-size: .88rem; font-weight: 500;
    color: var(--gray-600); background: var(--gray-100);
    border: 1px solid var(--gray-300);
    transition: var(--transition); cursor: pointer;
}
.gallery-filter:hover { border-color: var(--primary); color: var(--primary); }
.gallery-filter.active {
    background: var(--primary); color: var(--white);
    border-color: var(--primary);
}

/* Gallery notice */
.gallery-notice {
    text-align: center; margin-top: 32px;
    padding: 16px 24px; border-radius: var(--radius);
    background: var(--primary-lighter); border: 1px solid var(--primary-light);
}
.gallery-notice p {
    font-size: .85rem; color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.gallery-notice i { font-size: .9rem; }

/* --- Medical Staff Section --- */
.staff-section { background: var(--gray-100); }
.staff-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.staff-card {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--white); box-shadow: var(--shadow-sm);
    transition: var(--transition); text-align: center;
    border: 1px solid var(--gray-200);
}
.staff-card:hover {
    box-shadow: var(--shadow-xl); transform: translateY(-8px);
    border-color: transparent;
}
.staff-photo {
    position: relative; overflow: hidden;
    aspect-ratio: 3/4; max-height: 380px;
}
.staff-photo-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--gray-300), var(--gray-400));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--gray-600); gap: 12px;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.staff-photo-placeholder i { font-size: 4rem; opacity: .3; }
.staff-photo-placeholder span { font-size: .9rem; font-weight: 500; opacity: .5; }
.staff-card:hover .staff-photo-placeholder { transform: scale(1.05); }

.staff-social-overlay {
    position: absolute; inset: 0;
    background: rgba(14,165,160,.85);
    display: flex; align-items: center; justify-content: center;
    gap: 12px; opacity: 0;
    transition: var(--transition);
}
.staff-card:hover .staff-social-overlay { opacity: 1; }
.staff-social-overlay a {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.2); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: var(--transition);
    transform: translateY(20px);
}
.staff-card:hover .staff-social-overlay a { transform: translateY(0); }
.staff-card:hover .staff-social-overlay a:nth-child(2) { transition-delay: .05s; }
.staff-card:hover .staff-social-overlay a:nth-child(3) { transition-delay: .1s; }
.staff-social-overlay a:hover { background: var(--white); color: var(--primary); }

.staff-info { padding: 28px; }
.staff-position {
    font-size: .78rem; font-weight: 600; color: var(--primary);
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 6px; font-family: var(--font-display);
}
.staff-info h3 {
    font-size: 1.25rem; font-weight: 700;
    color: var(--dark); margin-bottom: 12px;
}
.staff-credentials {
    display: flex; flex-direction: column; gap: 6px;
    padding-top: 16px; border-top: 1px solid var(--gray-200);
}
.staff-credentials li {
    font-size: .82rem; color: var(--gray-600);
    display: flex; align-items: center; gap: 8px;
}
.staff-credentials li i {
    font-size: .6rem; color: var(--primary);
}
.staff-specialty {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: var(--radius-full);
    background: var(--primary-light); color: var(--primary);
    font-size: .78rem; font-weight: 600;
    margin-top: 12px;
}

/* --- Directions / Map Section --- */
.directions-section { background: var(--white); }
.directions-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
}
.map-wrapper {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
    background: var(--gray-200);
}
.map-wrapper iframe {
    width: 100%; height: 100%; border: 0;
}
.map-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--gray-500); gap: 12px;
}
.map-placeholder i { font-size: 3rem; opacity: .4; }

.directions-info { display: flex; flex-direction: column; gap: 24px; }

/* Contact Cards */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card {
    padding: 24px; border-radius: var(--radius);
    background: var(--gray-100); border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow-md); transform: translateY(-4px);
    border-color: var(--primary-light);
    background: var(--white);
}
.contact-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; margin-bottom: 14px;
    transition: var(--transition);
}
.contact-card:hover .contact-icon {
    background: var(--primary); color: var(--white);
}
.contact-card h4 {
    font-size: .88rem; font-weight: 700; color: var(--dark);
    margin-bottom: 6px;
}
.contact-card p {
    font-size: .82rem; color: var(--gray-600); line-height: 1.7;
}
.contact-card a { color: var(--primary); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

/* Contact card full width variant */
.contact-card-full {
    padding: 28px; border-radius: var(--radius);
    background: var(--gray-100); border: 1px solid var(--gray-200);
    display: flex; align-items: center; gap: 20px;
    transition: var(--transition);
}
.contact-card-full:hover {
    box-shadow: var(--shadow-md); transform: translateY(-3px);
    background: var(--white);
}

/* Transport Info */
.transport-info {
    margin-top: 8px; display: flex; flex-direction: column; gap: 12px;
}
.transport-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px; border-radius: var(--radius-sm);
    background: var(--gray-100); border: 1px solid var(--gray-200);
}
.transport-icon {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; font-weight: 700; color: var(--white);
    flex-shrink: 0;
}
.transport-icon.subway { background: #3B82F6; }
.transport-icon.bus { background: #22C55E; }
.transport-icon.car { background: var(--gray-700); }
.transport-item h5 { font-size: .88rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.transport-item p { font-size: .82rem; color: var(--gray-600); line-height: 1.6; }

/* --- Contact Form --- */
.contact-form-wrapper {
    padding: 40px; border-radius: var(--radius-lg);
    background: var(--white); box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}
.contact-form-wrapper h3 {
    font-size: 1.3rem; font-weight: 700;
    color: var(--dark); margin-bottom: 8px;
}
.contact-form-wrapper > p {
    font-size: .9rem; color: var(--gray-600);
    margin-bottom: 28px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: .85rem; font-weight: 600; color: var(--gray-700);
}
.form-group label .required { color: var(--danger); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px; border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm); background: var(--gray-100);
    transition: var(--transition); outline: none;
    color: var(--gray-800); font-size: .9rem;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(14,165,160,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-check { display: flex; align-items: center; gap: 8px; }
.form-check input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--primary);
    cursor: pointer;
}
.form-check label { font-size: .85rem; color: var(--gray-600); cursor: pointer; }
.form-check a { color: var(--primary); font-weight: 600; }
.form-check a:hover { text-decoration: underline; }

.form-note {
    font-size: .8rem; color: var(--gray-500);
    display: flex; align-items: center; gap: 6px;
}
.form-note i { font-size: .75rem; color: var(--primary); }

/* Input group (icon prefix) */
.input-group {
    position: relative;
}
.input-group input {
    padding-left: 44px;
}
.input-group i {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500); font-size: .9rem;
}
.input-group input:focus + i,
.input-group input:focus ~ i { color: var(--primary); }

/* --- Footer --- */
.footer {
    background: var(--dark); color: rgba(255,255,255,.6);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px; padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.3rem; color: var(--white);
    margin-bottom: 16px;
}
.footer-logo .logo-icon { background: var(--primary); }
.footer-brand p {
    font-size: .88rem; line-height: 1.8; margin-bottom: 20px;
}
.footer-contact-item {
    display: flex; align-items: center; gap: 10px;
    font-size: .85rem; margin-bottom: 10px;
}
.footer-contact-item i { color: var(--primary); width: 16px; text-align: center; }

/* Social Links */
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5); font-size: .95rem;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,.08);
}
.social-links a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.social-links.light a {
    background: var(--primary-light); color: var(--primary);
    border-color: transparent;
}
.social-links.light a:hover {
    background: var(--primary); color: var(--white);
}

/* Footer Links */
.footer-links h4 {
    font-size: .9rem; font-weight: 700;
    color: var(--white); margin-bottom: 20px;
    position: relative; padding-bottom: 12px;
}
.footer-links h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 24px; height: 2px; background: var(--primary);
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    font-size: .88rem; color: rgba(255,255,255,.5);
    display: flex; align-items: center; gap: 6px;
}
.footer-links a i { font-size: .6rem; transition: transform .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover i { transform: translateX(3px); }

/* Footer Hours */
.footer-hours { display: flex; flex-direction: column; gap: 8px; }
.footer-hours li {
    display: flex; justify-content: space-between;
    font-size: .85rem; color: rgba(255,255,255,.5);
    padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.05);
}
.footer-hours li span:last-child { color: rgba(255,255,255,.7); font-weight: 500; }
.footer-hours li.closed span:last-child { color: var(--danger); }

/* Footer Bottom */
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px 0; flex-wrap: wrap; gap: 16px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
    font-size: .82rem; color: rgba(255,255,255,.4);
    transition: var(--transition);
}
.footer-legal a:hover { color: var(--white); }
.footer-legal .privacy { color: rgba(255,255,255,.7); font-weight: 600; }
.copyright { font-size: .82rem; color: rgba(255,255,255,.3); }

/* --- Back to Top --- */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-primary-lg); z-index: 999;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    font-size: 1.1rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
    background: var(--primary-dark); transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(14,165,160,.4);
}

/* --- AOS Animations --- */
[data-aos] { opacity: 0; transition: all .7s cubic-bezier(.4,0,.2,1); }
[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-down"] { transform: translateY(-40px); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos="fade-in"] { transform: none; }
[data-aos="zoom-in"] { transform: scale(.9); }
[data-aos="zoom-out"] { transform: scale(1.1); }
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }
[data-aos][data-aos-delay="300"] { transition-delay: .3s; }
[data-aos][data-aos-delay="400"] { transition-delay: .4s; }
[data-aos][data-aos-delay="500"] { transition-delay: .5s; }
[data-aos][data-aos-delay="600"] { transition-delay: .6s; }

/* --- Page Hero (Sub Pages) --- */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0f1c32 0%, var(--secondary) 40%, #1a3a5c 100%);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255,255,255,.03) 1px, transparent 0);
    background-size: 40px 40px;
}
.page-hero::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(14,165,160,.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, 40%);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 16px;
}
.breadcrumb a, .breadcrumb span {
    font-size: .85rem; color: rgba(255,255,255,.5);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { font-size: .7rem; }
.breadcrumb .current { color: var(--white); font-weight: 500; }
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900; color: var(--white);
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 1.1rem; color: rgba(255,255,255,.6);
    max-width: 540px;
}

/* --- About Page --- */

/* CEO / Doctor Message */
.about-ceo { background: var(--white); }
.ceo-grid {
    display: grid; grid-template-columns: 380px 1fr;
    gap: 60px; align-items: start;
}
.ceo-photo-wrapper {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl); position: relative;
}
.ceo-photo-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--gray-300), var(--gray-400));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--gray-600); gap: 12px;
}
.ceo-photo-placeholder i { font-size: 4rem; opacity: .4; }
.ceo-photo-badge {
    position: absolute; bottom: 24px; left: 24px; right: 24px;
    padding: 16px 20px; border-radius: var(--radius);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.ceo-photo-badge h4 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.ceo-photo-badge span { font-size: .82rem; color: var(--primary); font-weight: 600; }

.ceo-message { font-size: .95rem; color: var(--gray-700); line-height: 2; }
.ceo-message .quote {
    font-size: 1.3rem; font-weight: 700; color: var(--primary);
    line-height: 1.6; margin-bottom: 24px; padding-left: 24px;
    border-left: 4px solid var(--accent);
    font-style: italic;
}
.ceo-message p { margin-bottom: 16px; }
.ceo-name {
    margin-top: 32px; text-align: right;
    font-size: .95rem; color: var(--gray-600);
}
.ceo-name strong {
    display: block; font-size: 1.3rem;
    color: var(--dark); font-weight: 700;
}
.ceo-signature {
    display: block; margin-top: 8px;
    font-family: var(--font-display);
    font-size: 1.5rem; color: var(--primary);
    font-style: italic;
}

/* Vision Cards */
.vision-section { background: var(--gray-100); }
.vision-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vision-card {
    text-align: center; padding: 48px 32px;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative; overflow: hidden;
    border: 1px solid var(--gray-200);
}
.vision-card::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transition: transform .4s;
}
.vision-card:hover::after { transform: scaleX(1); }
.vision-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-6px);
    border-color: transparent;
}
.vision-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 24px;
    transition: var(--transition);
}
.vision-card:hover .vision-icon {
    background: var(--primary); color: var(--white);
    transform: scale(1.1);
}
.vision-card h3 {
    font-size: 1.2rem; font-weight: 700;
    color: var(--dark); margin-bottom: 12px;
}
.vision-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.7; }

/* About Features Grid */
.about-features-section { background: var(--white); }
.about-features-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center;
}
.about-image { position: relative; }
.img-wrapper {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-img-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--white); gap: 12px;
}
.about-img-placeholder i { font-size: 4rem; opacity: .6; }
.about-img-placeholder span { font-size: 1.1rem; font-weight: 500; opacity: .8; }
.experience-badge {
    position: absolute; bottom: -30px; right: -30px;
    width: 140px; height: 140px;
    background: var(--primary); border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--white); box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
}
.exp-number {
    font-size: 2.8rem; font-weight: 900;
    font-family: var(--font-display); line-height: 1;
}
.exp-text { font-size: .65rem; text-align: center; opacity: .8; line-height: 1.3; }

.about-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0;
}
.feature-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 16px; border-radius: var(--radius-sm);
    background: var(--gray-100); transition: var(--transition);
}
.feature-item:hover { background: var(--primary-light); }
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
    transition: var(--transition);
}
.feature-item:hover .feature-icon {
    background: var(--primary); color: var(--white);
}
.feature-item h4 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.feature-item p { font-size: .82rem; color: var(--gray-600); }

/* Timeline / History */
.history-section { background: var(--white); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 50%;
    top: 0; bottom: 0; width: 2px;
    background: var(--gray-300); transform: translateX(-50%);
}
.timeline-item {
    display: flex; align-items: flex-start;
    margin-bottom: 40px; position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-year {
    width: 50%; padding: 0 40px;
    font-size: 1.8rem; font-weight: 900;
    font-family: var(--font-display);
    color: var(--primary);
}
.timeline-content {
    width: 50%; padding: 0 40px;
}
.timeline-content h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.timeline-content p { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }
.timeline-dot {
    position: absolute; left: 50%; top: 8px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--primary); border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
    transform: translateX(-50%); z-index: 1;
}
.timeline-dot.highlight {
    width: 20px; height: 20px;
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--accent), 0 0 15px rgba(20,196,190,.3);
}

/* About Stats */
.about-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    margin-top: 60px;
}
.about-stat-card {
    text-align: center; padding: 32px 20px;
    border-radius: var(--radius); background: var(--white);
    box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.about-stat-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.about-stat-num {
    font-size: 2.5rem; font-weight: 900;
    font-family: var(--font-display); color: var(--primary);
    line-height: 1;
}
.about-stat-suffix { font-size: 1rem; font-weight: 600; color: var(--accent); }
.about-stat-label {
    display: block; font-size: .82rem;
    color: var(--gray-600); margin-top: 8px;
}

/* --- Board Page --- */
.board-section { background: var(--white); }

/* Board Tabs */
.board-tabs {
    display: flex; gap: 4px; margin-bottom: 32px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0; overflow-x: auto;
}
.board-tab {
    padding: 12px 24px; font-size: .95rem; font-weight: 600;
    color: var(--gray-500); cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px; transition: var(--transition);
    white-space: nowrap; background: none;
    font-family: var(--font-main);
}
.board-tab.active,
.board-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Board Search */
.board-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.board-count { font-size: .9rem; color: var(--gray-600); }
.board-count strong { color: var(--primary); font-weight: 700; }
.board-search {
    display: flex; gap: 8px;
    max-width: 380px;
}
.board-search select {
    padding: 10px 14px; border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm); outline: none;
    font-size: .88rem; color: var(--gray-700);
    background: var(--white); min-width: 100px;
}
.board-search input {
    flex: 1; padding: 10px 16px;
    border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
    outline: none; font-size: .9rem;
    transition: var(--transition);
}
.board-search input:focus { border-color: var(--primary); }
.board-search button {
    padding: 10px 20px; background: var(--primary);
    color: var(--white); border-radius: var(--radius-sm);
    font-weight: 600; font-size: .88rem;
    transition: var(--transition);
}
.board-search button:hover { background: var(--primary-dark); }

/* Board Table */
.board-table-wrapper {
    overflow-x: auto; border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.board-table {
    width: 100%; border-collapse: collapse; min-width: 600px;
}
.board-table thead { background: var(--gray-100); }
.board-table th {
    padding: 14px 16px; font-size: .82rem;
    font-weight: 600; color: var(--gray-700);
    text-align: left; border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}
.board-table td {
    padding: 16px; border-bottom: 1px solid var(--gray-200);
    font-size: .9rem; color: var(--gray-700);
}
.board-table tbody tr { transition: var(--transition); cursor: pointer; }
.board-table tbody tr:hover { background: var(--gray-100); }
.board-table tbody tr:last-child td { border-bottom: none; }
.board-table .num { width: 60px; text-align: center; color: var(--gray-500); font-size: .85rem; }
.board-table .title-cell { font-weight: 500; }
.board-table .title-cell a { color: var(--gray-800); }
.board-table .title-cell a:hover { color: var(--primary); }
.board-table .title-cell .new-badge {
    display: inline-block; padding: 2px 6px;
    background: var(--danger); color: var(--white);
    font-size: .65rem; font-weight: 700;
    border-radius: 3px; margin-left: 6px;
    vertical-align: middle;
}
.board-table .title-cell .file-badge {
    display: inline-block; padding: 2px 6px;
    background: var(--gray-200); color: var(--gray-600);
    font-size: .65rem; font-weight: 600;
    border-radius: 3px; margin-left: 6px;
    vertical-align: middle;
}
.board-table .date { color: var(--gray-500); font-size: .85rem; white-space: nowrap; }
.board-table .views { color: var(--gray-500); font-size: .85rem; text-align: center; }
.board-table .author { color: var(--gray-600); font-size: .85rem; }

/* Board Card View */
.board-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.board-card {
    border-radius: var(--radius); overflow: hidden;
    background: var(--white); border: 1px solid var(--gray-200);
    transition: var(--transition); cursor: pointer;
}
.board-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
    border-color: transparent;
}
.board-card-thumb {
    aspect-ratio: 16/9; background: var(--gray-200);
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); font-size: 2rem;
}
.board-card-body { padding: 20px; }
.board-card-body .category {
    font-size: .75rem; font-weight: 600; color: var(--primary);
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px;
}
.board-card-body h3 {
    font-size: 1rem; font-weight: 700; color: var(--dark);
    margin-bottom: 8px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.board-card-body p {
    font-size: .85rem; color: var(--gray-600); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.board-card-meta {
    display: flex; justify-content: space-between;
    padding: 12px 20px; border-top: 1px solid var(--gray-200);
    font-size: .8rem; color: var(--gray-500);
}

/* View Toggle */
.view-toggle { display: flex; gap: 4px; }
.view-toggle button {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; color: var(--gray-500);
    border: 1px solid var(--gray-300);
    transition: var(--transition);
}
.view-toggle button.active,
.view-toggle button:hover {
    color: var(--primary); border-color: var(--primary);
    background: var(--primary-light);
}

/* Pagination */
.pagination {
    display: flex; justify-content: center; gap: 4px;
    margin-top: 40px;
}
.page-btn {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; font-weight: 500;
    color: var(--gray-600); background: var(--white);
    border: 1px solid var(--gray-300);
    transition: var(--transition);
    font-family: var(--font-display);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active {
    background: var(--primary); color: var(--white);
    border-color: var(--primary);
}
.page-btn.disabled { opacity: .4; pointer-events: none; }
.page-btn.nav-arrow { font-size: .8rem; }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    text-align: center; padding: 100px 0;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(20,196,190,.2) 0%, transparent 50%);
}
.cta-section::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255,255,255,.04) 1px, transparent 0);
    background-size: 40px 40px;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white); font-weight: 300;
    margin-bottom: 16px; line-height: 1.3;
}
.cta-content h2 strong { font-weight: 900; }
.cta-content p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Badges / Tags --- */
.badge {
    display: inline-block; padding: 4px 12px;
    border-radius: var(--radius-full); font-size: .75rem; font-weight: 600;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-secondary { background: #E8EDF4; color: var(--secondary); }
.badge-success { background: #D1FAE5; color: #059669; }
.badge-warning { background: #FEF3C7; color: #B45309; }
.badge-danger { background: #FEE2E2; color: #DC2626; }
.badge-info { background: #DBEAFE; color: #1D4ED8; }

/* --- Tabs Generic --- */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tab-btn {
    padding: 10px 24px; border-radius: var(--radius-full);
    font-size: .9rem; font-weight: 500;
    color: var(--gray-600); background: var(--gray-100);
    border: 1px solid var(--gray-300);
    transition: var(--transition); cursor: pointer;
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active {
    background: var(--primary); color: var(--white);
    border-color: var(--primary);
}

/* --- Testimonial / Review Card --- */
.testimonial-card {
    padding: 32px; border-radius: var(--radius-lg);
    background: var(--white); box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition); position: relative;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md); transform: translateY(-4px);
}
.testimonial-card::before {
    content: '\201C'; position: absolute; top: 20px; right: 24px;
    font-size: 4rem; font-family: serif;
    color: var(--primary-light); line-height: 1;
}
.testimonial-stars { margin-bottom: 16px; color: var(--warning); font-size: .9rem; }
.testimonial-text {
    font-size: .95rem; color: var(--gray-700); line-height: 1.8;
    margin-bottom: 20px; font-style: italic;
}
.testimonial-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 16px; border-top: 1px solid var(--gray-200);
}
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700;
    font-family: var(--font-display);
}
.testimonial-author-info h5 { font-size: .9rem; font-weight: 700; color: var(--dark); }
.testimonial-author-info span { font-size: .8rem; color: var(--gray-500); }

/* --- FAQ Section --- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    border-radius: var(--radius); border: 1px solid var(--gray-200);
    background: var(--white); overflow: hidden;
    transition: var(--transition);
}
.faq-item.active { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.faq-question {
    padding: 20px 24px; display: flex;
    justify-content: space-between; align-items: center;
    cursor: pointer; font-weight: 600;
    font-size: .95rem; color: var(--dark);
    transition: var(--transition); gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-item.active .faq-question { color: var(--primary); }
.faq-question i { transition: transform .3s; font-size: .8rem; color: var(--gray-500); flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: .9rem; color: var(--gray-600); line-height: 1.8;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray-600); }
.text-white { color: var(--white); }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-900 { font-weight: 900; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* --- Number Counter Animation --- */
.counter-value {
    font-family: var(--font-display);
    font-weight: 900;
}

/* --- Swiper Overrides (if using swiper) --- */
.swiper-pagination-bullet { background: var(--gray-400); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--primary); width: 24px; border-radius: 4px; }
.swiper-button-next,
.swiper-button-prev {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--white); box-shadow: var(--shadow-md);
    color: var(--primary);
}
.swiper-button-next::after,
.swiper-button-prev::after { font-size: .9rem; font-weight: 700; }

/* --- Accordion --- */
.accordion { display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
    border: 1px solid var(--gray-200); border-radius: var(--radius);
    overflow: hidden; background: var(--white);
}
.accordion-header {
    padding: 16px 20px; display: flex; justify-content: space-between;
    align-items: center; cursor: pointer; font-weight: 600;
    color: var(--dark); transition: var(--transition);
}
.accordion-header:hover { color: var(--primary); }
.accordion-body {
    padding: 0 20px; max-height: 0; overflow: hidden;
    transition: max-height .3s, padding .3s;
}
.accordion-item.open .accordion-body {
    max-height: 500px; padding-bottom: 20px;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; padding: 24px;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
    width: 100%; max-width: 600px;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl); overflow: hidden;
    transform: translateY(20px) scale(.95);
    transition: var(--transition);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 28px; border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.modal-close {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-500); font-size: 1.2rem;
    transition: var(--transition);
}
.modal-close:hover { background: var(--gray-100); color: var(--dark); }
.modal-body { padding: 28px; }
.modal-footer {
    display: flex; justify-content: flex-end; gap: 12px;
    padding: 20px 28px; border-top: 1px solid var(--gray-200);
    background: var(--gray-100);
}

/* --- Alert / Notice --- */
.alert {
    padding: 16px 20px; border-radius: var(--radius);
    font-size: .9rem; display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 20px;
}
.alert i { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.alert-info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }
.alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.alert-danger { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* --- Skeleton Loading --- */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Responsive Design --- */

/* Tablet landscape */
@media (max-width: 1024px) {
    :root { --section-padding: 100px; }

    .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .staff-grid { grid-template-columns: repeat(2, 1fr); }
    .directions-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-features-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .ceo-grid { grid-template-columns: 1fr; }
    .vision-cards { grid-template-columns: repeat(2, 1fr); }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .board-cards { grid-template-columns: repeat(2, 1fr); }

    .hero-stats-inner { gap: 40px; }

    .section-header:not(.center) {
        flex-direction: column; align-items: flex-start; gap: 16px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    :root {
        --header-h: 70px;
        --section-padding: 80px;
    }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 85%; max-width: 380px; height: 100vh;
        background: var(--white); flex-direction: column;
        padding: 100px 32px 32px; gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right .4s cubic-bezier(.4,0,.2,1);
        z-index: 998; overflow-y: auto;
    }
    .nav-menu.open { right: 0; }
    .nav-menu .nav-link {
        color: var(--gray-700); padding: 14px 0;
        border-bottom: 1px solid var(--gray-200);
        width: 100%; border-radius: 0;
        font-size: 1rem;
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active { color: var(--primary); background: none; }
    .dropdown-menu {
        position: static; box-shadow: none;
        opacity: 1; visibility: visible;
        transform: none; padding: 0 0 0 16px;
        border: none; min-width: 0;
    }
    .dropdown-menu a { padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
    .hamburger { display: flex; z-index: 999; }

    .nav-actions .btn-consult { display: none; }
    .nav-actions .btn-lang { display: none; }

    /* Mobile menu close button */
    .mobile-nav-header {
        position: absolute; top: 0; left: 0; right: 0;
        padding: 20px 32px; display: flex;
        justify-content: space-between; align-items: center;
        border-bottom: 1px solid var(--gray-200);
    }
    .mobile-nav-close {
        width: 36px; height: 36px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        color: var(--gray-600); font-size: 1.2rem;
    }

    /* Grids */
    .guide-grid { grid-template-columns: 1fr; }
    .programs-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .staff-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .contact-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .vision-cards { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .board-cards { grid-template-columns: 1fr; }

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

    /* Footer */
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }

    /* Hero */
    .hero-stats-inner { flex-wrap: wrap; gap: 24px; justify-content: center; }
    .stat-item { min-width: 120px; }

    /* Timeline */
    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column; text-align: left; padding-left: 50px;
    }
    .timeline-year, .timeline-content { width: 100%; padding: 0; }
    .timeline-dot { left: 20px; }
    .timeline-year { font-size: 1.3rem; margin-bottom: 8px; }

    /* Board */
    .board-toolbar { flex-direction: column; align-items: stretch; }
    .board-search { max-width: 100%; }
    .board-table .hide-mobile { display: none; }

    /* Page Hero */
    .page-hero { padding: 130px 0 60px; }
}

/* Mobile */
@media (max-width: 480px) {
    :root { --section-padding: 60px; }

    .container { padding: 0 16px; }

    .hero-content h1 { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-badge { font-size: .75rem; padding: 6px 16px; letter-spacing: 1.5px; }

    .hero-stats-inner { gap: 16px; }
    .stat-num { font-size: 1.6rem; }
    .stat-label { font-size: .7rem; }

    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: .95rem; }

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

    .experience-badge { width: 100px; height: 100px; bottom: -20px; right: -10px; }
    .exp-number { font-size: 2rem; }

    .contact-form-wrapper { padding: 24px; }

    .cta-section { padding: 60px 0; }
    .cta-content h2 { font-size: 1.5rem; }

    .page-hero h1 { font-size: 1.8rem; }

    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }

    .board-tabs { gap: 0; }
    .board-tab { padding: 10px 14px; font-size: .85rem; }

    .pagination { gap: 2px; }
    .page-btn { width: 36px; height: 36px; font-size: .82rem; }

    .guide-flow { flex-direction: column; }
    .guide-flow-arrow { transform: rotate(90deg); }

    .program-footer { flex-direction: column; gap: 12px; align-items: flex-start; }

    .staff-info { padding: 20px; }
    .staff-credentials li { font-size: .78rem; }

    .gallery-filters { gap: 6px; }
    .gallery-filter { padding: 6px 14px; font-size: .8rem; }

    .about-stats { grid-template-columns: 1fr; }
    .about-stat-card { padding: 24px 16px; }

    .footer-links h4 { margin-bottom: 14px; }
}

/* --- Print Styles --- */
@media print {
    #header, .hero-section, .back-to-top, .preloader,
    .hero-stats, .hero-scroll, .cta-section { display: none; }
    .section { padding: 40px 0; }
    body { color: #000; }
    .footer { background: #fff; color: #333; padding: 20px 0; }
}

/* --- 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; }
    [data-aos] { opacity: 1; transform: none; }
}

/* --- Dark pattern background for sections --- */
.bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255,255,255,.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}
.bg-pattern-light {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(14,165,160,.04) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* --- Gradient text utility --- */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Divider --- */
.divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px; margin: 16px 0;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* --- Floating consultation button (mobile) --- */
.floating-consult {
    display: none; position: fixed;
    bottom: 20px; left: 20px; right: 20px;
    z-index: 998; padding: 14px 24px;
    background: var(--primary); color: var(--white);
    border-radius: var(--radius-full);
    text-align: center; font-weight: 700;
    font-size: .95rem; box-shadow: var(--shadow-primary-lg);
    transition: var(--transition);
}
.floating-consult:hover { background: var(--primary-dark); }
.floating-consult i { margin-right: 8px; }

@media (max-width: 768px) {
    .floating-consult { display: block; }
    .back-to-top { bottom: 80px; }
}
@media (max-width: 480px) {
    .floating-consult {
        bottom: 16px; left: 16px; right: 16px;
        padding: 12px 20px; font-size: .9rem;
    }
    .back-to-top { bottom: 72px; }
}
