:root {
    --accent: #0b6fb7;
    --muted: #6b7280;
    --bg: #f3f4f6;
    --text-main: #0f172a;
    --border-subtle: #e5e7eb;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.18);
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-width: 1120px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: radial-gradient(circle at top, #e5edff 0, #f9fafb 40%, #e5e7eb 100%);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(249, 250, 251, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    background-color: #bee9f6;
    color: var(--dark);
    font-weight: bold;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 10px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #38bdf8, #0b6fb7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 650;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 0.76rem;
    color: var(--muted);
}

/* Navigation */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.92rem;
}

.nav-link {
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    border: 1px solid transparent;
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease,
    box-shadow 150ms ease;
}

.nav-link:hover {
    background: #e5edff;
    color: #0b6fb7;
    border-color: rgba(191, 219, 254, 0.9);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.nav-link--active {
    background: #0b6fb7;
    color: #f9fafb;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.4);
}

/* Main */
.site-main {
    padding: 32px 0 52px;
}

/* Hero photo layout */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: 26px;
    align-items: stretch;
}

.hero-photo {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-soft);
}

/* Base biotech "photo" look using layered gradients & shapes – no external image files */
.hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.25), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(59, 130, 246, 0.4), transparent 50%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.7));
}

/* Per-page palette variations for Pack C */
.hero-photo--home {
    background-image: radial-gradient(circle at 0% 50%, rgba(8, 47, 73, 0.4), transparent 55%),
    repeating-linear-gradient(120deg, rgba(59,130,246,0.25) 0, rgba(59,130,246,0.25) 1px, transparent 1px, transparent 5px);
}

.hero-photo--overview {
    background-image: radial-gradient(circle at 20% 20%, rgba(56,189,248,0.35), transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,0.9), rgba(21,94,117,0.9));
}

.hero-photo--about {
    background-image: radial-gradient(circle at 80% 0%, rgba(96,165,250,0.4), transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,0.95), rgba(30,64,175,0.9));
}

.hero-photo--services {
    background-image: radial-gradient(circle at 10% 80%, rgba(45,212,191,0.35), transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,0.96), rgba(22,101,52,0.9));
}

.hero-photo--expertise {
    background-image: radial-gradient(circle at 90% 20%, rgba(129,140,248,0.4), transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,0.96), rgba(30,64,175,0.9));
}

.hero-photo--partners {
    background-image: radial-gradient(circle at 0% 100%, rgba(59,130,246,0.35), transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,0.96), rgba(12,74,110,0.9));
}

.hero-photo--contact {
    background-image: radial-gradient(circle at 50% 0%, rgba(56,189,248,0.35), transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,0.96), rgba(15,118,110,0.9));
}

.hero-photo-inner {
    position: relative;
    padding: 26px 26px 24px;
    color: #f9fafb;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #a5b4fc;
    margin-bottom: 6px;
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

.hero-photo-inner h1 {
    font-size: 2.05rem;
    line-height: 1.25;
    margin: 0 0 10px;
}

.hero-photo-inner p {
    margin: 0 0 16px;
    font-size: 0.97rem;
    color: #e5e7eb;
}

.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hero-chip {
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(191, 219, 254, 0.7);
    color: #e5e7eb;
}

/* Sections & cards */
.section {
    padding: 30px 0;
    border-top: 1px solid #e5e7eb;
}

.section-header {
    max-width: 640px;
    margin-bottom: 16px;
}

.section h2 {
    margin: 0 0 6px;
    font-size: 1.4rem;
}

.section-lead {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 18px 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.card h3,
.card h4 {
    margin-top: 0;
    margin-bottom: 8px;
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 22px;
}

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

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

/* Text & lists */
.list {
    margin: 10px 0 0;
    padding-left: 0;
    list-style: none;
}

.list li {
    margin: 6px 0;
    color: var(--muted);
    font-size: 0.95rem;
    position: relative;
    padding-left: 14px;
}

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #0b6fb7;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.9rem;
}

/* Buttons */
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease,
    transform 150ms ease, border-color 150ms ease;
}

.btn-primary {
    background: #0b6fb7;
    color: #f9fafb;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.42);
}

.btn-primary:hover {
    background: #07508a;
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(148, 163, 184, 0.7);
    color: #0b6fb7;
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.09);
}

/* Forms */
.form {
    display: grid;
    gap: 12px;
}

.form-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 4px;
}

.input,
.textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d4d4d8;
    padding: 8px 10px;
    font: inherit;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input:focus,
.textarea:focus {
    border-color: #0b6fb7;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.textarea {
    min-height: 140px;
    resize: vertical;
}

/* Enterprise Footer */
.site-footer {
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    margin-top: 24px;
}

.footer-inner {
    padding: 22px 0 10px;
    background-color: #fbe8d8;
    color: #121212;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
    gap: 28px;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-text {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #cbd5f5;
    background: #eef2ff;
    color: #1d4ed8;
}

/* Footer link columns */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    font-size: 0.9rem;
}

.footer-column h3 {
    margin: 0 0 6px;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #4b5563;
}

.footer-column a,
.footer-column span {
    display: block;
    margin: 3px 0;
    text-decoration: none;
    color: var(--muted);
}

.footer-column a:hover {
    color: #0b6fb7;
}

/* Sub-footer */
.footer-bottom {
    border-top: 1px solid #e5e7eb;
    background: #f3f4f6;
    padding: 10px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-small {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

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

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 640px) {
    .main-nav {
        justify-content: flex-start;
    }

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

    .footer-links-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
