/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
   :root {
    /* Color Palette - Sophisticated & Calming */
    --clr-bg: #FDFBF7; /* Off-white / Creme */
    --clr-bg-alt: #F4EFEB; /* Light warm grey/beige */
    --clr-accent: #C8A97E; /* Soft Gold / Champagne */
    --clr-accent-light: #E5DAC8;
    --clr-accent-alt: #8A9A90; /* Subtle grey-green */
    --clr-text-dark: #2A2C2B;
    --clr-text-light: #FFFFFF;
    --clr-text-muted: #6B6D6C;
    
    --clr-glass: rgba(253, 251, 247, 0.7);
    --clr-glass-dark: rgba(42, 44, 43, 0.05);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Radii & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.08);
}

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

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

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--space-xl) 0;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-accent-alt);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.section-desc.centered {
    margin: 0 auto 4rem;
    text-align: center;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.fade-up { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 1s ease, transform 1s ease; 
}
.reveal-up { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); 
}
.reveal-left { 
    opacity: 0; 
    transform: translateX(-40px); 
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); 
}
.reveal-right { 
    opacity: 0; 
    transform: translateX(40px); 
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); 
}

.active { opacity: 1; transform: translate(0); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px; /* Pill shape */
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-text-light);
    box-shadow: 0 8px 24px rgba(200, 169, 126, 0.3);
}

.btn-primary:hover {
    background-color: #b59468;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(200, 169, 126, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--clr-accent);
    color: var(--clr-accent);
}

.btn-outline:hover {
    background: var(--clr-accent);
    color: var(--clr-text-light);
}

.btn-glass {
    background: rgba(253, 251, 247, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--clr-text-dark);
}

.btn-glass:hover {
    background: rgba(253, 251, 247, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: var(--clr-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

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

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

.logo-name {
    font-family: 'Lobster', cursive;
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: var(--clr-accent);
}

.logo-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-text-dark);
    margin-top: 0.2rem;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-dark);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-accent);
    transition: width 0.3s ease;
}

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

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

.nav-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}



/* Optional overlay to ensure text legibility depending on color */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(253, 251, 247, 0.4) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--clr-text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 1px solid var(--clr-text-dark);
    border-radius: 20px;
    display: block;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--clr-text-dark);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* ==========================================================================
   Sobre Section
   ========================================================================== */
.about {
    background-color: var(--clr-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
}

.img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    background-color: var(--clr-accent-light);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-list {
    list-style: none;
    margin-top: 2rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-list i {
    color: var(--clr-accent-alt);
    font-size: 1.5rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background-color: var(--clr-bg-alt);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--clr-bg);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-alt));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--clr-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--clr-text-dark);
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.service-text {
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Specialized Treatments
   ========================================================================== */
.specialized-treatments {
    background-color: var(--clr-bg);
}

.card-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--clr-text-dark);
}

.card-list i {
    color: var(--clr-accent);
    font-size: 1.2rem;
}

/* ==========================================================================
   Differentials Section
   ========================================================================== */
.differentials {
    background-color: var(--clr-bg-alt);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.diff-card {
    background: var(--clr-bg);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
    border: 1px solid rgba(200, 169, 126, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--clr-accent);
}

.diff-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.diff-card-header i {
    font-size: 2rem;
    color: var(--clr-accent);
}

.diff-card-header h5 {
    font-size: 1.3rem;
    font-weight: 500;
}

.diff-card p {
    color: var(--clr-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background-color: var(--clr-bg);
    padding-bottom: 0; /* Let footer blend */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: var(--space-xl);
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background-color: var(--clr-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-accent);
    box-shadow: var(--shadow-soft);
}

.cta-btn {
    margin-top: 3rem;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    filter: grayscale(80%) sepia(10%); /* Make map blend nicely */
    transition: filter 0.5s ease;
}

.map-placeholder:hover {
    filter: grayscale(0%) sepia(0%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--clr-text-dark);
    color: var(--clr-text-light);
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand .logo-title {
    color: var(--clr-accent-light);
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--clr-text-light);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    width: 100%;
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
    background-color: var(--clr-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 44, 43, 0.85) 0%, rgba(42, 44, 43, 0.2) 60%, rgba(42, 44, 43, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

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

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 54px;
    height: 54px;
    background: var(--clr-accent);
    color: var(--clr-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    box-shadow: 0 4px 15px rgba(200, 169, 126, 0.4);
}

.gallery-item:hover .gallery-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.gallery-caption {
    color: var(--clr-text-light);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.5px;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(42, 44, 43, 0.96);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox.active #lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--clr-text-light);
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 0.5px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--clr-text-light);
    font-size: 3rem;
    font-weight: 200;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    z-index: 2010;
}

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

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(253, 251, 247, 0.05);
    border: 1px solid rgba(253, 251, 247, 0.2);
    color: var(--clr-text-light);
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2010;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: var(--clr-text-light);
    box-shadow: 0 4px 15px rgba(200, 169, 126, 0.4);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .differentials-wrapper, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .nav-links {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lightbox-close {
        top: 25px;
        right: 25px;
        font-size: 2.5rem;
    }

    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    
    .lightbox-prev, .lightbox-next {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
}
