@charset "utf-8";

/* =========================================
   RESET & VARIABLES
   ========================================= */
:root {
    /* Color Palette - Calm Forest Green (Natural Healing & Traditional) */
    --color-primary: #3D7C5B;
    /* Deep Emerald Green - Natural Healing */
    --color-primary-light: #E8F3ED;
    /* Light Mint Beige - Soft & Fresh */
    --color-secondary: #6B8E7A;
    /* Calm Sage Green - Gentle & Professional */
    --color-text-main: #2D3748;
    /* Soft Charcoal - Clear but not too dark */
    --color-text-light: #5A6C76;
    /* Medium Blue Grey - Gentle Secondary Text */
    --color-bg-body: #FFFFFF;
    /* Pure White - Maximum Clarity */
    --color-bg-section: #F5F9F7;
    /* Very Light Mint White - Natural & Clean */
    --color-accent: #52A080;
    /* Bright Emerald - Fresh & Energetic */
    --color-white: #ffffff;
    --color-naver: #03C75A;
    /* Naver Green */

    /* Spacing & Layout */
    --container-width: 1200px;
    /* Slightly wider */
    --border-radius-card: 24px;
    /* Large rounded corners */
    --border-radius-btn: 50px;
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 8px 20px rgba(0, 0, 0, 0.12);

    /* Fonts */
    --font-sans: 'Pretendard', 'Noto Sans KR', sans-serif;
    --font-serif: 'Noto Serif KR', serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-body);
    word-break: keep-all;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

ul,
li {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   HEADER
   ========================================= */
/* Header */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

header.scrolled {
    border-color: var(--color-border);
}



.logo a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-secondary);
    transition: color 0.2s;
}

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

.btn-header-naver {
    background: var(--color-naver);
    color: white;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: opacity 0.2s;
    box-shadow: 0 4px 10px rgba(3, 199, 90, 0.2);
}

.btn-header-naver:hover {
    opacity: 0.9;
    box-shadow: 0 6px 14px rgba(3, 199, 90, 0.3);
}

/* Constrained Header Container as per user request */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1080px;
    /* Tighter than main content */
    margin: 0 auto;
    padding: 0 1rem;
}


/* Dropdown Menu */
.nav-links li {
    position: relative;
    padding-bottom: 0;
    /* Align fix */
}

/* Dropdown Content (Hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    margin-top: 10px;
    /* Spacing from parent */
}

/* Show the dropdown menu on hover */
.nav-links li:hover .dropdown-content {
    display: block;
}

/* Links inside the dropdown */
.dropdown-content li {
    width: 100%;
    text-align: center;
    padding: 0;
}

.dropdown-content a {
    color: var(--color-primary);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: var(--color-primary);
    font-weight: 700;
}

/* Bridge to prevent closing when moving mouse */
.nav-links li::after {
    content: '';
    position: absolute;
    height: 20px;
    width: 100%;
    bottom: -10px;
    left: 0;
}

/* =========================================
   HERO SECTION
   ========================================= */
.section-hero {
    position: relative;
    padding-top: 140px;
    /* Header height + space */
    padding-bottom: 100px;
    background: linear-gradient(to right, rgba(232, 245, 245, 0.7) 0%, rgba(232, 245, 245, 0.0) 100%), url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.3;
    color: var(--color-text-main);
    margin-bottom: 24px;
    font-weight: 400;
    /* Elegant look */
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 40px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--border-radius-btn);
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.btn-hero:hover {
    background: var(--color-accent);
    /* Bright Emerald on hover */
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(82, 160, 128, 0.3);
}


/* =========================================
   SUBPAGE HEROS (Unified Standard)
   ========================================= */
.section-sub-hero {
    padding: 10rem 0 8rem;
    /* Tall, spacious */
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--color-text-main);
}

/* Overlay for readability */
.section-sub-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    /* Soft warm white overlay */
    backdrop-filter: blur(2px);
    z-index: 1;
}

.section-sub-hero .container {
    position: relative;
    z-index: 2;
}

/* Specialized Backgrounds */
.hero-pain {
    background-image: url('images/hero_pain.png');
}

.hero-immune {
    background-image: url('images/hero_immune.png');
}

.hero-immune-women {
    background-image: url('images/women_immune_hero_bg.png');
}

.hero-diet {
    background-image: url('diet-bg.jpg');
}

.hero-traffic {
    background-image: url('images/hero_traffic.jpg');
}

.hero-remote {
    background-image: url('images/hero_remote.png');
}

.hero-about {
    background-image: none;
}

