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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B4513;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #8B4513 0%, #DAA520 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #8B4513;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #DAA520;
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f6f0 0%, #ede6d3 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 40px 40px;
}

.hero::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"><circle cx="20" cy="20" r="2" fill="%23DAA520" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%238B4513" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23DAA520" opacity="0.15"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-title strong {
    font-weight: 600;
    background: linear-gradient(135deg, #8B4513 0%, #DAA520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #8B4513;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

.hero-cta:hover {
    background: #DAA520;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #999;
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, #999, transparent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
.section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

#about {
    background: #fbf9f6;
    scroll-margin-top: 120px;
}

#credentials {
    background: #f8f7f5;
    scroll-margin-top: 120px;
}

#specialized {
    background: #faf8f4;
    scroll-margin-top: 120px;
}

.quote-section {
    background: #f6f4f1;
    padding: 80px 40px;
    text-align: center;
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.quote-author {
    font-size: 1rem;
    color: #8B4513;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -1px;
}

.section-title strong {
    font-weight: 600;
    color: #8B4513;
}

/* About Section */
.about-grid {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 25px;
}

/* Credentials Section */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.credential-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border-left: 3px solid #DAA520;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.credential-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.credential-item h4 {
    color: #8B4513;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.credential-item p {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.credential-item small {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    margin-top: 5px;
}

/* Education Banner */
.education-banner {
    background: linear-gradient(135deg, #d4c4a8 0%, #c9b896 100%);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.education-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.education-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.education-text {
    text-align: left;
}

.education-text h3 {
    font-size: 1.1rem;
    color: #5D4037;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.3;
}

.education-icon {
    background: #DAA520;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.education-universities {
    text-align: right;
}

.university-item {
    font-size: 0.9rem;
    color: #5D4037;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.university-item:last-child {
    margin-bottom: 0;
}

/* Specialized Therapy Section */
.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.specialty-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.specialty-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B4513, #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.specialty-item h4 {
    font-size: 1rem;
    color: #8B4513;
    font-weight: 600;
    margin: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B4513, #DAA520);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B4513, #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #8B4513;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #8B4513, #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.cta-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-box h3 {
    font-size: 1.8rem;
    color: #8B4513;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-box p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

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

.floating-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.1);
}

@keyframes pulse {
    0%   { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
    50%  { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0;
    padding: 4px;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: #8B4513;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

.mobile-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 16px 20px 24px;
        gap: 6px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 8px;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-links a:hover {
        background: rgba(139, 69, 19, 0.06);
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 100px 20px 40px;
        min-height: 80vh;
    }

    .section {
        padding: 80px 20px;
    }

    .about-grid {
        gap: 40px;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }

    .credential-item {
        padding: 18px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .education-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .education-text,
    .education-universities {
        text-align: center;
    }

    .education-banner {
        margin-top: 40px;
        padding: 30px 20px;
    }

    .specialized-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quote-section {
        padding: 60px 20px;
    }

    .floating-whatsapp {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
