/* ==========================================================================
   Alfa Romeo Investment — Healthcare Investment Platform
   Clean corporate theme (navy / gold)
   ========================================================================== */

:root {
    --navy-900: #0a1a2f;
    --navy-800: #0f2240;
    --navy-700: #16304f;
    --navy-600: #1e3a5f;
    --gold:     #c8a24a;
    --gold-600: #b3892f;
    --gold-100: #f4ecd8;
    --ink:      #1c2733;
    --slate:    #5a6b7b;
    --line:     #e3e8ee;
    --bg:       #ffffff;
    --bg-soft:  #f6f8fa;
    --bg-navy-soft: #eef2f7;
    --success-bg: #e8f5ec;
    --success-fg: #1d6a3a;
    --error-bg:   #fcebec;
    --error-fg:   #a12330;
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(10, 26, 47, 0.08);
    --shadow-md: 0 10px 30px rgba(10, 26, 47, 0.10);
    --maxw: 1140px;
    --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-600); }

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: 3rem; letter-spacing: -0.01em; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1rem; color: var(--ink); }

.eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .72rem;
    font-weight: 600;
    color: var(--gold-600);
    margin-bottom: .9rem;
    display: inline-block;
}

.lead { font-size: 1.2rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .98rem;
    padding: .85rem 1.6rem;
    border-radius: 8px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
}
.btn-primary { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-600); }
.btn-outline:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--navy-900); }
.brand-mark {
    width: 44px; height: 44px; flex: 0 0 44px;
    display: grid; place-items: center;
    background: var(--navy-900); color: var(--gold);
    font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
    border-radius: 8px; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); }
.brand-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--slate); }

.main-nav > ul { list-style: none; display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; }
.main-nav .dropdown { list-style: none; margin: 0; }
.main-nav a {
    display: inline-block; padding: .55rem .8rem; font-size: .92rem; font-weight: 500;
    color: var(--navy-800); border-radius: 6px;
}
.main-nav a:hover { color: var(--navy-900); background: var(--bg-navy-soft); }
.main-nav a.active { color: var(--gold-600); }
.main-nav .nav-cta { background: var(--navy-900); color: #fff; padding: .6rem 1.2rem; }
.main-nav .nav-cta:hover { background: var(--navy-700); color: #fff; }

.has-dropdown { position: relative; }
.has-dropdown .caret { font-size: .7em; opacity: .7; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    box-shadow: var(--shadow-md); padding: .5rem; display: none; flex-direction: column;
}
.dropdown li { width: 100%; }
.dropdown a { display: block; padding: .6rem .8rem; font-size: .9rem; }
/* Open via click (works on touch + desktop). */
.has-dropdown.open > .dropdown { display: flex; }
/* Open on hover only on devices that actually support hovering. */
@media (hover: hover) and (min-width: 721px) {
    .has-dropdown:hover > .dropdown { display: flex; }
}
.has-dropdown.open > a .caret { transform: rotate(180deg); }
.has-dropdown .caret { display: inline-block; transition: transform .2s ease; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-900); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        linear-gradient(180deg, rgba(10,26,47,.86), rgba(10,26,47,.92)),
        radial-gradient(1200px 600px at 80% -10%, rgba(200,162,74,.25), transparent 60%),
        var(--navy-900);
    color: #fff;
    padding: 7rem 0 6rem;
    overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 56px 56px; opacity: .5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { color: #fff; font-size: 3.6rem; margin-bottom: 1.2rem; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.82); font-size: 1.3rem; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* ---------- Page header (interior pages) ---------- */
.page-hero {
    background: linear-gradient(180deg, var(--navy-900), var(--navy-700));
    color: #fff; padding: 4.5rem 0 3.5rem;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 760px; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-900); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,.82); }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.35rem; }
.card .icon {
    width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
    background: var(--gold-100); color: var(--gold-600); margin-bottom: 1.1rem;
    font-size: 1.3rem; font-weight: 700;
}
.card ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--slate); }
.card ul li { margin-bottom: .35rem; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.feature-list li { position: relative; padding-left: 2rem; color: var(--ink); }
.feature-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    color: var(--gold-600); font-weight: 700;
}

/* ---------- Stats / highlight strip ---------- */
.highlight-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.highlight-strip .stat { padding: 1rem; }
.highlight-strip .stat .num { font-family: var(--font-head); font-size: 2.6rem; color: var(--gold); font-weight: 700; }
.highlight-strip .stat .label { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
.step {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem 1.8rem 1.8rem 5rem; box-shadow: var(--shadow-sm);
}
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; left: 1.6rem; top: 1.7rem;
    font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--gold);
}
.step h3 { margin-bottom: .35rem; }

/* ---------- Opportunities ---------- */
.opp-card { display: flex; flex-direction: column; }
.opp-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 1rem; }
.tag {
    font-size: .76rem; font-weight: 600; letter-spacing: .02em;
    padding: .3rem .7rem; border-radius: 999px;
    background: var(--bg-navy-soft); color: var(--navy-700);
}
.tag.gold { background: var(--gold-100); color: var(--gold-600); }
.opp-spec { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1rem 0; font-size: .92rem; }
.opp-spec dt { color: var(--slate); font-weight: 600; }
.opp-spec dd { margin: 0; color: var(--ink); }
.opp-card .opp-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--slate); }

/* ---------- Two-column content ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.panel.navy { background: var(--navy-900); color: #fff; border: none; }
.panel.navy h3 { color: #fff; }
.panel.navy p { color: rgba(255,255,255,.82); }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 1.2rem; }
.form-row label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy-800); }
.form-row .req { color: var(--error-fg); }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 8px;
    font: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,74,.15);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--slate); margin-top: 1rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Alerts ---------- */
.alert { border-radius: 8px; padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-size: .95rem; }
.alert-success { background: var(--success-bg); color: var(--success-fg); border: 1px solid #bfe3cb; }
.alert-error { background: var(--error-bg); color: var(--error-fg); border: 1px solid #f3c6cb; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: 16px; padding: 3rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 1.6rem; }

/* ---------- Contact info ---------- */
.contact-info { display: grid; gap: 1.2rem; }
.contact-info .item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info .item .ico { color: var(--gold-600); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; display: block; }
.footer-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); display: block; margin-bottom: .8rem; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col a, .footer-contact li { color: rgba(255,255,255,.72); font-size: .93rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem; font-size: .82rem; color: rgba(255,255,255,.55); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 3rem 0; }
.badge-check { color: var(--gold-600); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 2.8rem; }
}
@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 76px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: var(--shadow-md);
    }
    .main-nav.open { max-height: 80vh; overflow-y: auto; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1.2rem; }
    .main-nav li { width: 100%; }
    .main-nav a { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
    .main-nav .nav-cta { margin-top: .8rem; text-align: center; border-radius: 8px; }
    .dropdown { position: static; display: none; box-shadow: none; border: none; padding: 0 0 0 1rem; }
    .has-dropdown.open > .dropdown { display: flex; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .highlight-strip { grid-template-columns: 1fr; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 2rem 1.4rem; }
    .section { padding: 3.5rem 0; }
    body { font-size: 16px; }
}
