@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600&display=swap');

/* ===== CSS Variables & Base Styles ===== */
:root {
    --primary: #a68b6a;
    --primary-light: #c9b89a;
    --primary-dark: #8b7355;
    --secondary: #3d3d3d;
    --accent: #a68b6a;
    --bg-dark: #faf8f5;
    --bg-light: #ffffff;
    --bg-card: #ffffff;
    --text-light: #2d2d2d;
    --text-muted: #6b6b6b;
    --gradient-gold: linear-gradient(135deg, #a68b6a 0%, #c9b89a 50%, #a68b6a 100%);
    --gradient-primary: linear-gradient(135deg, #a68b6a 0%, #c9b89a 100%);
    --glass-bg: rgba(166, 139, 106, 0.05);
    --glass-border: rgba(166, 139, 106, 0.2);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(166, 139, 106, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Mitr', sans-serif;
    --font-body: 'Mitr', sans-serif;
    --font-thai: 'Mitr', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Link Reset - Prevent Purple Visited Links */
a,
a:visited {
    text-decoration: none;
    color: inherit;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    /* Behind the blobs */
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(166, 139, 106, 0.2);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: rgba(201, 184, 154, 0.2);
    animation-delay: -5s;
}

.blob-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40vw;
    height: 40vw;
    background: rgba(255, 255, 255, 0.1);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

/* ===== Typography ===== */
h1 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 200;
    line-height: 1.2;
}

h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

.section-tag {
    display: inline-block;
    font-size: 1rem;
    /* Increased from 0.75rem */
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.section-title .highlight {
    color: var(--accent);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.20rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 600;
    position: relative;
    padding: 0 10px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.section-tag::before {
    right: 100%;
}

.section-tag::after {
    left: 100%;
}

.section-subtitle {
    display: block;
    margin-top: 16px;
    font-size: 1.20rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--secondary);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--accent);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ===== Price List Section (Premium UX/UI) ===== */
.standard-treatments {
    padding: 60px 0;
    position: relative;
    background: radial-gradient(circle at top right, rgba(166, 139, 106, 0.05) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(166, 139, 106, 0.05) 0%, transparent 40%);
}

.price-list-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-category {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 48px;
    border-radius: 32px;
    border: 1px solid rgba(166, 139, 106, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.price-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.price-category:hover {
    transform: translateY(-8px);
    border-color: rgba(166, 139, 106, 0.4);
    box-shadow: var(--shadow-glow);
    background: rgba(255, 255, 255, 0.6);
}

.price-category:hover::before {
    opacity: 1;
}

.price-category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: 0.05em;
}

.price-category-title span {
    background: var(--glass-bg);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    color: var(--accent);
    flex-shrink: 0;
}

.price-category-title span svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 12px;
    border-bottom: 1px solid rgba(166, 139, 106, 0.1);
    transition: var(--transition);
    border-radius: 12px;
    margin: 0 -12px;
    /* Pull back to align with container padding */
}

.price-item:hover {
    background: rgba(166, 139, 106, 0.05);
    padding-left: 20px;
    padding-right: 20px;
}

.price-item:last-child {
    border-bottom: none;
}

.price-name {
    font-size: 1rem;
    color: var(--text-light);
    font-family: var(--font-thai);
    font-weight: 300;
}

.price-value {
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 1.20rem;
    font-family: 'Mitr', sans-serif;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .price-list-wrapper {
        grid-template-columns: 1fr;
    }

    .price-category {
        padding: 30px 20px;
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000 !important;
    padding: 10px 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(166, 139, 106, 0.2);
    transition: none !important;
    /* ปิดการเคลื่อนไหวทุกอย่าง */
}

.navbar.scrolled {
    background: #ffffff !important;
    padding: 10px 0 !important;
    top: 36px !important;
    box-shadow: 0 2px 16px rgba(166, 139, 106, 0.15) !important;
    transition: none !important;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-light);
    position: relative;
    z-index: 10;
}

.logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    transition: none !important;
    /* ปิดการขยายโลโก้ */
}

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

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

/* Force Hide Mobile-Only Elements on Desktop */
.mobile-sub-nav,
#mobile-service-drawer,
.mobile-menu-btn,
.menu-backdrop {
    display: none !important;
}

.nav-links a {
    color: #5A3E2B;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    position: relative;
    transition: var(--transition);
}

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

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

.has-mega-menu {
    position: static !important;
}

.mobile-mega-toggle {
    display: none;
}

.mega-menu {
    position: fixed;
    top: 78px;
    /* Aligns with bottom of fixed navbar */
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    padding: 60px 0;
}

/* Bridge the gap for hover */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.editorial-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 40px;
}

.editorial-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #7a3e26;
    margin-bottom: 25px;
    letter-spacing: 1px;
    line-height: 1.4;
    min-height: 2.8rem;
}

.editorial-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.editorial-item {
    margin-bottom: 15px;
}

.editorial-link {
    color: #634732;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.editorial-link:hover {
    color: #7a3e26;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}

.editorial-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.editorial-link:hover::before {
    opacity: 1;
    left: -25px;
}

/* Ensure only one line appears by disabling the global nav underline for mega-menu links */
.editorial-link::after {
    display: none !important;
}

.nav-cta {
    background: var(--gradient-gold);
    color: var(--secondary);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ===== ALAIA Contact Modal (Refined) ===== */
.alaia-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.alaia-modal-box {
    background: #fff;
    width: 90%;
    max-width: 480px;
    padding: 50px 40px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.alaia-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #e0e0e0;
    transition: color 0.3s;
}

.alaia-modal-close:hover {
    color: #333;
}

.alaia-modal-title {
    font-family: var(--font-thai);
    font-size: 2rem;
    font-weight: 700;
    color: #4a3728;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.alaia-modal-subtitle {
    font-family: var(--font-thai);
    font-size: 1rem;
    color: #888;
    margin-bottom: 35px;
    font-weight: 300;
}

.alaia-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 420px;
    margin: 0 auto;
}

.alaia-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid rgba(166, 139, 106, 0.1);
    text-decoration: none;
    color: #4a3728;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.alaia-contact-link:hover {
    background: #fdfaf6;
    border-color: #a68b6a;
    color: #a68b6a;
}

.alaia-modal-footer {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #aaa;
}

@media (max-width: 768px) {
    .alaia-modal-box {
        padding: 40px 24px;
        width: 88%;
    }
    .alaia-modal-title {
        font-size: 1.6rem;
    }
    .alaia-modal-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    .alaia-contact-link {
        padding: 14px 16px;
        font-size: 0.85rem;
    }
    .alaia-modal-close {
        top: 20px;
        right: 20px;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: 24px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(166, 139, 106, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 184, 154, 0.1) 0%, transparent 50%),
        var(--bg-dark);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166, 139, 106, 0.15) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.hero-particles::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    bottom: 10%;
    right: 10%;
    animation-delay: -7s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}


@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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


.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    background: var(--glass-border);
}

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

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

/* ===== About Section ===== */
.about {
    padding: 60px 0;
}

.about .section-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.about .section-tag {
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 30px;
    align-items: center;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.about-main-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    display: block;
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    animation: floatCard 6s ease-in-out infinite;
}

.card-1 {
    top: 5px;
    right: -10px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 5px;
    left: -10px;
    animation-delay: -3s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

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

.about-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-features {
    list-style: none;
    margin-bottom: 16px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--glass-border);
}

.feature-icon {
    color: var(--accent);
    font-weight: bold;
}

/* ===== Our Doctor Team Section ===== */
.doctor-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
    position: relative;
    overflow: hidden;
}

.doctor-slider {
    padding-bottom: 60px !important;
}

.doctor-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.doctor-card:hover {
    transform: translateY(-8px);
    border-color: rgba(166, 139, 106, 0.6);
    box-shadow: 0 15px 40px rgba(166, 139, 106, 0.15);
}

/* ============================================================
   MOBILE HIDING RULES (Hide Desktop Elements on Mobile)
   ============================================================ */
@media (max-width: 1024px) {

    .nav-links,
    .mega-menu,
    .mobile-menu-btn,
    .ala-hamburger {
        display: none !important;
    }

    .nav-container {
        justify-content: center;
        padding: 5px 0;
    }

    .navbar {
        padding: 5px 0 !important;
        height: auto !important;
    }

    .logo {
        position: static !important;
        margin: 0 auto;
    }

    .logo-img {
        height: 48px !important;
    }
}


.doctor-img-wrapper {
    width: 100%;
    height: 200px;
    /* Fixed height like service cards */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 10px;
    background: radial-gradient(circle at center, #ffffff 0%, transparent 70%);
    overflow: hidden;
    border-radius: 12px;
}

.doctor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.doctor-card:hover .doctor-img-wrapper img {
    transform: scale(1.05);
}

.doctor-card-info {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.doctor-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    /* Slightly smaller for compact feel */
    color: var(--text-dark);
    margin-bottom: 5px;
}

.doctor-card-info .role {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Gold Pill Button for View Profile */
.btn-text-gold {
    background: linear-gradient(135deg, #A68B6A 0%, #C2A87E 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(166, 139, 106, 0.3);
}

.btn-text-gold .arrow {
    transition: transform 0.3s ease;
}

.btn-text-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(166, 139, 106, 0.4);
    color: white;
    /* Ensure text stays white */
}

.btn-text-gold:hover .arrow {
    transform: translateX(3px);
}

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

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.doctor-modal-content {
    background-color: #fff;
    margin: auto;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    min-height: 500px;
}

.modal-img-col {
    background: #f5f5f5;
    height: 100%;
}

.modal-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-col {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent);
}

.highlight-tag {
    display: inline-block;
    background: rgba(166, 139, 106, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    align-self: flex-start;
}

#modal-doctor-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.modal-bio {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.modal-credentials h4 {
    font-size: 1.20rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.modal-credentials ul {
    list-style: none;
}

.modal-credentials li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--text-muted);
}