/* Typography Standard (Matching original Pain Hero) */
.section-sub-hero h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    /* Standardized Large Title */
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 400;
}

.section-sub-hero .hero-subtitle {
    display: block;
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section-sub-hero p {
    font-size: 1.15rem;
    color: var(--color-text-main);
    line-height: 1.8;
    opacity: 0.9;
}

/* Decorative Circles */
.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary-light);
    opacity: 0.5;
    z-index: 1;
}

.c1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.c2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    left: -50px;
}

/* =========================================
   QUICK LINKS (Floating / Sticky)
   ========================================= */
.quick-menu {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: #fff;
    padding: 20px 15px;
    border-radius: 40px;
    box-shadow: var(--shadow-float);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-main);
    text-align: center;
    min-height: 44px;
    /* Better touch target */
    justify-content: center;
}

.quick-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: 0.3s;
}

.quick-item:hover .quick-icon {
    background: var(--color-primary);
    color: #fff;
}

/* =========================================
   SECTIONS GENERAL
   ========================================= */
section {
    padding: 100px 0;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-secondary);
}

/* =========================================
   STORY / COMPLAINTS (Speech Bubbles)
   ========================================= */
.section-story {
    background: var(--color-bg-section);
}

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

.story-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: transform 0.3s;
}

.story-card:hover {
    transform: translateY(-10px);
}

.story-num {
    width: 60px;
    height: 60px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: var(--font-serif);
}

.story-card:hover .story-num {
    background: var(--color-primary);
    color: #fff;
    transition: all 0.3s;
}

.story-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.story-card p {
    color: var(--color-secondary);
    font-size: 1.05rem;
}

/* =========================================
   TREATMENTS (Grid)
   ========================================= */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.treatment-card {
    position: relative;
    height: 180px;
    /* Reduced height for horizontal layout */
    border-radius: var(--border-radius-card);
    overflow: hidden;
    background: #ffffff;
    /* White card */
    display: flex;
    /* Horizontal flex */
    align-items: center;
    /* Center vertically */
    padding: 0 40px 0 160px;
    /* Left padding for icon space */
    color: var(--color-text-main);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f1f5f9;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-float);
    border-color: var(--color-primary-light);
}

.treatment-info {
    position: relative;
    z-index: 2;
    text-align: left;
    /* Text on right, aligned left */
}

.treatment-title {
    font-size: 1.8rem;
    font-family: var(--font-serif);
    margin-bottom: 8px;
    font-weight: 700;
}

.treatment-desc {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--color-secondary);
}

/* Icons positioned on the left */
/* Icons using pseudo-element for blend mode (Simulated Transparency) */
.treatment-card::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    mix-blend-mode: multiply;
    /* Blends creamy background into white */
    z-index: 1;
}

.treatment-card.pain::before {
    background-image: url('images/icon_pain.png');
}

.treatment-card.immune::before {
    background-image: url('images/icon_immune.png');
}

.treatment-card.diet::before {
    background-image: url('images/icon_diet.png');
}

.treatment-card.traffic::before {
    background-image: url('images/icon_traffic.png');
}

/* Clear original background images */
.treatment-card.pain,
.treatment-card.immune,
.treatment-card.diet,
.treatment-card.traffic {
    background-image: none;
}


/* =========================================
   CLINIC TOUR SECTION (Refined & Minimalist)
   ========================================= */
.section-clinic-tour {
    background: #fff;
    padding: 80px 0;
}

.clinic-tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.tour-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tour-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 155, 155, 0.2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.tour-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.98);
}

.tour-card:hover .tour-image img {
    transform: scale(1.03);
    filter: brightness(1);
}

.tour-info {
    padding: 24px 20px;
    text-align: center;
}

.tour-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.tour-info p {
    font-size: 0.9rem;
    color: var(--color-secondary);
    line-height: 1.5;
    opacity: 0.85;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: #f1f5f9;
    padding: 80px 0;
    color: #64748b;
    font-size: 1rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-info h2 {
    color: var(--color-primary);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-contact {
    text-align: right;
}

.contact-phone {
    font-size: 2rem;
    color: var(--color-text-main);
    font-weight: 700;
    font-family: var(--font-serif);
    margin-bottom: 10px;
    display: block;
}

/* =========================================
   WHY US (Numbered)
   ========================================= */
.section-why {
    background: #fff;
    position: relative;
}

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

.numbered-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-card);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.numbered-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary-light);
}

