@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --brand: #c9302c;
    --brand-dark: #a02622;
    --brand-darker: #8b1f1a;
    --brand-light: #fff5f5;
    --brand-muted: #fde8e8;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #059669;
    --success-bg: #ecfdf5;
    --warning: #d97706;
    --warning-bg: #fffbeb;
    --info: #0284c7;
    --info-bg: #f0f9ff;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 40px -12px rgba(15, 23, 42, 0.18);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --header-height: 68px;
    --maxw: 1160px;
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--brand-dark);
}

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

/* ── Header ── */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 200;
}

.site-header__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.site-logo:hover { color: var(--text); }

.site-logo__mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-darker) 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.site-logo__text span { color: var(--brand); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--brand-light);
    color: var(--brand);
}

.site-nav .nav-cta {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    padding: 8px 16px;
    margin-left: 6px;
}

.site-nav .nav-cta:hover {
    background: var(--brand-dark);
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 42px;
    height: 42px;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15.5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.btn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn--primary:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
}

.btn--outline:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn--light {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--light:hover {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16.5px;
}

/* ── Hero ── */
.hero {
    background:
        radial-gradient(900px 400px at 85% -10%, rgba(201, 48, 44, 0.10), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    padding: 72px 0 64px;
    border-bottom: 1px solid var(--border);
}

.hero__inner {
    max-width: 760px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-light);
    color: var(--brand-dark);
    border: 1px solid var(--brand-muted);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}

.hero h1 .accent { color: var(--brand); }

.hero p {
    font-size: 1.18rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 640px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Compact hero for detail pages */
.hero--detail { padding: 56px 0 48px; }
.hero--detail h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 12px;
}

/* ── Generic section ── */
.section {
    padding: 60px 0;
}

.section--alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__head {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}

.section__head--left {
    margin-left: 0;
    text-align: left;
}

.section__label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 10px;
}

.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.section__sub {
    font-size: 1.08rem;
    color: var(--text-muted);
}

.section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* ── Service cards grid (hub) ── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    border-color: var(--brand-muted);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.service-card__icon svg { width: 26px; height: 26px; }

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #0f172a;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card__price {
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.service-card__price strong {
    font-size: 1.35rem;
    color: var(--brand);
    font-weight: 800;
    display: block;
    margin-top: 2px;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--brand);
}

.service-card__link:hover { gap: 10px; }

/* ── Feature / value grids ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.feature h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature ul {
    list-style: none;
    margin-top: 4px;
}

.feature li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

/* Check list */
.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px 28px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--text);
    font-size: 1rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    color: var(--success);
    font-weight: 800;
}

/* ── Pricing plans ── */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

.plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.plan--featured {
    border-color: var(--brand);
    box-shadow: var(--shadow-xl);
    transform: scale(1.03);
    z-index: 1;
}

.plan__tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.plan__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.plan__price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.02em;
}

.plan__price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan__meta {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 4px 0 20px;
}

.plan__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.plan__features li {
    position: relative;
    padding-left: 26px;
    font-size: 0.94rem;
    color: var(--text);
}

.plan__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 800;
}

.plan__features li.is-off {
    color: var(--text-light);
}

.plan__features li.is-off::before {
    content: '–';
    color: var(--text-light);
}

/* ── Tables ── */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: var(--surface);
}

table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 540px;
}

table.data th,
table.data td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

table.data thead th {
    background: var(--surface-alt);
    font-weight: 700;
    color: #0f172a;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

table.data tbody tr:last-child td { border-bottom: none; }

table.data tbody th {
    font-weight: 600;
    color: var(--text);
    background: var(--surface-alt);
}

table.data td.num { font-variant-numeric: tabular-nums; }

table.data .col-feature th { color: var(--brand); }

/* ── Two-column responsibilities ── */
.cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.panel h3 {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.panel ul { list-style: none; }

.panel li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.97rem;
}

.panel li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--brand);
}

/* ── Callouts ── */
.callout {
    border-radius: var(--radius);
    padding: 22px 24px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.callout__title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.callout p { color: var(--text-muted); font-size: 0.97rem; }

.callout--info { background: var(--info-bg); border-color: #bae6fd; }
.callout--warning { background: var(--warning-bg); border-color: #fde68a; }
.callout--success { background: var(--success-bg); border-color: #a7f3d0; }
.callout--brand { background: var(--brand-light); border-color: var(--brand-muted); }

/* ── Timeline / process ── */
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: step;
}

.timeline__step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.timeline__step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-darker) 100%);
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px;
}

.timeline__step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.timeline__step p { color: var(--text-muted); font-size: 0.94rem; }

/* ── Price highlight box ── */
.price-box {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-darker) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    box-shadow: var(--shadow-lg);
}

.price-box__amount {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.price-box__amount span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.85;
}

.price-box__label {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 460px;
}

/* ── CTA band ── */
.cta-band {
    background: #0f172a;
    background: radial-gradient(700px 300px at 20% 0%, rgba(201,48,44,0.35), transparent 60%), #0f172a;
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
}

.cta-band h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-band p {
    color: #cbd5e1;
    font-size: 1.08rem;
    max-width: 560px;
    margin: 0 auto 26px;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ── Back link ── */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.back-link:hover { color: var(--brand); }

/* ── Footer ── */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 44px 0 32px;
    margin-top: 12px;
}

.site-footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: flex-start;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
}

.site-footer p { color: var(--text-muted); font-size: 0.92rem; }

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer__links a { color: var(--text-muted); font-size: 0.94rem; }
.site-footer__links a:hover { color: var(--brand); }

.site-footer__bottom {
    max-width: var(--maxw);
    margin: 28px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ── Utilities ── */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-3 { margin-bottom: 24px; }
.lead { font-size: 1.1rem; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.note { font-size: 0.88rem; color: var(--text-light); }

.stack > * + * { margin-top: 40px; }

/* ── Responsive ── */
@media (max-width: 860px) {
    .service-grid { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
    .plan--featured { transform: none; }
    .timeline { grid-template-columns: 1fr; }
    .cols-2 { grid-template-columns: 1fr; }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 12px 16px 18px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }

    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav a { padding: 12px 14px; }
    .site-nav .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

    .cta-band, .price-box { padding: 32px 24px; }
}

@media (max-width: 520px) {
    .hero { padding: 52px 0 44px; }
    .price-box { flex-direction: column; align-items: flex-start; text-align: left; }
}
