/* ============================================================
   HOME.CSS — Hospital
   Light theme | Minimal
   ============================================================ */

/* ── Variables ──────────────────────────────────────────── */
:root {
    --green:       #2c6226;
    --green-light: #3d8534;
    --green-pale:  #eaf2e9;
    --gold:        #a19f2e;
    --black:       #111110;
    --ink:         #2a2a28;
    --muted:       #6b6b68;
    --border:      #e2e2de;
    --white:       #ffffff;
    --surface:     #f9f9f7;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', sans-serif;

    --radius-sm: 999px; /* pill shape */
    --transition: 0.2s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    background: var(--surface);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
    height: 66px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Logo */
.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav__logo-mark {
    font-size: 20px;
    color: var(--green);
}

.nav__logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--black);
    letter-spacing: 0.01em;
}

/* Nav links */
.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-right: auto;
}

.nav__link {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--green);
    transition: width var(--transition);
}

.nav__link:hover { color: var(--green); }
.nav__link:hover::after { width: 100%; }

/* Auth pills */
.nav__auth {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav__pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

/* Ghost pill — Login */
.nav__pill--ghost {
    color: var(--green);
    border-color: var(--green);
    background: transparent;
}
.nav__pill--ghost:hover {
    background: var(--green-pale);
}

/* Solid pill — Register */
.nav__pill--solid {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}
.nav__pill--solid:hover {
    background: var(--green-light);
    border-color: var(--green-light);
    box-shadow: 0 4px 14px rgba(44,98,38,.22);
    transform: translateY(-1px);
}

/* ============================================================
   MAIN PLACEHOLDER
   ============================================================ */
.main-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0.25;
}

.placeholder__icon {
    font-size: 2.8rem;
    color: var(--green);
}

.placeholder__text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: 0.04em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    background: var(--white);
}

.footer__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__copy {
    font-size: 12px;
    color: var(--muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .nav__links { display: none; }
    .nav__inner { gap: 0; }
    .nav__auth { margin-left: auto; }
}