/* ============================================
   Clinica Doctor Samano - Landing Page
   Minimal, clean, professional
   ============================================ */

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

:root {
    --primary: #0f766e;
    --primary-light: #f0fdfa;
    --primary-dark: #0d6560;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --radius: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: var(--bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.2s;
}

.nav.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    text-decoration: none;
}

.nav-logo {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 450;
    transition: color 0.15s;
}

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

.btn-nav {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 500 !important;
}

.btn-nav:hover {
    background: var(--primary-dark) !important;
}

.lang-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.5px;
    transition: all 0.15s;
}

.lang-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 0 24px 20px;
    gap: 4px;
}

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

.nav-mobile a {
    color: var(--text);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 450;
    transition: background 0.15s;
}

.nav-mobile a:hover {
    background: var(--bg-alt);
}

.btn-mobile-cta {
    background: var(--primary) !important;
    color: #fff !important;
    text-align: center;
    font-weight: 500 !important;
    margin-top: 8px;
}

/* ── Hero ── */
.hero {
    padding: 140px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 18px;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.15s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    color: var(--text);
    padding: 14px 28px;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.15s;
}

.btn-secondary:hover {
    background: var(--bg-alt);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 450;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ── Sections ── */
.section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 16px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 480px;
    margin: 0 auto;
}

/* ── Services Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.2s;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.service-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.about-content .section-tag {
    display: inline-block;
    margin-bottom: 14px;
}

.about-content h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 450;
}

.feature i {
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.about-card {
    position: sticky;
    top: 88px;
}

.about-card-inner {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.about-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 18px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item span {
    color: var(--text-light);
}

.schedule-item strong {
    font-weight: 500;
    font-size: 13px;
}

/* ── Location ── */
.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.map-container {
    min-height: 360px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-container iframe {
    display: block;
}

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

.info-item {
    display: flex;
    gap: 14px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.info-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

/* ── CTA ── */
.cta {
    background: var(--text);
    padding: 72px 0;
    text-align: center;
}

.cta h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}

.cta p {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.15s;
}

.btn-cta-primary:hover {
    background: #20bd5a;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    padding: 14px 28px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.15s;
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* ── Footer ── */
.footer {
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
    transition: all 0.2s;
    z-index: 90;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }

    .hero { padding: 110px 0 56px; }
    .hero h1 { font-size: 32px; letter-spacing: -1px; }
    .hero-sub { font-size: 15px; }

    .hero-stats { gap: 24px; }
    .stat-number { font-size: 22px; }

    .section { padding: 56px 0; }
    .section-header h2 { font-size: 24px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 20px; }

    .about-grid { grid-template-columns: 1fr; }
    .about-content h2 { font-size: 24px; }
    .about-features { grid-template-columns: 1fr; }

    .location-grid { grid-template-columns: 1fr; }
    .map-container { min-height: 260px; }

    .cta h2 { font-size: 24px; }
    .cta { padding: 56px 0; }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .btn-primary, .btn-secondary,
    .btn-cta-primary, .btn-cta-secondary {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        padding: 0 20px;
    }

    .cta-actions {
        flex-direction: column;
        padding: 0 20px;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 28px; }
    .hero { padding: 100px 0 48px; }
    .stat-divider { display: none; }
    .hero-stats { gap: 16px; }
}