.card-number-box {
    width: 50px;
    height: 50px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.numbered-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.numbered-card p {
    color: var(--color-secondary);
    font-size: 1.05rem;
    flex-grow: 1;
}


/* =========================================
   REMOTE PAGE STYLES (Ported from style.css)
   ========================================= */

/* 2. INTRO (Monochrome BG) */
.section-intro {
    position: relative;
    padding: 10rem 0;
    /* Increased padding */
    color: white;
    background-image: url('public/legacy-bg-v2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Dark Overlay (Warm) */
.section-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 25, 15, 0.75);
    /* Warm dark brown overlay */
    z-index: 1;
}

.intro-layout {
    position: relative;
    z-index: 2;
    /* Text above overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    text-align: center;
    /* Center text */
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    font-weight: 400;
    color: white;
}

.intro-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
}

.intro-clean-graphic {
    width: 260px;
    height: 260px;
    background-color: #FDFDFD;
    border: 1px solid #EAEAEA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    display: none;
    /* Hidden as per original logical but keeping css */
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: #fafafa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-details {
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-primary);
}

.faq-summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-details[open] .faq-summary::after {
    content: '-';
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-secondary);
    line-height: 1.7;
    border-top: 1px solid #f9f9f9;
}

/* Compatibility for old class names */
.card-number {
    width: 50px;
    height: 50px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* Larger for emoji icons */
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1;
    /* Better emoji centering */
}