.modal-credentials li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

@media (max-width: 768px) {
    .modal-body-grid {
        grid-template-columns: 1fr;
    }

    .modal-img-col {
        height: 300px;
    }

    .modal-info-col {
        padding: 30px;
    }
}


/* ===== Services Section ===== */
.services {
    padding: 60px 0;
    background: #f5f2ed;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    /* Slightly softer radius */
    padding: 30px 20px;
    /* Increased padding to reduce image size relative to card */
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    /* Force spacing between image and button */
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Subtle base shadow */
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(166, 139, 106, 0.6);
    /* Gold border on hover */
    box-shadow: 0 15px 40px rgba(166, 139, 106, 0.15);
    /* Gold glow shadow */
}

.card-image-wrapper {
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 10px;
    background: radial-gradient(circle at center, #ffffff 0%, transparent 70%);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the wrapper */
    border-radius: 16px;
    /* Match inner radius */
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.service-card:hover img {
    transform: scale(1.08);
}

.service-pill-btn {
    background: linear-gradient(135deg, #A68B6A 0%, #C2A87E 100%);
    /* Gold Gradient */
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(166, 139, 106, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 10px;
    min-width: 140px;
}

.service-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(166, 139, 106, 0.4);
    color: white;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Editorial Services Redesign ===== */
.editorial-services-section {
    background-color: #f5efe6;
    padding: 80px 0;
}

.editorial-services-section .section-header {
    text-align: left;
    margin-bottom: 50px;
}

.editorial-services-section .section-title {
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 700;
    text-transform: none;
    color: #4a3728;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 0;
    letter-spacing: -1px;
}

.editorial-services-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #4a3728;
}

.editorial-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 40px auto 0;
}

.editorial-col {
    padding: 0 30px;
    border-right: 1px solid rgba(166, 139, 106, 0.15);
}

.editorial-col:last-child {
    border-right: none;
}

.editorial-col-title {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    color: #4a3728;
    line-height: 1.4;
    min-height: 2.8rem;
    display: flex;
    align-items: flex-start;
}

.editorial-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.editorial-item {
    margin-bottom: 16px;
}

.editorial-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 300;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
    position: relative;
    font-family: var(--font-body);
}

.editorial-link::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.4s ease;
    color: var(--primary);
}

.editorial-link:hover {
    color: var(--primary);
    transform: translateX(10px);
}

.editorial-link:hover::before {
    opacity: 1;
    left: -20px;
}

@media (max-width: 1024px) {
    .has-mega-menu.active .mega-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        position: relative;
        width: 100%;
        background: #fff;
        padding: 20px 15px;
        transform: none;
    }

    .editorial-services-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .editorial-col {
        padding: 0 !important;
        border: none !important;
        background: #fdfaf7;
        border-radius: 12px;
        overflow: hidden;
    }

    .editorial-col-title {
        display: none !important;
        /* Hide category titles to simplify */
    }

    .editorial-list {
        display: block !important;
        padding: 0 !important;
    }

    .editorial-item {
        margin: 0 !important;
        border-bottom: 1px solid rgba(166, 139, 106, 0.05);
    }

    .editorial-item:last-child {
        border-bottom: none;
    }

    .editorial-link {
        display: flex !important;
        align-items: center !important;
        padding: 15px 12px !important;
        font-size: 0.85rem !important;
        color: #4A3728 !important;
        text-align: left;
        line-height: 1.3;
        font-weight: 400;
    }

    .editorial-link::before {
        content: '✦';
        display: inline-block !important;
        position: static !important;
        margin-right: 8px;
        opacity: 0.6 !important;
        color: var(--primary);
        font-size: 0.7rem;
    }

    /* Mobile Mega Menu Toggle Button */
    .mobile-mega-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 60px;
        height: 54px;
        /* Match standard nav link height */
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: transform 0.3s ease;
    }

    .mobile-mega-toggle::after {
        content: '▼';
        font-size: 0.7rem;
        color: var(--primary);
    }

    .has-mega-menu.active .mobile-mega-toggle {
        transform: rotate(180deg);
    }

    .has-mega-menu {
        position: relative;
    }

    .has-mega-menu>a {
        padding-right: 60px !important;
        /* Space for the toggle */
    }

    .editorial-col {
        padding: 30px;
        border-bottom: 1px solid rgba(166, 139, 106, 0.1);
    }

    .editorial-col:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .editorial-services-grid {
        grid-template-columns: 1fr;
    }

    .editorial-col {
        border-right: none;
    }
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 120px 0;
    display: none !important;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 20px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(166, 139, 106, 0.4);
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 12px;
}

.testimonial-card p {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
    font-family: var(--font-thai);
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-rating {
    color: var(--accent);
    letter-spacing: 4px;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f2ed 0%, #faf8f5 100%);
    position: relative;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.cta-content>p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 60px 0;
    background: #f5f2ed;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-details {
    margin-top: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

.contact-item .contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-item .contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.contact-map {
    width: 100%;
    margin-top: 40px;
}

.contact-map iframe {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.map-placeholder {
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.map-placeholder span {
    font-size: 3rem;
}

.map-placeholder p {
    color: var(--text-muted);
}

/* ===== Premium Dark Footer (Desktop Only) ===== */
.footer {
    background: #2d2d2d;
    color: #ffffff;
    padding: 80px 0 40px;
    font-family: var(--font-body);
    display: block;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    flex: 1;
    max-width: 350px;
    text-align: left;
}

.footer-brand .logo-img {
    height: 70px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-weight: 300;
}

.footer-links,
.footer-socials {
    display: flex;
    gap: 30px;
}

.footer-links a,
.footer-socials a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-links a:visited,
.footer-socials a:visited {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-links a:hover,
.footer-socials a:hover {
    color: #A68B6A;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* Hide Footer on Mobile & Tablet */
@media (max-width: 992px) {
    .footer {
        display: none !important;
    }
}

opacity: 0.6;
letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer {
        display: none !important;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        gap: 30px;
    }
}

/* ===== Testimonials Slider (Swiper) ===== */
.swiper {
    width: 100%;
    padding-bottom: 50px !important;
    /* Space for pagination */
    padding-left: 10px;
    padding-right: 10px;
}

.swiper-slide {
    height: auto !important;
    /* Force Swiper to respect content height or stretch */
    display: flex;
    align-items: stretch;
    /* Ensure slides stretch to fill the wrapper height */
}

.swiper-slide .testimonial-card,
.swiper-slide .service-card {
    width: 100%;
    height: 100%;
    /* Ensure card takes full height of the slide */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Distribute content evenly */
}

.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.4;
    width: 10px;
    height: 10px;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent);
    background: var(--bg-card);
    /* Glass background */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent);
    color: var(--bg-light);
    border-color: var(--accent);
    transform: scale(1.1);
}

@media (max-width: 1024px) {

    /* 1. PREVENT OVERLAY BLOCKING */
    .nav-links,
    .menu-backdrop {
        display: none !important;
        /* Force hide by default */
        pointer-events: none !important;
    }

    .nav-links.active {
        display: flex !important;
        /* Only show when active */
        pointer-events: all !important;
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    .menu-backdrop.active {
        display: block !important;
        pointer-events: all !important;
    }

    /* 2. HEADER & TOP BAR */
    .ALA-top-bar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 36px;
        background: #A68B6A !important;
        z-index: 1000000 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 0.55rem !important;
        /* Smaller to fit one line */
        letter-spacing: 1px !important;
        white-space: nowrap !important;
        padding: 0 10px;
    }

    .navbar {
        position: fixed !important;
        top: 36px;
        left: 0;
        width: 100%;
        height: 65px;
        background: white !important;
        z-index: 1000001 !important;
        display: flex;
        align-items: center;
        padding: 0 !important;
        /* Remove navbar padding to let container handle it */
        border-bottom: 1px solid rgba(166, 139, 106, 0.1);
    }

    .nav-container {
        display: flex !important;
        width: 100% !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
    }

    .logo-img {
        height: 35px !important;
        width: auto !important;
        transition: none !important;
    }

    /* 3. PREMIUM HORIZONTAL SUB-NAV (MOBILE ONLY) */
    .mobile-sub-nav {
        display: flex !important;
        position: fixed !important;
        top: 101px;
        /* Navbar 65px + Top Bar 36px */
        left: 0;
        width: 100%;
        height: 48px;
        background: #ffffff !important;
        z-index: 1000000 !important;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        border-bottom: 1px solid rgba(166, 139, 106, 0.1);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar */
        padding: 0 15px;
        align-items: center;
        gap: 25px;
        /* ระยะห่างระหว่างเมนู */
    }

    .mobile-sub-nav::-webkit-scrollbar {
        display: none;
    }

    .sub-nav-item {
        display: inline-block;
        color: #4A3728 !important;
        text-decoration: none !important;
        font-size: 0.85rem !important;
        font-family: 'Mitr', sans-serif !important;
        font-weight: 400 !important;
        letter-spacing: 0.5px;
        position: relative;
        padding: 10px 0;
        opacity: 0.7;
        transition: 0.3s ease;
    }

    .sub-nav-item.active {
        opacity: 1;
        font-weight: 500;
    }

    .sub-nav-item.active::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 100%;
        height: 1.5px;
        background: #A68B6A;
        /* เส้นใต้สีทอง */
    }

    /* Adjust page padding for the new sub-nav */
    body {
        padding-top: 149px !important;
    }

    /* TopBar 36 + Nav 65 + SubNav 48 */

    .nav-links li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li a {
        display: block;
        padding: 18px 0;
        font-size: 1.2rem;
        color: #333;
        text-decoration: none;
    }

    /* 4. MOBILE SERVICE DRAWER (SLIDE DOWN) */
    #mobile-service-drawer {
        display: none;
        position: fixed;
        top: 149px;
        /* Under Sub-Nav */
        left: 0;
        width: 100%;
        max-height: calc(100vh - 149px);
        background: #F2EFE9 !important;
        /* Beige */
        z-index: 999999 !important;
        overflow-y: auto;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    #mobile-service-drawer.active {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }

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

    /* IMPROVED PREMIUM MOBILE SERVICE DRAWER */
    .drawer-group {
        margin-bottom: 12px;
        background: #ffffff;
        border-radius: 12px;
        /* เพิ่มความโค้งมนแบบแอปสมัยใหม่ */
        border: 1px solid rgba(166, 139, 106, 0.1);
        overflow: hidden;
        transition: 0.3s ease;
    }

    .drawer-group.expanded {
        box-shadow: 0 8px 25px rgba(166, 139, 106, 0.1);
        border-color: rgba(166, 139, 106, 0.3);
    }

    .drawer-group-title {
        font-size: 0.95rem !important;
        color: #4A3728 !important;
        padding: 20px 18px !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
    }

    /* จัดเรียงบริการเป็น 2 คอลัมน์ */
    .drawer-list {
        display: none !important;
        padding: 0 12px 18px !important;
        grid-template-columns: 1fr 1fr;
        /* 2 Column Grid */
        gap: 10px !important;
        background: #FAF9F6;
    }

    .drawer-group.expanded .drawer-list {
        display: grid !important;
        /* เปลี่ยนจาก block เป็น grid */
    }

    .drawer-item {
        margin-bottom: 0 !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .drawer-link {
        display: flex !important;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: #ffffff;
        border: 1px solid rgba(166, 139, 106, 0.1);
        border-radius: 8px;
        padding: 15px 10px !important;
        color: #5A3E2B !important;
        font-size: 0.8rem !important;
        font-family: 'Mitr', sans-serif;
        text-decoration: none;
        height: 100%;
        min-height: 60px;
        transition: 0.2s;
        pointer-events: all !important;
        /* มั่นใจว่ากดติดแน่นอน */
        position: relative !important;
        z-index: 11 !important;
    }

    /* 4. MOBILE SERVICE DRAWER (SLIDE DOWN) */
    #mobile-service-drawer {
        display: none;
        /* เอา !important ออกเพื่อให้ JS สั่งโชว์ได้ */
        position: fixed;
        top: 149px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 149px);
        background: #F2EFE9 !important;
        z-index: 10000000 !important;
        overflow-y: auto;
        padding: 30px 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        pointer-events: all !important;
    }

    #mobile-service-drawer.active {
        display: block !important;
        animation: slideDown 0.3s ease forwards;
    }

    /* 5. BACKDROP FOR DRAWER */
    .menu-backdrop {
        display: none;
        /* เอา !important ออกเพื่อให้ JS สั่งโชว์ได้ */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4) !important;
        z-index: 9999999 !important;
        backdrop-filter: blur(5px);
        pointer-events: all !important;
    }

    .menu-backdrop.active {
        display: block !important;
    }

    /* 5. TAB BAR HIDDEN */
    .mobile-tab-bar {
        display: none !important;
    }

    /* 7. MAIN LAYOUT RESPONSIVE TRANSFORM */

    /* Hero Section - Change from Split to Single Column */
    .ALA-hero {
        flex-direction: column-reverse !important;
        /* เอารูปขึ้นก่อนหรือคำบรรยายขึ้นก่อนตามความเหมาะสม */
        height: auto !important;
        padding-top: 20px !important;
    }

    .ALA-hero-left,
    .ALA-hero-right {
        width: 100% !important;
        flex: none !important;
        padding: 40px 20px !important;
        text-align: center !important;
    }

    .ALA-hero-title {
        font-size: 2.5rem !important;
        /* ปรับขนาดให้พอดีหน้าจอ */
        line-height: 1.2 !important;
    }

    .ALA-hero-right img {
        width: 100% !important;
        height: auto !important;
        max-height: 400px;
        object-fit: cover;
        border-radius: 20px;
    }

    /* Grid Sections - Change to Single Column */
    .services-grid,
    .doctors-grid,
    .promo-grid {
        grid-template-columns: 1fr !important;
        /* ปรับเป็น 1 คอลัมน์ */
        gap: 20px !important;
        padding: 0 20px !important;
    }

    /* Standard Containers */
    .container,
    .wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
    }

    /* Typography Fix */
    p,
    .desc {
        font-size: 1rem !important;
        line-height: 1.8 !important;
    }

    .section-title {
        font-size: 2rem !important;
        text-align: center !important;
    }

    /* 6. HIDE ELEMENTS (No Contact Toggles) */
    .nav-cta,
    .float-contact-wrap,
    .ALA-float-contact,
    .float-btn,
    .footer,
    .alaia-footer,
    .contact-toggle,
    .mobile-contact-btn {
        display: none !important;
    }

    body {
        padding-top: 149px !important;
    }
}

