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

:root {
    /* Paleta de Cores Harmonic */
    --primary-color: #8B4513;        /* Marrom Terra */
    --secondary-color: #D2B48C;      /* Bege Dourado */
    --accent-color: #F5DEB3;         /* Wheat/Trigo */
    --neutral-dark: #2F2F2F;         /* Cinza Escuro */
    --neutral-light: #F8F6F0;        /* Off-white Creme */
    --text-primary: #2F2F2F;         /* Texto principal */
    --text-secondary: #8B4513;       /* Texto secundário */
    --background-light: #FEFEFE;     /* Fundo claro */

    /* Tipografia */
    --font-primary: 'Alta', 'Playfair Display', serif;
    --font-secondary: 'Raleway', sans-serif;
}

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

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

/* Hero Section */
.hero-section {
    min-height: 70vh;
    background: url('../../fundo desktop.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    padding: 60px 0 120px 0;
    margin-bottom: -80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="butterfly" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" font-size="12" opacity="0.1">🦋</text></pattern></defs><rect width="100" height="100" fill="url(%23butterfly)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

/* Efeito de fade na parte inferior da hero section */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom,
        rgba(248, 246, 240, 0) 0%,
        rgba(248, 246, 240, 0.3) 30%,
        rgba(248, 246, 240, 0.7) 60%,
        rgba(248, 246, 240, 0.9) 80%,
        rgba(248, 246, 240, 1) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    color: var(--text-primary);
    text-align: left;
}

/* Mobile Hero Image - Hidden on Desktop */
.mobile-hero-image {
    display: none;
}

/* Brand Logo Section */
.brand-logo {
    margin-bottom: 25px;
}

.logo-image {
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: left;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text-secondary);
    text-align: left;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-description {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-align: left;
    opacity: 1;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 30px;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    border-color: #25D366;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.cta-button i {
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    padding: 80px 0 100px;
    background: linear-gradient(to bottom,
        var(--neutral-light) 0%,
        rgba(248, 246, 240, 0.8) 30%,
        rgba(255, 255, 255, 0.95) 60%,
        var(--background-light) 100%);
    position: relative;
    z-index: 4;
    margin-top: -30px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 60px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(139, 69, 19, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(210, 180, 140, 0.3);
    position: relative;
    z-index: 5;
    text-align: center;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 35px;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 1px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 400;
}

.about-text p {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
    opacity: 0.9;
    line-height: 1.7;
}

/* Treatments Section */
.treatments-section {
    padding: 100px 0;
    background: white;
}

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

.section-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.section-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Treatments Grid */
.treatments-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
    justify-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.treatment-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 380px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.treatment-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    background-color: #f8f9fa;
}

/* Specific positioning for toxina image */
.treatment-image[src="toxina.jpeg"] {
    object-position: center 25%;
}

.treatment-info {
    padding: 25px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-family: var(--font-primary);
    line-height: 1.3;
}

.treatment-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}



/* Marquee Section */
.marquee-section {
    background: var(--primary-color);
    padding: 30px 0;
    overflow: hidden;
}

.marquee-container {
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    animation: marquee 12s linear infinite;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    white-space: nowrap;
    will-change: transform;
}

.marquee-content span {
    flex-shrink: 0;
    padding-right: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-20%);
    }
}

/* Before/After Section */
.before-after-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.before-after-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.before-after-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.before-after-image {
    position: relative;
    overflow: hidden;
}

.result-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.before-after-card:hover .result-image {
    transform: scale(1.05);
}

.before-after-info {
    padding: 30px;
    text-align: center;
}

.result-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-family: var(--font-primary);
}

.result-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Differentials Section */
.differentials-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.differential-card {
    text-align: center;
    padding: 30px 20px;
}

.differential-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.differential-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.differential-description {
    color: #555;
    line-height: 1.6;
}



/* Doctor Section */
.doctor-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.doctor-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.doctor-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.doctor-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Clinic Space Section */
.clinic-space-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.space-description {
    max-width: 800px;
    margin: 0 auto 60px;
}

.space-description p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Interactive Gallery */
.space-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 15px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.2);
    z-index: 10;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 69, 19, 0.8) 0%,
        rgba(210, 180, 140, 0.6) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

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

