/* =============================================================
   Terahost theme — main stylesheet
   Built from the official mockup.
   ============================================================= */

:root {
    --th-bg-dark: #0B1020;
    --th-bg-dark-2: #0F1530;
    --th-bg-dark-card: #131A33;
    --th-bg-light: #F3F3F5;
    --th-surface: #FFFFFF;
    --th-text: #0B1020;
    --th-text-muted: #5B6577;
    --th-text-muted-2: #8b93a3;
    --th-text-on-dark: #ffffff;
    --th-text-on-dark-muted: #B0B7C6;
    --th-accent: #ED1C24;
    --th-accent-dark: #C8161D;
    --th-accent-soft: rgba(237, 28, 36, 0.18);
    --th-accent-glow: rgba(237, 28, 36, 0.55);
    --th-border-dark: rgba(255, 255, 255, 0.08);
    --th-border-light: rgba(11, 16, 32, 0.08);

    --th-radius: 14px;
    --th-radius-sm: 10px;
    --th-radius-lg: 22px;

    --th-shadow-card: 0 6px 24px rgba(11, 16, 32, 0.06);
    --th-shadow-card-dark: 0 8px 32px rgba(0, 0, 0, 0.35);

    --th-container: 1240px;
    --th-gutter: clamp(20px, 4vw, 40px);

    --th-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--th-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--th-text);
    background: var(--th-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--th-accent); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px,1px,1px,1px);
    width: 1px; height: 1px; overflow: hidden;
}
.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--th-accent); color: #fff; padding: 8px 14px; z-index: 9999;
}
.skip-link:focus { top: 0; }

.container {
    width: 100%;
    max-width: var(--th-container);
    margin-inline: auto;
    padding-inline: var(--th-gutter);
}
.text-accent { color: var(--th-accent); }
.accent      { color: var(--th-accent); }
.th-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn .th-icon { width: 18px; height: 18px; }
.btn--primary {
    background: var(--th-accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(237, 28, 36, 0.35);
}
.btn--primary:hover {
    background: var(--th-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(237, 28, 36, 0.4);
}
.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.btn--lg { padding: 16px 26px; font-size: 16px; }

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--th-accent);
    font-weight: 600;
    font-size: 14px;
}
.learn-more .th-icon { width: 16px; height: 16px; transition: transform 0.2s ease; }
.learn-more:hover { color: var(--th-accent-dark); }
.learn-more:hover .th-icon { transform: translateX(3px); }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
    background: var(--th-bg-dark);
    color: var(--th-text-on-dark);
    position: relative;
    z-index: 50;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.brand__mark { display: inline-flex; }