/* Legal Notice Section */
.legal-notice-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.legal-notice-box {
    background: #fff;
    border-left: 4px solid #f0ad4e;
    /* Warning orange */
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.legal-notice-box h3 {
    font-size: 1.3rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.legal-notice-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-notice-box li {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.7;
    color: var(--color-text-light);
}

.legal-notice-box li:last-child {
    border-bottom: none;
}

.legal-notice-box li strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {

    /* ===== HERO AND HEADER ===== */
    .hero-title {
        font-size: 2rem !important;
        /* Reduced from 2.2rem for better mobile fit */
        line-height: 1.3;
        margin-bottom: 1.25rem;
    }

    .hero-desc {
        font-size: 1.0625rem;
        /* 17px - slightly larger for readability */
        line-height: 1.7;
    }

    .section-hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    /* Hero Label - More prominent */
    .hero-label {
        font-size: 0.875rem;
        padding: 6px 14px;
    }

    /* ===== GRIDS - All to single column ===== */
    .story-grid,
    .why-grid,
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* ===== QUICK MENU - Mobile Bottom Bar ===== */
    .quick-menu {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: space-around;
        padding: 12px 20px;
        border-radius: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        gap: 8px;
    }

    .quick-item {
        flex: 1;
        gap: 4px;
        font-size: 0.75rem;
        min-height: 48px;
        padding: 8px 4px;
    }

    .quick-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .quick-item span {
        font-size: 0.7rem;
        font-weight: 500;
    }

    /* ===== HEADER ADJUSTMENTS ===== */
    .header-container {
        justify-content: space-between;
        padding: 0 1rem;
    }

    /* Hide standard Desktop Nav */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Adjust Treatment Card for Mobile */
    .treatment-card {
        padding: 20px 20px 20px 100px;
        /* Reduce padding */
        height: auto;
        min-height: 140px;
    }

    .treatment-card::before {
        left: 20px;
        width: 60px;
        height: 60px;
    }

    /* Hide sticky on mobile */
    .header-inner {
        justify-content: center;
    }

    /* Simplified footer for mobile */
    .footer-inner {
        flex-direction: column;
        gap: 40px;
        text-align: left;
    }

    .footer-contact {
        text-align: left;
    }
}

/* =========================================
   INNER PAGES (Added for Standardization)
   ========================================= */

/* --- Sub Page Hero (Shared) --- */
.section-sub-hero,
.section-pain-hero,
.section-immune-hero,
.section-diet-hero,
.section-traffic-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-primary-light) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.sub-hero-title,
.section-pain-hero h1,
.section-immune-hero h1,
.section-diet-hero h1,
.section-traffic-hero h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-text-main);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.sub-hero-desc,
.pain-hero-desc,
.immune-hero-desc,
.diet-hero-desc,
.traffic-hero-desc {
    font-size: 1.15rem;
    color: var(--color-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- Director Section (About) --- */
.section-director {
    background-color: var(--color-bg-section);
    padding: 100px 0;
}

.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.director-text {
    flex: 1;
}

.director-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.img-director {
    width: 100%;
    max-width: 400px;
    height: 500px;
    border-radius: var(--border-radius-card);
    /* Rectangular with rounded corners */
    box-shadow: var(--shadow-float);
    object-fit: cover;
    object-position: top center;
    /* Fix for head cropping */
}

.signature-area {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Strengths (About) --- */
.section-strengths {
    background: #fff;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.strength-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-card);
    text-align: center;
    border: 1px solid var(--color-bg-section);
    transition: transform 0.3s;
}

.strength-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary-light);
}

.strength-title {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.strength-card h3 {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    margin-bottom: 16px;
}

/* --- Timeline (About) --- */
.history {
    background: #fff;
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline {
    position: relative;
    padding-left: 50px;
    border-left: 2px solid var(--color-primary-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

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

.timeline-icon {
    position: absolute;
    left: -61px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--color-primary-light);
    color: transparent;
    /* hide text inside */
}

.timeline-content {
    padding-left: 10px;
}

.timeline-year {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-family: var(--font-serif);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

/* --- Philosophy (Cards) --- */
.section-philosophy {
    padding: 100px 0;
    background: #fff;
}

.philosophy-card {
    background: var(--color-bg-section);
    padding: 60px;
    border-radius: var(--border-radius-card);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    font-style: normal;
    line-height: 1.4;
}

/* --- Process Grid --- */
.process-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: #fff;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-card);
    align-items: flex-start;
    border: 1px solid transparent;
}

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

.step-num {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    margin-bottom: 12px;
}

/* --- Solution Grid --- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius-card);
    border: 1px solid var(--color-bg-section);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(61, 124, 91, 0.95) 0%, rgba(82, 160, 128, 0.95) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.solution-card::after {
    content: '자세히보기 →';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    white-space: nowrap;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(61, 124, 91, 0.25);
    border-color: var(--color-primary);
}

.solution-card:hover::before {
    opacity: 0.3;
}

.solution-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.solution-card:hover h3,
.solution-card:hover p {
    opacity: 0.3;
}

.solution-card h3 {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary-light);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.3rem;
}

/* Disable hover effects for no-hover class */
.solution-card.no-hover {
    cursor: default;
}

.solution-card.no-hover::before,
.solution-card.no-hover::after {
    display: none;
}

.solution-card.no-hover:hover {
    transform: none;
    box-shadow: var(--shadow-card);
    border-color: var(--color-bg-section);
}

.solution-card.no-hover:hover h3,
.solution-card.no-hover:hover p {
    opacity: 1;
}

/* --- Principle Grid --- */
.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.principle-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-card);
    text-align: center;
    border: 1px solid var(--color-bg-section);
    box-shadow: var(--shadow-card);
}

.principle-item h3 {
    font-family: var(--font-serif);
    color: var(--color-primary);
    margin: 16px 0;
}

/* --- Checklist --- */
.checklist-box {
    background: var(--color-primary-light);
    padding: 60px;
    border-radius: var(--border-radius-card);
    text-align: center;
    margin-top: 60px;
}

.check-list {
    text-align: left;
    display: inline-block;
    margin-top: 30px;
}

.check-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: #000000;
}

.check-list li::before {
    content: '??';
    color: var(--color-primary);
}

/* --- CTA --- */
.pain-cta,
.section-cta {
    text-align: center;
    padding: 100px 0;
    background: #fff;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(82, 160, 128, 0.3);
}

.btn-secondary {
    background: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* ===== CHECK LIST STYLING ===== */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.2rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    border: 2px solid var(--color-accent);
}

/* --- Responsive Inner --- */
@media (max-width: 768px) {

    .split-layout,
    .strengths-grid,
    .solution-grid,
    .principle-grid,
    .process-step {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .director-image {
        justify-content: center;
        margin-top: 40px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-icon {
        width: 16px;
        height: 16px;
        left: -39px;
    }

    .section-sub-hero,
    .section-pain-hero {
        padding: 100px 0 60px;
    }

    .sub-hero-title,
    .section-pain-hero h1 {
        font-size: 2.2rem;
    }
}

/* =========================================
   NEW LOCATION SECTION (Redesign)
   ========================================= */
.location-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: start;
}

.location-map {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid #f1f5f9;
}

.location-info {
    padding: 20px 0;
}

.loc-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.loc-address {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 40px;
    line-height: 1.4;
    font-family: var(--font-serif);
}

.loc-details {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.loc-row {
    display: table-row;
}

.loc-label {
    display: table-cell;
    width: 100px;
    padding-bottom: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    vertical-align: top;
    font-size: 1.05rem;
}

.loc-value {
    display: table-cell;
    padding-bottom: 24px;
    color: var(--color-text-main);
    vertical-align: top;
    font-size: 1rem;
    line-height: 1.6;
}

.loc-sub {
    display: block;
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-map {
        height: 300px;
    }

    .loc-address {
        font-size: 1.5rem;
    }

    .clinic-tour-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tour-image {
        height: 200px;
    }
}

/* =========================================
   ABOUT PAGE INTRO (Background)
   ========================================= */
.section-about-intro {
    background-image: url('./images/about_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0 100px;
    /* Increased padding for impact */
}

/* Overlay for text readability */
.section-about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 248, 245, 0.7);
    /* Warm white overlay */
    z-index: 1;
}

.section-about-intro .container {
    position: relative;
    z-index: 2;
}

/* =========================================
   PREVIEW SECTION (Clinic Tour)
   ========================================= */
.section-preview {
    background: #fff;
    padding: 80px 0;
}

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

.preview-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 250px;
    /* Fixed height for uniformity */
}

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

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.preview-item:hover img {
    transform: scale(1.05);
}

/* Responsive for Preview */
@media (max-width: 768px) {
    .preview-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .preview-item {
        height: 220px;
    }
}

/* --- Process Steps (Text Left, Image Right) --- */
.process-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-step {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-text-col {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-image-col {
    flex: 0 0 45%;
    position: relative;
    min-height: 320px;
    overflow: hidden;
    /* 이미지가 둥근 모서리를 넘지 않도록 */
}

.step-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.process-step:hover .step-image-col img {
    transform: scale(1.05);
}

.step-num {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.process-step h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
    letter-spacing: -0.02em;
}

.sub-point {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #555;
}

.sub-point strong {
    color: var(--color-primary);
    font-weight: 600;
    margin-right: 6px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .process-step {
        flex-direction: column;
    }

    .step-image-col {
        height: 250px;
        min-height: auto;
    }

    .step-text-col {
        padding: 30px 24px;
    }

    .process-step h3 {
        font-size: 1.5rem;
    }
}

/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 768px) {

    /* ===== BASE TYPOGRAPHY ===== */
    body {
        font-size: 16px;
        line-height: 1.7;
        padding-bottom: 80px;
        /* Account for bottom navigation */
    }

    h1 {
        font-size: 2rem !important;
        /* 32px - clearer on mobile */
        line-height: 1.3;
    }

    h2 {
        font-size: 1.75rem !important;
        /* 28px - better hierarchy */
        line-height: 1.35;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 1.375rem !important;
        /* 22px */
        line-height: 1.4;
    }

    h4 {
        font-size: 1.125rem !important;
        /* 18px */
    }

    p {
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 1rem;
    }

    /* ===== HERO SECTIONS ===== */
    .section-sub-hero {
        padding: 7rem 0 5rem !important;
    }

    .section-sub-hero h1,
    .section-sub-hero .hero-title {
        font-size: 2.25rem !important;
        /* 36px - prominent but not overwhelming */
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .section-sub-hero p {
        font-size: 1.0625rem;
        /* 17px - very readable */
        line-height: 1.7;
    }

    .hero-subtitle,
    .category-badge,
    .sub-label {
        font-size: 0.875rem;
        /* 14px */
        padding: 6px 12px;
        margin-bottom: 0.75rem;
    }

    /* ===== SPACING & LAYOUT ===== */
    section {
        padding: 3.5rem 0 !important;
    }

    .container {
        padding: 0 1.25rem;
    }

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

    .section-header h2 {
        font-size: 1.75rem !important;
        /* 28px */
        margin-bottom: 0.75rem;
    }

    .section-header p,
    .section-subtitle {
        font-size: 1rem;
        /* 16px */
        line-height: 1.7;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    /* ===== BUTTONS & TOUCH TARGETS ===== */
    .btn-primary,
    .btn-secondary,
    .btn-hero {
        min-height: 52px;
        /* Larger for easier tapping */
        padding: 16px 32px;
        font-size: 1.0625rem;
        /* 17px */
        border-radius: 26px;
        font-weight: 600;
    }

    .btn-header-naver {
        min-height: 44px;
        padding: 11px 20px;
        font-size: 0.9375rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    /* ===== NAVIGATION ===== */
    .nav-links li a {
        font-size: 1.25rem;
        padding: 1rem;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ===== STORY & WHY CARDS ===== */
    .story-card,
    .numbered-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.25rem;
    }

    .story-card h3,
    .numbered-card h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.875rem;
    }

    .story-card p,
    .numbered-card p {
        font-size: 1rem !important;
        line-height: 1.75;
    }

    .story-num,
    .card-number-box,
    .card-number {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    /* ===== CARDS & GRIDS ===== */
    .principle-grid,
    .solution-grid,
    .strengths-grid,
    .clinic-tour-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .principle-item,
    .solution-card,
    .strength-card {
        padding: 2rem 1.5rem;
    }

    .principle-item h3,
    .solution-card h3,
    .strength-card h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.875rem;
    }

    .principle-item p,
    .solution-card p,
    .strength-card p {
        font-size: 1rem !important;
        line-height: 1.75;
    }

    /* ===== TREATMENT CARDS (Homepage) ===== */
    .treatment-card {
        min-height: 120px;
        padding: 1.25rem 1.25rem 1.25rem 90px;
    }

    .treatment-title {
        font-size: 1.375rem !important;
        margin-bottom: 0.5rem;
    }

    .treatment-desc {
        font-size: 0.9375rem !important;
    }

    /* ===== PROCESS STEPS ===== */
    .process-step {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .step-num {
        width: 50px;
        height: 50px;
        font-size: 1.125rem;
        flex-shrink: 0;
    }

    .step-content h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem;
    }

    .step-content p,
    .sub-point {
        font-size: 0.9375rem !important;
        line-height: 1.7;
    }

    /* ===== FAQ SECTION ===== */
    .faq-summary {
        font-size: 1.0625rem !important;
        padding: 1.25rem;
        line-height: 1.5;
    }

    .faq-content {
        font-size: 0.9375rem !important;
        padding: 1rem 1.25rem 1.25rem;
        line-height: 1.7;
    }

    /* ===== CHECKLIST ===== */
    .checklist-box {
        padding: 2rem 1.5rem;
    }

    .checklist-box h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1.25rem;
    }

    .checklist-box p {
        font-size: 0.9375rem !important;
    }

    .check-list li {
        font-size: 0.9375rem !important;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    /* ===== LOCATION SECTION ===== */
    .loc-address {
        font-size: 1.375rem !important;
        margin-bottom: 1.5rem;
    }

    .loc-label {
        font-size: 0.9375rem !important;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .loc-value {
        font-size: 0.9375rem !important;
        line-height: 1.7;
    }

    .loc-details {
        display: block;
    }

    .loc-row {
        display: block;
        margin-bottom: 1.5rem;
    }

    .loc-label,
    .loc-value {
        display: block;
        padding-bottom: 0;
    }

    /* ===== PHILOSOPHY CARD ===== */
    .philosophy-card {
        padding: 2rem 1.5rem;
    }

    .quote-text {
        font-size: 1.375rem !important;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    /* ===== TREATMENT CARDS ===== */
    .treatment-card h3 {
        font-size: 1.25rem !important;
    }

    .treatment-card p {
        font-size: 0.9375rem !important;
        line-height: 1.7;
    }

    /* ===== IMAGES & MEDIA ===== */
    .step-image-col img {
        max-height: 250px;
        object-fit: cover;
        border-radius: 12px;
    }

    .tour-image {
        height: 180px;
    }

    .img-director {
        max-width: 100%;
        height: auto;
        max-height: 400px;
    }

    /* ===== FOOTER ===== */
    footer {
        padding: 3rem 0;
        font-size: 0.9375rem;
    }

    .footer-inner h2 {
        font-size: 1.375rem !important;
    }

    .contact-phone {
        font-size: 1.5rem !important;
    }

    /* ===== DIRECTOR SECTION ===== */
    .director-text p {
        font-size: 0.9375rem !important;
        line-height: 1.7;
        margin-bottom: 1.25rem !important;
    }

    .signature-area {
        margin-top: 2rem;
        padding-top: 1.25rem;
    }

    .signature-area strong {
        font-size: 1.25rem !important;
    }

    /* ===== SECTION-SPECIFIC ===== */
    .section-story h2 {
        font-size: 1.625rem !important;
        margin-bottom: 2rem;
    }

    .section-story p {
        font-size: 0.9375rem !important;
        line-height: 1.7;
    }

    /* About page grid */
    .section-story>.container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .section-story>.container>div>div[style*="max-width: 80%"] {
        max-width: 100% !important;
    }

    /* ===== PAIN CTA SECTION ===== */
    .pain-cta h2 {
        font-size: 1.625rem !important;
        margin-bottom: 1rem;
    }

    .pain-cta p {
        font-size: 1rem !important;
    }

    /* ===== NUMBERED CARDS ===== */
    .numbered-card {
        padding: 1.5rem 1.25rem;
    }

    .numbered-card h3 {
        font-size: 1.125rem !important;
    }

    .numbered-card p {
        font-size: 0.9375rem !important;
        line-height: 1.7;
    }

    .card-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }

    /* ===== CLINIC TOUR ===== */
    .tour-info h3 {
        font-size: 1.125rem !important;
    }

    .tour-info p {
        font-size: 0.875rem !important;
    }

    /* ===== IMPROVED READABILITY ===== */
    /* Ensure all text elements have proper line-height */
    div,
    span,
    a,
    li {
        line-height: 1.6;
    }

    /* Improve spacing between sections */
    section+section {
        margin-top: 0;
    }

    /* Better card readability */
    .solution-card,
    .principle-item,
    .strength-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    /* Improve form elements */
    input,
    textarea,
    select {
        font-size: 1rem;
        min-height: 48px;
        padding: 12px 16px;
    }

    /* Better table display */
    table {
        font-size: 0.9375rem;
    }

    /* ===== GRID LAYOUT REFINEMENTS ===== */
    .grid-3 {
        grid-template-columns: 1fr !important;
    }

    /* Ensure proper spacing in mobile grids */
    .principle-grid>*:last-child,
    .solution-grid>*:last-child {
        margin-bottom: 0;
    }
}

/* =========================================
   SURVEY FORM STYLES
   ========================================= */

/* Survey Section */
.survey-section {
    padding: 4rem 0 6rem;
    background: #fafafa;
}

.survey-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-primary-light);
}

.form-header h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.form-notice {
    background: var(--color-primary-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-main);
}

/* Form Sections */
.form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    transition: border-color 0.3s;
}

.form-section.highlight {
    background: #fffbf5;
    border-color: var(--color-accent);
    box-shadow: 0 2px 12px rgba(82, 160, 128, 0.1);
}

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

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary-light);
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group .required {
    color: #e53e3e;
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.3s;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(61, 124, 91, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Form Group Row (2 columns) */
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.radio-option:has(input:checked),
.checkbox-option:has(input:checked) {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 600;
}

/* Severity Scale Slider */
.severity-scale {
    margin-top: 1rem;
}

.severity-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    background: linear-gradient(to right,
            #48bb78 0%,
            #ecc94b 50%,
            #f56565 100%);
}

.severity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.severity-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.severity-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

#severity-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Submit Area */
.form-submit-area {
    margin-top: 3rem;
    text-align: center;
}

.submit-notice {
    background: #fffbf5;
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.8;
    color: var(--color-text-main);
}

.btn-submit {
    background: var(--color-primary);
    color: #fff;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(61, 124, 91, 0.3);
    min-width: 280px;
}

.btn-submit:hover:not(:disabled) {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(82, 160, 128, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.modal-icon.success {
    color: #48bb78;
}

.modal-icon.error {
    color: #f56565;
}

.modal-content h3 {
    font-size: 1.75rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.modal-content p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Mobile Responsive for Survey */
@media (max-width: 768px) {
    .survey-form-container {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .form-section {
        padding: 1.5rem 1rem;
    }

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

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

    .radio-group,
    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .radio-option,
    .checkbox-option {
        padding: 0.875rem;
    }

    .btn-submit {
        width: 100%;
        min-width: unset;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }
}

/* ===== SMALL MOBILE (375px and below) ===== */
@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .section-sub-hero h1 {
        font-size: 1.875rem !important;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

    .checklist-box,
    .philosophy-card {
        padding: 1.5rem 1rem;
    }

    .process-step {
        padding: 1.25rem 1rem;
    }
}

/* =========================================
   BUTTON HOVER EFFECTS (All Breakpoints)
   ========================================= */
.btn-primary,
.btn-secondary {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover,
.btn-secondary:hover {
    background: var(--color-accent);
    /* Bright Emerald on hover */
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(82, 160, 128, 0.3);
}

/* =========================================
   LEGAL COMPLIANCE - REMOTE CONSULTATION
   =========================================*/

.legal-info-section {
    padding: 3rem 0;
    background: #fff9f0
}

.legal-warning-box {
    background: #fff;
    border-left: 6px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08)
}

.legal-warning-box h3 {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-weight: 700
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0
}

.legal-content li {
    padding: .75rem 0 .75rem 2rem;
    position: relative;
    line-height: 1.7;
    color: var(--color-text-light)
}

.legal-content li::before {
    content: '•';
    position: absolute;
    left: .5rem;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem
}

.eligibility-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--color-bg-section) 100%)
}

.eligibility-checker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem
}

.eligibility-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e0e0e0;
    transition: all .3s;
    text-align: center
}

.eligibility-card.primary {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, #fff 100%);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(61, 124, 91, .15)
}

.eligibility-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1)
}