.nav-cta {
    display: none !important;
}

/* ---- Grids (legacy) ---- */
.services-grid,
.testimonials-grid {
    grid-template-columns: 1fr;
}

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

.hero-stats {
    flex-direction: column;
    gap: 20px;
}

.hero-split {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
    padding-top: 40px;
}

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

.hero-text-content {
    margin: 0 auto;
}

.hero-cta {
    justify-content: center;
}

.hero-visual {
    max-width: 400px;
    margin: 0 auto;
}

.stat-divider {
    width: 50px;
    height: 1px;
}

.footer-content {
    flex-direction: column;
    text-align: center;
}

.floating-card {
    display: none;
}

/* ---- Section padding ---- */
.about,
.services,
.testimonials,
.cta-section,
.contact,
.our-doctors {
    padding: 60px 0;
}

.standard-treatments {
    padding: 60px 0;
}

.price-category {
    padding: 24px 16px;
}

/* ---- Hero section ---- */
.hero-section {
    padding: 0 !important;
    min-height: auto;
    position: relative;
    z-index: 0;
}

.centered-banner-block {
    border-radius: 20px;
}

/* Hero CTA buttons stack vertically */
.hero-cta-area {
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.btn-hero-lg {
    font-size: 1rem;
    padding: 14px 30px;
}

/* ---- Hero image grid ---- */
.static-hero-grid {
    margin-top: 90px !important;
    gap: 14px;
}

.frame-swiper,
.frame-swiper .swiper-slide,
.hero-card {
    height: 220px !important;
}

/* ---- Section subtitle ---- */
.section-subtitle {
    font-size: 1rem;
}

/* ---- Contact map ---- */
.contact-map iframe {
    height: 280px;
}

/* ---- Promotions page ---- */
.promo-swiper {
    max-width: 100%;
    border-radius: 16px;
}

.promotions-hero {
    padding-top: 100px;
    padding-bottom: 40px;
}
}

/* ===== Admin Navigation Link ===== */
.nav-admin {
    color: var(--accent) !important;
    font-weight: 500 !important;
}

/* ===== Admin Login Form ===== */
.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(166, 139, 106, 0.15);
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.login-error {
    color: #dc3545;
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    display: none;
}

.login-error.show {
    display: block;
}

.login-hint {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.login-hint p {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ===== Promotions Page Styles ===== */
.promotions-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f5f2ed 0%, #ffffff 100%);
    text-align: center;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 80px 0;
}

.promo-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ===== Our Doctors Section (New Grid & Style) ===== */
.our-doctors {
    padding: 60px 0;
    position: relative;
    background-color: var(--bg-color, #fdfaf6);
}

.doctors-grid-wrapper {
    padding: 20px 0 20px;
}

/* แถวบน 3 คน */
.doctors-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    /* Removed gaps for frameless mosaic look */
    max-width: 1200px;
    margin: 0 auto;
}

.doctor-card {
    flex: 1 1 0;
    /* Let them fill space evenly */
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background-color: transparent;
    /* No background frame */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    /* Shark corners */
    box-shadow: none;
    /* No shadow frame */
}

.doctor-card::before {
    content: attr(data-initials);
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    z-index: 1;
    letter-spacing: 2px;
}

.doctor-card img.doctor-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 2;
    display: block;
}

/* Hover overlay */
.doctor-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(92, 61, 46, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

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

.doctor-card[data-doctor="5"] img.doctor-photo {
    /* Reverting scale to fill card */
}

/* ===== NAME BAR ===== */
.doctor-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #5c3d2e;
    padding: 12px 14px;
    z-index: 4;
    text-align: center;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-bar-name {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    margin: 0;
}

.doctor-bar-license {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    margin: 2px 0 0;
}

/* ===== MODAL ===== */
.doctor-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 10, 0.65);
    z-index: 10000;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.doctor-modal-overlay.active {
    display: flex;
}

.doctor-modal-box {
    background: #faf6f1;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: grid;
    grid-template-columns: 260px 1fr;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /* Much softer shadow */
    border-radius: 0;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #5c3d2e;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    color: #a68b6a;
}

/* Modal รูปซ้าย */
.modal-photo-col {
    background-color: #c9b99a;
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-photo-col::before {
    content: attr(data-initials);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 2px;
}

.modal-photo-col img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 5;
}

/* Modal ข้อมูลขวา */
.modal-info-col {
    padding: 40px 36px 40px 32px;
}

.modal-doctor-name {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 500;
    color: #3d2b1f;
    margin: 0 0 4px;
    line-height: 1.3;
}

.modal-doctor-specialty {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #a68b6a;
    margin: 0 0 4px;
    font-weight: 400;
}

.modal-doctor-license {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #9e8a7a;
    margin: 0 0 24px;
}

.modal-divider {
    width: 40px;
    height: 1px;
    background: #a68b6a;
    margin-bottom: 24px;
}

.modal-section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #5c3d2e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 10px;
}

.modal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.modal-list li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #5a4033;
    padding: 5px 0;
    border-bottom: 1px solid rgba(166, 139, 106, 0.15);
    line-height: 1.5;
}

