:root {
    --bg: #f8f4eb;
    --surface: rgba(255, 250, 241, 0.96);
    --surface-strong: #fffaf1;
    --surface-soft: #f4e8d2;
    --text: #2a1c10;
    --muted: #6f5b49;
    --primary: #c9901c;
    --primary-dark: #8f5f09;
    --secondary: #4f2f12;
    --accent: #f1c96e;
    --accent-soft: rgba(201, 144, 28, 0.14);
    --border: rgba(143, 95, 9, 0.18);
    --shadow: 0 24px 60px rgba(93, 63, 15, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at 10% 12%, rgba(241, 201, 110, 0.18), transparent 24%),
        radial-gradient(circle at 88% 8%, rgba(201, 144, 28, 0.14), transparent 22%),
        linear-gradient(180deg, #fffdfa 0%, var(--bg) 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(255, 251, 244, 0.94);
    border-bottom: 1px solid rgba(143, 95, 9, 0.1);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(201, 144, 28, 0.34);
    box-shadow: 0 16px 36px rgba(93, 63, 15, 0.14);
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy strong {
    font-size: 1.28rem;
    letter-spacing: 0.02em;
    color: var(--secondary);
}

.brand-copy small {
    color: var(--muted);
    font-weight: 600;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(143, 95, 9, 0.14);
    border-radius: 16px;
    background: rgba(255, 250, 241, 0.94);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    box-shadow: 0 12px 28px rgba(93, 63, 15, 0.08);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--secondary);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-item {
    position: relative;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #2c1906;
    transform: translateY(-1px);
}

.nav-caret {
    font-weight: 800;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 240px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 250, 241, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 8px;
}

.dropdown-menu a {
    border-radius: 14px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    display: flex;
}

.hero-section,
.page-banner,
.section {
    padding: 62px 0;
}

.hero-grid,
.two-column,
.form-layout,
.footer-grid,
.cta-box {
    display: grid;
    gap: 28px;
}

.hero-grid,
.two-column,
.form-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-grid {
    align-items: center;
}

.hero-full {
    padding: 0 0 56px;
}

.hero-backdrop {
    width: 100%;
    padding: 48px 0 70px;
    background:
        radial-gradient(circle at 85% 20%, rgba(241, 201, 110, 0.34), transparent 24%),
        linear-gradient(135deg, #4f2f12 0%, #8f5f09 42%, #cf9824 100%);
}

.hero-grid-full {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.hero-section h1,
.page-banner h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.9rem);
    line-height: 1.04;
    margin: 12px 0 14px;
}

.hero-section p,
.page-banner p,
.info-card p,
.message-card p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.58;
    margin: 0 0 10px;
}

.eyebrow {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.9);
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.eyebrow.light {
    background: rgba(255, 255, 255, 0.14);
    color: #fff8e9;
}

.mini-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-dark);
}

.hero-card,
.info-card,
.message-card,
.cta-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero-copy {
    color: #fff8ef;
}

.hero-copy h1 {
    color: #fff6df;
}

.hero-copy p {
    color: rgba(255, 244, 223, 0.88);
    max-width: 620px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.hero-stats div,
.metric-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 250, 241, 0.16);
    border: 1px solid rgba(255, 228, 182, 0.2);
}

.hero-stats strong {
    display: block;
    font-size: 1.55rem;
    color: #fff8e6;
}

.hero-stats span,
.metric-card span {
    color: rgba(255, 243, 222, 0.82);
    line-height: 1.55;
}

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

.hero-visual {
    display: grid;
    gap: 18px;
}

.hero-image-collage {
    grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.8fr);
    align-items: stretch;
}

.hero-image-side {
    display: grid;
    gap: 18px;
}

.hero-image-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 34px;
    background: rgba(255, 250, 241, 0.16);
    border: 1px solid rgba(255, 243, 222, 0.16);
    box-shadow: 0 22px 50px rgba(44, 25, 6, 0.22);
}

.hero-image-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-main {
    min-height: 560px;
}

.hero-image-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(37, 20, 5, 0.62);
    backdrop-filter: blur(10px);
    color: #fff6e4;
}

.hero-image-caption h2,
.hero-image-caption p {
    margin: 6px 0 0;
    color: #fff6e4;
}

.hero-image-caption.compact {
    padding: 16px 18px;
}

.hero-panel {
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 22px 50px rgba(44, 25, 6, 0.22);
}

.hero-panel-accent {
    background: linear-gradient(135deg, rgba(255, 245, 224, 0.18), rgba(255, 212, 112, 0.26));
    border: 1px solid rgba(255, 232, 184, 0.2);
    color: #fff4de;
    min-height: 190px;
}