.check-icon {
    font-size: 3rem;
    margin-bottom: 1rem
}

.eligibility-card h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700
}

.eligibility-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: .95rem
}

.sub-note {
    margin-top: .75rem;
    padding: .5rem 1rem;
    background: rgba(61, 124, 91, .1);
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-primary)
}

.eligibility-notice {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 2px dashed #e0e0e0;
    text-align: center
}

.eligibility-notice p {
    margin: .5rem 0
}

.video-guide-section {
    padding: 5rem 0;
    background: var(--color-bg-section)
}

.video-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem
}

.guide-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06)
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center
}

.guide-card h3 {
    font-size: 1.25rem;
    color: var(--color-text-main);
    margin-bottom: 1.25rem;
    font-weight: 700
}

.guide-card ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.guide-card li {
    padding: .5rem 0 .5rem 1.5rem;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.6
}

.guide-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700
}

.guide-note {
    margin-top: 1rem;
    padding: .75rem;
    background: var(--color-primary-light);
    border-radius: 8px;
    font-size: .875rem;
    color: var(--color-primary);
    text-align: center;
    font-weight: 600
}

.phone-fallback-notice {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    border: 2px solid var(--color-primary-light);
    text-align: center
}

.phone-fallback-notice p {
    margin: .5rem 0;
    line-height: 1.8
}

