body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
}

:root {
    --gold: #FFD700;
    --black: #000;
    --white: #fff;
}

/* --- Botón Flotante de WhatsApp --- */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button i {
    font-size: 24px;
}

/* --- Sección Principal (Hero) --- */
.hero-section {
    position: relative;
    height: 80vh;
    width: 100%;
    background-image: url('1.1.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 300px;
    margin-bottom: 20px;
    filter: brightness(2) saturate(0) hue-rotate(270deg) invert(1) contrast(2);
}

.hero-content h1 {
    font-size: 3em;
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Barra de Navegación --- */
.top-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

.top-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 15px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.top-nav a:hover {
    border-color: var(--gold);
}

.social-buttons a {
    font-size: 20px;
}

/* --- Sección de Tratamientos --- */
.treatments-section {
    padding: 80px 50px;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 50px;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.treatment-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.treatment-card:hover {
    transform: translateY(-10px);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 5px;
    height: 300px;
    overflow: hidden;
}

.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.treatment-card h3 {
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    margin: 20px 0 10px;
}

.treatment-card p {
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* --- Sección de Contacto --- */
.contact-section {
    padding: 80px 50px;
    background-color: #f0f0f0;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    font-size: 1.1em;
}

.social-icons a {
    color: var(--black);
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--gold);
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.map-link:hover {
    background-color: #555;
}

/* --- Sección de Llamada a la Acción --- */
.call-to-action {
    background-color: #EFEFEF;
    padding: 50px 20px;
    text-align: center;
}

.call-to-action h2 {
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
}

.cta-button {
    display: inline-block;
    background-color: var(--gold);
    color: var(--black);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e0b000;
}

/* Media Queries */
@media (max-width: 768px) {
    .contact-grid, .top-nav {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .top-nav {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        top: 10px;
    }
    .social-buttons {
        margin-top: 10px;
    }
    .hero-content h1 {
        font-size: 2em;
    }
}