/* Ruminate TechnoCraft — site styles.
   Brand blue comes from the logo; the teal accent is shared with RumiNest360. */

@font-face {
    font-family: "Public Sans Variable";
    font-style: normal;
    font-display: optional;
    font-weight: 100 900;
    src: url("/fonts/public-sans-latin-variable-normal.woff2?v=1") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Public Sans Variable";
    font-style: normal;
    font-display: optional;
    font-weight: 100 900;
    src: url("/fonts/public-sans-latin-ext-variable-normal.woff2?v=1") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --ink: #0e1a2b;
    --ink-2: #2b3a4f;
    --muted: #556275;
    --line: #e2e8f0;
    --surface: #ffffff;
    --tint: #f4f7fb;

    --brand: #1866b4;
    --brand-600: #12549a;
    --brand-tint: #e8f1fb;

    --accent: #2b8e92;
    --accent-ink: #267c81;
    --accent-600: #1e676b;
    --accent-tint: #eef6f6;

    --dark: #0b1626;
    --dark-2: #12233b;
    --on-dark: #e8eef6;
    --on-dark-muted: #a9b6c8;

    --radius: 10px;
    --radius-lg: 18px;
    --shadow: 0 4px 18px rgba(14, 26, 43, 0.07);
    --shadow-lg: 0 24px 60px rgba(14, 26, 43, 0.16);

    --font: "Public Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --container: 1180px;
    --gutter: 20px;
    --header-h: 72px;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(56px, 4rem + 3vw, 104px) 0; }
.section-tint { background: var(--tint); }
.section-tight { padding-top: clamp(32px, 2rem + 2vw, 56px); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 2rem + 1.5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
    display: inline-block; margin: 0 0 .9rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent-ink);
}
.eyebrow-light { color: #80bbbe; }

.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); }

.center { text-align: center; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .72rem 1.25rem; min-height: 46px;
    font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2; text-decoration: none;
    border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; min-height: 54px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-accent { background: var(--accent-ink); color: #fff; }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
@media (prefers-reduced-motion: no-preference) {
    .btn:hover { transform: translateY(-1px); }
}

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header & navigation ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 12px rgba(14, 26, 43, .05); }

.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.brand-name span { color: var(--brand); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name span { color: #7cb4ec; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
    display: block; padding: 10px 12px; border-radius: 8px;
    color: var(--ink); font-weight: 600; text-decoration: none;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }

.submenu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; margin-left: -8px; padding: 0;
    background: none; border: 0; border-radius: 6px; color: var(--muted); cursor: pointer;
}
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.submenu {
    position: absolute; top: calc(100% + 6px); left: -8px; z-index: 5;
    min-width: 320px; margin: 0; padding: 8px; list-style: none;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-menu:hover > .submenu,
.has-menu:focus-within > .submenu,
.has-menu.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }

.submenu a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    border-radius: var(--radius); color: var(--ink); text-decoration: none; line-height: 1.3;
}
.submenu a:hover { background: var(--tint); color: var(--brand); }
.submenu strong { display: block; font-weight: 600; font-size: .98rem; }
.submenu small { display: block; color: var(--muted); font-size: .85rem; }
.submenu-icon {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 38px; height: 38px; border-radius: 10px; background: var(--brand-tint); color: var(--brand);
}
.submenu-icon-accent { background: var(--accent-tint); color: var(--accent-ink); }