.medication-pickup-section {
    padding: 5rem 0;
    background: #fff
}

.medication-pickup-policy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem
}

.pickup-method {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 3px solid #e0e0e0;
    position: relative
}

.primary-method {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%)
}

.exception-method {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbf0 0%, #fff 100%)
}

.method-badge {
    display: inline-block;
    padding: .5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .875rem;
    margin-bottom: 1.5rem
}

.primary-method .method-badge {
    background: var(--color-accent);
    color: #fff
}

.exception-method .method-badge.warning {
    background: #f59e0b;
    color: #fff
}

.pickup-method h3 {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-weight: 700
}

.method-content p {
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 1.5rem;
    margin-bottom: .75rem
}

.method-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem
}

.method-content li {
    padding: .5rem 0 .5rem 1.75rem;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.7
}

.method-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700
}

.important-notice {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(245, 158, 11, .1);
    border-left: 4px solid #f59e0b;
    border-radius: 8px
}

.important-notice p {
    margin: .5rem 0;
    font-weight: 600
}

.contact-notice {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--color-primary-light);
    border-radius: 12px;
    font-size: 1.1rem
}

.consent-section {
    padding: 5rem 0;
    background: var(--color-bg-section)
}

.consent-box {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    border-top: 5px solid var(--color-primary)
}