.modal-list li:last-child {
    border-bottom: none;
}

.modal-list li::before {
    content: '✦ ';
    color: #a68b6a;
    font-size: 0.6rem;
    vertical-align: middle;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1050px) {
    .doctor-card {
        flex: 0 1 calc(33.33% - 2.7px);
    }
}

@media (max-width: 768px) {
    .doctor-card {
        flex: 0 1 calc(50% - 2px);
    }

    .doctor-modal-box {
        grid-template-columns: 1fr;
    }

    .modal-photo-col {
        min-height: 260px;
    }

    .modal-info-col {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .doctor-card {
        flex: 0 1 100%;
    }
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    border-color: var(--accent);
}

.promo-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.promo-card:hover .promo-image img {
    transform: scale(1.1);
}

.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-gold);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.promo-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.promo-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.promo-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.promo-pricing {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.promo-old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.20rem;
}

.promo-new-price {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
}

.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}


/* Hero Section Redesign Styles */
.hero-section {
    padding: 0 !important;
    min-height: 0 !important;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 10% 20%, rgba(166, 139, 106, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(201, 184, 154, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 70%),
        var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-texture {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--glass-border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    filter: blur(40px);
    opacity: 0.3;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.hero-shape-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    animation: floatShape 15s infinite ease-in-out;
}

.hero-shape-2 {
    bottom: 5%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.4);
    animation: floatShape 20s infinite ease-in-out reverse;
    animation-delay: -5s;
}

.hero-shape-3 {
    top: 40%;
    left: 15%;
    width: 250px;
    height: 250px;
    animation: floatShape 12s infinite ease-in-out;
    animation-delay: -2s;
}

.hero-shape-4 {
    top: 15%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: var(--gradient-gold);
    opacity: 0.15;
    filter: blur(60px);
    animation: floatShape 18s infinite ease-in-out reverse;
    animation-delay: -7s;
}

.hero-shape-5 {
    bottom: -10%;
    left: 30%;
    width: 450px;
    height: 450px;
    background: rgba(166, 139, 106, 0.1);
    filter: blur(80px);
    animation: floatShape 25s infinite ease-in-out;
    animation-delay: -3s;
}

.hero-glow-base {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(166, 139, 106, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(50px, 100px) scale(1.1) rotate(120deg);
    }

    66% {
        transform: translate(-30px, 40px) scale(0.9) rotate(240deg);
    }
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.centered-banner-block {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    background: none;
    /* Fix for border-radius on Safari/Chrome */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    isolation: isolate;
}

.hero-carousel-swiper .swiper-pagination {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    width: auto !important;
    background: none !important;
}

.hero-carousel-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.hero-carousel-swiper .swiper-pagination-bullet-active {
    background: white;
}

.hero-carousel-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-carousel-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-carousel-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 40px;
}

.carousel-slide {
    min-width: 100%;
    /* Force 1-up display */
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    /* Ensure slides don't shrink */
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-cta-area {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeInBottom 1s ease forwards 0.5s;
}

.btn-hero-lg {
    padding: 18px 45px;
    font-size: 1.20rem;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

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

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

/* Service Detail Page */
.service-hero {
    padding: 160px 24px 60px;
    /* Increased top padding to clear navbar */
    background: var(--bg-dark);
    text-align: center;
    max-width: 100%;
}

.service-detail-container {
    padding: 40px 24px 80px;
}

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

.service-main-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
}

.service-main-image img {
    width: auto;
    max-width: 100%;
    max-height: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    display: block;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
}

.category-banner {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
}

.promo-hero-svg {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 30px auto 0;
    /* Centered and added top spacing */
}

.detail-section {
    margin-bottom: 50px;
}

.detail-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.detail-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.detail-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.benefit-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.benefit-list li {
    position: relative;
    padding-left: 30px;
    color: var(--text-light);
}

.benefit-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

.service-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.promo-hero-styled {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 500px;
    margin: 40px auto 0;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

/* ===== Promotions Carousel ===== */
.promotions-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.promo-header-text {
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.promo-swiper {
    width: 100%;
    max-width: 500px;
    /* Reduced size as requested */
    margin: 0 auto;
    height: auto;
    /* aspect-ratio: 16 / 9; Removed to let image define size */
    border-radius: 24px;
    /* Restored rounded corners */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.promo-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Overlay removed */

.promo-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Zoom effect removed as requested */
.promo-swiper .swiper-slide-active img {
    transform: none;
}

.promo-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: all 0.3s ease;
}

.promo-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.promo-swiper .swiper-button-next,
.promo-swiper .swiper-button-prev {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.promo-swiper:hover .swiper-button-next,
.promo-swiper:hover .swiper-button-prev {
    opacity: 1;
    transform: scale(1);
}

.promo-swiper .swiper-button-next:hover,
.promo-swiper .swiper-button-prev:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.promo-swiper .swiper-button-next::after,
.promo-swiper .swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}

/* ===== Logo Banner Styles ===== */
.logo-slide-bg {
    width: 100%;
    height: 100%;
    background-color: #F3EFE6;
    /* Creamy Beige */
    display: flex;
    border-radius: 40px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.carousel-slide .logo-slide-bg img,
.hero-carousel-swiper .logo-slide-bg img {
    width: 45% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ===== Main Hompage Hero Slider ===== */
.main-hero-slider {
    width: 100%;
    height: auto;
    /* aspect-ratio removed to let slides define height */
    position: relative;
    overflow: hidden;
    margin-top: 0;
    /* Margin handled by inner grid */
    /* Separated from navbar */
    padding: 0;
    /* Padding removed */
}

.main-hero-swiper .swiper-slide {
    width: 100%;
    height: auto;
    /* Let aspect ratio define height */
    aspect-ratio: 3 / 4;
    /* Vertical/Portrait shape as requested */
    border-radius: 20px;
    /* Card style rounded corners */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Card shadow */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
    /* Fade out side cards */
    transform: scale(0.9);
    /* Shrink side cards */
}

.main-hero-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    /* Full size for center card */
}

.main-hero-swiper {
    width: 100%;
    height: 100%;
    padding: 20px 0;
    /* Space for shadow */
}

.main-hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main-hero-swiper .swiper-button-next,
.main-hero-swiper .swiper-button-prev {
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.main-hero-swiper .swiper-pagination-bullet-active {
    background: white;
}

/* ===== Static Hero Grid (No Slider) ===== */
.static-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    /* Increased spacing between columns */
    max-width: 900px;
    /* Reduced to fit screen better */
    margin: 160px auto 0 !important;
    padding: 0 20px !important;
    /* Side padding for breathing room */
}

.hero-card,
.frame-swiper,
.frame-swiper .swiper-slide {
    border-radius: 15px !important;
    /* Rounded corners */
    overflow: hidden;
    box-shadow: none !important;
    height: 420px !important;
    /* Slightly taller */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Swiper wrapper needs height but NOT width constraint */
.frame-swiper .swiper-wrapper {
    height: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Specific image override */
.frame-swiper .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-card:hover img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

@media (max-width: 768px) {
    .static-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-card {
        height: 220px;
    }
}

/* ===== VERY SMALL PHONES (≤480px) ===== */
@media (max-width: 480px) {

    .nav-container {
        padding: 0 16px;
    }

    .logo-img {
        height: 56px;
    }

    .section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    .hero-cta-area .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }

    .promo-header-text {
        margin-bottom: 24px;
    }

    .container {
        padding: 0 16px;
    }

    .cta-content h2 {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }


}

/* ===== Independent Frame Sliders ===== */
.frame-swiper {
    width: 100%;
    height: 100%;
    /* Fill the grid cell */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.frame-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ===== Minimal Hero Section ===== */
.minimal-hero {
    width: 100%;
    background-color: #F5F0E8;
    padding: 160px 24px 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

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

.minimal-hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    color: #2C2117;
    letter-spacing: 0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.minimal-hero-subtext {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #7A6A58;
    margin-bottom: 48px;
}

.minimal-hero-cta {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 18px 48px;
    background: #2C2117;
    color: #F5F0E8;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.minimal-hero-cta:hover {
    background: #A68B6A;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(44, 33, 23, 0.2);
}

@media (max-width: 768px) {
    .minimal-hero {
        padding: 130px 20px 80px;
    }

    .minimal-hero-headline {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .minimal-hero-subtext {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }

    .minimal-hero-cta {
        padding: 16px 36px;
    }
}

/* ===== ALAIA-Style Layout ===== */

/* Top Announcement Bar - ล็อกความสูงและตำแหน่งให้นิ่งที่สุด */
.ALA-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001 !important;
    background: #A68B6A;
    color: #fff;
    text-align: center;
    padding: env(safe-area-inset-top) 16px 0; /* Add top padding for notch */
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    transition: none !important;
}

/* Offset navbar below top bar */
.navbar {
    top: calc(40px + env(safe-area-inset-top)) !important;
    transition: none !important;
}

.navbar.scrolled {
    top: calc(40px + env(safe-area-inset-top)) !important;
    transition: none !important;
}

@media (max-width: 600px) {
    .ALA-top-bar {
        font-size: 0.65rem;
        height: calc(60px + env(safe-area-inset-top)) !important; /* Fixed height for mobile */
        padding: env(safe-area-inset-top) 12px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }
    .ALA-top-bar span {
        display: block;
        width: 100%;
        letter-spacing: 0.5px;
    }
    .navbar {
        top: calc(60px + env(safe-area-inset-top)) !important; /* Match top bar height */
    }
}

/* ALAIA Split Hero */
.ALA-hero {
    display: flex !important;
    align-items: stretch !important;
    width: 100%;
    height: calc(100vh - 36px - 72px);
    position: relative;
    z-index: 1;
    margin-top: 0;
    overflow: hidden;
}

/* Left panel */
.ALA-hero-left {
    flex: 0 0 60%;
    width: 60%;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.ALA-hero-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/fitness3.png') center top / cover no-repeat;
    z-index: 0;
}

.ALA-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(20, 10, 5, 0.82) 0%,
            rgba(20, 10, 5, 0.35) 50%,
            rgba(20, 10, 5, 0.05) 100%);
}

.ALA-hero-brand {
    position: absolute;
    bottom: 12%;
    left: 52px;
    right: 52px;
    color: #fff;
    z-index: 2;
}

.ALA-clinic-name {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ALA-clinic-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 400;
    color: #E8D5BB;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.ALA-clinic-desc {
    font-family: 'Mitr', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    max-width: 420px;
    line-height: 1.7;
}

/* Right promo panel */
.ALA-hero-right {
    flex: 0 0 40% !important;
    width: 40% !important;
    height: 100% !important;
    min-height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
}

.ALA-hero-right * {
    border-radius: 0 !important;
}

.ALA-promo-card {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    display: block !important;
}

.ALA-promo-swiper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: block !important;
}

.ALA-promo-swiper .swiper-wrapper {
    height: 100% !important;
    min-height: 100% !important;
    display: flex !important;
}

.ALA-promo-swiper .swiper-slide {
    height: 100% !important;
    min-height: 100% !important;
}

.ALA-slide {
    display: block !important;
    position: relative !important;
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
}

.ALA-promo-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

.ALA-promo-info {
    display: none;
}

.ALA-pagination {
    display: none !important;
}

/* Promo slider nav arrows — hidden, auto-scroll only */
.ALA-prev,
.ALA-next {
    display: none !important;
}

.ALA-price-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.ALA-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(166, 139, 106, 0.1);
    border: 1px solid rgba(166, 139, 106, 0.35);
    border-radius: 10px;
    padding: 10px 24px;
}

.ALA-price-label {
    font-size: 0.75rem;
    color: #8b7355;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.ALA-price-value {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
    color: #A68B6A;
}

.ALA-pagination {
    bottom: 8px !important;
}

.ALA-pagination .swiper-pagination-bullet {
    background: #A68B6A !important;
    opacity: 0.5;
}

.ALA-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Floating Contact Button */
.ALA-float-contact {
    position: fixed;
    bottom: 40px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #8b7355 !important;
    color: #fff !important;
    padding: 18px 40px !important;
    border-radius: 100px !important;
    text-decoration: none !important;
    font-family: var(--font-body) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    z-index: 9999 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    background-clip: padding-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.ALA-float-contact:hover {
    background: #7a654a;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.ALA-float-icon {
    font-size: 1.2rem;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .ALA-hero {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    .ALA-hero-left {
        display: block !important;
        width: 100% !important;
        height: 60vh !important;
        /* ส่วนแบรนด์สูงประมาณครึ่งหน้าจอ */
        min-height: 400px !important;
        flex: none !important;
        position: relative !important;
        padding: 0 !important;
        background: none !important;
    }

    .ALA-hero-left::before {
        display: block !important;
        content: '';
        position: absolute;
        inset: 0;
        background: url('images/IMG_0494 2.JPG') center center / cover no-repeat;
        z-index: 0;
    }

    .ALA-hero-overlay {
        display: block !important;
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45) !important;
        /* เงาดำเพื่อให้ตัวหนังสือขาวอ่านง่าย */
        z-index: 1;
    }

    .ALA-hero-brand {
        position: absolute !important;
        bottom: 15% !important;
        left: 24px !important;
        right: 24px !important;
        text-align: center !important;
        z-index: 2 !important;
    }

    .ALA-clinic-name {
        color: #fff !important;
        font-size: 3.5rem !important;
        margin-bottom: 8px !important;
        font-family: var(--font-heading) !important;
    }

    .ALA-clinic-tagline {
        color: #E8D5BB !important;
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }

    .ALA-clinic-desc {
        color: rgba(255, 255, 255, 0.9) !important;
        margin: 0 auto !important;
        font-size: 0.95rem !important;
    }

    .ALA-hero-right {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 350px !important;
        flex: none !important;
        position: relative !important;
        background: #fff !important;
    }
}

/* ===== ALAIA-STYLE DOCTOR PROFILES ===== */
.doctor-profiles-wrapper {
    background: #ffffff;
    padding: 80px 0 120px;
}

/* Doctor Schedule Table */
.schedule-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    padding: 10px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Mitr', sans-serif;
    min-width: 800px;
}

.schedule-table th {
    background: #fdfaf7;
    color: #8a735b;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid #f0e6dc;
}

.schedule-table th:first-child {
    text-align: left;
}

.schedule-table td {
    padding: 20px 15px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    border-bottom: 1px solid #f9f3ed;
}

.doc-name-col {
    text-align: left !important;
    font-weight: 500;
    color: #4d3e33 !important;
    background: #fdfaf7;
}

.active-day {
    color: #a68b6a !important;
    /* var(--ala-gold) */
    font-weight: 500;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {

    .schedule-table th,
    .schedule-table td {
        padding: 15px 10px;
        font-size: 0.75rem;
    }
}


.alaia-doc-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 80px;
    margin-bottom: 8rem;
}

.alaia-doc-profile.reverse {
    flex-direction: row-reverse;
}

.alaia-doc-img-col {
    flex: 1;
    min-width: 300px;
}

.alaia-doc-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.alaia-doc-info-col {
    flex: 1.2;
    min-width: 350px;
    color: #1a1a1a;
}

.alaia-doc-name {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #000;
}

.alaia-doc-subtitle {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.alaia-divider {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 50px;
}

.alaia-doc-section {
    margin-bottom: 50px;
}

.alaia-section-title {
    font-size: 0.85rem;
    color: #000;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.alaia-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alaia-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.6;
}

.alaia-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 992px) {

    .alaia-doc-profile,
    .alaia-doc-profile.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 100px;
    }

    .alaia-doc-name {
        font-size: 2.5rem;
    }

    .alaia-doc-info-col {
        min-width: 100%;
    }
}


/* ============================================================
   DOCTORS PAGE REDESIGN 2026 (Premium Editorial Edition)
   ============================================================ */

:root {
    --doc-gold: #a68b6a;
    --doc-bg-soft: #fafafa;
    --doc-text-main: #333;
    --doc-text-light: #888;
    --doc-border: #f0f0f0;
}

/* Force Mitr Globally on Doctors Page */
.doctor-page-body * {
    font-family: 'Mitr', sans-serif !important;
}

/* Premium Doctor Hero Redesign */
.doctor-hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('images/Banner1.JPG');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.doctor-hero::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--doc-gold), transparent);
}