.nav-toggle {
    display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
    align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

@media (max-width: 991px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; z-index: 40;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 16px var(--gutter) 24px; background: #fff; border-top: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav-link { flex: 1; padding: 14px 4px; }
    .nav-link[aria-current="page"] { box-shadow: none; }
    .submenu-toggle { width: 44px; height: 44px; margin: 0; }
    .submenu {
        position: static; flex-basis: 100%; min-width: 0; margin: 0 0 12px; padding: 4px;
        border: 0; box-shadow: none; background: var(--tint);
        opacity: 1; visibility: visible; transform: none; display: none;
    }
    .has-menu:hover > .submenu, .has-menu:focus-within > .submenu { display: none; }
    .has-menu.is-open > .submenu { display: block; }
    .has-menu::after { display: none; }
    .nav-cta { width: 100%; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative; overflow: hidden;
    padding: clamp(48px, 3rem + 4vw, 112px) 0 clamp(56px, 3rem + 4vw, 120px);
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(43, 142, 146, .28), transparent 60%),
        radial-gradient(800px 500px at -10% 110%, rgba(24, 102, 180, .35), transparent 60%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    color: var(--on-dark);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    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: 48px 48px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 2rem + 3vw, 64px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.05rem, 1.3rem + 2.5vw, 3.15rem); }
.hero h1 em { font-style: normal; color: #80bbbe; }
.hero .lede { color: var(--on-dark-muted); max-width: 580px; }
.hero .btn-row { margin: 28px 0 32px; }

.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--on-dark); font-size: .95rem; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.trust-list .icon { color: #80bbbe; width: 18px; height: 18px; }
.hero-signin { margin: 20px 0 0; font-size: .95rem; color: var(--on-dark-muted); }
.hero-signin a { color: #fff; font-weight: 600; }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.hero-visual > .product-shot { width: 100%; }
/* A compact pill below the screenshot; it never covers the picture. */
.hero-badge {
    display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
    padding: 8px 18px 8px 8px; border-radius: 999px;
    background: #fff; color: var(--ink); border: 1px solid rgba(14, 26, 43, .08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .28); text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.hero-badge:hover { color: var(--ink); box-shadow: 0 16px 40px rgba(0, 0, 0, .34); }
.hero-badge .badge-icon {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 36px; height: 36px; border-radius: 50%; background: var(--accent-ink); color: #fff;
}
.hero-badge .badge-icon .icon { width: 20px; height: 20px; }
.hero-badge small { color: var(--muted); font-size: .85rem; }
.hero-badge strong { font-size: .95rem; font-weight: 700; }
.hero-badge .badge-sep { width: 1px; height: 18px; background: var(--line); }
.hero-badge .badge-arrow { color: var(--accent-ink); width: 18px; height: 18px; transition: transform .15s ease; }
@media (prefers-reduced-motion: no-preference) {
    .hero-badge:hover { transform: translateY(-2px); }
    .hero-badge:hover .badge-arrow { transform: translateX(3px); }
}

@media (max-width: 991px) {
    .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .hero-badge small, .hero-badge .badge-sep { display: none; }
}

/* ---------- Product screenshot frame ---------- */

.product-shot {
    margin: 0; border-radius: 14px; overflow: hidden; background: #fff;
    border: 1px solid rgba(14, 26, 43, .08); box-shadow: var(--shadow-lg);
}
.product-shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: #eef2f7; border-bottom: 1px solid var(--line); }
.product-shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd8e3; }
.product-shot img { width: 100%; }
.product-shot figcaption { padding: 12px 16px; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }

.phone-shot {
    margin: 0; max-width: 260px; border-radius: 28px; overflow: hidden; background: #fff;
    border: 8px solid var(--ink); box-shadow: var(--shadow-lg);
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
    padding: clamp(40px, 2.5rem + 3vw, 88px) 0 clamp(40px, 2rem + 2.5vw, 72px);
    background:
        radial-gradient(700px 360px at 90% 0%, rgba(43, 142, 146, .22), transparent 60%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    color: var(--on-dark);
}
.page-header h1 { color: #fff; max-width: 860px; }
.page-header .lede { color: var(--on-dark-muted); max-width: 720px; margin-bottom: 0; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; font-size: .9rem; color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--on-dark); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Grids & cards ---------- */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
    position: relative; display: flex; flex-direction: column;
    padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card-link:hover { border-color: rgba(24, 102, 180, .35); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) {
    .card-link:hover { transform: translateY(-3px); }
}
.card-link .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link h3 a { color: inherit; text-decoration: none; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }

.icon-tile {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px;
    background: var(--brand-tint); color: var(--brand);
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile-accent { background: var(--accent-tint); color: var(--accent-ink); }

.feature { display: flex; gap: 16px; }
.feature .icon-tile { margin-bottom: 0; width: 46px; height: 46px; flex: none; }
.feature h3 { font-size: 1.08rem; margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--accent-ink); width: 20px; height: 20px; margin-top: 3px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li {
    padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
    font-size: .9rem; font-weight: 600; color: var(--ink-2);
}

/* ---------- Home: stats, split, steps ---------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { padding: 8px 0 8px 18px; border-left: 3px solid var(--accent); }
.stat strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 2rem + 3vw, 80px); align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
/* Text on the left, a large screenshot on the right. */
.split-visual { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 2rem + 2vw, 56px); }
@media (max-width: 991px) { .split, .split-wide, .split-visual { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li::before {
    counter-increment: step; content: "0" counter(step);
    display: block; margin-bottom: 14px; font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--accent-ink);
}
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 991px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Product spotlight (dark band) ---------- */

.spotlight {
    position: relative; overflow: hidden; color: var(--on-dark);
    background:
        radial-gradient(700px 420px at 100% 100%, rgba(43, 142, 146, .35), transparent 60%),
        linear-gradient(135deg, var(--dark) 0%, #0c2c2e 100%);
}
.spotlight h2, .spotlight h3 { color: #fff; }
.spotlight p { color: var(--on-dark-muted); }
.spotlight .check-list li { color: var(--on-dark); }
.spotlight .check-list .icon { color: #80bbbe; }
.product-pill {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08);
    font-size: .88rem; font-weight: 600; color: var(--on-dark);
}
.product-pill span { padding: 3px 10px; border-radius: 999px; background: var(--accent-ink); color: #fff; font-size: .78rem; letter-spacing: .04em; }

/* ---------- RumiNest360 page ---------- */

.module-group { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.module-group h3 { display: flex; align-items: center; gap: 12px; }
.module-group h3 .icon-tile { margin: 0; width: 42px; height: 42px; }
.module-group ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.module-group li + li { margin-top: 6px; }

.roadmap { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.roadmap li { padding: 6px 12px; border-radius: 999px; border: 1px dashed #b8c4d4; color: var(--muted); font-size: .9rem; }

.shots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 767px) { .shots { grid-template-columns: 1fr; } }

.audience { padding: 28px; border-radius: var(--radius-lg); background: var(--tint); }
.audience h3 { display: flex; align-items: center; gap: 10px; }
.audience h3 .icon { color: var(--accent-ink); }
.audience ul { margin: 0; color: var(--muted); }

/* ---------- Services page ---------- */

.service-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .icon-tile { margin: 0; }
.service-row h2 { font-size: 1.35rem; margin-bottom: .3em; }
.service-row h2 a { color: var(--ink); text-decoration: none; }
.service-row h2 a:hover { color: var(--brand); }
.service-row p { color: var(--muted); margin: 0; }
@media (max-width: 767px) {
    .service-row { grid-template-columns: 1fr; gap: 12px; }
}

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius-lg); background: var(--tint); }
.aside-card h2 { font-size: 1.2rem; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 4px; cursor: pointer; list-style: none;
    font-weight: 650; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 4px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */

.cta-band { padding: clamp(48px, 3rem + 2vw, 80px) 0; background: linear-gradient(135deg, var(--brand) 0%, #0f4c8a 100%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 991px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Forms ---------- */

.form-card { padding: clamp(24px, 1.5rem + 1.5vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; min-height: 48px;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: #fff; border: 1px solid #cdd6e1; border-radius: var(--radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(24, 102, 180, .15); }
.field-error, .field .text-danger { display: block; margin-top: 6px; color: #b42318; font-size: .9rem; }
.input-validation-error { border-color: #b42318 !important; }
.validation-summary { padding: 12px 16px; margin-bottom: 18px; border-radius: var(--radius); background: #fef3f2; color: #b42318; }
.validation-summary ul { margin: 0; }
.validation-summary-valid { display: none; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--brand); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius-lg); background: var(--tint); text-decoration: none; color: var(--ink); }
.contact-card:hover { color: var(--ink); background: var(--brand-tint); }
.contact-card .icon-tile { margin: 0; width: 48px; height: 48px; flex: none; }
.contact-card small { display: block; color: var(--muted); font-size: .85rem; }
.contact-card strong { display: block; font-size: 1.05rem; word-break: break-word; }

/* ---------- Prose (legal, about) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li + li { margin-top: 6px; }

.note { padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent-tint); color: var(--ink-2); }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: var(--on-dark-muted); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin: 16px 0; }
.footer-title { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { color: #80bbbe; width: 18px; height: 18px; }
.social { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.social a:hover { background: rgba(255, 255, 255, .14); }

.subscribe-row { display: flex; gap: 8px; }
.subscribe input {
    flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px;
    font: inherit; font-size: 1rem; color: #fff;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius);
}
.subscribe input::placeholder { color: #8b9ab0; }
.subscribe input:focus { outline: none; border-color: #80bbbe; }
@media (max-width: 380px) { .subscribe-row { flex-direction: column; } }
.form-message { min-height: 1.4em; margin: 8px 0 0; font-size: .92rem; }
.form-message.is-error { color: #fda29b; }
.form-message.is-ok { color: #80bbbe; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Status pages ---------- */

.status-page { padding: clamp(64px, 4rem + 4vw, 140px) 0; text-align: center; }
.status-page .icon-tile { margin: 0 auto 24px; width: 64px; height: 64px; }
.status-page .icon-tile .icon { width: 32px; height: 32px; }
.status-page .lede { max-width: 560px; margin: 0 auto 28px; }
.status-page .btn-row { justify-content: center; }
