/* ==========================================================================
   CSS Variables & Core Settings
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-color: #0066cc;
    --primary-hover: #0052a3;
    --primary-light: #e6f0fa;
    --secondary-color: #00b4d8;
    --accent-color: #90e0ef;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    /* Layout & Styling Values */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Font Families */
    --font-heading: 'Outfit', 'Noto Sans Thai', sans-serif;
    --font-body: 'Inter', 'Noto Sans Thai', sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

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

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

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

.btn-call {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-call:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-line {
    background-color: #06C755;
    color: var(--bg-white);
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(6, 199, 85, 0.2);
}

.btn-line:hover {
    background-color: #05b04b;
    transform: translateY(-2px);
}

.btn-facebook {
    background-color: #0084FF;
    color: var(--bg-white);
    font-weight: 500;
}

.btn-facebook:hover {
    background-color: #0070d6;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.w-full {
    width: 100%;
}

.mb-10 {
    margin-bottom: 10px;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.main-header.scrolled {
    padding: 12px 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 5px rgba(0, 102, 204, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

/* Navigation Links */
.desktop-nav ul {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hamburger Menu button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-menu span {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Mobile Drawer & Overlay
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 1002;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-close {
    font-size: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-nav {
    margin: 30px 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    display: block;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.drawer-footer {
    margin-top: auto;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background-color: #f0f7ff;
    overflow: hidden;
}

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

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: var(--accent-color);
    top: -100px;
    right: -50px;
    animation: floatingShape 15s infinite alternate ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background-color: var(--primary-light);
    bottom: -50px;
    left: -100px;
    animation: floatingShape 12s infinite alternate-reverse ease-in-out;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight-text {
    color: var(--primary-color);
    position: relative;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.main-card-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-white);
    border: 8px solid var(--bg-white);
    transform: rotate(1deg);
    transition: var(--transition-smooth);
}

.main-card-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 8px);
}

.hero-floating-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-floating-badge i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.hero-floating-badge h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-floating-badge p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Section Generic Header
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
}

.header-line {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 15px;
    border-radius: 10px;
}

.section-description {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Services Grid Section
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background-color: var(--bg-white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.05);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link i {
    font-size: 0.75rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   Pricing Section & Tabs
   ========================================================================== */
.prices-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

/* Tab Controller Grid */
.price-tab-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.price-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.price-tab-btn {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.price-tab-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.price-tab-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

/* Panels */
.price-panel {
    display: none;
    animation: fadeInPanel 0.4s ease-in-out;
}

.price-panel.active {
    display: block;
}

.panel-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-left: 10px;
    border-left: 4px solid var(--primary-color);
}

/* Table Style */
.price-table {
    display: flex;
    flex-direction: column;
}

.price-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.price-row.header {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: var(--radius-sm);
}

.price-row:not(.header):hover {
    background-color: #fcfdfe;
}

.col-service {
    font-weight: 500;
}

.col-price {
    font-weight: 600;
    color: var(--text-dark);
}

.col-price.highlight {
    color: var(--primary-color);
}

.col-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-footer-info {
    margin-top: 30px;
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.price-footer-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.price-footer-info ul {
    list-style: disc;
    margin-left: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-footer-info li {
    margin-bottom: 6px;
}

/* ==========================================================================
   Gallery Section & Video
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 204, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Video Section styling */
.video-reviews-container {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.video-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.review-video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-info {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.video-info h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ==========================================================================
   Doctors Team Section
   ========================================================================== */
.doctors-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.doctor-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 102, 204, 0.1);
}

.doctor-image {
    position: relative;
    background-color: var(--primary-light);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.doc-placeholder-img {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.7;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(230,240,250,0) 70%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-placeholder-img.female {
    color: #e066ff;
}

.doctor-info {
    padding: 24px;
}

.doc-specialty {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.doc-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.doc-education {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.doc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.doc-tag {
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ==========================================================================
   Contact & Booking Section
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-info-card {
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.contact-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

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

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

.maps-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 5px;
}

.maps-link-btn:hover {
    text-decoration: underline;
}

.booking-platforms h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-media-card {
    height: 100%;
}

.map-wrapper {
    height: 100%;
    min-height: 400px;
}

.map-wrapper iframe {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #2d3748;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .brand-name {
    color: var(--bg-white);
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #2d3748;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4, .footer-services h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 24px;
}

.footer-links ul, .footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a, .footer-services a {
    font-size: 0.85rem;
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #121620;
    padding: 24px 0;
    font-size: 0.8rem;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ==========================================================================
   Dialog / Lightbox Gallery
   ========================================================================== */
.lightbox-dialog {
    border: none;
    border-radius: var(--radius-lg);
    background-color: transparent;
    padding: 0;
    margin: auto;
    box-shadow: var(--shadow-lg);
    max-width: 90vw;
    max-height: 90vh;
    outline: none;
    overflow: visible;
}

.lightbox-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    border: 4px solid var(--bg-white);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.lightbox-media-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.lightbox-img {
    max-height: 70vh;
    width: 100%;
    object-fit: contain;
}

.lightbox-info {
    padding: 20px 24px;
    background-color: var(--bg-white);
}

#lightbox-caption {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Lightbox controls */
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.lightbox-prev {
    left: -25px;
}

.lightbox-next {
    right: -25px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes floatingShape {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -20px) scale(1.05);
    }
    100% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

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

/* ==========================================================================
   Media Queries (Responsive Design)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }

    .hero-img {
        height: 380px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-media-card {
        height: 350px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    .main-header {
        padding: 8px 0;
    }
    
    .main-header.scrolled {
        padding: 6px 0;
    }
    
    .logo {
        gap: 6px;
    }

    .logo-icon {
        font-size: 1.4rem;
    }

    .brand-name {
        font-size: 0.95rem;
        line-height: 1;
    }

    .brand-sub {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }
    
    .btn-call {
        padding: 5px 10px;
        font-size: 0.75rem;
        border-radius: 20px;
        white-space: nowrap;
    }
    
    .header-cta {
        gap: 8px;
    }

    .desktop-nav {
        display: none;
    }
    
    .header-cta .btn-primary {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .price-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .price-tab-btn {
        justify-content: center;
    }
    
    .price-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .price-row.header {
        display: none; /* Hide header on mobile for card view */
    }
    
    .price-row {
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        margin-bottom: 12px;
        background-color: var(--bg-light);
    }
    
    .col-service::before {
        content: "รายการ: ";
        font-weight: 700;
        color: var(--primary-color);
    }
    
    .col-price::before {
        content: "ราคาเริ่มต้น: ";
        font-weight: 700;
    }
    
    .col-note::before {
        content: "หมายเหตุ: ";
        font-weight: 700;
    }

    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-dialog {
        max-width: 95vw;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }

    .video-reviews-container {
        padding: 20px 12px;
        overflow: hidden;
    }

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

    .video-card {
        width: 100%;
        overflow: hidden;
    }

    .review-video {
        width: 100%;
        max-width: 100%;
        display: block;
    }
}