.hero-panel-accent .mini-eyebrow,
.hero-panel-accent p {
    color: #fff4de;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2,
.info-card h2,
.message-card h3,
.cta-box h2 {
    margin: 8px 0;
}

.info-card h3,
.doctor-card h3 {
    margin: 10px 0 6px;
}

.card-grid,
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.doctor-card {
    position: relative;
    overflow: hidden;
}

.doctor-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doctor-avatar {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(201, 144, 28, 0.16), rgba(241, 201, 110, 0.46));
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: 800;
}

.doctor-badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.8rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 800;
    border: none;
    cursor: pointer;
}

.button.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #2d1805;
    box-shadow: 0 18px 34px rgba(143, 95, 9, 0.2);
}

.button.secondary {
    background: rgba(255, 250, 241, 0.9);
    color: var(--secondary);
}

.feature-list {
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.65;
    margin: 8px 0 0;
}

.feature-list.dark {
    color: var(--text);
}

.service-image {
    margin: -4px -4px 16px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 248, 236, 0.98), rgba(248, 233, 202, 0.86));
    border: 1px solid rgba(143, 95, 9, 0.12);
}

.service-image img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.service-image + h2,
.service-image + h3 {
    margin-top: 0;
}

.alt-section {
    background: linear-gradient(180deg, rgba(251, 242, 221, 0.72), rgba(248, 244, 235, 0.28));
}

.story-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
}

