/* Font Face Declaration */
@font-face {
    font-family: 'About Love';
    src: url('../fuentes/AboutLove.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Brand Colors */
:root {
    /* Primary Colors */
    --slate-blue: #785FD0;      /* Slate Blue - Primary Action Color */
    --purple-navy: #5A517A;     /* Purple Navy - Secondary/Background Color */
    --gold-yellow: #FFD700;     /* Gold Yellow - Accent Color */
    
    /* Neutral Colors */
    --white: #FFFFFF;           /* White */
    --black: #1A1A1A;           /* Black */
    
    /* Typography */
    --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-elegant: 'About Love', cursive;
    
    /* Color Variations */
    --slate-blue-light: rgba(120, 95, 208, 0.08);
    --purple-navy-light: rgba(90, 81, 122, 0.08);
    --gold-yellow-light: rgba(255, 215, 0, 0.08);
    
    /* UI States */
    --slate-blue-hover: #9B8AE3;    /* Lighter for hover states */
    --purple-navy-hover: #B4A7E8;   /* Lighter for hover states */
    --slate-blue-active: #6850C0;   /* Darker for active states */
    --purple-navy-active: #4A416A;  /* Darker for active states */
    
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, var(--slate-blue) 0%, var(--purple-navy) 100%);
    --gradient-hover: linear-gradient(135deg, var(--slate-blue-hover) 0%, var(--purple-navy-hover) 100%);
    --gradient-active: linear-gradient(135deg, var(--slate-blue-active) 0%, var(--purple-navy-active) 100%);
    --gradient-light: linear-gradient(135deg, var(--slate-blue-light) 0%, var(--purple-navy-light) 100%);
    
    /* Text Colors */
    --text-primary: #2D2D2D;        /* Dark gray for main text */
    --text-secondary: #4A4A4A;      /* Medium gray for secondary text */
    --text-light: var(--white);     /* White text */
    --text-muted: #666666;          /* Muted text color */

    /* Variables globales */
    --primary-color: #785FD0;
    --secondary-color: #9B8AE3;
    --text-color: #333;
    --light-text: #666;
    --background-color: #fff;
    --light-background: #f8f9fa;
    --border-color: rgba(120, 95, 208, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--purple-navy);
}

p {
    color: var(--text-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-pink {
    color: var(--primary-light);
}

.glass-effect {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.95);
}

.gradient-bg {
    background: var(--gradient-primary);
}

.bg-alt {
    background: var(--gradient-light);
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Icon Background Colors */
.bg-pink {
    background-color: var(--primary-light);
    color: var(--slate-blue);
}

.bg-location {
    background-color: transparent;
    border: none;
}

.bg-location i {
    color: #FF0000 !important;
    stroke: #FF0000 !important;
}

.bg-blue {
    background-color: var(--purple-navy-light);
    color: var(--purple-navy);
}

.bg-purple {
    background-color: var(--slate-blue-light);
    color: var(--slate-blue);
}

.bg-green {
    background-color: var(--gold-yellow-light);
    color: var(--gold-yellow);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid var(--slate-blue-light);
    background-color: rgba(255, 255, 255, 0.98);
    color: rgb(130, 95, 212);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem 0;
    height: 120px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.logo {
    position: absolute;
    left: 2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    z-index: 10;
    outline: none;
}

.logo:focus {
    outline: none;
    box-shadow: none;
}

.logo:active {
    outline: none;
    box-shadow: none;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--purple-navy);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--slate-blue);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--slate-blue);
}

/* Header Actions */
.header-actions {
    position: absolute;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #128C7E;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn-whatsapp:hover {
    background-color: #25D366;
    transform: translateY(-1px);
}

/* Ajuste para el contenido principal */
main {
    padding-top: 120px; /* Espacio para el header fijo */
}

@media (max-width: 768px) {
    .header {
        height: 100px;
        padding: 0.5rem 0;
    }

    .header-content {
        justify-content: space-between;
        padding: 0 1rem;
    }

    .logo {
        position: static;
    }

    .logo-img {
        height: 80px;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        position: static;
    }

    main {
        padding-top: 100px;
    }
}

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

.hero-bg {
    background-image: url('../imagenes/portada.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
}

.hero-title {
    font-family: var(--font-elegant);
    font-weight: 400;
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #128C7E;
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(18, 140, 126, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(37, 211, 102, 0.25);
}

.btn-primary:active {
    background: #075E54;
    transform: translateY(0);
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--purple-navy-light);
    opacity: 0.5;
    z-index: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.benefit-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background-color: var(--slate-blue-light);
    color: var(--slate-blue);
    transition: all 0.3s ease;
}

.benefit-icon i {
    width: 2rem;
    height: 2rem;
}

.benefit-item:hover .benefit-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.benefit-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--purple-navy);
}

