:root {
    --primary-color: rgba(26, 115, 232, 0.65);
    --secondary-color: rgba(51, 168, 82, 0.65);
    --accent-color: #fbbc04;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
}

a{
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    color: var(--text-primary);
}
/* Navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}

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

.logo p{
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    padding-left: .5rem;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

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

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

.nav-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hamburger Menu Styles */
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.header {
    min-height: 80vh;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    animation: fadeIn 1s ease-out;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
}

.header .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.header .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.header .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.header .btn-icon {
    font-size: 1.2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.benefit-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

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

.section {
    padding: 5rem 2rem;
}

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

/* Enhanced Treatments Section Styles */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.treatment-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.treatment-card span {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.treatment-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.treatment-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.treatment-card:hover h3::after {
    width: 100px;
}

.treatment-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Add a subtle gradient overlay on hover */
.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
    border-radius: var(--border-radius);
}

.treatment-card:hover::before {
    opacity: 0.05;
}

/* Add animation for cards */
.treatment-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.treatment-card:nth-child(2) {
    animation-delay: 0.2s;
}

.treatment-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Enhanced Why Us Section Styles */
#why-us {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.05), rgba(51, 168, 82, 0.05));
    border-radius: var(--border-radius);
}

#why-us .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#why-us h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

#why-us h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
}

#why-us>p {
    max-width: 800px;
    margin: 2rem auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.benefits-grid {
    margin-top: 3rem;
    gap: 2.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card span {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin: 1rem 0;
    position: relative;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

/* Add animation for benefits */
.benefit-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* FAQ Section Styles */
#faq {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.02), rgba(51, 168, 82, 0.02));
    border-radius: var(--border-radius);
}

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

.faq-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    color: var(--text-primary);
}

.faq-question::after {
    content: '⌄';
    position: absolute;
    right: 1.5rem;
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}

details[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transform: translateY(-0.5rem);
    opacity: 0;
    animation: slideDown 0.3s ease forwards;
}

/* FAQ Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-0.5rem);
    }

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

/* FAQ Section Title */
#faq h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#faq h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
}

/* Enhanced CTA Section Styles */
#cta {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1), rgba(51, 168, 82, 0.1));
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.png');
    opacity: 0.05;
    z-index: 0;
}

#cta .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

#cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

#cta p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#cta .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

#cta .btn {
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#cta .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
}

#cta .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

#cta .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: var(--secondary-color);
    transition: transform 0.6s ease;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
}

#cta .btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
}

#cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

#cta .btn-primary:hover {
    background: var(--secondary-color);
}

#cta .btn-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Animation for CTA elements */
@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

#cta h2,
#cta p,
#cta .btn {
    animation: floatUp 0.8s ease-out forwards;
}

#cta p {
    animation-delay: 0.2s;
}

#cta .cta-buttons {
    animation-delay: 0.4s;
}

/* High-contrast mode support */
@media (prefers-contrast: high) {
    #cta .btn-primary {
        background: var(--text-primary);
        color: var(--white);
    }

    #cta .btn-secondary {
        border: 2px solid var(--text-primary);
        color: var(--text-primary);
    }
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 4rem 2rem;
}

/* Contact Float */
.footer {
    background: linear-gradient(135deg, var(--text-primary), #1a1a1a);
    color: var(--white);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer .contacto,
.footer .horarios {
    padding: 1rem;
    transition: var(--transition);
}

.footer .contacto p,
.footer .horarios p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.9;
    transition: var(--transition);
}

.footer .contacto p:hover,
.footer .horarios p:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer .contacto p::before {
    font-size: 1.2rem;
}

.footer .contacto p:nth-child(1)::before {
    content: '📞';
}

.footer .contacto p:nth-child(2)::before {
    content: '📧';
}

.footer .contacto p:nth-child(3)::before {
    content: '📍';
}

.footer .horarios h3,
.footer .contacto h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer .horarios h3::after,
.footer .contacto h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.footer .horarios:hover h3::after,
.footer .contacto:hover h3::after {
    width: 100%;
}

.footer .owner {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.footer-content>* {
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-content>*:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
    background: var(--primary-color);
    color: var(--white);
}

.contact-item .icon {
    font-size: 1.25rem;
}

.floating-contact {
    position: fixed;
    right: 1.5rem;
    bottom: 2rem;
    z-index: 10;
}

/* Modern Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.nav-links.active {
    animation: slideDown 0.3s ease forwards;
}

[data-scroll="fade-up"] {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .header h1{
        background: transparent;
    }
    .header {
        height: 85vh;
        padding: 1rem;
        text-align: center;
        justify-content: center;
        min-height: 80vh;
        flex-direction: column;
        gap: 1rem;
    }

    .header-content {
        padding: 1rem;
    }

    .contact-item {
        padding: 0.5rem 1rem;
    }
    .nav-wrapper {
        padding: 0 1rem;
    }

    .section {
        padding: 6rem 1rem;
    }

    .floating-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: var(--shadow-md);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        width: auto;
        margin: 0.5rem 2rem;
    }

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

    .treatment-card {
        padding: 2rem 1.5rem;
    }

    .treatment-card h3 {
        font-size: 1.3rem;
    }

    .treatment-card span {
        font-size: 2.5rem;
    }

    #why-us {
        padding: 6rem 1rem;
    }

    #why-us h2 {
        font-size: 1.8rem;
    }

    #why-us>p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .benefits-grid {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-card span {
        font-size: 3rem;
        }

    .faq-container {
        margin: 1rem auto;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.9rem;
    }

    #cta {
        padding: 4rem 1.5rem;
    }

    #cta .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    #cta .btn {
        text-align: center;
        padding: 1rem 2rem;
        justify-content: center;
    }

    #cta h2 {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    #cta p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .footer {
        padding: 3rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer .contacto p,
    .footer .horarios p {
        justify-content: center;
    }

    .footer .horarios h3::after,
    .footer .contacto h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .owner {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        width: 24px;
        height: 2px;
        background: var(--text-primary);
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }

    .mobile-menu-toggle.active .hamburger::before {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active .hamburger::after {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
