/* 청담디어 모바일 최적화 스타일시트 - Mobile First Design */

/* CSS 변수 */
:root {
    --primary: #a67c52;
    --primary-dark: #8b6644;
    --primary-light: #c29b75;
    --secondary: #1a1a1a;
    --accent: #d4af37;
    --bg-light: #faf8f5;
    --bg-white: #ffffff;
    --text-dark: #2c2c2c;
    --text-gray: #666666;
    --text-light: #999999;
    --border-color: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 14px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Pretendard', system-ui, 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==================== LANGUAGE SELECTOR ==================== */
.lang-selector {
    position: fixed;
    top: 80px;
    right: 12px;
    z-index: 999;
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 16px;
    transition: var(--transition);
    color: var(--text-gray);
    border: none;
    cursor: pointer;
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: var(--bg-white);
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    transition: var(--transition);
    padding: 12px 0;
}

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

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.header.scrolled .logo-text h1 {
    color: var(--secondary);
}

.logo-en {
    display: block;
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Mobile Navigation */
.nav {
    display: none;
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

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

.header.scrolled .mobile-toggle span {
    background: var(--secondary);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.9;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    min-height: 48px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    max-width: 300px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.3);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(166, 124, 82, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(166, 124, 82, 0.1);
    border-radius: 20px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== PHILOSOPHY SECTION ==================== */
.philosophy {
    background: var(--bg-light);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

.philosophy-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.philosophy-card:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-white);
}

.philosophy-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.philosophy-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==================== PROGRAMS SECTION ==================== */
.programs {
    background: var(--bg-white);
}

.programs-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.program-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.program-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:active .program-image img {
    transform: scale(1.05);
}

.program-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
}

.badge-premium {
    background: linear-gradient(135deg, #d4af37 0%, #f9d978 100%);
}

.badge-special {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.program-content {
    padding: 20px;
}

.program-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.program-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.program-features li {
    font-size: 0.85rem;
    color: var(--text-gray);
    padding-left: 4px;
}

/* ==================== SYSTEM SECTION ==================== */
.system {
    background: var(--bg-light);
}

.system-timeline {
    margin-top: 32px;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
    padding-bottom: 24px;
}

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

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==================== DOCTORS SECTION ==================== */
.doctors {
    background: var(--bg-white);
}

.doctors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}

.doctor-card {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.doctor-image {
    height: 280px;
    overflow: hidden;
    background: var(--border-color);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info {
    padding: 20px;
}

.doctor-position {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(166, 124, 82, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.doctor-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.doctor-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.doctor-credentials {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doctor-credentials li {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ==================== GUIDE SECTION ==================== */
.guide {
    background: var(--bg-light);
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

.guide-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.guide-number {
    position: absolute;
    top: -12px;
    left: 20px;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.guide-icon {
    width: 40px;
    height: 40px;
    background: rgba(166, 124, 82, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    margin-top: 8px;
}

.guide-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.guide-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.guide-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.guide-cta {
    background: var(--gradient-primary);
    padding: 32px 20px;
    border-radius: 16px;
    text-align: center;
    margin-top: 32px;
}

.guide-cta h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.guide-cta p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    line-height: 1.6;
}

.guide-cta .btn {
    background: var(--bg-white);
    color: var(--primary);
}

/* ==================== REVIEWS SECTION ==================== */
.reviews {
    background: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

.review-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.review-card:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-rating {
    font-size: 0.9rem;
    color: #f59e0b;
    letter-spacing: 2px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.review-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.review-content {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.review-treatment {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.treatment-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(166, 124, 82, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
}

.reviews-cta {
    text-align: center;
    margin-top: 40px;
    padding: 32px 20px;
    background: var(--bg-white);
    border-radius: 16px;
}

.reviews-note {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.reviews-note strong {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--bg-white);
    padding-bottom: 100px; /* Space for bottom nav */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
}

.contact-info-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.info-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

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

.info-phone a {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.hours-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hours-list li {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Form */
.reservation-form {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
}

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

.btn-full {
    width: 100%;
}

/* ==================== MOBILE BOTTOM NAVIGATION ==================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    z-index: 999;
    border-top: 1px solid var(--border-color);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 12px 8px;
    min-height: 56px;
    color: var(--text-gray);
    transition: var(--transition);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.mobile-bottom-nav .nav-item svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.mobile-bottom-nav .nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--primary);
}

.mobile-bottom-nav .nav-item:active {
    transform: scale(0.95);
}

.mobile-bottom-nav .nav-cta {
    color: var(--primary);
    position: relative;
}

.mobile-bottom-nav .nav-cta svg {
    stroke-width: 2.5;
}

/* Hide bottom nav on desktop */
@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
    
    .contact {
        padding-bottom: 60px !important;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--secondary);
    color: var(--bg-white);
    padding: 40px 0 100px; /* Extra padding for mobile bottom nav */
}

@media (min-width: 768px) {
    .footer {
        padding: 40px 0 24px;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-en {
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:active {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 8px;
}

/* ==================== TABLET (768px+) ==================== */
@media (min-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 32px;
    }

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

    .hero-btns {
        flex-direction: row;
        justify-content: center;
    }

    .btn {
        width: auto;
        min-width: 180px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .philosophy-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .programs-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 40px;
    }

    .contact-info-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }
}

/* ==================== DESKTOP (1024px+) ==================== */
@media (min-width: 1024px) {
    html {
        font-size: 16px;
    }

    .container {
        max-width: 1200px;
        padding: 0 40px;
    }

    .nav {
        display: block;
    }

    .mobile-toggle {
        display: none;
    }

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

    .nav-list a {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--bg-white);
        position: relative;
        padding: 8px 0;
    }

    .header.scrolled .nav-list a {
        color: var(--text-dark);
    }

    .nav-list a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--accent);
        transition: var(--transition);
    }

    .nav-list a:hover::after {
        width: 100%;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .programs-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==================== ANIMATIONS ==================== */
.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.card-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== UTILITIES ==================== */
.text-center {
    text-align: center;
}

.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; }

/* ==================== SEO SECTIONS (NEW) ==================== */
.why-choose-us {
    background: var(--bg-white);
}

.why-content {
    margin-top: 32px;
}

.why-article {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.why-article h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.why-article h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-article p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.why-article strong {
    color: var(--primary);
    font-weight: 600;
}

.why-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.highlight-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.highlight-box h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 700;
}

.highlight-box p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.treatments-overview {
    background: var(--bg-light);
}

.treatments-overview h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 32px;
    font-weight: 800;
}

.treatment-detail {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.treatment-detail h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.treatment-detail p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.treatment-detail ul {
    list-style: none;
    padding-left: 0;
}

.treatment-detail ul li {
    color: var(--text-gray);
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.treatment-detail ul li:last-child {
    border-bottom: none;
}

.treatment-detail ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.treatment-detail strong {
    color: var(--secondary);
    font-weight: 600;
}

/* Tablet responsive for SEO sections */
@media (min-width: 768px) {
    .why-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 32px;
    }

    .why-highlights {
        grid-template-columns: 1fr;
    }

    .treatments-overview h2 {
        font-size: 2.2rem;
    }

    .treatment-detail {
        padding: 32px;
    }
}

/* ===================================
   Treatment Information Section
   =================================== */
.treatment-info {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f7 100%);
    padding: 80px 20px;
}

.treatment-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.treatment-item {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.treatment-item h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.treatment-content {
    color: var(--text-gray);
    line-height: 1.8;
}

.treatment-content p {
    margin-bottom: 15px;
}

.treatment-content strong {
    color: var(--secondary);
    font-weight: 600;
}

.treatment-content ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.treatment-content ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.7;
}

.treatment-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing-section {
    background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%);
    padding: 80px 20px;
}

.pricing-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pricing-notice p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.pricing-category {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-item {
    background: linear-gradient(135deg, #fafbff 0%, #ffffff 100%);
    border: 2px solid #e8ecf4;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-3px);
}

.price-item.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
}

.price-item.popular {
    border-color: #ff6b9d;
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
}

.price-badge {
    position: absolute;
    top: -2px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.price-item.popular .price-badge {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8da1 100%);
}

.price-info h4 {
    color: var(--secondary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.price-brands {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 5px;
}

.price-rating {
    color: #f59e0b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
}

.price-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    margin-top: 15px;
}

.price-original {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price-special {
    color: var(--secondary);
    font-size: 1.4rem;
    font-weight: 700;
}

.price-usd {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    background: #f0f4ff;
    padding: 4px 12px;
    border-radius: 20px;
}

.pricing-footer {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pricing-note,
.pricing-comparison {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.pricing-note h4,
.pricing-comparison h4 {
    color: var(--secondary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.pricing-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-note ul li {
    padding: 8px 0;
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.pricing-comparison p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.pricing-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.3);
}

.cta-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.cta-subtext {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 0;
}

/* Tablet and Desktop Responsive */
@media (min-width: 768px) {
    .treatment-grid,
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: 30px;
    }
    
    .price-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .price-value {
        margin-top: 0;
        align-items: flex-end;
    }
}

@media (min-width: 1024px) {
    .treatment-info,
    .pricing-section {
        padding: 100px 40px;
    }
}

/* ==================== TREATMENT INFO SECTION ==================== */
.treatment-info {
    background: var(--bg-light);
    padding: 60px 0;
}

.treatment-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.treatment-item {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.treatment-item h3 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-light);
}

.treatment-content p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.treatment-content p strong {
    color: var(--secondary);
    font-weight: 600;
    display: block;
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.treatment-content ul {
    list-style: none;
    margin: 16px 0;
    padding-left: 0;
}

.treatment-content ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.7;
    color: var(--text-gray);
}

.treatment-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ==================== PRICING SECTION ==================== */
.pricing-section {
    background: var(--bg-white);
    padding: 60px 0;
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 40px;
}

.pricing-category {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.pricing-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary);
}

.pricing-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.pricing-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-color: var(--primary-light);
}

.pricing-item.featured {
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.pricing-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-name strong {
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 600;
}

.pricing-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.price-from {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-note {
    font-size: 0.85rem;
    color: var(--accent);
    font-style: italic;
}

.pricing-notes {
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f4ff 100%);
    border-radius: 16px;
    padding: 32px;
    margin-top: 48px;
    border-left: 4px solid var(--primary);
}

.pricing-notes h4 {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.pricing-notes ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-notes ul li {
    padding: 12px 0;
    line-height: 1.7;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.pricing-disclaimer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (min-width: 768px) {
    .treatment-grid {
        gap: 40px;
    }
    
    .treatment-item {
        padding: 40px;
    }
    
    .treatment-item h3 {
        font-size: 1.75rem;
    }
    
    .pricing-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 24px;
    }
    
    .pricing-price {
        align-items: flex-end;
        text-align: right;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
}

/* ==================== RESPONSIVE - DESKTOP ==================== */
@media (min-width: 1024px) {
    .treatment-info,
    .pricing-section {
        padding: 80px 0;
    }
    
    .treatment-item {
        padding: 48px;
    }
    
    .treatment-item h3 {
        font-size: 2rem;
    }
    
    .pricing-grid {
        gap: 56px;
    }
    
    .pricing-category {
        padding: 40px;
    }
    
    .pricing-notes {
        padding: 40px;
    }
}
