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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #3d3d3d;
    --accent-color: #c49a6c;
    --light-bg: #f5f2ed;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --border-color: #ddd9d2;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--primary-color);
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
p { color: var(--text-light); }

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

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.lang-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2.5px solid var(--border-color);
    background: var(--white);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.13);
    transition: all 0.25s ease;
}

.lang-btn svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.lang-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    border-color: var(--accent-color);
}

.lang-btn.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(196,154,108,0.3);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    background-color: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    z-index: 1000; padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

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

.logo { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; letter-spacing: 1px; color: var(--primary-color); }

.nav-menu { display: flex; list-style: none; gap: 40px; align-items: center; }

.nav-menu a { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-light); position: relative; padding: 5px 0; font-weight: 400; }

.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background-color: var(--accent-color); transition: width 0.3s ease; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--primary-color); }

.menu-toggle { display: none; flex-direction: column; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { width: 25px; height: 2px; background-color: var(--primary-color); margin: 3px 0; transition: all 0.3s ease; }

/* ===== HERO ===== */
.hero {
    margin-top: 82px;
    min-height: calc(100vh - 82px);
    padding: 50px 0;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-content { max-width: 1200px; margin: 0 auto; padding: 0 30px; text-align: center; width: 100%; }

.hero-images { display: flex; justify-content: center; margin-bottom: 36px; }

.hero-image {
    width: 320px;
    height: 320px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    animation: imageFloat 1.2s ease-out;
}

@keyframes imageFloat {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

@keyframes titleAppear {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.hero-title { font-size: 46px; font-weight: 300; margin-bottom: 14px; letter-spacing: 1px; color: var(--primary-color); animation: titleAppear 0.8s ease 0.3s both; }
.hero-subtitle { font-size: 17px; color: var(--text-light); margin-bottom: 10px; letter-spacing: 0.5px; animation: titleAppear 0.8s ease 0.5s both; font-weight: 400; }

.hero-online-badge {
    display: inline-block;
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    animation: titleAppear 0.8s ease 0.6s both;
}
.hero-online-badge::before { content: "●"; margin-right: 6px; font-size: 10px; }

.cta-button { display: inline-block; padding: 16px 45px; background-color: var(--primary-color); color: var(--white); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; border-radius: 2px; transition: all 0.3s ease; animation: titleAppear 0.8s ease 0.7s both; font-weight: 400; }
.cta-button:hover { background-color: var(--accent-color); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* ===== SECTIONS ===== */
.intro-section { padding: 90px 0; background-color: var(--white); }
.section-title { font-size: 40px; font-weight: 300; text-align: center; max-width: 900px; margin: 0 auto; line-height: 1.6; color: var(--primary-color); }

.services-preview { padding: 80px 0; background-color: var(--light-bg); }
.services-preview-title { text-align: center; font-size: 38px; margin-bottom: 50px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 40px; }

.service-card { padding: 40px; background-color: var(--white); border: 1px solid var(--border-color); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.service-card h3 { font-size: 30px; margin-bottom: 16px; color: var(--primary-color); }
.service-card p { color: var(--text-light); margin-bottom: 22px; line-height: 1.8; font-weight: 400; }

.link-arrow { color: var(--accent-color); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s ease; font-weight: 500; }
.link-arrow:hover { color: var(--primary-color); letter-spacing: 1.5px; }

.about-preview { padding: 90px 0; background-color: var(--white); }
.about-content { max-width: 800px; margin: 0 auto; text-align: center; }
.about-content h2 { font-size: 46px; margin-bottom: 32px; }
.about-content p { font-size: 17px; color: var(--text-light); margin-bottom: 22px; line-height: 1.9; font-weight: 400; }
.about-content .link-arrow { display: inline-block; margin-top: 18px; }

/* ===== PAGE HEADER ===== */
.page-header { margin-top: 82px; padding: 70px 0 50px; background-color: var(--light-bg); text-align: center; }
.page-header h1 { font-size: 52px; font-weight: 300; margin-bottom: 14px; color: var(--primary-color); }
.page-header p { font-size: 17px; color: var(--text-light); font-weight: 400; }

/* ===== VITA ===== */
.vita-content { padding: 80px 0; background-color: var(--white); }
.vita-text { max-width: 800px; margin: 0 auto; }
.vita-text h2 { font-size: 40px; margin-bottom: 32px; }
.vita-text p { font-size: 17px; line-height: 1.9; color: var(--text-light); margin-bottom: 26px; font-weight: 400; }

.credentials { background-color: var(--light-bg); padding: 60px 0; }
.credentials-list { max-width: 800px; margin: 0 auto; }
.credentials-list h3 { font-size: 32px; margin-bottom: 28px; text-align: center; }
.credentials-list ul { list-style: none; padding: 0; }
.credentials-list li { padding: 14px 0; border-bottom: 1px solid var(--border-color); font-size: 16px; color: var(--text-light); font-weight: 400; display: flex; align-items: baseline; gap: 12px; }
.credentials-list li:last-child { border-bottom: none; }
.credentials-list li::before { content: "✓"; color: var(--accent-color); font-weight: bold; flex-shrink: 0; }

/* ===== SERVICES DETAIL ===== */
.services-detail { padding: 80px 0; background-color: var(--white); }
#psychotherapy, #menstrual-cycle { scroll-margin-top: 100px; }

.service-detail-card { max-width: 900px; margin: 0 auto 70px; padding: 55px; background-color: var(--light-bg); border: 1px solid var(--border-color); }
.service-detail-card:last-child { margin-bottom: 0; }
.service-detail-card h2 { font-size: 40px; margin-bottom: 26px; }
.service-detail-card p { font-size: 17px; line-height: 1.9; color: var(--text-light); margin-bottom: 20px; font-weight: 400; }
.service-detail-card ul { list-style: none; padding: 0; margin: 22px 0; }
.service-detail-card li { padding: 9px 0; color: var(--text-light); font-size: 16px; font-weight: 400; display: flex; align-items: baseline; gap: 12px; }
.service-detail-card li::before { content: "→"; color: var(--accent-color); font-weight: bold; flex-shrink: 0; }

/* ===== PRICING ===== */
.pricing-section { background-color: var(--light-bg); padding: 80px 0; }
.pricing-card { max-width: 720px; margin: 0 auto; padding: 50px; background-color: var(--white); border: 2px solid var(--accent-color); }
.pricing-card h3 { font-size: 36px; margin-bottom: 8px; text-align: center; }
.price { font-size: 52px; font-family: 'Cormorant Garamond', serif; color: var(--accent-color); margin: 14px 0 4px; text-align: center; }
.price-note { text-align: center; color: var(--text-light); font-size: 15px; font-weight: 400; }
.pricing-details { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border-color); }
.pricing-details p { font-size: 16px; color: var(--text-light); margin-bottom: 16px; font-weight: 400; line-height: 1.8; }
.pricing-details strong { color: var(--primary-color); font-weight: 500; }
.insurance-note { background-color: var(--light-bg); border-left: 3px solid var(--accent-color); padding: 14px 18px; margin-top: 18px; font-size: 15px; color: var(--text-light); font-weight: 400; line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-section { padding: 80px 0; background-color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; max-width: 1100px; margin: 0 auto; }
.contact-info h2 { font-size: 40px; margin-bottom: 26px; }
.contact-info p { font-size: 17px; color: var(--text-light); margin-bottom: 22px; line-height: 1.8; font-weight: 400; }
.contact-details { margin-top: 32px; }
.contact-item { margin-bottom: 20px; }
.contact-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-color); margin-bottom: 6px; font-weight: 500; }
.contact-item p { font-size: 17px; color: var(--primary-color); margin: 0; font-weight: 400; }
.contact-item a { color: var(--primary-color); transition: color 0.3s ease; }
.contact-item a:hover { color: var(--accent-color); }

.contact-form { background-color: var(--light-bg); padding: 45px; border: 1px solid var(--border-color); }
.contact-form h3 { font-size: 30px; margin-bottom: 26px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px; border: 1px solid var(--border-color); background-color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 15px; color: var(--primary-color); transition: border-color 0.3s ease; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent-color); }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-button { width: 100%; padding: 16px; background-color: var(--primary-color); color: var(--white); border: none; font-family: 'Montserrat', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: all 0.3s ease; font-weight: 400; }
.submit-button:hover { background-color: var(--accent-color); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

.calendly-section { background-color: var(--light-bg); padding: 80px 0; text-align: center; }
.calendly-container { max-width: 800px; margin: 0 auto; }
.calendly-container h2 { font-size: 40px; margin-bottom: 16px; }
.calendly-container p { font-size: 17px; color: var(--text-light); margin-bottom: 32px; font-weight: 400; }
.calendly-placeholder { background-color: var(--white); padding: 45px; border: 2px dashed var(--border-color); }
.calendly-placeholder p { color: var(--text-light); margin-bottom: 8px; font-weight: 400; }

/* ===== LEGAL ===== */
.legal-content { padding: 80px 0; background-color: var(--white); }
.legal-section { max-width: 900px; margin: 0 auto 52px; }
.legal-section h2 { font-size: 36px; margin-bottom: 20px; }
.legal-section h3 { font-size: 24px; margin-top: 26px; margin-bottom: 13px; }
.legal-section p { font-size: 16px; line-height: 1.8; color: var(--text-light); margin-bottom: 16px; font-weight: 400; }
.legal-section ul { margin: 16px 0; padding-left: 26px; }
.legal-section li { font-size: 16px; line-height: 1.8; color: var(--text-light); margin-bottom: 8px; font-weight: 400; }
.info-box { background-color: var(--light-bg); padding: 26px; border-left: 3px solid var(--accent-color); margin: 26px 0; }

/* ===== FOOTER ===== */
.footer { background-color: var(--primary-color); color: var(--white); padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-column h4 { font-size: 18px; margin-bottom: 13px; color: var(--white); }
.footer-column p { font-size: 14px; opacity: 0.8; margin-bottom: 7px; color: var(--white); font-weight: 300; }
.footer-column a { opacity: 0.8; transition: opacity 0.3s ease; }
.footer-column a:hover { opacity: 1; color: var(--accent-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; opacity: 0.7; }
.footer-bottom p { color: var(--white); }
.footer-bottom a:hover { color: var(--accent-color); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-menu { position: fixed; top: 82px; left: -100%; flex-direction: column; background-color: var(--white); width: 100%; padding: 32px 28px; gap: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: left 0.3s ease; align-items: flex-start; }
    .nav-menu.active { left: 0; }
    .hero-title { font-size: 32px; }
    .hero-image { width: 260px; height: 260px; }
    .services-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 28px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { padding: 26px; }
    .service-detail-card { padding: 28px 20px; }
    .pricing-card { padding: 30px 22px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .lang-switcher { bottom: 18px; right: 14px; }
}

@media (max-width: 480px) {
    .hero { padding: 35px 0; }
    .hero-title { font-size: 26px; }
    .service-card { padding: 26px 16px; }
    .about-content h2 { font-size: 32px; }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 36px;
    position: relative;
}

.slider-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.slider-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 100%;
}

.slider-image {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(26,26,26,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(26,26,26,0.4);
    transform: scale(1.1);
}

.dot.active {
    background: #c49a6c;
    transform: scale(1.15);
}

/* ===== LANGUAGE SWITCHER DESKTOP (in navbar) ===== */
.lang-switcher-desktop {
    display: none;
    align-items: center;
    gap: 8px;
}

.lang-switcher-mobile {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 769px) {
    .lang-switcher-desktop {
        display: flex;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .lang-switcher-mobile {
        display: none;
    }
}

/* Badge verde ahora es clickeable */
.hero-online-badge {
    display: inline-block;
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    animation: titleAppear 0.8s ease 0.6s both;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-online-badge:hover {
    background-color: #c8e6c9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46,125,50,0.25);
}

.hero-online-badge::before {
    content: "●";
    margin-right: 6px;
    font-size: 10px;
}

/* Responsive slider */
@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }
    .lang-switcher-mobile {
        bottom: 20px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 250px;
    }
}

/* ===== VITA PHOTO ===== */
.vita-photo-section {
    text-align: center;
    margin-bottom: 50px;
}

.vita-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}