.consent-box h3 {
    font-size: 1.75rem;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    font-weight: 700
}

.consent-content>p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.8
}

.consent-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--color-bg-section);
    border-left: 4px solid var(--color-primary);
    border-radius: 8px
}

.consent-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: .75rem
}

.consent-item p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0
}

.consent-footer {
    margin-top: 2rem;
    padding: 1.25rem;
    background: #fff9f0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--color-text-main)
}

.numbered-card.highlight {
    background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
    border-color: #f59e0b
}

@media (max-width:768px) {

    .eligibility-checker,
    .video-guide-grid,
    .medication-pickup-policy {
        grid-template-columns: 1fr
    }

    .legal-warning-box,
    .consent-box {
        padding: 1.5rem 1.25rem
    }

    .pickup-method {
        padding: 1.5rem
    }
}

/* Sub-Page Card Styles */
.sub-page-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    text-align: center;
    display: block
}

.sub-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent)
}

/* Pain Clinic Category Page Condition Boxes */
.condition-detail-box {
    margin-bottom: 3rem;
    padding: 2.5rem;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

/* White variant (01, 03, 05) */
.condition-box-white {
    background: #ffffff;
    border: 1px solid var(--color-primary-light);
}

.condition-box-white:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.condition-box-white h3 {
    color: var(--color-primary) !important;
    font-family: var(--font-serif) !important;
}

.condition-box-white .condition-num {
    background: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
}

/* Green variant (02, 04) */
.condition-box-green {
    background: var(--color-bg-section);
    border: 1px solid rgba(61, 124, 91, 0.15);
}

.condition-box-green:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.condition-box-green h3 {
    color: var(--color-secondary) !important;
    font-family: var(--font-serif) !important;
}

.condition-box-green .condition-num {
    background: rgba(82, 160, 128, 0.15) !important;
    color: var(--color-accent) !important;
}

/* Condition number badge */
.condition-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-serif);
}