.brand__mark .th-icon { width: 38px; height: 38px; }
.brand__text { font-weight: 800; font-size: 22px; letter-spacing: 0.02em; }
.brand__tera { color: #fff; }
.brand__host { color: var(--th-accent); }
.brand--light .brand__text { color: #fff; }

.site-nav { flex: 1; display: flex; justify-content: center; }
.primary-menu {
    list-style: none; margin: 0; padding: 0;
    display: flex; align-items: center; gap: 30px;
    font-size: 15px; font-weight: 500;
}
.primary-menu a {
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 0;
    position: relative;
}
.primary-menu a:hover { color: #fff; }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu li.active > a {
    color: #fff;
}
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after,
.primary-menu li.active > a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px; background: var(--th-accent); border-radius: 2px;
}

.site-header__actions {
    display: flex; align-items: center; gap: 22px;
}
.header-phone {
    display: inline-flex; align-items: center; gap: 8px;
    color: #fff; font-weight: 600; font-size: 15px;
}
.header-phone .th-icon { color: var(--th-accent); width: 18px; height: 18px; }
.header-phone:hover { color: #fff; }
.header-phone:hover .th-icon { color: var(--th-accent); }

.nav-toggle {
    display: none;
    background: transparent; border: 0; color: #fff;
    padding: 8px; border-radius: 8px;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
    background: var(--th-bg-dark);
    color: var(--th-text-on-dark);
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}
.hero__bg-grid {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(rgba(237, 28, 36, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: center;
    mask-image: radial-gradient(ellipse at 70% 50%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 30%, transparent 75%);
    opacity: 0.6;
    pointer-events: none;
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
}
.hero__copy { max-width: 600px; }
.hero__title {
    font-size: clamp(36px, 5.2vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero__title span { display: block; }
.hero__sub {
    font-size: 17px;
    color: var(--th-text-on-dark-muted);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 32px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__trust { border-left: 3px solid var(--th-accent); padding-left: 16px; }
.hero__eyebrow {
    display: block;
    font-size: 13px;
    color: var(--th-text-on-dark-muted);
    margin-bottom: 18px;
    font-weight: 500;
}
.hero__logos {
    display: flex; flex-wrap: wrap; align-items: center; gap: 38px;
    opacity: 0.85;
}
.trust-logo {
    font-family: var(--th-font);
    color: #fff;
    line-height: 1;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
}
.trust-logo--text strong {
    font-size: 18px; font-weight: 800; letter-spacing: 0.08em; color: #fff;
}
.trust-logo--text em {
    font-style: normal; font-size: 10px; letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.55);
}
.trust-logo--img { max-height: 36px; width: auto; opacity: 0.75; filter: grayscale(1) brightness(2); }

/* ===========================================================
   Hero infrastructure visual — built to match the mockup
   =========================================================== */
.hero__visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.infra {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 600 / 560;
    margin-inline: auto;
}
.infra__svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes thPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.22); }
    50%      { box-shadow: 0 0 0 9px rgba(237, 28, 36, 0); }
}
@keyframes thRing {
    0%   { transform: translateX(-50%) scale(0.92); opacity: 0.85; }
    100% { transform: translateX(-50%) scale(1.06); opacity: 0.0; }
}

/* ----- central infrastructure console card ----- */
.infra-console {
    position: absolute;
    top: 18%;
    left: 36%;
    right: 4%;
    z-index: 4;
    background: linear-gradient(160deg, #1A2348 0%, #0E1430 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 18px 18px 16px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(237, 28, 36, 0.06) inset;
    color: #fff;
    backdrop-filter: blur(8px);
}
.infra-console__header {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 14px; font-weight: 700; color: #fff;
    margin-bottom: 14px;
}
.infra-console__live {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--th-accent); font-size: 11px; font-weight: 600;
}
.live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--th-accent);
    animation: thPulse 1.6s ease-in-out infinite;
}
.infra-console__servers {
    background: linear-gradient(180deg, rgba(10, 14, 32, 0.6), rgba(10, 14, 32, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 14px;
}
.server-label { font-size: 12px; color: #fff; font-weight: 600; display: block; }
.server-status { font-size: 11px; color: var(--th-text-on-dark-muted); display: block; margin-bottom: 10px; }
.server-rack {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
}
.server-rack span {
    height: 34px;
    background:
        linear-gradient(180deg, #0c1230 0%, #1a2147 50%, #0c1230 100%);
    border-radius: 4px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
/* faceplate vents */
.server-rack span::before {
    content: "";
    position: absolute; left: 4px; right: 4px; top: 5px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1px;
    box-shadow:
        0 4px 0 rgba(255, 255, 255, 0.06),
        0 8px 0 rgba(255, 255, 255, 0.05);
}
/* glowing red LED bar */
.server-rack span::after {
    content: "";
    position: absolute; left: 4px; right: 4px; bottom: 5px;
    height: 3px;
    background: var(--th-accent);
    border-radius: 2px;
    box-shadow:
        0 0 6px var(--th-accent-glow),
        0 0 12px rgba(237, 28, 36, 0.4);
}
.infra-console__stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}
.infra-console__stats > div { text-align: center; }
.infra-console__stats strong { display: block; font-size: 17px; color: #fff; font-weight: 700; line-height: 1.1; }
.infra-console__stats em { font-style: normal; font-size: 11px; color: var(--th-text-on-dark-muted); }

/* ----- floating side cards (left column) ----- */
.infra-card {
    position: absolute;
    z-index: 3;
    background: linear-gradient(160deg, #1A2348 0%, #0F1535 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 11px 14px;
    display: inline-flex; align-items: center; gap: 10px;
    color: #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
    min-width: 168px;
}
.infra-card__icon {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: rgba(237, 28, 36, 0.12);
    color: var(--th-accent);
    border: 1px solid rgba(237, 28, 36, 0.25);
}
.infra-card__icon .th-icon { width: 18px; height: 18px; }
.infra-card__icon--filled {
    background: var(--th-accent);
    border-color: var(--th-accent);
    color: #fff;
    box-shadow: 0 6px 14px rgba(237, 28, 36, 0.45);
}
.infra-card__body { display: flex; flex-direction: column; line-height: 1.2; }
.infra-card__body strong { font-size: 13px; color: #fff; font-weight: 700; }
.infra-card__body em { font-style: normal; font-size: 11px; }

/* highlight on the middle "Backup" card to mirror the mockup's accent */
.infra-card--security { top: 22%; left: 0; }
.infra-card--backup   { top: 44%; left: 4%;
    background: linear-gradient(160deg, #2A1430 0%, #1A0E20 100%);
    border-color: rgba(237, 28, 36, 0.35);
}
.infra-card--network  { top: 66%; left: 0; }

/* ----- top-right floating chip ----- */
.infra-chip {
    position: absolute;
    top: 0; right: 0;
    z-index: 3;
    background: linear-gradient(160deg, #1A2348 0%, #0F1535 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 10px 14px;
    display: inline-flex; align-items: center; gap: 10px;
    color: #fff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}
.infra-chip__dot {
    width: 9px; height: 9px; background: var(--th-accent); border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.22);
    animation: thPulse 1.8s ease-in-out infinite;
}
.infra-chip__body { display: flex; flex-direction: column; line-height: 1.15; }
.infra-chip__body strong { font-size: 12px; font-weight: 700; }
.infra-chip__body em { font-style: normal; font-size: 11px; color: var(--th-text-on-dark-muted); }

/* ----- glowing concentric platform ----- */
.infra-platform {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 78%;
    height: 130px;
    z-index: 2;
    pointer-events: none;
}
/* radial glow that bleeds upward into the scene */
.infra-platform::before {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 220px;
    background: radial-gradient(ellipse at 50% 100%,
        rgba(237, 28, 36, 0.55) 0%,
        rgba(237, 28, 36, 0.15) 35%,
        rgba(237, 28, 36, 0)    70%);
    filter: blur(4px);
}
.infra-platform__core {
    position: absolute;
    left: 50%; bottom: 32px;
    transform: translateX(-50%);
    width: 52%;
    height: 8px;
    border-radius: 50%;
    background: var(--th-accent);
    box-shadow:
        0 0 30px var(--th-accent),
        0 0 60px var(--th-accent-glow);
}
.infra-platform__ring {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    border: 2px solid var(--th-accent);
    border-radius: 50%;
    opacity: 0.8;
}
.infra-platform__ring--1 {
    width: 60%;
    height: 30px;
    box-shadow: 0 0 24px var(--th-accent-glow);
}
.infra-platform__ring--2 {
    width: 78%;
    height: 44px;
    bottom: 6px;
    border-color: rgba(237, 28, 36, 0.55);
    border-style: dashed;
    opacity: 0.7;
}
.infra-platform__ring--3 {
    width: 100%;
    height: 60px;
    bottom: -4px;
    border-color: rgba(237, 28, 36, 0.30);
    border-style: dotted;
    opacity: 0.55;
}

/* ===========================================================
   Stats row
   =========================================================== */
.stats {
    background: var(--th-bg-light);
    padding: 60px 0 40px;
}
.stats__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.stat { display: flex; align-items: center; gap: 16px; }
.stat__icon {
    flex-shrink: 0;
    width: 64px; height: 64px;
    background: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--th-accent);
    box-shadow: var(--th-shadow-card);
}
.stat__icon .th-icon { width: 28px; height: 28px; }
.stat__icon--flag-uk .th-icon { width: 36px; height: auto; border-radius: 3px; }
.stat__divider {
    display: block;
    width: 1px; height: 56px;
    background: rgba(11, 16, 32, 0.12);
}
.stat__value { font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--th-text); }
.stat__label { font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--th-text); }
.stat__sub   { font-size: 13px; color: var(--th-text-muted); line-height: 1.4; margin-top: 4px; }

/* ===========================================================
   Service cards
   =========================================================== */
.services {
    background: var(--th-bg-light);
    padding: 30px 0 70px;
}
.services--inner { padding-top: 60px; }
.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 26px 26px;
    position: relative;
    box-shadow: var(--th-shadow-card);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--th-accent);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(11, 16, 32, 0.1);
}
.service-card__icon {
    display: inline-flex;
    color: var(--th-accent);
    margin-bottom: 18px;
}
.service-card__icon .th-icon { width: 36px; height: 36px; }
.service-card__title { font-size: 20px; margin-bottom: 10px; }
.service-card__desc { color: var(--th-text-muted); font-size: 14px; margin-bottom: 22px; min-height: 60px; }

/* ===========================================================
   CTA band
   =========================================================== */
.cta-band {
    background: var(--th-bg-light);
    padding-bottom: 70px;
}
.cta-band__inner {
    background: var(--th-bg-dark);
    color: #fff;
    border-radius: var(--th-radius);
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 1.4fr auto 1fr;
    align-items: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--th-shadow-card-dark);
}
.cta-band__inner::before {
    content: "";
    position: absolute; inset: auto -10% -50% 30%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 50%, rgba(237, 28, 36, 0.18), transparent 60%);
    pointer-events: none;
}
.cta-band__copy { position: relative; z-index: 1; border-left: 3px solid var(--th-accent); padding-left: 16px; }
.cta-band__title { font-size: 22px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.cta-band__sub   { font-size: 14px; color: var(--th-text-on-dark-muted); margin: 0; }
.cta-band__btn { position: relative; z-index: 1; }
.cta-band__notes {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 10px;
    position: relative; z-index: 1;
}
.cta-band__notes li {
    display: flex; align-items: center; gap: 10px;
    color: #fff; font-size: 13px;
}
.cta-band__notes li .th-icon { width: 22px; height: 22px; color: var(--th-accent); }
.cta-band__notes li span { display: flex; flex-direction: column; line-height: 1.2; }
.cta-band__notes li strong { font-size: 14px; }
.cta-band__notes li em { font-style: normal; color: var(--th-text-on-dark-muted); font-size: 12px; }

/* ===========================================================
   Inner page hero
   =========================================================== */
.page-wrap { background: #fff; }
.page-hero {
    background: var(--th-bg-light);
    color: var(--th-text);
    padding: 60px 0 50px;
}
.page-hero--dark {
    background: var(--th-bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 80px 0 70px;
}
.page-hero--dark .page-title { color: #fff; }
.page-hero--dark .page-sub { color: var(--th-text-on-dark-muted); }
.page-eyebrow {
    display: inline-block;
    color: var(--th-accent);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
    border-left: 3px solid var(--th-accent);
    padding-left: 10px;
}
.page-title {
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 18px;
}
.page-sub { font-size: 17px; max-width: 700px; }

.page-body {
    padding: 60px 0;
}
.page-body .page-content {
    max-width: 760px;
    margin-inline: auto;
}

/* ===========================================================
   Feature row (services page)
   =========================================================== */
.feature-row { background: #fff; padding: 80px 0; }
.feature-row__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.feature-row__copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.feature-row__copy p  { color: var(--th-text-muted); font-size: 16px; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 30px; }
.feature-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; border-bottom: 1px solid var(--th-border-light);
    font-weight: 500;
}
.feature-list li .th-icon { color: var(--th-accent); width: 18px; height: 18px; }

.mini-console {
    background: var(--th-bg-dark);
    border-radius: var(--th-radius);
    padding: 22px;
    color: #fff;
    box-shadow: var(--th-shadow-card-dark);
}
.mini-console__row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}
.mini-console__row:last-child { border-bottom: 0; }
.mini-console__row span { display: inline-flex; align-items: center; gap: 10px; }
.mini-console__row .th-icon { color: var(--th-accent); width: 18px; height: 18px; }
.mini-console__row em { font-style: normal; font-weight: 600; font-size: 13px; }

/* ===========================================================
   Solutions grid
   =========================================================== */
.solutions-grid { padding: 70px 0; background: #fff; }
.solutions-grid__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.solution-card {
    background: var(--th-bg-light);
    border-radius: var(--th-radius);
    padding: 26px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.solution-card:hover {
    background: #fff;
    border-color: var(--th-border-light);
    transform: translateY(-2px);
    box-shadow: var(--th-shadow-card);
}
.solution-card__icon {
    display: inline-flex;
    width: 48px; height: 48px;
    background: var(--th-accent-soft);
    color: var(--th-accent);
    border-radius: 10px;
    align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.solution-card__icon .th-icon { width: 24px; height: 24px; }
.solution-card h3 { font-size: 18px; margin-bottom: 8px; }
.solution-card p { color: var(--th-text-muted); font-size: 14px; margin: 0; }

/* ===========================================================
   About page
   =========================================================== */
.about-grid { padding: 70px 0; background: #fff; }
.about-grid__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-grid__copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.about-grid__copy p  { color: var(--th-text-muted); font-size: 16px; }
.about-grid__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-grid__stats > div {
    background: var(--th-bg-light);
    border-radius: var(--th-radius);
    padding: 22px;
    text-align: center;
}
.about-grid__stats strong { display: block; font-size: 32px; color: var(--th-accent); font-weight: 800; }
.about-grid__stats em { font-style: normal; font-size: 13px; color: var(--th-text-muted); }

.values { background: var(--th-bg-light); padding: 70px 0; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
    background: #fff;
    border-radius: var(--th-radius);
    padding: 30px 26px;
    box-shadow: var(--th-shadow-card);
    border-top: 3px solid var(--th-accent);
}
.value-card__icon {
    display: inline-flex; color: var(--th-accent); margin-bottom: 14px;
}
.value-card__icon .th-icon { width: 34px; height: 34px; }
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p  { color: var(--th-text-muted); font-size: 14px; margin: 0; }

/* ===========================================================
   Resources
   =========================================================== */
.resources { background: var(--th-bg-light); padding: 70px 0; }
.resources__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.resource-card {
    background: #fff;
    border-radius: var(--th-radius);
    padding: 26px;
    box-shadow: var(--th-shadow-card);
    display: flex; flex-direction: column;
}
.resource-card__tag {
    display: inline-block;
    background: var(--th-accent-soft);
    color: var(--th-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
    align-self: flex-start;
}
.resource-card h3 { font-size: 18px; margin-bottom: 10px; }
.resource-card p { color: var(--th-text-muted); font-size: 14px; flex: 1; margin-bottom: 14px; }

/* ===========================================================
   Contact page
   =========================================================== */
.contact { padding: 70px 0; background: #fff; }
.contact__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-form {
    background: var(--th-bg-light);
    border-radius: var(--th-radius);
    padding: 32px;
}
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-form label {
    display: flex; flex-direction: column; gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--th-text);
}
.contact-form input,
.contact-form textarea {
    font: inherit;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--th-border-light);
    background: #fff;
    color: var(--th-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--th-accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.1);
}
.contact-form__full { margin-bottom: 20px; }
.contact-form__note { color: var(--th-text-muted); font-size: 12px; margin: 12px 0 0; }

.contact__side {
    background: var(--th-bg-dark);
    color: #fff;
    border-radius: var(--th-radius);
    padding: 32px;
    box-shadow: var(--th-shadow-card-dark);
}
.contact__side h3 { color: #fff; margin-bottom: 14px; font-size: 20px; }
.contact__phone {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 22px; font-weight: 800; color: #fff;
    margin-bottom: 22px;
}
.contact__phone .th-icon { color: var(--th-accent); width: 22px; height: 22px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list li .th-icon { color: var(--th-accent); width: 22px; height: 22px; }
.contact__list span { display: flex; flex-direction: column; line-height: 1.2; }
.contact__list em { font-style: normal; color: var(--th-text-on-dark-muted); font-size: 12px; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
    background: var(--th-bg-dark);
    color: var(--th-text-on-dark);
    padding-top: 60px;
    border-top: 1px solid var(--th-border-dark);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 50px;
}
.site-footer__about {
    color: var(--th-text-on-dark-muted);
    font-size: 14px;
    margin: 18px 0;
    max-width: 380px;
}
.header-phone--light { color: #fff; }
.site-footer__col h4 {
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}
.site-footer__col ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.site-footer__col a { color: var(--th-text-on-dark-muted); font-size: 14px; }
.site-footer__col a:hover { color: #fff; }

.contact-list {
    list-style: none; padding: 0; margin: 0 0 22px;
    display: flex; flex-direction: column; gap: 10px;
}
.contact-list li {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--th-text-on-dark-muted); font-size: 13px;
}
.contact-list li .th-icon { color: var(--th-accent); width: 18px; height: 18px; }

.site-footer__bottom {
    border-top: 1px solid var(--th-border-dark);
    padding: 20px 0;
}
.site-footer__bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.site-footer__bottom small { color: var(--th-text-on-dark-muted); font-size: 13px; }
.footer-menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 18px; font-size: 13px;
}
.footer-menu a { color: var(--th-text-on-dark-muted); }
.footer-menu a:hover { color: #fff; }

/* ===========================================================
   Blog index
   =========================================================== */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}
.post-card {
    background: var(--th-bg-light);
    border-radius: var(--th-radius);
    padding: 22px;
}
.post-card__title { font-size: 18px; margin-bottom: 8px; }
.post-card__thumb img { border-radius: 8px; margin-bottom: 14px; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1100px) {
    .stats__grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
        column-gap: 30px;
    }
    .stat__divider { display: none; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .site-footer__grid > :last-child { grid-column: 1 / -1; }
    .solutions-grid__inner,
    .resources__grid,
    .values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; padding-top: 30px; }
    .hero__visual { order: 2; min-height: 380px; }
    .hero { padding-bottom: 50px; }
    .infra { max-width: 460px; }

    /* Mobile nav */
    .nav-toggle { display: inline-flex; }
    .site-nav { position: static; }
    .primary-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: colum