.doctor-hero .section-title {
    font-size: 5rem;
    font-weight: 200;
    letter-spacing: 12px;
    margin-bottom: 20px;
    color: #4d3e33;
    text-transform: uppercase;
    line-height: 1;
}

.doctor-hero .section-title strong {
    font-weight: 600;
    color: var(--doc-gold);
}

.doctor-hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #888;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-top: 15px;
}

.doctor-hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: var(--doc-gold);
}

/* New Index Grid (3-Column Premium) */
.doc-index-section {
    padding: 80px 0;
    background: #fff;
}

.doc-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.doc-idx-card {
    position: relative;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.doc-idx-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(166, 139, 106, 0.15);
}

.doc-idx-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.doc-idx-card:hover img {
    transform: scale(1.05);
}

.doc-idx-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0.9;
    transition: 0.5s;
}

.doc-idx-card:hover .doc-idx-overlay {
    background: linear-gradient(to top, rgba(77, 62, 51, 0.9), transparent 70%);
}

.doc-idx-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.doc-idx-tag {
    color: var(--doc-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Redesigned Profile (Editorial Style) */
.premium-doc-profile {
    padding: 120px 0;
    border-bottom: 1px solid var(--doc-border);
}

.premium-doc-profile:last-child {
    border-bottom: none;
}

.p-doc-flex {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.p-doc-flex.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.p-doc-flex.reverse .p-doc-img-col {
    order: 2;
}

.p-doc-img-box {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
}

.p-doc-img-box img {
    width: 100%;
    display: block;
}

.p-doc-info {
    padding-top: 20px;
}

.p-doc-name {
    font-size: 2.8rem;
    font-weight: 500;
    color: #4d3e33;
    margin-bottom: 15px;
    line-height: 1.2;
}

.p-doc-sub {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--doc-gold);
    font-weight: 600;
    margin-bottom: 40px;
    display: block;
}

.p-doc-section {
    margin-bottom: 40px;
}

.p-doc-sec-title {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.p-doc-sec-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
    margin-left: 20px;
}

.p-doc-list {
    list-style: none;
    padding: 0;
}

.p-doc-list li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.p-doc-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--doc-gold);
    font-size: 0.7rem;
}

