* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    /* Paleta 2 – Verde Profesional */
    --deep-medical: #0B3B2F;
    --soft-silk: #F4F8FA;
    --pure-white: #FFFFFF;
    --accent-glow: #1E8C6A;
    --text-dark: #1C2D3D;
    --text-soft: #34524A;
    --glass-edge: rgba(255,255,255,0.6);
    --shadow-elevated: 0 25px 50px -12px rgba(11,59,47,0.15);
    --bento-radius: 32px;
}
html { scroll-behavior: smooth; }
body { 
    font-family: "Inter", sans-serif; 
    background-color: var(--soft-silk); 
    color: var(--text-dark); 
    line-height: 1.5; 
    -webkit-font-smoothing: antialiased; 
    background-image: radial-gradient(circle at 10% 20%, rgba(30,140,106,0.03) 0%, transparent 30%); 
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 2.5rem; }

.navbar { 
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(11,59,47,0.08);
    margin-bottom: 2rem;
}
.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2.5rem;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-soft); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.01em; transition: all 0.2s; text-transform: uppercase; }
.nav-links a:hover { color: var(--deep-medical); }
.hamburger { display: none; font-size: 1.8rem; color: var(--deep-medical); cursor: pointer; }

/* Floating WhatsApp (Mobile) */
.floating-whatsapp { display: none; position: fixed; bottom: 20px; right: 20px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; font-size: 2rem; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 999; transition: transform 0.3s; text-decoration: none; }
.floating-whatsapp:hover { transform: scale(1.1); }

