/* Header */
.topbar {
    background: var(--secondary);
    color: rgba(255,255,255,.86);
    font-size: .87rem;
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar a { color: rgba(255,255,255,.9); }

.topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(226,234,238,.9);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 900;
}

.brand:hover { color: var(--secondary); }

.brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(8,127,140,.2);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--secondary);
    font-size: .92rem;
    font-weight: 750;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--primary); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--secondary);
    background: var(--white);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 80% 25%, rgba(8,127,140,.18), transparent 35%),
        linear-gradient(135deg, #f2fbfc 0%, #ffffff 62%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;
}

.hero h1 {
    margin: 14px 0 20px;
    color: var(--secondary);
    font-size: clamp(2.7rem, 5.2vw, 5rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.hero p {
    max-width: 650px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-visual {
    position: relative;
    min-height: 480px;
}

.hero-image {
    width: 88%;
    height: 440px;
    margin-left: auto;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0 28px 60px rgba(23,50,77,.16);
}

.hero-float {
    position: absolute;
    left: 0;
    bottom: 45px;
    max-width: 245px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
}

.hero-float strong {
    display: block;
    color: var(--secondary);
    font-size: 1.25rem;
}

/* Cards */
.icon-box {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 1.35rem;
}

.service-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card h3 {
    margin: 18px 0 8px;
    color: var(--secondary);
    font-size: 1.18rem;
}

.service-card p { margin: 0; color: var(--muted); }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    font-weight: 800;
}

.doctor-card {
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.doctor-photo {
    width: 100%;
    aspect-ratio: 1 / .86;
    object-fit: cover;
    background: var(--primary-soft);
}

.doctor-body { padding: 22px; }

.doctor-body h3 {
    margin: 0 0 3px;
    color: var(--secondary);
}

.doctor-body p {
    margin: 0;
    color: var(--muted);
}

.product-card {
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.product-photo {
    width: 100%;
    aspect-ratio: 1 / .75;
    object-fit: cover;
    background: var(--light);
}

.product-body { padding: 22px; }

.product-brand {
    color: var(--primary);
    font-size: .8rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.product-body h3 {
    margin: 4px 0 8px;
    color: var(--secondary);
}

.product-price {
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 900;
}

/* CTA */
.cta {
    overflow: hidden;
    position: relative;
    border-radius: 28px;
    padding: 50px;
    background: linear-gradient(120deg, var(--secondary), #225477);
    color: var(--white);
}

.cta::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    top: -100px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
}

.cta h2 { position: relative; z-index: 1; margin: 0 0 10px; }
.cta p { position: relative; z-index: 1; margin: 0 0 20px; color: rgba(255,255,255,.76); }

/* Contact */
.contact-list {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-item .icon-box { width: 46px; height: 46px; border-radius: 12px; }

.contact-item strong {
    display: block;
    color: var(--secondary);
}

.contact-item span { color: var(--muted); }

/* Footer */
.site-footer {
    padding-top: 70px;
    color: rgba(255,255,255,.75);
    background: #0f2234;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 42px;
    padding-bottom: 48px;
}

.footer-title {
    margin: 0 0 18px;
    color: var(--white);
    font-size: 1rem;
}

.footer-links {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a { color: rgba(255,255,255,.68); }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.09);
    font-size: .88rem;
}

/* Breadcrumb */
.page-hero {
    padding: 75px 0;
    background: linear-gradient(135deg, #f1fafb, #ffffff);
}

.page-hero h1 {
    margin: 0 0 8px;
    color: var(--secondary);
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .9rem;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 7px;
    color: #aeb9c0;
}

/* Appointment */
.appointment-card {
    padding: 34px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.appointment-info {
    padding: 34px;
    border-radius: 22px;
    color: var(--white);
    background: var(--secondary);
}

.appointment-info h2 { margin-top: 0; }
.appointment-info p { color: rgba(255,255,255,.72); }

.appointment-points {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.appointment-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 0;
    color: var(--secondary);
    background: var(--white);
    text-align: left;
    font-weight: 800;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: var(--muted);
}

.faq-item.open .faq-answer { display: block; }

/* Floating actions */
.floating-actions {
    position: fixed;
    z-index: 900;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 10px;
}

.floating-action {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--primary);
    box-shadow: var(--shadow);
}

.floating-action.whatsapp { background: #1faa59; }