/* Gallery Layout Variations */
.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(7) {
    grid-column: span 2;
    grid-row: span 1;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section .section-title {
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

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

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 0 20px;
    color: #555;
    line-height: 1.6;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

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

/* Footer */
.footer {
    background: var(--neutral-dark);
    color: white;
    padding: 60px 0 30px;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.address {
    margin-bottom: 30px;
}

.address a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    background-color: white;
    margin: 20px auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

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

/* Large Desktop - Treatments Grid */
@media (min-width: 1200px) {
    .treatments-grid {
        grid-template-columns: repeat(3, 320px);
        gap: 40px;
        justify-content: center;
    }
}

/* Medium Desktop - Treatments Grid */
@media (min-width: 769px) and (max-width: 1199px) {
    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 900px;
    }

    .treatment-card {
        max-width: 280px;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        background: linear-gradient(135deg, var(--neutral-light) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
        padding: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
    }

    .mobile-hero-image {
        width: 100%;
        height: 200px;
        background: url('../../fundo mobile.jpg') center center/cover no-repeat;
        display: block;
        position: relative;
    }

    .mobile-hero-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom,
            transparent 0%,
            rgba(248, 246, 240, 0.4) 40%,
            rgba(248, 246, 240, 0.8) 70%,
            var(--neutral-light) 100%
        );
    }

    .hero-section::after {
        height: 100px;
        background: linear-gradient(to bottom,
            rgba(248, 246, 240, 0) 0%,
            rgba(248, 246, 240, 0.3) 25%,
            rgba(248, 246, 240, 0.6) 50%,
            rgba(248, 246, 240, 0.85) 75%,
            rgba(248, 246, 240, 1) 100%);
    }

    .hero-container {
        padding: 20px 20px 120px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: linear-gradient(to bottom,
            var(--neutral-light) 0%,
            var(--neutral-light) 60%,
            rgba(248, 246, 240, 0.8) 80%,
            rgba(248, 246, 240, 0.4) 90%,
            transparent 100%
        );
        margin-top: -20px;
        position: relative;
        z-index: 10;
    }

    .brand-logo {
        text-align: center;
        margin-bottom: 20px;
    }

    .logo-image {
        max-width: 350px;
        margin-bottom: 15px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.2;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 12px;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
        text-align: center;
    }

    .cta-button {
        padding: 16px 25px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Modal Mobile */
    .modal {
        padding: 10px 0;
    }

    .modal-content {
        margin: 10px auto;
        padding: 25px 20px;
        width: 95%;
        max-height: calc(100vh - 20px);
        border-radius: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
    
    .doctor-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        gap: 15px;
    }

    .about-section {
        padding: 50px 0 50px;
        margin-top: -30px;
        position: relative;
        z-index: 5;
    }

    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
        justify-items: center;
    }

    .treatment-card {
        height: 340px;
        max-width: 280px;
        width: 100%;
    }

    .treatment-image {
        height: 220px;
        object-position: center;
    }

    .treatment-info {
        padding: 20px 15px;
        min-height: 120px;
    }

    .treatment-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .before-after-card {
        border-radius: 15px;
    }

    .result-image {
        height: 200px;
    }

    .before-after-info {
        padding: 20px 15px;
    }

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

    .result-description {
        font-size: 0.9rem;
    }

    .about-content {
        padding: 30px 20px;
        margin: 0 15px;
    }

    /* Clinic Space Mobile */
    .space-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 180px);
        gap: 10px;
        margin-top: 40px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-overlay {
        font-size: 0.9rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .mobile-hero-image {
        height: 180px;
    }

    .mobile-hero-image::after {
        height: 50px;
    }

    .logo-image {
        max-width: 300px;
    }

    .hero-container {
        padding: 15px 15px 80px 15px;
        margin-top: -15px;
    }

    .about-section {
        margin-top: -10px;
        padding: 50px 0 40px;
        z-index: 5;
    }

    .hero-section::after {
        height: 120px;
    }

    .about-section {
        padding: 40px 0 40px;
        margin-top: -25px;
    }

    .about-content {
        padding: 25px 15px;
        margin: 0 10px;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        justify-items: center;
    }

    .treatment-card {
        height: 360px;
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }

    .treatment-image {
        height: 240px;
        object-position: center;
    }

    .treatment-info {
        padding: 20px 15px;
        min-height: 120px;
    }

    .treatment-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .before-after-card {
        max-width: 300px;
        margin: 0 auto;
    }

    .result-image {
        height: 180px;
    }

    .result-title {
        font-size: 1.1rem;
    }

    .result-description {
        font-size: 0.85rem;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .container {
        padding: 0 15px;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }

    /* Clinic Space Mobile Small */
    .space-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 200px);
        gap: 15px;
        margin-top: 30px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Modal Mobile Small */
    .modal {
        padding: 5px 0;
    }

    .modal-content {
        margin: 5px auto;
        padding: 20px 15px;
        width: 98%;
        max-height: calc(100vh - 10px);
        border-radius: 8px;
    }

    .close {
        right: 15px;
        top: 15px;
        font-size: 1.5rem;
    }
}