/* Fix Scroll Offset */
[id] { scroll-margin-top: 110px; }
@media (max-width: 768px) { [id] { scroll-margin-top: 180px; } }
.logo { font-size: 1.8rem; font-weight: 600; letter-spacing: -0.02em; color: var(--deep-medical); }
.logo span { font-weight: 300; color: var(--text-soft); margin-left: 4px; }
.contact-pill { background: var(--deep-medical); color: white; padding: 0.6rem 1.5rem; border-radius: 100px; font-weight: 600; font-size: 0.85rem; text-decoration: none; transition: all 0.25s; box-shadow: 0 8px 20px -6px rgba(11,59,47,0.3); border: 1px solid rgba(255,255,255,0.1); }
.contact-pill i { margin-right: 8px; }
.contact-pill:hover { background: #0A2F24; transform: translateY(-2px); box-shadow: 0 12px 25px -8px rgba(11,59,47,0.4); }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; margin-bottom: 5rem; }
.hero-badge { background: rgba(30,140,106,0.1); color: var(--deep-medical); display: inline-block; padding: 0.4rem 1.2rem; border-radius: 40px; font-size: 0.9rem; font-weight: 500; margin-bottom: 1.5rem; border: 1px solid rgba(30,140,106,0.2); backdrop-filter: blur(4px); }
h1 { font-size: clamp(3rem, 7vw, 5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--deep-medical); margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.25rem; color: var(--text-soft); max-width: 550px; margin-bottom: 2.5rem; font-weight: 350; }

.bento-profile { background: var(--pure-white); padding: 1.5rem 2rem 1.5rem 1.5rem; border-radius: 80px; display: inline-flex; align-items: center; gap: 1.2rem; box-shadow: var(--shadow-elevated); border: 1px solid var(--glass-edge); backdrop-filter: blur(8px); background: rgba(255,255,255,0.85); }
.avatar { width: 70px; height: 70px; background: linear-gradient(145deg, #B7D7C9, #FFFFFF); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--deep-medical); font-size: 2rem; box-shadow: inset 2px 2px 6px #a0b9b0, inset -3px -3px 6px #ffffff; }
.profile-info h4 { font-size: 1.2rem; font-weight: 600; color: var(--deep-medical); }
.profile-info p { color: var(--text-soft); font-size: 0.9rem; }
.hero-visual { background: var(--pure-white); border-radius: var(--bento-radius); padding: 2.5rem; box-shadow: var(--shadow-elevated); border: 1px solid var(--glass-edge); backdrop-filter: blur(8px); background: rgba(255,255,255,0.7); aspect-ratio: 1/0.9; display: flex; flex-direction: column; justify-content: center; }
.stat-item { display: flex; align-items: baseline; gap: 15px; margin-bottom: 2rem; }
.stat-number { font-size: 3rem; font-weight: 600; color: var(--accent-glow); line-height: 1; }
.stat-label { color: var(--text-dark); font-weight: 500; }

.section-title { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 2.5rem; color: var(--deep-medical); }
.section-title i { color: var(--accent-glow); margin-right: 12px; font-size: 2rem; }
.services-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 5rem; }
.service-card { background: var(--pure-white); padding: 2rem 1.5rem; border-radius: 28px; box-shadow: 0 10px 30px -8px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.8); transition: all 0.3s; backdrop-filter: blur(4px); background: rgba(255,255,255,0.75); display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.8rem; color: var(--deep-medical); line-height: 1.2; }
.service-card p { color: var(--text-soft); font-size: 0.95rem; }

.trust-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; background: linear-gradient(105deg, #ffffff 0%, #f0f7f4 100%); border-radius: var(--bento-radius); padding: 4rem 3rem; margin-bottom: 5rem; border: 1px solid rgba(255,255,255,0.9); box-shadow: var(--shadow-elevated); align-items: center; }
.tech-visual-shield { background: var(--deep-medical); color: white; width: 100%; aspect-ratio: 1; border-radius: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 5rem; box-shadow: 0 20px 40px rgba(11,59,47,0.2); }
.tech-visual-shield span { font-size: 1rem; margin-top: 1rem; font-weight: 300; opacity: 0.8; letter-spacing: 2px; }
.tech-badge { display: flex; gap: 1.5rem; align-items: center; margin-top: 2rem; }
.tech-icon { background: var(--deep-medical); color: white; width: 50px; height: 50px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }

.form-section { background: var(--pure-white); border-radius: var(--bento-radius); padding: 3rem; margin-bottom: 4rem; box-shadow: var(--shadow-elevated); border: 1px solid var(--glass-edge); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--deep-medical); }
.form-control { width: 100%; padding: 1rem 1.2rem; border: 1px solid rgba(11,59,47,0.15); border-radius: 20px; font-family: inherit; font-size: 1rem; background: rgba(255,255,255,0.9); transition: all 0.2s; }
.form-control:focus { outline: none; border-color: var(--accent-glow); box-shadow: 0 0 0 4px rgba(30,140,106,0.1); }
textarea.form-control { min-height: 120px; resize: vertical; }
.btn-submit { background: var(--deep-medical); color: white; border: none; padding: 1rem 2.5rem; border-radius: 40px; font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: all 0.3s; box-shadow: 0 10px 20px -8px rgba(11,59,47,0.3); }
.btn-submit:hover { background: #0A2F24; transform: scale(1.02); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.alert { padding: 1rem; border-radius: 20px; margin-bottom: 1.5rem; display: none; }
.alert-success { background: #E3F5EC; color: #0B5E42; border: 1px solid #A8E6CF; display: block; }
.alert-error { background: #FFEBEE; color: #B71C1C; border: 1px solid #FFCDD2; display: block; }
.honeypot { position: absolute; left: -9999px; }

.footer-contact { display: flex; justify-content: space-between; align-items: center; padding: 2.5rem 0; border-top: 1px solid rgba(11,59,47,0.08); margin-top: 2rem; }
.social-links a { color: var(--text-soft); margin-left: 1.5rem; font-size: 1.4rem; transition: color 0.2s; }
.social-links a:hover { color: var(--deep-medical); }
.legal-links { margin-top: 1rem; }
.legal-links a { font-size: 0.9rem; color: var(--text-soft); margin-right: 2rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 5rem; }
.testimonial-card { background: var(--pure-white); padding: 2rem; border-radius: 28px; box-shadow: var(--shadow-elevated); border: 1px solid var(--glass-edge); position: relative; }
.testimonial-card i.quote { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; color: rgba(30,140,106,0.1); }
.testimonial-text { font-style: italic; color: var(--text-dark); margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 45px; height: 45px; background: var(--soft-silk); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-glow); font-weight: 600; border: 1px solid rgba(30,140,106,0.2); }
.author-info h5 { font-weight: 600; color: var(--deep-medical); }
.author-info span { font-size: 0.8rem; color: var(--text-soft); }

/* FAQ Accordion */
.faq-container { margin-bottom: 5rem; }
.faq-item { background: var(--pure-white); border-radius: 20px; margin-bottom: 1rem; border: 1px solid var(--glass-edge); overflow: hidden; transition: all 0.3s; }
.faq-question { padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.faq-question h4 { font-size: 1.1rem; font-weight: 500; color: var(--deep-medical); }
.faq-question i { transition: transform 0.3s; color: var(--accent-glow); }
.faq-answer { padding: 0 2rem; max-height: 0; overflow: hidden; transition: all 0.3s ease-out; color: var(--text-soft); font-size: 0.95rem; }
.faq-item.active { border-color: var(--accent-glow); box-shadow: 0 10px 25px -5px rgba(30,140,106,0.1); }
.faq-item.active .faq-answer { padding-bottom: 1.5rem; max-height: 200px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* Obras Sociales (Hidden for now) */
.obras-sociales-section { display: none; margin-bottom: 5rem; text-align: center; }
.logos-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; align-items: center; opacity: 0.6; filter: grayscale(1); }
.logos-grid img { height: 40px; width: auto; }

/* Maps */
/* Ubicación Grid */
.map-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; width: 100%; }
.map-card { background: var(--pure-white); border-radius: var(--bento-radius); padding: 1.2rem; box-shadow: var(--shadow-elevated); border: 1px solid var(--glass-edge); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.map-container { width: 100%; height: 420px; border-radius: 20px; overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: none; }
.location-photo { width: 100%; height: 350px; border-radius: 18px; object-fit: cover; margin-bottom: 1rem; }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Other Services Section */
.other-services-container { background: var(--pure-white); border-radius: var(--bento-radius); padding: 3rem; margin-bottom: 5rem; box-shadow: var(--shadow-elevated); border: 1px solid var(--glass-edge); }
.other-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.other-service-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid rgba(11,59,47,0.05); transition: background 0.2s; border-radius: 12px; }
.other-service-item:hover { background: rgba(30,140,106,0.05); }
.other-service-item i { color: var(--accent-glow); font-size: 1.1rem; width: 24px; text-align: center; }
.other-service-item span { font-weight: 450; color: var(--text-dark); }
.more-services-note { margin-top: 2rem; text-align: center; color: var(--text-soft); font-style: italic; }

/* Responsive */
@media (max-width: 1200px) {
    .services-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .hero-grid, .form-grid, .trust-grid, .other-services-grid, .map-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .hero-visual { aspect-ratio: auto; padding: 2rem; }
    .location-photo, .map-container { height: 300px; }
}
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .navbar { background: var(--pure-white); box-shadow: 0 4px 20px rgba(0,0,0,0.05); backdrop-filter: none; }
    .navbar-container { padding: 0.8rem 1.5rem; position: relative; }
    .hamburger { display: block; }
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--pure-white); flex-direction: column; gap: 1rem; padding: 1.5rem 2rem; box-shadow: 0 10px 20px rgba(0,0,0,0.08); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-out; border-top: 1px solid rgba(11,59,47,0.05); }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .contact-pill.desktop-only { display: none; }
    .floating-whatsapp { display: flex; }
    .services-bento { grid-template-columns: 1fr; }
    .form-group[style] { grid-column: 1 / -1 !important; }
    h1 { font-size: 2.8rem; }
    .section-title { font-size: 1.8rem; line-height: 1.2; word-break: break-word; }
    .testimonial-card i.quote { font-size: 1.5rem; }
    .bento-profile { flex-direction: column; text-align: center; }
}