/* Responsiveness */
@media (max-width: 1200px) {

    .p-doc-flex,
    .p-doc-flex.reverse {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .p-doc-name {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .doc-index-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .p-doc-flex,
    .p-doc-flex.reverse {
        grid-template-columns: 1fr;
    }

    .p-doc-flex.reverse .p-doc-img-col {
        order: 0;
    }

    .p-doc-img-box {
        max-width: 400px;
        margin: 0 0 30px;
    }

    /* Removed margin: auto to align left */
    .p-doc-info {
        text-align: left;
        padding-top: 0;
    }

    .p-doc-sec-title {
        justify-content: flex-start;
    }

    .p-doc-list li {
        padding-left: 0;
        font-size: 0.85rem;
        text-align: left;
    }

    .p-doc-list li::before {
        display: none;
    }

    .premium-doc-profile {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .doc-index-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .doc-idx-overlay {
        padding: 15px;
        text-align: left;
    }

    .doc-idx-name {
        font-size: 0.9rem;
    }

    .doc-idx-tag {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .doctor-hero .section-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .p-doc-name {
        font-size: 1.6rem;
        text-align: left;
    }

    .p-doc-sub {
        font-size: 0.75rem;
        margin-bottom: 25px;
        text-align: left;
    }
}


/* ALA Promo Section */
.ALA-promo-section {
    padding: 60px 0;
    background: #faf8f5;
    overflow: hidden;
}

.ALA-promo-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 24px;
}

.ALA-promo-carousel-wrapper {
    width: 100%;
    padding: 0 24px;
}

.ALA-promo-scroll-swiper {
    width: 100%;
    padding-bottom: 50px !important;
}

.ALA-promo-slide {
    width: 480px !important;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.ALA-promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.ALA-promo-prev,
.ALA-promo-next {
    color: #a68b6a;
    background: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(166, 139, 106, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ALA-promo-prev:hover,
.ALA-promo-next:hover {
    background: #a68b6a;
    color: #ffffff;
}

.ALA-promo-prev::after,
.ALA-promo-next::after {
    font-size: 14px;
    font-weight: 600;
}

.ALA-promo-dots .swiper-pagination-bullet {
    background: #a68b6a;
    opacity: 0.3;
}

.ALA-promo-dots .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .ALA-promo-slide {
        width: 280px !important;
    }
}

/* ===== FLOAT BUTTONS (Floating Contact) ===== */
/* Float Contact Wrapper — hover to show */
.float-contact-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Override global fixed position inside wrapper */
.float-contact-wrap .ALA-float-contact {
    position: static;
    bottom: auto;
    right: auto;
}

.float-contact-wrap .contact-popup {
    position: static;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.float-contact-wrap:hover .contact-popup {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.contact-popup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(166, 139, 106, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    text-decoration: none;
    color: #3d2b1f;
    font-family: var(--font-thai);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.25s ease;
    white-space: nowrap;
    min-width: 180px;
}

.float-btn:hover {
    background: #8b7355;
    color: #fff;
    transform: translateX(-4px);
}

.float-btn:hover .float-icon-img {
    filter: brightness(0) invert(1);
}

/* ===== CONTACT MODAL (Premium Design) ===== */
.alaia-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alaia-modal-overlay[style*="display: flex"] {
    opacity: 1;
}

.alaia-modal {
    background: #ffffff;
    width: 90%;
    max-width: 420px;
    padding: 45px 35px;
    position: relative;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(166, 139, 106, 0.15);
    font-family: var(--font-thai, 'Mitr', sans-serif);
    transform: translateY(20px);
    animation: modalPopUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPopUp {
    to {
        transform: translateY(0);
    }
}

.alaia-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #a0a0a0;
    line-height: 1;
    transition: color 0.3s;
    font-weight: 300;
}

.alaia-modal-close:hover {
    color: #3d2b1f;
}

.alaia-modal-title {
    font-family: var(--font-thai, 'Mitr', sans-serif);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #3d2b1f;
    margin-bottom: 8px;
}

.alaia-modal-subtitle {
    font-family: var(--font-thai, 'Mitr', sans-serif);
    font-size: 0.95rem;
    font-weight: 300;
    color: #6b6b6b;
    margin-bottom: 30px;
}

.alaia-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alaia-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 100px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(166, 139, 106, 0.05);
    text-decoration: none;
    color: #3d2b1f;
    font-family: var(--font-thai, 'Mitr', sans-serif);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.alaia-contact-link img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.alaia-contact-link span.emoji {
    font-size: 1.2rem;
    line-height: 1;
}

.alaia-contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.alaia-contact-link.cta-main {
    background: #8b7355;
    color: #fff;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alaia-modal-footer {
    margin-top: 25px;
    font-size: 0.8rem;
    font-weight: 300;
    color: #a0a0a0;
    font-family: var(--font-thai, 'Mitr', sans-serif);
}

.float-icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) opacity(0.6);
}

.float-icon-emoji {
    font-size: 1.2rem;
}




/* ===== Home Promotions Section ===== */
.home-promotions {
    padding: 60px 0;
    position: relative;
    background: transparent;
}

.promo-swiper-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.home-promo-swiper {
    padding-bottom: 70px !important;
    overflow: visible !important;
}

.home-promo-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(166, 139, 106, 0.15);
    background: #fff;
    height: 100%;
}

.home-promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.home-promo-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 55px rgba(166, 139, 106, 0.25);
    border-color: var(--primary);
}

.home-promo-card:hover img {
    transform: scale(1.05);
}

.home-promo-prev,
.home-promo-next {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(166, 139, 106, 0.2) !important;
    border-radius: 50% !important;
    color: var(--primary) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

.home-promo-prev:after,
.home-promo-next:after {
    font-size: 1.2rem !important;
    font-weight: bold !important;
}

.home-promo-prev:hover,
.home-promo-next:hover {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(166, 139, 106, 0.2) !important;
}

.home-promo-prev {
    left: 0 !important;
}

.home-promo-next {
    right: 0 !important;
}

.home-promo-dots {
    bottom: 0 !important;
}

.home-promo-dots .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.home-promo-dots .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    opacity: 1;
}

.promo-actions {
    text-align: center;
    margin-top: 10px;
}

.btn-more-promotions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 40px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-more-promotions:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(166, 139, 106, 0.3);
}

.btn-more-promotions .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-more-promotions:hover .arrow {
    transform: translateX(8px);
}

@media (max-width: 768px) {
    .promo-swiper-container {
        padding: 0 15px;
    }

    .home-promo-prev,
    .home-promo-next {
        display: none !important;
    }

    .home-promotions {
        padding: 60px 0;
    }
}



/* ===== Home Specialists Section ===== */
.home-specialists {
    padding: 100px 0;
    background: #fff;
    position: relative;
    z-index: 1;
}



/* ==========================================================================
   TREATMENT PROCESS GRID (Used on Service Detail - Lifting)
   ========================================================================== */

.process-container {
    max-width: 1200px;
    width: 100%;
    margin: 60px auto;
}

.process-container .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.process-container .section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #3d3d3d;
    margin: 0;
    font-weight: 400;
}

.process-container .section-title span {
    color: var(--primary);
    font-style: italic;
}

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

.process-card {
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(166, 139, 106, 0.2);
}

.process-img-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.process-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.process-card:hover .process-img-wrap img {
    transform: scale(1.05);
}

.process-content {
    padding: 24px 24px 24px 110px;
    /* เพิ่มพื้นที่ปลอดภัยให้ตัวหนังสือ */
    color: #ffffff;
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-height: 120px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
}

.process-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
    color: #ffffff;
    /* บังคับสีขาว */
}

.process-number {
    position: absolute;
    left: 0;
    top: 240px;
    transform: translateY(-50%);
    font-size: 9rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.7);
    /* โปร่งแสงลงนิดหน่อยให้เหมือนลายน้ำ ไม่แย่งสายตา */
    line-height: 1;
    margin-left: -5px;
    z-index: 2;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.process-card-final {
    background-color: var(--primary-dark);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.process-final-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;
    mix-blend-mode: multiply;
}

.process-final-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
}

.process-quote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--white);
}

.process-doctor-name {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #eadccc;
    letter-spacing: 1px;
}

.process-contact-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    color: var(--primary-dark);
    text-decoration: none;
    padding: 12px 36px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.process-contact-btn:hover {
    background-color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

.process-doctor-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--white);
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 0 20px rgba(166, 139, 106, 0.4);
}

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

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* --- NEW PREMIUM LAYOUT STYLES --- */

:root {
    --primary: #a68b6a;
    --primary-dark: #8b7355;
    --bg-dark: #faf8f5;
    /* Light beige background */
    --bg-card-light: #f5f0eb;
    /* Soft review card background */
    --white: #ffffff;
    --font-heading: var(--font-heading);
    --font-body: 'Mitr', sans-serif;
    --text-dark: #3d3d3d;
    --text-brown: #6b5c4b;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-family: var(--font-body);
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-brown);
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* ----------------------------------------------------------------------
           SECTION: WHY CHOOSE US (PROGRAM INFO)
           ---------------------------------------------------------------------- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}

.why-us-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.why-us-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----------------------------------------------------------------------
           SECTION: PROCESS GRID (From Final)
           ---------------------------------------------------------------------- */






































/* ----------------------------------------------------------------------
           SECTION: REVIEWS
           ---------------------------------------------------------------------- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.review-card {
    background-color: var(--bg-card-light);
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-program-title {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--primary-dark);
    margin: 0 0 10px 0;
}

.review-program-sub {
    font-size: 0.85rem;
    color: var(--text-brown);
    margin: 0 0 25px 0;
    font-weight: 300;
    line-height: 1.4;
}

.review-image-split {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.review-image-half {
    flex: 1;
    position: relative;
}

.review-image-half img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.review-label {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
}

.review-footer-text {
    font-size: 0.8rem;
    color: var(--primary-dark);
    border-top: 1px solid rgba(166, 139, 106, 0.2);
    padding-top: 20px;
    margin: auto 0 0 0;
    font-weight: 400;
    line-height: 1.5;
}

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

    .review-grid,
    .why-us-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .review-grid,
    .why-us-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {

    body {
        padding-top: 96px !important;
        /* Top bar (36px) + Navbar (60px) */
        padding-bottom: 75px !important;
        /* Add space on mobile ONLY */
    }

    /* Mobile Menu block removed to allow horizontal nav above */
}

.hero-header {
    width: 100%;
    background-color: var(--bg-dark);
    position: relative;
    padding: 30px 20px 10px 20px;
    box-sizing: border-box;
    text-align: center;
}

