/* Custom CSS Variables Configuration */
:root {
    --color-bg-light: #F9F8F4;      /* Calming Sand Beige tint */
    --color-primary: #4A6B5D;       /* Deep Medical Sage Green */
    --color-secondary: #2C3E35;     /* Dark Forest Green Text */
    --color-accent: #8E4A49;        /* Warm Crimson/Qi color accents */
    --color-card-bg: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Document Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-secondary);
    font-family: var(--font-sans);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Structural Navigation Header */
header {
    background-color: rgba(249, 248, 244, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(74, 107, 93, 0.1);
}

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

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

/* TRUST LINE */
.trust-line {
    margin: 18px 0 30px;
    color: var(--color-primary);
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    font-weight: 600;
}

/* LOCATIONS */
.locations {
    padding: 100px 0;
    background: #F4F3EE;
}

.locations-text {
    max-width: 760px;
    margin: 0 auto 40px auto;
    font-size: 1.05rem;
    color: #55665C;
}

.map-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(74, 107, 93, 0.08);
}

/* EMAIL LINKS */
.email-contact a {
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.email-contact a:hover {
    opacity: 0.8;
}

/* WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 28px;
    right: 28px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
}


.whatsapp-float svg {
    width: 34px;
    height: 34px;
}

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

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .science-edge h2,
    .section-title,
    footer h2 {
        font-size: 1.8rem;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        bottom: 20px;
        right: 20px;
    }
}
.logo-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}

.logo-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7A8B82;
    margin-top: 2px;
}

/* LOCATIONS SECTION */
.locations {
    padding: 110px 0;
    background: linear-gradient(
        to bottom,
        #F4F3EE,
        #F9F8F4
    );
}

.locations-intro {
    max-width: 720px;
    margin: 0 auto 60px auto;
    color: #5E6B64;
    font-size: 1.05rem;
}

/* ZONES GRID */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.zone-card {
    background: white;
    padding: 42px 30px;
    border-radius: 18px;
    border: 1px solid rgba(74, 107, 93, 0.08);
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.zone-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.zone-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.02);
}

.zone-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 24px auto;
    border-radius: 50%;
    background: rgba(74, 107, 93, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
}

.zone-card h3 {
    font-family: var(--font-serif);
    margin-bottom: 12px;
    font-size: 1.35rem;
    color: var(--color-secondary);
}

.zone-card p {
    color: #66756C;
    font-size: 0.96rem;
    line-height: 1.7;
}

/* MAP */
.map-wrapper {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(74, 107, 93, 0.08);
}

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

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

    .zone-card.featured {
        transform: none;
    }
}

/* Simple Language Switcher Styling */
.lang-switcher button {
    background: none;
    border: 1px solid rgba(74, 107, 93, 0.3);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.lang-switcher button.active, .lang-switcher button:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Hero Section Alignment */
.hero {
    padding: 80px 0;
}

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

.hero-image-wrapper {
    position: relative;
    max-width: 440px;
    justify-self: center;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(142, 74, 73, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.qi-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: var(--color-accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(142, 74, 73, 0.3);
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--color-secondary);
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-description {
    color: #55665C;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(74, 107, 93, 0.2);
}

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

/* Microbiologist Core Selling Point Section */
.science-edge {
    background-color: #EFEFEA;
    padding: 90px 0;
    border-top: 1px solid rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.badge {
    display: inline-block;
    background-color: rgba(142, 74, 73, 0.1);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.science-edge h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.science-p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #4A5850;
}

/* Therapeutic Services Cards / Pricing Layout */
.services {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.card {
    background: var(--color-card-bg);
    border: 1px solid rgba(74, 107, 93, 0.08);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74, 107, 93, 0.06);
}

.card.highlighted {
    border: 2px solid var(--color-primary);
}

.card-badge {
    position: absolute;
    top: -14px;
    left: 30px;
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--color-secondary);
}

.duration {
    font-size: 0.85rem;
    color: #8A9B90;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.card-desc {
    color: #66756C;
    font-size: 0.95rem;
    margin-bottom: auto; /* Pushes price to the bottom */
    padding-bottom: 30px;
}

.price {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 600;
}

.billing-note {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #8A9B90;
}

/* Footer Element styling */
footer {
    background-color: var(--color-secondary);
    color: #C5D0C9;
    padding: 80px 0 40px 0;
}

footer h2 {
    font-family: var(--font-serif);
    color: white;
    font-size: 2rem;
    margin-bottom: 16px;
}

.email-contact {
    font-size: 1.4rem;
    color: white;
    margin: 30px 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-copy {
    font-size: 0.8rem;
    color: #6E8276;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
}

/* Modern Performance Animations without Engine overhead */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Responsive Structural Breakpoints */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-image-wrapper {
        order: -1;
    }
}