.benefit-item p {
    color: var(--text-primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-elegant);
    font-weight: 400;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--purple-navy);
}

.section-subtitle {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Treatments Section */
.treatments {
    padding: 5rem 0;
    background-color: var(--white);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.treatments.bg-alt .treatments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.treatment-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--slate-blue-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-image {
    height: 12rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.treatment-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.treatment-content h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    min-height: 2.7rem;
    line-height: 1.3;
    color: var(--purple-navy);
}

.treatment-content p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.btn-treatment {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px 0 rgba(120, 95, 208, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-treatment i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--white);
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 0.5rem;
}

.btn-treatment:hover i {
    transform: scale(1.2);
}

.btn-treatment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-treatment:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(120, 95, 208, 0.3);
}

.btn-treatment:hover::before {
    opacity: 1;
}

.btn-treatment:active {
    background: var(--gradient-active);
    transform: translateY(1px);
    box-shadow: 0 2px 8px 0 rgba(120, 95, 208, 0.2);
}

.btn-treatment:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(120, 95, 208, 0.3);
}

/* Efecto de pulso para llamar la atención */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(120, 95, 208, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(120, 95, 208, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(120, 95, 208, 0);
    }
}

.btn-treatment {
    animation: pulse 2s infinite;
}

/* Estado de carga */
.btn-treatment.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-treatment.loading::after {
    content: '';
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) {
    .btn-treatment:hover {
        transform: none;
    }
    
    .btn-treatment:active {
        transform: scale(0.98);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--purple-navy-light);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--slate-blue-light);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--slate-blue);
    box-shadow: 0 8px 25px 0 var(--slate-blue-light);
}

.stars {
    display: flex;
    margin-bottom: 1rem;
    gap: 0.25rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--purple-navy);
}

/* Special Offer Section */
.special-offer {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

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

.offer-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.offer-details {
    max-width: 32rem;
    margin: 0 auto 2rem;
}

.offer-details p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0.9;
}

.btn-offer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #128C7E;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(18, 140, 126, 0.3);
    border: none;
    cursor: pointer;
}

.btn-offer:hover {
    background: #25D366;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(37, 211, 102, 0.2);
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--white);
    width: 100%;
    overflow: hidden;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
}

.contact-item {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--slate-blue-light);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--slate-blue);
    box-shadow: 0 8px 25px 0 var(--slate-blue-light);
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background-color: var(--slate-blue-light);
    color: var(--slate-blue);
}

.contact-icon i {
    width: 1.75rem;
    height: 1.75rem;
}

.contact-item h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--purple-navy);
}

.contact-item p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    white-space: normal;
}

