:root {
    --ink: #101214;
    --ink-soft: #20252a;
    --paper: #f6f4ee;
    --white: #ffffff;
    --line: #d9d7d0;
    --muted: #646a70;
    --accent: #a71919;
    --accent-dark: #761111;
    --max: 1160px;
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.58;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(246, 244, 238, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    text-decoration: none;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.brand small {
    display: block;
    margin-top: 1px;
    color: var(--muted);
    font-weight: 650;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.call-link,
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    border: 1px solid var(--accent);
}

.call-link:hover,
.button-primary:hover {
    background: var(--accent-dark);
}

.hero {
    background: var(--ink);
    color: var(--white);
    padding: 88px 0 78px;
}

.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: 54px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 15px;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #d5d5d5;
}

h1,
h2,
h3 {
    line-height: 1.05;
    letter-spacing: -0.035em;
}

h1 {
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 5.3rem);
    max-width: 900px;
}

.hero-copy {
    max-width: 760px;
    margin: 24px 0 0;
    color: #d8dade;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-phone {
    margin-top: 14px;
    color: #bfc3c7;
    font-size: 0.9rem;
}

.call-card {
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 30px;
}

.call-card-label {
    color: var(--muted);
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.73rem;
}

.call-card-number {
    display: block;
    margin: 12px 0 16px;
    text-decoration: none;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.call-card p {
    margin: 0;
    color: var(--muted);
}

.section {
    padding: 76px 0;
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-label {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.section h2 {
    margin: 10px 0 20px;
    font-size: clamp(2rem, 4vw, 3.45rem);
}

.lead {
    max-width: 800px;
    font-size: 1.12rem;
    color: var(--muted);
}

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

.card {
    display: block;
    min-height: 190px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.68);
    text-decoration: none;
}

.card:hover {
    background: var(--white);
}

.card h3 {
    margin: 0 0 12px;
    font-size: 1.38rem;
}

.card p {
    color: var(--muted);
    margin: 0;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 56px;
    align-items: start;
}

.article {
    max-width: 790px;
}

.article h2 {
    margin-top: 2.3em;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.article h3 {
    margin-top: 1.8em;
    font-size: 1.35rem;
}

.article p,
.article li {
    color: #30363b;
    font-size: 1.04rem;
}

.article li + li {
    margin-top: 10px;
}

.side-call {
    position: sticky;
    top: 100px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 25px;
}

.side-call strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.side-call p {
    color: var(--muted);
}

.breadcrumbs {
    margin-bottom: 22px;
    color: #bfc3c7;
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: inherit;
}

.notice {
    padding: 19px 21px;
    margin: 28px 0;
    border-left: 4px solid var(--accent);
    background: #ece9e1;
}

.faq {
    border-top: 1px solid var(--line);
    padding: 20px 0;
}

.faq h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.faq p {
    margin: 0;
    color: var(--muted);
}

.footer {
    background: var(--ink);
    color: #d6d8da;
    padding: 48px 0 110px;
}

.footer strong {
    color: var(--white);
}

.footer a {
    color: var(--white);
}

.sticky-call {
    display: none;
}

.preview-banner {
    background: #fff2c2;
    color: #493900;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    padding: 7px 16px;
}

@media (max-width: 860px) {
    .hero-grid,
    .content-layout {
        grid-template-columns: 1fr;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 58px 0 48px;
    }

    .call-card {
        padding: 23px;
    }

    .header-inner .call-link {
        display: none;
    }

    .side-call {
        position: static;
    }

    .sticky-call {
        position: fixed;
        z-index: 100;
        left: 12px;
        right: 12px;
        bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 58px;
        border-radius: 999px;
        background: var(--accent);
        color: var(--white);
        font-weight: 900;
        text-decoration: none;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.28);
    }
}


/* JAMES_BRAND_LOGO_INTEGRATION_V1 */
.brand.james-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.james-brand-logo {
    display: block;
    width: 60px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 auto;
}

.james-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.james-brand-copy small {
    display: block;
}

.james-hero-brand {
    display: flex;
    align-items: center;
    margin: 0 0 18px;
}

.james-hero-logo {
    display: block;
    width: clamp(132px, 16vw, 184px);
    height: auto;
    max-height: 134px;
    object-fit: contain;
}

@media (max-width: 860px) {
    .brand.james-brand {
        gap: 9px;
    }

    .james-brand-logo {
        width: 52px;
        height: 38px;
    }

    .james-hero-brand {
        margin-bottom: 15px;
    }

    .james-hero-logo {
        width: 132px;
        max-height: 96px;
    }
}
/* /JAMES_BRAND_LOGO_INTEGRATION_V1 */