.hero-header-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-breadcrumb {
    color: var(--text-brown);
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-logo-box {
    margin-bottom: 20px;
}

.hero-logo-box img {
    height: 90px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin: 0 0 15px 0;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 4px;
    color: var(--text-dark);
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 300;
    color: var(--text-brown);
    max-width: 600px;
}

/* ======================================================================
   SECTION: SERVICE DETAIL PAGE 2.0 (Full Example Design)
   ====================================================================== */
.hero-header {
    width: 100%;
    background-color: var(--bg-dark);
    position: relative;
    padding: 90px 20px 5px 20px;
    /* Adjusted for navbar spacing */
    box-sizing: border-box;
    text-align: center;
}

.hero-header-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-breadcrumb {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-logo-box {
    margin-bottom: 0px;
}

.hero-logo-box img {
    height: 150px;
    object-fit: contain;
}

/* Redefined Titles for Detail Page */
.premium-service-section {
    padding-top: 0;
    padding-bottom: 80px;
}

.editorial-section-title {
    text-align: center;
    font-family: var(--font-body);
    font-size: 2.8rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.editorial-section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
}

/* Why Choose Us Grid 2.0 */
.why-us-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 120px;
}

.why-us-card-v2 {
    background: var(--white);
    border: 1px solid var(--line);
    transition: transform 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
}

.why-us-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.why-us-img-v2 {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fdfcfb;
}

.why-us-img-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us-content-v2 {
    padding: 30px;
    text-align: left;
}

.why-us-title-v2 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink);
    margin-bottom: 15px;
}



.why-us-text-v2 {
    font-family: 'Mitr', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--muted);
}

.why-us-item-v2:hover img {
    transform: scale(1.05);
}

/* Process Grid 2.0 (Premium) */
.process-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.process-card-v2 {
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card-v2:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(166, 139, 106, 0.25);
}

.process-img-wrap-v2 {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.process-img-wrap-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.process-card-v2:hover .process-img-wrap-v2 img {
    transform: scale(1.1);
}

.process-number-v2 {
    position: absolute;
    left: 10px;
    top: 260px;
    transform: translateY(-50%);
    font-size: 10rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
    z-index: 2;
    pointer-events: none;
    text-shadow: 2px 5px 15px rgba(0, 0, 0, 0.15);
}

.process-content-v2 {
    padding: 30px 30px 30px 110px;
    color: var(--white);
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-height: 140px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.process-content-v2 p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Final Doctor Card 2.0 */
/* Original Final Doctor Card */
.process-card-final-v2 {
    background-color: var(--primary-dark);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.process-final-bg-v2 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
    mix-blend-mode: multiply;
}

.process-final-content-v2 {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
}

.process-quote-v2 {
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.5;
    font-family: var(--font-heading);
    margin-bottom: 25px;
}

.process-doctor-name-v2 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 35px;
    color: #f5efe6;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.process-contact-btn {
    background: #fff;
    color: var(--primary-dark);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: var(--font-thai);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.process-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.process-doctor-badge-v2 {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--white);
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.process-doctor-badge-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Review Card 2.0 */
.review-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.review-card-v2 {
    background-color: #fbf9f6;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    border: 1px solid rgba(166, 139, 106, 0.1);
    transition: var(--transition);
}

.review-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.review-program-title-v2 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--primary-dark);
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

.review-image-split-v2 {
    display: flex;
    gap: 8px;
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    padding: 5px;
}

.review-image-half-v2 {
    flex: 1;
    position: relative;
}

.review-image-half-v2 img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
    border-radius: 8px;
}

.review-label-v2 {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.review-footer-text-v2 {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(166, 139, 106, 0.15);
    padding-top: 25px;
    margin-top: auto;
    font-weight: 300;
    line-height: 1.6;
}

/* Enriched Content Sections */
.info-depth-grid-v2 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    margin-top: 40px;
}

.editorial-p-v2 {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 300;
}

.target-grid-v2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.target-item-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 10px 0;
    border-bottom: 1px dashed rgba(166, 139, 106, 0.2);
}

.target-check {
    color: var(--accent);
    font-weight: 700;
}

/* Pricing Section */
.pricing-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.pricing-card-v2 {
    background: #fff;
    border: 1px solid rgba(166, 139, 106, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card-v2:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(166, 139, 106, 0.1);
}

.pricing-card-header h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.pricing-card-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.pricing-card-price {
    margin: 20px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.pricing-btn {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: var(--accent);
}

/* FAQ Section */
.faq-container-v2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item-v2 {
    background: #fbf9f6;
    border-radius: 12px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.faq-item-v2.active {
    border-color: rgba(166, 139, 106, 0.3);
    background: #fff;
}

.faq-question-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--primary-dark);
}

.faq-icon-v2 {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item-v2.active .faq-icon-v2 {
    transform: rotate(45deg);
}

.faq-answer-v2 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-item-v2.active .faq-answer-v2 {
    max-height: 200px;
    margin-top: 15px;
}

.faq-answer-v2 p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive Overrides */
@media (max-width: 992px) {

    .review-grid-v2,
    .why-us-grid-v2,
    .process-grid-v2,
    .pricing-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-depth-grid-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .review-grid-v2,
    .why-us-grid-v2,
    .process-grid-v2,
    .pricing-grid-v2 {
        grid-template-columns: 1fr;
    }

    .hero-header {
        padding-top: 100px;
    }

    .editorial-section-title {
        font-size: 2rem;
    }

    .info-depth-grid-v2 {
        gap: 30px;
    }

    .pricing-card-v2 {
        padding: 30px 20px;
    }
}

/* Service Editorial Layout - Premium Article Style */
.service-editorial-wrap {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.editorial-header-group {
    text-align: center;
    margin-bottom: 80px;
}

.editorial-tag {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.editorial-title-large {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.editorial-article-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 100px;
}

.editorial-text-content {
    font-family: 'Mitr', sans-serif;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.editorial-text-content p {
    margin-bottom: 30px;
}

.editorial-text-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin: 50px 0 25px;
    border-bottom: 1px solid rgba(166, 139, 106, 0.2);
    padding-bottom: 15px;
    width: 100%;
}

.editorial-artwork-panel {
    position: sticky;
    top: 120px;
    background: #fbf9f6;
    border-radius: 40px;
    padding: 60px;
    border: 1px solid rgba(166, 139, 106, 0.1);
}

.artwork-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #f5efe6 0%, #fff 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.artwork-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 30px;
}

.artwork-label {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.editorial-pull-quote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-style: italic;
    color: var(--primary-dark);
    border-left: 4px solid var(--accent);
    padding: 30px 50px;
    margin: 60px 0;
    line-height: 1.3;
    background: #fdfcfb;
    border-radius: 0 20px 20px 0;
}

/* Feature List Inside Article */
.editorial-feature-list {
    list-style: none;
    margin-top: 40px;
}

.editorial-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-left: 25px;
    border-left: 2px solid var(--accent);
}

.editorial-feature-item strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 5px;
}

/* Responsive Editorial */
@media (max-width: 992px) {
    .editorial-article-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .editorial-artwork-panel {
        position: relative;
        top: 0;
        padding: 40px;
    }

    .editorial-title-large {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .editorial-title-large {
        font-size: 2.2rem;
    }

    .editorial-pull-quote {
        font-size: 1.6rem;
        padding: 20px 30px;
    }
}

/* Ultra-Premium Editorial V2 - Lumière Infographic Style */
.editorial-v2-bg {
    background: radial-gradient(circle at top right, #fbf9f6 0%, #ffffff 100%);
    padding: 120px 0;
    font-family: 'Outfit', sans-serif;
}

.editorial-v2-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #A68B6A 20%, #7A4F3A 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    font-weight: 700;
}

.editorial-v2-header {
    text-align: center;
    margin-bottom: 100px;
}

.editorial-v2-subtitle {
    font-size: 0.85rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #A68B6A;
    margin-bottom: 25px;
    display: block;
    font-weight: 600;
}

.editorial-v2-title-large {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.1;
    font-family: var(--font-heading);
}

/* Glassmorphism Cards */
.editorial-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.glass-info-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(166, 139, 106, 0.15);
    border-radius: 40px;
    padding: 50px 40px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
}

.glass-info-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 30px 60px rgba(166, 139, 106, 0.12);
    border-color: rgba(166, 139, 106, 0.4);
}

.card-icon-v2 {
    font-size: 3rem;
    margin-bottom: 30px;
    display: inline-block;
    background: linear-gradient(135deg, #f5efe6 0%, #fff 100%);
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 20px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card-title-v2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.card-text-v2 {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 300;
}

/* Special High-End List */
.v2-bullet-list {
    list-style: none;
    margin-top: 30px;
}

.v2-bullet-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(166, 139, 106, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
}

.v2-bullet-item i {
    color: #A68B6A;
    font-size: 0.8rem;
}

/* Featured Visual Block */
.editorial-v2-feature {
    background: #fdfcfb;
    border-radius: 60px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-top: 50px;
    border: 1px solid rgba(166, 139, 106, 0.05);
}

.v2-feature-content h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.v2-feature-visual {
    position: relative;
}

.v2-main-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.v2-floating-card {
    position: absolute;
    bottom: -40px;
    right: -40px;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 220px;
}

.v2-stat-num {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #A68B6A;
    line-height: 1;
}

.v2-stat-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Base Styles for Soft Editorial - Pure Harmony */
.soft-editorial-bg {
    background: #fdfaf7;
    padding: 120px 0;
    overflow: hidden;
}

.soft-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Wavy Separator */
.soft-wave-wrap {
    position: relative;
    height: 100px;
    width: 100%;
    margin-top: -1px;
}

.soft-wave-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Organic Hero */
.soft-hero {
    text-align: center;
    padding-bottom: 80px;
}

.soft-tag {
    background: #fff;
    color: #a68b6a;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(166, 139, 106, 0.1);
    margin-bottom: 30px;
    display: inline-block;
}

.soft-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: #2d2d2d;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Pill Cards */
.soft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pill-card {
    background: #fff;
    border-radius: 100px;
    /* Full Rounded 'Pill' Style */
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(166, 139, 106, 0.05);
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.pill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(166, 139, 106, 0.08);
    border-color: rgba(166, 139, 106, 0.2);
}

.pill-icon {
    width: 60px;
    height: 60px;
    background: #fdf7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #a68b6a;
    font-size: 1.5rem;
}

.pill-h {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.pill-p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #6b6b6b;
    font-weight: 300;
}

/* Organic Feature */
.soft-feature-split {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-top: 120px;
}

.soft-feature-visual {
    flex: 1;
    position: relative;
}

.soft-image-pill {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 300px;
    /* Massive Pill Shape */
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.06);
}

.soft-deco-circle {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(166, 139, 106, 0.2);
    border-radius: 50%;
    z-index: -1;
}

.soft-feature-text {
    flex: 1;
}

.soft-feature-h {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.soft-feature-p {
    font-size: 1.05rem;
    line-height: 2;
    color: #555;
    margin-bottom: 40px;
}

.soft-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #a68b6a;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.soft-btn:hover {
    background: #8b7355;
    box-shadow: 0 10px 30px rgba(166, 139, 106, 0.3);
}

/* Subtle Quote */
.soft-quote {
    text-align: center;
    margin: 150px 0;
    position: relative;
}

.soft-quote-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-style: italic;
    color: #2d2d2d;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.4;
}

