/* Shomoa Clinics — shared site styles */

:root {
    --color-primary: #1a6b7a;
    --color-primary-light: #2db3c9;
    --color-bg: #f5f7f8;
    --color-card: #ffffff;
    --color-text: #333333;
    --color-text-light: #555555;
    --color-text-muted: #737373;
    --color-border: #e8e8e8;
    --max-width: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

a {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */

.site-header {
    background: var(--color-card);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

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

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

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

.site-nav a {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--color-primary);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.15s ease;
}

.btn:hover {
    background: var(--color-primary-light);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Hero */

.hero {
    padding: 72px 0 56px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-copy {
    flex: 1 1 420px;
}

.hero-copy .eyebrow {
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.hero-copy h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    margin: 14px 0 18px;
}

.hero-copy p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    max-width: 46ch;
    margin-bottom: 28px;
}

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

.hero-image {
    flex: 1 1 320px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 220px;
    height: 220px;
    border-radius: 48px;
    box-shadow: 0 24px 48px -12px rgba(26, 107, 122, 0.35);
}

/* Features */

.features {
    padding: 40px 0 64px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--color-text-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px 24px;
}

.feature-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e0f2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin: 0 0 8px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin: 0;
}

/* Contact / CTA */

.contact {
    background: var(--color-card);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 56px 0;
}

.contact .container {
    text-align: center;
}

.contact h2 {
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.contact p {
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */

.site-footer {
    padding: 32px 0;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* Legal / policy pages */

.legal {
    padding: 48px 0 72px;
}

.legal .container {
    max-width: 760px;
}

.legal h1 {
    font-size: 2rem;
    margin-bottom: 6px;
}

.legal .updated {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 36px;
}

.legal h2 {
    font-size: 1.25rem;
    margin: 36px 0 12px;
}

.legal p,
.legal li {
    color: var(--color-text-light);
}

.legal ul {
    padding-left: 20px;
}

.legal a {
    color: var(--color-primary);
}

.page-not-found {
    text-align: center;
    padding-top: 40px;
}

@media (max-width: 640px) {
    .hero-copy h1 {
        font-size: 2rem;
    }

    .site-nav {
        gap: 16px;
    }
}
