:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #2563eb;
    --accent-soft: rgba(37, 99, 235, 0.12);
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: #ffffff;
    --page-bg: #f3f7fb;
    --page-bg-alt: #eaf4f2;
    --text: #0f172a;
    --muted: #475569;
    --line: #dbe3ea;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(13, 148, 136, 0.12), transparent 26%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, var(--page-bg) 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
        radial-gradient(circle at 20% 20%, rgba(13, 148, 136, 0.09), transparent 18%),
        radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.08), transparent 16%),
        radial-gradient(circle at 70% 80%, rgba(20, 184, 166, 0.08), transparent 18%);
    pointer-events: none;
    z-index: -2;
}

a {
    color: inherit;
}

.navbar {
    width: 100%;
    margin: 0;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--surface);
    border: 1px solid rgba(219, 227, 234, 0.88);
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-text {
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}

.logo-text span {
    color: var(--primary);
}

.logo-sub {
    margin-left: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--muted);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(15, 118, 110, 0.08);
}

.page-shell {
    width: 100%;
    margin: 0;
    padding: 0 0 54px;
    flex: 1;
}

.page-shell > * {
    width: 100%;
}

.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 118, 110, 0.84)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%);
    color: #fff;
    box-shadow: var(--shadow);
    padding: clamp(32px, 5vw, 56px);
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: auto -8% -40% auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
    filter: blur(6px);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title {
    margin: 18px 0 14px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-lead {
    margin: 0 0 24px;
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.03rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-panel {
    display: grid;
    gap: 14px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.hero-card .icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 1.1rem;
}

.hero-card h3,
.hero-card p {
    margin: 0;
}

.hero-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
    font-size: 0.92rem;
}

.section {
    margin-top: 28px;
    padding: 28px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(219, 227, 234, 0.8);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.section-title {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    letter-spacing: -0.04em;
    color: var(--text);
}

.section-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.stats-grid,
.feature-grid,
.service-grid,
.values-grid,
.why-grid,
.contact-grid,
.doctor-grid {
    display: grid;
    gap: 18px;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
}

.stat-card,
.feature-card,
.service-card,
.value-card,
.contact-card,
.contact-form-box {
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.stat-card {
    padding: 20px;
}

.stat-number {
    margin: 0;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--primary-dark);
}

.stat-label {
    margin: 8px 0 0;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.service-card,
.value-card,
.contact-card {
    padding: 20px;
}

.feature-card .icon,
.service-card .icon,
.value-card .icon,
.contact-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.feature-card h3,
.service-card h3,
.value-card h3,
.contact-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.feature-card p,
.service-card p,
.value-card p,
.contact-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.service-grid,
.values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    min-height: 168px;
}

.service-card h3 {
    margin-bottom: 0;
}

.service-card small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.6;
}

.why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-item {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: #f8fbfc;
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 600;
}

.contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
}

.doctor-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    margin-top: 22px;
}

.doctor-card {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.doctor-avatar {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.08);
    font-size: 1.7rem;
}

.doctor-name {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
}

.doctor-meta {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.doctor-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-card .icon {
    margin-bottom: 0;
    flex: 0 0 52px;
}

.contact-card h3 {
    margin-bottom: 4px;
}

.contact-form-box {
    padding: 24px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fbfc;
    color: var(--text);
    padding: 12px 14px;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.38);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.submit-btn {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
}

.main-footer {
    margin-top: auto;
    width: 100%;
    padding: 22px 16px 28px;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.main-footer b {
    color: var(--text);
}

@media (max-width: 1080px) {
    .hero-grid,
    .contact-grid,
    .doctor-grid,
    .feature-grid,
    .service-grid,
    .values-grid,
    .why-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .navbar {
        width: 100%;
        margin-top: 0;
        top: 0;
        padding: 16px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-sub {
        display: block;
        margin: 4px 0 0;
    }

    .nav-links {
        width: 100%;
        gap: 8px;
    }

    .nav-links a {
        padding: 9px 12px;
    }

    .page-shell {
        width: 100%;
        padding-top: 0;
        padding-bottom: 34px;
    }

    .hero-section,
    .section {
        padding: 22px;
    }

    .hero-grid,
    .contact-grid,
    .doctor-grid,
    .feature-grid,
    .service-grid,
    .values-grid,
    .why-grid,
    .stats-grid,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }
}