.soft-quote-tag {
    font-size: 0.75rem;
    letter-spacing: 6px;
    color: #a68b6a;
    text-transform: uppercase;
    margin-top: 40px;
    display: block;
}

/* ============================================================
   ALAIA CLINIC — MOBILE NAVIGATION CSS
   วิธีใช้: วางไว้ใน <head> หรือ link เป็น ala-mobile-nav.css
   ============================================================ */

/* ---- Hide old mobile elements (ตัวเก่าทั้งหมด) ---- */
.mobile-sub-nav,
#mobile-service-drawer,
.mobile-menu-btn,
.mobile-tab-bar,
.menu-backdrop {
    display: none !important;
}

/* ============================================================
   HAMBURGER BUTTON — ซ่อนทุก breakpoint (ใช้ tab bar แทน)
   ============================================================ */
.ala-hamburger {
    display: none !important;
}

/* ============================================================
   FULL-SCREEN MOBILE PANEL
   ============================================================ */
.ala-mobile-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
}

.ala-mobile-panel.is-open {
    pointer-events: all;
}

/* Backdrop */
.ala-panel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 20, 10, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.ala-mobile-panel.is-open .ala-panel-backdrop {
    opacity: 1;
}

/* Slide-in panel from right — เริ่มใต้ navbar (top bar 36 + nav 65 = 101px) */
.ala-panel-content {
    position: absolute;
    top: 101px;
    right: 0;
    width: min(88vw, 360px);
    height: calc(100% - 101px);
    background: #FDFAF6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.32, 0, 0.15, 1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.14);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 0;
}

.ala-mobile-panel.is-open .ala-panel-content {
    transform: translateX(0);
}

/* ซ่อน panel header (ALAIA CLINIC + X) เพราะ panel อยู่ใต้ navbar แล้ว */
.ala-panel-header {
    display: none !important;
}

/* ---- Panel Header ---- */
.ala-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 64px;
    border-bottom: 1px solid rgba(166, 139, 106, 0.12);
    flex-shrink: 0;
    background: #FDFAF6;
}

.ala-panel-brand {
    font-family: 'Mitr', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #A68B6A;
}

.ala-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid rgba(166, 139, 106, 0.2);
    border-radius: 50%;
    cursor: pointer;
    color: #6B5040;
    transition: background 0.2s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.ala-panel-close:active {
    background: rgba(166, 139, 106, 0.1);
}

/* ---- Panel scrollable body ---- */
.ala-panel-nav {
    padding: 12px 8px 0;
    flex-shrink: 0;
}

.ala-panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 14px;
    font-family: 'Mitr', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #3D2B1F;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.18s;
    -webkit-tap-highlight-color: transparent;
}

.ala-panel-link::after {
    content: '›';
    font-size: 1.1rem;
    color: #A68B6A;
    opacity: 0.5;
}

.ala-panel-link:active {
    background: rgba(166, 139, 106, 0.08);
}

/* ---- Services section ---- */
.ala-panel-services {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 1px solid rgba(166, 139, 106, 0.1);
    margin-top: 8px;
}

.ala-services-label {
    padding: 14px 20px 8px;
    font-family: 'Mitr', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #A68B6A;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Category tab strip */
.ala-cat-tabs {
    display: flex;
    gap: 6px;
    padding: 0 14px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-shrink: 0;
}

.ala-cat-tabs::-webkit-scrollbar {
    display: none;
}

.ala-cat-tab {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: 50px;
    border: 1.5px solid rgba(166, 139, 106, 0.2);
    background: #fff;
    font-family: 'Mitr', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #7A5C44;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.ala-cat-tab.active {
    background: #4A3728;
    border-color: #4A3728;
    color: #F5EDE2;
    font-weight: 500;
}

.ala-cat-tab:active:not(.active) {
    background: rgba(166, 139, 106, 0.1);
}

/* Service grid (scrollable) */
.ala-service-panels {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 2px 14px 16px;
}

.ala-service-panels::-webkit-scrollbar {
    display: none;
}

/* แต่ละ grid — JS จะ set display:grid หรือ display:none */
.ala-service-grid {
    display: none;
    /* JS จัดการทั้งหมด */
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ala-service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 12px;
    background: #fff;
    border: 1px solid rgba(166, 139, 106, 0.12);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    min-height: 70px;
}

.ala-service-card:active {
    background: #FDF7F0;
    border-color: rgba(166, 139, 106, 0.35);
    transform: scale(0.97);
}

.ala-svc-icon {
    font-size: 12px;
    color: #A68B6A;
    line-height: 1;
}

.ala-svc-name {
    font-family: 'Mitr', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #3D2B1F;
    line-height: 1.3;
}

/* ---- Panel footer CTA ---- */
.ala-panel-footer {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-top: 1px solid rgba(166, 139, 106, 0.1);
    flex-shrink: 0;
    background: #FDFAF6;
}

.ala-panel-cta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px;
    border-radius: 10px;
    background: #4A3728;
    color: #F5EDE2;
    text-decoration: none;
    font-family: 'Mitr', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.ala-panel-cta:active {
    background: #3A2518;
}

.ala-panel-cta--outline {
    background: transparent;
    border: 1.5px solid rgba(166, 139, 106, 0.35);
    color: #4A3728;
}

.ala-panel-cta--outline:active {
    background: rgba(166, 139, 106, 0.08);
}

/* Footer ต้องโชว์ (เดิมถูกซ่อน) */
.footer,
.alaia-footer {
    display: block !important;
}
}


/* ============================================================
   ALAIA CLINIC - CORE SECTION STYLES (RESTORED)
   ============================================================ */

.v-pad {
    padding: 60px 0;
}

.e-label {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #a68b6a;
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    font-family: 'Mitr', sans-serif;
}

.e-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #4d3e33;
    text-align: center;
    font-family: 'Mitr', sans-serif;
}

.e-title strong {
    font-weight: 600;
    color: #a68b6a;
}

/* DOCTOR GRID */
.doctor-grid-wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.d-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f2f2f2;
    height: 100%;
}

.d-img-box {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #fdfaf5;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.d-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: 0.8s;
}

.d-info {
    padding: 20px 15px;
    text-align: center;
}

.d-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3d3d3d;
    margin-bottom: 5px;
    font-family: 'Mitr', sans-serif;
}

.d-title {
    font-size: 0.7rem;
    color: #a68b6a;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Mitr', sans-serif;
}

@media (max-width: 1200px) {
    .doctor-grid-wrap {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .doctor-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
    }
}

/* PROMOTIONS */
.promo-split-container {
    display: flex;
    gap: 80px;
    align-items: center;
}

.promo-split-left {
    flex: 0 0 400px;
}

.promo-split-right {
    flex: 1;
}

.promo-2x2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.promo-square-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.5s;
}

.promo-square-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

@media (max-width: 1100px) {
    .promo-split-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .promo-split-left {
        flex: none;
        width: 100%;
    }
}

/* SANCTUARY */
.collage-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
    margin-top: 40px;
}

.coll-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.coll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ci-1 {
    grid-column: 1/3;
    grid-row: 1/2;
}

.ci-2 {
    grid-column: 3/4;
    grid-row: 1/2;
}

.ci-3 {
    grid-column: 4/5;
    grid-row: 1/2;
}

.ci-4 {
    grid-column: 1/2;
    grid-row: 2/3;
}

.ci-5 {
    grid-column: 2/5;
    grid-row: 2/3;
}

@media (max-width: 768px) {
    .collage-wrap {
        grid-template-rows: repeat(2, 140px);
        gap: 10px;
    }
}

/* RESULTS */
.ba-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.ba-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* HERO MOBILE FIX */
@media (max-width: 768px) {
    .ALA-hero {
        flex-direction: column !important;
        height: auto !important;
        min-height: unset !important;
        display: block !important;
    }

    .ALA-hero-left {
        height: 60vh !important;
        min-height: 400px !important;
        width: 100% !important;
        flex: none !important;
    }

    .ALA-hero-right {
        height: auto !important;
        width: 100% !important;
        flex: none !important;
    }

    .ALA-promo-card {
        position: relative !important;
        height: 320px !important;
        width: 100% !important;
    }

    .logo-img {
        height: 48px !important;
    }

    .navbar .logo,
    .logo {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
    }

    .nav-container {
        justify-content: center !important;
    }
}

/* CONTACT CARDS */
.contact-grid-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.c-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.c-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #a68b6a;
    font-weight: 600;
    text-transform: uppercase;
}

.c-val {
    font-size: 0.9rem;
    font-weight: 500;
    color: #3d3d3d;
}

@media (max-width: 600px) {
    .contact-grid-wrap {
        grid-template-columns: 1fr;
    }
}