.contact-item .contact-link {
    color: var(--slate-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.contact-item .contact-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

.contact-item .contact-link:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.contact-item .contact-link:hover {
    color: var(--slate-blue-hover);
    text-decoration: underline;
}

.map-container {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 200px;
    border: none;
}

.map-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.map-links .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background-color: var(--slate-blue-light);
    color: var(--slate-blue);
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-links .contact-link:hover {
    background-color: var(--slate-blue-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.map-links .contact-link i {
    width: 16px;
    height: 16px;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .contact {
        padding: 5rem 0;
    }

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

    .contact-item {
        padding: 2rem;
    }

    .contact-icon {
        width: 4rem;
        height: 4rem;
        margin-bottom: 1.5rem;
    }

    .contact-icon i {
        width: 2rem;
        height: 2rem;
    }

    .contact-item h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .contact-item p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-link {
        margin-top: 1rem;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: #F5F3F8;
    padding: 1rem 0;
    text-align: center;
}

.footer p {
    color: var(--purple-navy);
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.875rem;
    margin: 0;
}

.footer-brand {
    font-family: var(--font-elegant);
    font-size: 2rem;
    color: var(--slate-blue);
    position: relative;
}

.big-e {
    font-size: 1.5em;
    vertical-align: -0.1em;
    margin-right: -0.05em;
    display: inline-block;
}

.footer-sans {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.875rem;
    color: rgb(154, 135, 169);
}

@media (max-width: 768px) {
    .footer {
        padding: 0.75rem 0;
    }

    .footer p {
        font-size: 0.75rem;
    }

    .footer-brand {
        font-size: 1.5rem;
    }

    .footer-sans {
        font-size: 0.75rem;
    }
}

/* Mobile-First Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        font-weight: 400;
    }

    .header-content {
        padding: 0.75rem 0;
    }

    .logo {
        position: static;
    }

    .logo-img {
        height: 80px;
    }

    .btn-whatsapp {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    .benefits-grid,
    .treatments-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .treatment-card {
        margin: 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .benefit-item h3 {
        font-size: 1rem;
    }

    .benefit-item p {
        font-size: 0.875rem;
    }

    .treatment-content {
        padding: 1rem;
    }

    .treatment-content h3 {
        font-size: 1rem;
        min-height: 2.4rem;
    }

    .treatment-content p {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }

    .btn-treatment {
        font-size: 0.8125rem;
        padding: 0.625rem 0.875rem;
        min-height: 2.5rem;
    }

    .testimonial-text {
        font-size: 0.875rem;
    }

    .testimonial-author {
        font-size: 0.875rem;
    }

    .offer-title {
        font-size: 1.5rem;
    }

    .offer-details p {
        font-size: 1rem;
    }

    .btn-offer {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }

    .contact {
        padding: 2rem 0;
    }

    .contact-grid {
        gap: 1rem;
    }

    .contact-item {
        padding: 1rem;
        min-height: auto;
    }

    .contact-item p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.15rem;
        padding: 0 0.5rem;
    }

    .contact-item .contact-icon {
        margin-bottom: 0.75rem;
    }

    .contact-item h3 {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    .contact-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        margin-top: 0.5rem;
        white-space: nowrap;
    }

    /* Ajustes específicos para la dirección */
    .contact-item:nth-child(2) p {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 0.1rem;
    }

    .contact-item:nth-child(2) .contact-link {
        margin-top: 0.25rem;
    }

    .footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        padding-bottom: 2rem;
    }

    .footer-logo {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .footer-tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-link {
        font-size: 1rem;
    }

    .footer-copyright {
        padding: 1rem 0;
    }

    .footer-copyright p {
        font-size: 0.75rem;
    }

    .btn-primary {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }

    .mobile-nav-link {
        font-size: 1rem;
        padding: 0.75rem 0;
    }

    .mobile-nav {
        padding: 1.5rem;
    }

    .mobile-nav-links {
        margin-top: 2rem;
    }

    .map-container {
        margin: 0.75rem 0;
    }

    .map-container iframe {
        height: 180px;
    }

    .map-links {
        gap: 0.375rem;
        margin-top: 0.75rem;
    }

    .map-links .contact-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }

    .map-links .contact-link i {
        width: 14px;
        height: 14px;
    }
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--slate-blue);
    z-index: 101;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.99);
    z-index: 100;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--slate-blue);
    z-index: 101;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.mobile-nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--slate-blue);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--slate-blue-light);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--slate-blue-hover);
    background-color: var(--slate-blue-light);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header {
        height: 100px;
        padding: 0.5rem 0;
    }

    .header-content {
        padding: 0 1rem;
    }

    .logo-img {
        height: 80px;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .mobile-nav {
        display: none;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Enhanced Touch Interactions */
@media (hover: none) {
    .card-hover:hover {
        transform: none;
    }

    .btn-primary:active,
    .btn-whatsapp:active {
        transform: scale(0.98);
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #1A1A1A;
    }
    
    body {
        color: var(--text-primary);
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: var(--purple-navy);
    }
    
    p {
        color: var(--text-primary);
    }
}

/* Print Styles */
@media print {
    .header,
    .btn-whatsapp,
    .btn-primary {
        display: none;
    }

    body {
        color: var(--text-primary);
        background: var(--white);
    }

    a {
        text-decoration: none;
        color: var(--slate-blue);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: var(--slate-blue);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--slate-blue-hover);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--slate-blue);
    outline-offset: 2px;
}

/* Loading state for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

@media (max-width: 768px) {
    .treatments.bg-alt .treatments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .treatment-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

.icon-whatsapp {
    color: #25D366;
    width: 24px;
    height: 24px;
}

.icon-waze {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.icon-google-maps {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 4px;
}

.contact-icon .icon-whatsapp {
    width: 28px;
    height: 28px;
    color: #25D366;
}

.map-links .icon-waze {
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

.btn-whatsapp .icon-whatsapp {
    width: 20px;
    height: 20px;
    color: var(--white);
}

@media (max-width: 768px) {
    .icon-whatsapp {
        width: 20px;
        height: 20px;
    }

    .icon-waze {
        width: 20px;
        height: 20px;
    }

    .contact-icon .icon-whatsapp {
        width: 24px;
        height: 24px;
    }

    .map-links .icon-waze {
        width: 20px;
        height: 20px;
    }

    .btn-whatsapp .icon-whatsapp {
        width: 18px;
        height: 18px;
    }
}

.waze-link {
    background-color: #33CCFF !important;
    color: black !important;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.waze-text {
    margin-right: -4px;
    padding-right: 2px;
}

.icon-waze {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.map-links .icon-waze {
    width: 32px;
    height: 32px;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .icon-waze {
        width: 28px;
        height: 28px;
    }

    .map-links .icon-waze {
        width: 28px;
        height: 28px;
    }
}

.waze-link:hover {
    transform: translateY(-2px);
}

.google-maps-link {
    background-color: white !important;
    color: black !important;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid #4285F4;
}

.maps-text {
    padding-left: 2px;
}

.icon-google-maps {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 4px;
}

.google-maps-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(66, 133, 244, 0.2);
}

@media (max-width: 768px) {
    .icon-google-maps {
        width: 20px;
        height: 20px;
    }
}

.contact-icon i[data-lucide="map-pin"] {
    color: #FF0000;
}

.red-icon {
    color: #FF0000 !important;
    stroke: #FF0000 !important;
    fill: #FF0000 !important;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    pointer-events: none;
}

.map-pin-icon {
    width: 40px;
    height: 40px;
    color: #FF0000;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.google-marker {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    font-size: 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 3rem;
        height: 3rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-float i {
        font-size: 1.75rem;
    }
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    z-index: 1000;
}

.chat-widget-button {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--slate-blue);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(120, 95, 208, 0.2);
    transition: all 0.3s ease;
}

.chat-widget-button:hover {
    transform: scale(1.1);
    background: var(--slate-blue-hover);
}

.chat-widget-button i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    font-size: 1.5rem;
}

.chat-widget-container {
    position: fixed;
    bottom: 10rem;
    right: 2rem;
    width: 300px;
    height: 500px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}

.chat-widget-container.active {
    display: flex;
}

.chat-header {
    background: var(--slate-blue);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    color: white;
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-header h3 i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    font-size: 1.25rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-close:hover {
    transform: scale(1.1);
    color: var(--slate-blue-hover);
}

.chat-close i {
    font-size: 1.25rem;
}

.chat-messages {
    flex: 1;
    padding: 0.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    -webkit-overflow-scrolling: touch;
}

.message {
    max-width: 85%;
    padding: 0.625rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.message.bot {
    align-self: flex-start;
    background: var(--slate-blue-light);
    color: var(--slate-blue);
}

.message.user {
    align-self: flex-end;
    background: var(--slate-blue);
    color: white;
}

.message-content {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.chat-options {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    border-top: 1px solid var(--slate-blue-light);
}

.chat-option {
    background: var(--slate-blue-light);
    color: var(--slate-blue);
    border: none;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-align: left;
}

.chat-option:hover {
    background: var(--slate-blue);
    color: white;
}

@media (max-width: 768px) {
    .chat-widget {
        bottom: 5rem;
        right: 1rem;
    }

    .chat-widget-container {
        bottom: 6rem;
        right: 1rem;
        width: calc(100% - 2rem);
        height: 450px;
        border-radius: 1rem;
    }

    .chat-widget-button {
        width: 3rem;
        height: 3rem;
    }

    .chat-widget-button i {
        font-size: 1.25rem;
    }

    .message {
        max-width: 90%;
        font-size: 0.875rem;
        line-height: 1.4;
    }
}

.contact-item .btn-offer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #128C7E;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(18, 140, 126, 0.3);
    border: none;
    cursor: pointer;
    width: auto;
    margin: 0 auto;
}

.contact-item .btn-offer:hover {
    background: #25D366;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(37, 211, 102, 0.2);
}

/* Estilos para iconos */
[data-icon] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[data-icon] svg {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-toggle,
.close-menu {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(120, 95, 208, 0.1);
    width: 2.5rem;
    height: 2.5rem;
    text-decoration: none;
}

.social-link i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
}

.social-link:hover {
    color: var(--slate-blue-hover);
    transform: translateY(-2px);
    background: rgba(155, 138, 227, 0.2);
    text-decoration: none;
}

.social-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(155, 138, 227, 0.3);
}

.social-link:active {
    color: var(--slate-blue-hover);
    background: rgba(155, 138, 227, 0.3);
    transform: translateY(0);
}

@media (max-width: 768px) {
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        font-size: 1.25rem;
        width: 2.25rem;
        height: 2.25rem;
    }
}