.story-card {
    padding: 34px;
    border-radius: 30px;
    background: rgba(255, 250, 241, 0.92);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.story-dark {
    background:
        radial-gradient(circle at top right, rgba(241, 201, 110, 0.24), transparent 24%),
        linear-gradient(135deg, #4f2f12, #9a6912);
    color: #fff6e3;
}

.story-dark p,
.story-dark h2 {
    color: #fff6e3;
}

.story-card p,
.message-card p:last-child,
.info-card p:last-child {
    margin-bottom: 0;
}

.cta-box {
    grid-template-columns: 1fr auto;
    align-items: center;
    background: linear-gradient(135deg, #4f2f12, #c9901c);
    color: #fff6e1;
}

.cta-box .eyebrow {
    background: rgba(255, 250, 241, 0.16);
    color: #fff7e5;
}

.metrics-section {
    padding-top: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.metric-card {
    background: rgba(255, 251, 244, 0.98);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.metric-card span {
    color: var(--muted);
}

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

.inner-banner {
    padding: 0;
}

.inner-banner-layer {
    width: 100%;
    padding: 54px 0 42px;
    background:
        radial-gradient(circle at 85% 20%, rgba(241, 201, 110, 0.22), transparent 20%),
        linear-gradient(135deg, rgba(79, 47, 18, 0.96), rgba(201, 144, 28, 0.9));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.banner-shell {
    padding: 28px 32px;
    border-radius: 30px;
    background: rgba(255, 250, 241, 0.08);
    border: 1px solid rgba(255, 244, 219, 0.18);
    box-shadow: 0 22px 60px rgba(44, 25, 6, 0.22);
    backdrop-filter: blur(10px);
}

.full-banner-shell {
    width: 100%;
    max-width: none;
}

.banner-shell h1 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    margin-bottom: 8px;
    color: #fff7e6;
}

.banner-shell p {
    max-width: 840px;
    margin: 0;
    color: rgba(255, 245, 222, 0.9);
}

.breadcrumb-wrap {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff1c7, #efc35d);
    border: 1px solid rgba(143, 95, 9, 0.18);
    color: var(--secondary);
    box-shadow: 0 14px 32px rgba(93, 63, 15, 0.14);
}

.breadcrumb-below {
    margin-top: 18px;
}

.breadcrumb-wrap a {
    color: var(--secondary);
    font-weight: 700;
}

.breadcrumb-wrap .current {
    color: var(--primary-dark);
    font-weight: 800;
}

.breadcrumb-separator {
    color: rgba(143, 95, 9, 0.82);
}

.two-column {
    align-items: start;
}

.leadership-layout,
.contact-layout {
    display: grid;
    gap: 28px;
}

.leadership-layout {
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
}

.contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-card {
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(248, 233, 202, 0.72));
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.profile-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.message-card,
.info-card {
    position: relative;
}

.message-card::before,
.info-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    border-radius: 28px 28px 0 0;
    /*background: linear-gradient(90deg, var(--primary-dark), var(--accent));*/
    opacity: 0.92;
}

.message-card span {
    color: var(--primary-dark);
    font-weight: 800;
}

.contact-section-tight {
    padding-top: 0;
}

.map-card {
    min-height: 100%;
}

.map-frame {
    overflow: hidden;
    margin-top: 14px;
    border-radius: 22px;
    border: 1px solid rgba(143, 95, 9, 0.14);
}

.appointment-form,
.form-grid {
    display: grid;
    gap: 18px;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: var(--secondary);
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(143, 95, 9, 0.18);
    background: #fffdf8;
    color: var(--text);
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(201, 144, 28, 0.18);
    border-color: var(--primary);
}

.alert {
    padding: 14px 18px;
    border-radius: 16px;
    margin-bottom: 18px;
}

.alert.success {
    background: rgba(201, 144, 28, 0.12);
    color: var(--primary-dark);
}

.alert.error {
    background: rgba(156, 52, 36, 0.12);
    color: #8e2618;
}

.site-footer {
    padding: 40px 0 18px;
    background:
        radial-gradient(circle at top left, rgba(241, 201, 110, 0.16), transparent 24%),
        #321d0c;
    color: #f8ead0;
}

.footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    margin-bottom: 20px;
}

.footer-admin-link {
    color: var(--accent);
    font-weight: 800;
}

.copyright {
    text-align: center;
    color: #d6b985;
    margin: 0;
}

.admin-page {
    background:
        radial-gradient(circle at top right, rgba(241, 201, 110, 0.2), transparent 20%),
        linear-gradient(180deg, #fffdfa 0%, var(--bg) 100%);
}

.admin-auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

.admin-auth-card {
    width: min(520px, 100%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 34px;
    box-shadow: var(--shadow);
    text-align: center;
}

.admin-auth-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(201, 144, 28, 0.24);
    margin-bottom: 14px;
}

.admin-full-button {
    width: 100%;
}

.admin-header {
    padding: 18px 0;
    background: rgba(255, 251, 244, 0.92);
    border-bottom: 1px solid rgba(143, 95, 9, 0.1);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}

.admin-header-wrap,
.admin-brand,
.admin-actions,
.admin-section-head {
    display: flex;
    align-items: center;
}

.admin-header-wrap,
.admin-section-head {
    justify-content: space-between;
    gap: 18px;
}

.admin-brand,
.admin-actions {
    gap: 14px;
}

.admin-mini-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(201, 144, 28, 0.24);
}

.admin-brand strong,
.admin-brand small {
    display: block;
}

.admin-brand small {
    color: var(--muted);
}

.admin-main {
    padding: 30px 0 50px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.admin-table-stack {
    display: grid;
    gap: 24px;
}

.admin-table-card h2 {
    margin-bottom: 0;
}

.table-wrap {
    overflow-x: auto;
    margin-top: 18px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(143, 95, 9, 0.12);
    text-align: left;
    vertical-align: top;
    font-size: 0.94rem;
}

.admin-table th {
    color: var(--secondary);
    background: rgba(248, 233, 202, 0.34);
}

.table-empty {
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 960px) {
    .nav-wrap,
    .hero-grid,
    .two-column,
    .leadership-layout,
    .contact-layout,
    .form-layout,
    .cta-box,
    .footer-grid,
    .card-grid,
    .doctors-grid,
    .form-grid,
    .hero-stats,
    .metrics-grid,
    .story-grid,
    .hero-image-collage,
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-wrap {
        align-items: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .main-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 12px;
        margin-top: 14px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .main-nav > .nav-item > a {
        width: 100%;
        justify-content: space-between;
        padding: 13px 16px;
        background: rgba(255, 250, 241, 0.92);
        border: 1px solid rgba(143, 95, 9, 0.12);
    }

    .dropdown-menu {
        position: static;
        margin-top: 8px;
        display: flex;
        min-width: 100%;
        padding: 10px;
        border-radius: 18px;
        box-shadow: none;
        background: rgba(255, 248, 236, 0.92);
    }

    .dropdown-menu a {
        width: 100%;
        padding: 12px 14px;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .admin-header-wrap,
    .admin-section-head,
    .admin-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-section,
    .page-banner,
    .section {
        /*padding: 52px 0;*/
    }

    .container {
        width: min(100% - 20px, 1180px);
    }

    .brand {
        gap: 12px;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
    }

    .hero-backdrop {
        padding: 32px 0 54px;
    }

    .hero-image-main {
        min-height: 360px;
    }

    .hero-card,
    .info-card,
    .message-card,
    .cta-box,
    .banner-shell,
    .admin-auth-card {
        padding: 22px;
        border-radius: 24px;
    }

    .breadcrumb-wrap {
        border-radius: 22px;
        padding: 10px 14px;
    }
}
