/* =========================================================================
   Resolution & Dispute Consulting — site styles
   ========================================================================= */
:root {
    --ink:      #16222e;
    --body:     #45525f;
    --muted:    #6b7683;
    --line:     #e2e6ea;
    --accent:   #2c4a63;
    --accent-2: #1c3346;
    --gold:     #b08a4a;
    --bg:       #ffffff;
    --bg-soft:  #f5f6f8;
    --bg-deep:  #16222e;
    --radius:   12px;
    --wrap:     1080px;
    --shadow:   0 10px 30px rgba(22,34,46,0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

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

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

.eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 14px;
}

/* ---- Buttons ---------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 13px 26px;
    font-weight: 600;
    font-size: 0.98rem;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .05s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,0.9);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Georgia, serif;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand .mark {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    background: var(--bg-deep);
    color: #fff;
    border-radius: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
.brand small { display: block; font-family: -apple-system, sans-serif; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--body);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
/* Button links in the nav keep their own text color (specificity fix) */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(44,74,99,0.10), transparent 60%),
        linear-gradient(180deg, var(--bg-soft), var(--bg));
    padding: 96px 0 88px;
    border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 20px; max-width: 16ch; }
.hero p { font-size: 1.18rem; color: var(--body); max-width: 56ch; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Sections --------------------------------------------------------- */
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-deep { background: var(--bg-deep); color: #cdd6df; }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-head { max-width: 62ch; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 16px; }
.section-head p { font-size: 1.08rem; margin: 0; }

/* ---- Grid / cards ----------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.22rem; margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); }
.card .num {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; margin-bottom: 16px;
    border-radius: 10px;
    background: rgba(44,74,99,0.08);
    color: var(--accent);
    font-family: Georgia, serif; font-weight: 700;
}

/* ---- Steps ------------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.step:last-child { border-bottom: 0; }
.step .dot {
    counter-increment: step;
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,0.3);
    font-family: Georgia, serif; color: #fff;
}
.step .dot::before { content: counter(step); }
.step h3 { font-size: 1.15rem; margin: 4px 0 8px; }
.step p { margin: 0; }

/* ---- CTA band --------------------------------------------------------- */
.cta {
    text-align: center;
    padding: 78px 0;
    background: linear-gradient(180deg, var(--bg), var(--bg-soft));
    border-top: 1px solid var(--line);
}
.cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin: 0 0 14px; }
.cta p { font-size: 1.1rem; max-width: 52ch; margin: 0 auto 28px; }

/* ---- Contact / forms -------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(44,74,99,0.12);
}
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; }
.info-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.info-list li:first-child { border-top: 0; }
.info-list strong { display: block; color: var(--ink); font-family: Georgia, serif; margin-bottom: 2px; }

.alert { padding: 14px 16px; border-radius: 9px; font-size: 0.95rem; margin: 0 0 4px; }
.alert-ok { background: #e9f4ec; color: #1f5130; border: 1px solid #bfe0c8; }
.alert-err { background: #fbecec; color: #7d2a2a; border: 1px solid #f0c7c7; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--bg-deep); color: #9fb0bd; padding: 54px 0 40px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-top .brand { color: #fff; }
.footer-top .brand small { color: #7f92a1; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: #9fb0bd; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; font-size: 0.85rem; color: #7f92a1; }

/* ---- Utilities -------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.lede { font-size: 1.12rem; color: var(--body); }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 860px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
    .nav-links {
        display: none;
        position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 8px 24px 16px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 0; width: 100%; border-top: 1px solid var(--line); }
    .nav-toggle { display: block; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero { padding: 66px 0 60px; }
}
