/* === CH SERVICE – MAIN STYLES (adaptive: light + dark via prefers-color-scheme) === */

:root {
    /* Identity colors — never remap */
    --ht-black:    #0a0a0a;
    --ht-accent:   #00ACC1;
    --ht-accent2:  #0097A7;
    --ht-success:  #4caf50;
    --ht-error:    #e53935;
    --ht-font:     'Inter', 'Segoe UI', system-ui, sans-serif;
    --ht-radius:   8px;
    --ht-max-w:    1200px;
    /* Hero overlay — stays dark in both modes, tuned for text contrast */
    --ht-hero-overlay: linear-gradient(135deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.82) 50%, rgba(10,10,10,.90) 100%);
    --ht-section-pad:  120px;

    /* Surface + text tokens (LIGHT MODE — overridden in dark mode below) */
    --ht-grey:     #f5f7fa;   /* alternating section bg */
    --ht-white:    #ffffff;   /* primary surface bg */
    --ht-text:     #1a1a1a;
    --ht-text-dim: #666666;
    --ht-border:   #e2e5ea;
    --ht-card-bg:      #ffffff;
    --ht-card-border:  #e2e5ea;
    --ht-card-shadow:  0 2px 12px rgba(0,0,0,.06);
    --ht-card-hover:   0 8px 32px rgba(0,0,0,.1);
    /* Sticky header glass */
    --ht-header-bg:          rgba(255, 255, 255, 0.9);
    --ht-header-bg-scrolled: rgba(255, 255, 255, 0.97);
    --ht-header-border:      rgba(0, 0, 0, 0.06);
    --ht-header-shadow:      0 2px 16px rgba(0,0,0,.06);
}

/* DARK MODE
   Two sources of truth:
   (a) OS/browser preference via `prefers-color-scheme: dark` — applied when
       user has NOT explicitly chosen via the toggle (data-theme="light" opts out).
   (b) Explicit user override — `<html data-theme="dark">` forces dark regardless of OS.
   Identity colors (--ht-black, --ht-accent), hero overlay and footer stay dark in both modes. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --ht-grey:     #141414;
        --ht-white:    #1a1a1a;
        --ht-text:     #f0f0f0;
        --ht-text-dim: #a8a8a8;
        --ht-border:   #2a2a2a;
        --ht-card-bg:      #1a1a1a;
        --ht-card-border:  #2a2a2a;
        --ht-card-shadow:  0 2px 12px rgba(0,0,0,.4);
        --ht-card-hover:   0 8px 32px rgba(0,172,193,.18);
        --ht-header-bg:          rgba(15, 15, 15, 0.85);
        --ht-header-bg-scrolled: rgba(15, 15, 15, 0.95);
        --ht-header-border:      rgba(255, 255, 255, 0.08);
        --ht-header-shadow:      0 2px 16px rgba(0,0,0,.5);
    }
}
:root[data-theme="dark"] {
    --ht-grey:     #141414;
    --ht-white:    #1a1a1a;
    --ht-text:     #f0f0f0;
    --ht-text-dim: #a8a8a8;
    --ht-border:   #2a2a2a;
    --ht-card-bg:      #1a1a1a;
    --ht-card-border:  #2a2a2a;
    --ht-card-shadow:  0 2px 12px rgba(0,0,0,.4);
    --ht-card-hover:   0 8px 32px rgba(0,172,193,.18);
    --ht-header-bg:          rgba(15, 15, 15, 0.85);
    --ht-header-bg-scrolled: rgba(15, 15, 15, 0.95);
    --ht-header-border:      rgba(255, 255, 255, 0.08);
    --ht-header-shadow:      0 2px 16px rgba(0,0,0,.5);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: light dark;
}

body {
    font-family: var(--ht-font);
    font-size: 16px;
    color: var(--ht-text);
    background: var(--ht-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior-y: none;
    text-rendering: optimizeLegibility;
}

/* Selection styling */
::selection {
    background: rgba(0,172,193,.2);
    color: inherit;
}
::-moz-selection {
    background: rgba(0,172,193,.2);
    color: inherit;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.sr-only--focusable:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    white-space: normal;
    overflow: visible;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--ht-accent);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.container {
    max-width: var(--ht-max-w);
    margin: 0 auto;
    padding: 0 32px;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────────── */

.ht-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ht-font);
    font-weight: 700;
    border-radius: var(--ht-radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: 2px solid transparent;
    line-height: 1;
    text-decoration: none;
}

.ht-btn--primary {
    background: var(--ht-accent);
    color: #fff;
    border-color: var(--ht-accent);
}
.ht-btn--primary:hover {
    background: var(--ht-accent2);
    border-color: var(--ht-accent2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,172,193,.3);
}
.ht-btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,172,193,.2);
}

/* Ghost button — outlined white on dark bg (hero) */
.ht-btn--outline {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.ht-btn--outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,.2);
    transform: translateY(-2px);
}
.ht-btn--outline:active {
    transform: translateY(0);
    background: rgba(255,255,255,.25);
}

/* Secondary — white solid button for hero */
.ht-btn--secondary {
    background: rgba(255,255,255,.92);
    color: #0a0a0a;
    border-color: #fff;
    font-weight: 700;
}
.ht-btn--secondary:hover {
    background: #fff;
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,255,255,.3);
}
.ht-btn--secondary:active {
    transform: translateY(0);
    background: rgba(255,255,255,.85);
}

/* Focus-visible for keyboard accessibility */
.ht-btn:focus-visible {
    outline: 2px solid var(--ht-accent);
    outline-offset: 3px;
}

.ht-btn--lg { font-size: 15px; padding: 16px 32px; }
.ht-btn--md { font-size: 14px; padding: 12px 24px; }

/* ── SECTION HEADERS ─────────────────────────────────────────────────────────── */

.ht-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.ht-section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ht-accent);
    margin-bottom: 14px;
    padding: 6px 16px;
    border: 1px solid rgba(0,172,193,.25);
    border-radius: 100px;
    background: rgba(0,172,193,.06);
}
.ht-section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 18px;
    color: var(--ht-text);
    letter-spacing: -0.02em;
}
.ht-section-desc {
    font-size: 18px;
    color: var(--ht-text-dim);
    line-height: 1.7;
}

/* ── FADE IN ANIMATION ───────────────────────────────────────────────────────── */
.ht-js .ht-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.ht-js .ht-fade-in.visible {
    opacity: 1;
    transform: none;
}

/* Staggered delays for grid children */
.ht-js .ht-fade-in--d1 { transition-delay: 0.1s; }
.ht-js .ht-fade-in--d2 { transition-delay: 0.2s; }
.ht-js .ht-fade-in--d3 { transition-delay: 0.3s; }
.ht-js .ht-fade-in--d4 { transition-delay: 0.4s; }
.ht-js .ht-fade-in--d5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════════════════════════════════════
   HEADER / NAV — Light
══════════════════════════════════════════════════════════════════════════════ */

.ht-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: var(--ht-header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ht-header-border);
    transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}

.ht-header.scrolled {
    padding: 10px 0;
    background: var(--ht-header-bg-scrolled);
    box-shadow: var(--ht-header-shadow);
}

.ht-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ht-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.ht-header__logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.ht-footer__logo-img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 8px;
}

.ht-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.ht-header__nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ht-text-dim);
    transition: color 0.2s;
    text-decoration: none;
    position: relative;
}
.ht-header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ht-accent);
    transition: width 0.3s;
}
.ht-header__nav a:hover { color: var(--ht-text); }
.ht-header__nav a:hover::after { width: 100%; }

.ht-header__cta {
    display: inline-flex;
    align-items: center;
    background: var(--ht-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--ht-radius);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.ht-header__cta:hover {
    background: var(--ht-accent2);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,172,193,.25);
}
.ht-header__cta:active {
    transform: translateY(0);
    box-shadow: none;
}
.ht-header__cta:focus-visible {
    outline: 2px solid var(--ht-accent);
    outline-offset: 3px;
}
.ht-header__nav a:focus-visible {
    outline: 2px solid var(--ht-accent);
    outline-offset: 4px;
    border-radius: 2px;
}

.ht-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.ht-header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ht-text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile-only elements (hidden on desktop) */
.ht-mobile-cta { display: none; }

/* Mobile nav open state — panel anchored under the header.
   Uses position:absolute (not fixed) because the header's backdrop-filter
   makes it the containing block for fixed descendants, which would squash
   the panel to header height. top:100% tracks the real header height. */
.ht-header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 100%);
    max-height: calc(100dvh - 100%);
    background: var(--ht-white);
    border-top: 1px solid var(--ht-border);
    padding: 24px 20px 32px;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}
.ht-header__nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--ht-border);
    font-size: 16px;
    color: var(--ht-text);
}
.ht-header__nav.is-open a::after { display: none; }
.ht-header__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ht-header__burger.is-active span:nth-child(2) { opacity: 0; }
.ht-header__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════════════════════
   HERO — Fullscreen with Ken Burns (stays dark — has bg image)
══════════════════════════════════════════════════════════════════════════════ */

@keyframes kenBurns {
    0%   { transform: scale(1); }
    50%  { transform: scale(2); }
    100% { transform: scale(1); }
}

.ht-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--ht-black);
}

/* Background image layer with parallax */
.ht-hero::before {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: url(../img/hero-bg.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(2.5px);
    animation: kenBurns 18s ease-in-out infinite;
    z-index: 0;
}

/* Fallback for devices that don't support fixed bg */
@supports not (background-attachment: fixed) {
    .ht-hero::before {
        background-attachment: scroll;
    }
}

/* Bottom vignette for depth */
.ht-hero__inner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -50%;
    right: -50%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(0,172,193,.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Dark overlay */
.ht-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ht-hero-overlay);
    z-index: 1;
}

.ht-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.ht-hero__tag {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #fff;
    margin-bottom: 28px;
    padding: 12px 28px;
    border: 2px solid rgba(0,172,193,.7);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    background: rgba(0,172,193,.35);
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.ht-hero__title {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.06;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    text-shadow:
        0 0 5px #000, 0 0 10px #000, 0 0 20px #000, 0 0 40px #000,
        0 0 80px #000, 0 0 120px #000, 0 0 200px rgba(0,0,0,.9),
        0 2px 4px #000, 0 4px 8px #000;
}

.ht-hero__accent { color: var(--ht-accent); }

.ht-hero__desc {
    font-size: 20px;
    color: rgba(255,255,255,.88);
    line-height: 1.7;
    text-shadow:
        0 0 4px #000, 0 0 8px #000, 0 0 16px #000, 0 0 32px #000,
        0 0 60px #000, 0 0 100px rgba(0,0,0,.9), 0 2px 4px #000;
    margin-bottom: 44px;
    max-width: 640px;
}

.ht-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 56px;
}

/* Touch feedback for mobile */
@media (hover: none) and (pointer: coarse) {
    .ht-btn:active { transform: scale(0.97); }
    .ht-service-card:active { opacity: 0.85; }
    .ht-process__card:active { opacity: 0.85; }
}

.ht-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.5);
    font-size: 20px;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   TRUST SIGNALS — Light strip with stats
══════════════════════════════════════════════════════════════════════════════ */

.ht-trust {
    background: var(--ht-grey);
    padding: 56px 0;
    border-top: 1px solid var(--ht-border);
    border-bottom: 1px solid var(--ht-border);
}

.ht-trust__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.ht-trust__stat {
    text-align: center;
    padding: 16px;
}

.ht-trust__stat-num {
    display: inline;
    font-size: 56px;
    font-weight: 900;
    color: var(--ht-accent);
    line-height: 1;
}

.ht-trust__stat-unit {
    font-size: 32px;
    font-weight: 900;
    color: var(--ht-accent);
}

.ht-trust__stat-label {
    display: block;
    font-size: 17px;
    color: var(--ht-text-dim);
    font-weight: 600;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════════════════════
   SERVICES — Cards on light background
══════════════════════════════════════════════════════════════════════════════ */

.ht-services {
    padding: var(--ht-section-pad) 0;
    background: var(--ht-white);
}

.ht-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ht-service-card {
    background: var(--ht-card-bg);
    border: 1px solid var(--ht-card-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--ht-card-shadow);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), border-color 0.3s, box-shadow 0.4s;
}

.ht-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,172,193,.3);
    box-shadow: var(--ht-card-hover);
}

.ht-service-card__icon {
    margin-bottom: 20px;
}
.ht-service-card__icon svg {
    width: 48px;
    height: 48px;
    color: var(--ht-accent);
}

.ht-service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ht-text);
    margin-bottom: 12px;
}

.ht-service-card p {
    font-size: 15px;
    color: var(--ht-text-dim);
    line-height: 1.7;
    margin-bottom: 16px;
}

.ht-service-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    text-align: left;
    width: 100%;
}

.ht-service-card__list li {
    font-size: 14px;
    color: var(--ht-text-dim);
    padding-left: 20px;
    position: relative;
}

.ht-service-card__list li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--ht-accent);
    font-weight: 700;
    font-size: 12px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   PROCESS — 4 cards on grey background
══════════════════════════════════════════════════════════════════════════════ */

.ht-process {
    background: var(--ht-grey);
    padding: var(--ht-section-pad) 0;
}

.ht-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ht-process__card {
    background: var(--ht-card-bg);
    border: 1px solid var(--ht-card-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-shadow: var(--ht-card-shadow);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.ht-process__card:hover {
    transform: translateY(-6px);
    border-color: var(--ht-accent);
    box-shadow: var(--ht-card-hover);
}

.ht-process__card:focus-visible {
    outline: 2px solid var(--ht-accent);
    outline-offset: 2px;
}

.ht-process__card-icon {
    margin-bottom: 20px;
}

.ht-process__card-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--ht-accent);
}

.ht-process__card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ht-text);
    margin-bottom: 10px;
}

.ht-process__card p {
    font-size: 15px;
    color: var(--ht-text-dim);
    line-height: 1.7;
}

@media (max-width: 991px) {
    .ht-process__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   O NAS (ABOUT) — Light grey background
══════════════════════════════════════════════════════════════════════════════ */

.ht-about {
    padding: var(--ht-section-pad) 0;
    background: var(--ht-grey);
}

.ht-about__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
}

.ht-about__media {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ht-about__img {
    width: 100%;
    max-height: 280px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

.ht-about__text .ht-section-tag { margin-bottom: 12px; }
.ht-about__text .ht-section-title { text-align: left; margin-bottom: 20px; }

.ht-about__text p {
    font-size: 16px;
    color: var(--ht-text-dim);
    line-height: 1.75;
    margin-bottom: 16px;
}

.ht-about__trust {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}

.ht-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--ht-text);
    font-weight: 500;
}

.ht-trust-icon {
    width: 28px;
    height: 28px;
    background: var(--ht-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
}

.ht-about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ht-highlight {
    background: var(--ht-card-bg);
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid var(--ht-card-border);
    box-shadow: var(--ht-card-shadow);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.ht-highlight:hover {
    border-color: rgba(0,172,193,.3);
    transform: translateY(-4px);
    box-shadow: var(--ht-card-hover);
}

.ht-highlight__num {
    display: block;
    font-size: 44px;
    font-weight: 900;
    color: var(--ht-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.ht-highlight__label {
    font-size: 13px;
    color: var(--ht-text-dim);
    font-weight: 500;
    line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════════════════════
   KONTAKT / LEAD FORM — Light
══════════════════════════════════════════════════════════════════════════════ */

.ht-contact {
    background: var(--ht-white);
    padding: var(--ht-section-pad) 0;
}

.ht-contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.ht-contact__text .ht-section-title { text-align: left; }

.ht-contact__info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 40px;
}

.ht-contact__info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    color: var(--ht-text-dim);
}

.ht-contact__info-item a {
    color: var(--ht-accent);
    text-decoration: none;
    transition: color 0.2s;
}
.ht-contact__info-item a:hover { text-decoration: underline; }

/* Lead form in contact context */
.ht-contact .ht-lead-form-wrap {
    background: var(--ht-grey);
    border: 1px solid var(--ht-border);
    margin: 0;
    max-width: 100%;
    padding: 40px 36px;
    border-radius: 16px;
}

.ht-contact .ht-lead-form-wrap h3 {
    display: none;
}

/* ══════════════════════════════════════════════════════════════════════════════
   LEAD FORM (global) — Light
══════════════════════════════════════════════════════════════════════════════ */

.ht-lead-form-wrap {
    background: var(--ht-grey);
    color: var(--ht-text);
    padding: 48px 40px;
    border-radius: 16px;
    max-width: 640px;
    margin: 40px auto;
}

.ht-lead-form-wrap h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ht-accent);
    margin-bottom: 28px;
}

.ht-lead-form .ht-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.ht-lead-form label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ht-text-dim);
}

.ht-req { color: var(--ht-accent); }

.ht-lead-form input,
.ht-lead-form textarea,
.ht-lead-form select {
    min-height: 44px;
    background: var(--ht-white);
    border: 1px solid var(--ht-border);
    color: var(--ht-text);
    padding: 12px 16px;
    border-radius: var(--ht-radius);
    font-family: var(--ht-font);
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ht-lead-form select option {
    background: var(--ht-white);
    color: var(--ht-text);
}

.ht-lead-form input:focus,
.ht-lead-form textarea:focus,
.ht-lead-form select:focus {
    outline: none;
    border-color: var(--ht-accent);
    box-shadow: 0 0 0 3px rgba(0,172,193,.12);
}

.ht-lead-form input::placeholder,
.ht-lead-form textarea::placeholder { color: var(--ht-text-dim); opacity: .7; }

.ht-lead-form textarea {
    resize: vertical;
    min-height: 110px;
}

.ht-lead-btn {
    background: var(--ht-accent);
    color: #fff;
    font-family: var(--ht-font);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--ht-radius);
    cursor: pointer;
    margin-top: 8px;
    width: 100%;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ht-lead-btn:hover {
    background: var(--ht-accent2);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,172,193,.25);
}
.ht-lead-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,172,193,.15);
}
.ht-lead-btn:focus-visible {
    outline: 2px solid var(--ht-accent);
    outline-offset: 3px;
}
.ht-lead-btn:disabled { opacity: 0.3; cursor: not-allowed; transform: none; box-shadow: none; }
.ht-lead-btn.is-loading { opacity: 0.6; cursor: wait; }

.ht-lead-form input:focus-visible,
.ht-lead-form textarea:focus-visible,
.ht-lead-form select:focus-visible {
    outline: none;
    border-color: var(--ht-accent);
    box-shadow: 0 0 0 3px rgba(0,172,193,.12);
}

.ht-lead-response {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}
.ht-lead-response.is-success { color: var(--ht-success); }
.ht-lead-response.is-error   { color: var(--ht-error); }

/* ══════════════════════════════════════════════════════════════════════════════
   FOOTER — stays dark
══════════════════════════════════════════════════════════════════════════════ */

.ht-footer {
    background: var(--ht-black);
    border-top: 1px solid rgba(255,255,255,.06);
}

.ht-footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 72px 32px;
    max-width: var(--ht-max-w);
    margin: 0 auto;
}

.ht-footer__brand { display: flex; flex-direction: column; gap: 8px; max-width: 280px; }

.ht-footer__tagline {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
}

.ht-footer__address,
.ht-footer__nip {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    line-height: 1.5;
}

.ht-footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ht-footer__col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.88);
    margin-bottom: 4px;
}

.ht-footer__col a,
.ht-footer__col span {
    font-size: 14px;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    transition: color 0.2s;
}
.ht-footer__col a:hover { color: var(--ht-accent); }

.ht-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
}

.ht-footer__bottom .container {
    display: flex;
    justify-content: center;
}

.ht-footer__bottom span {
    font-size: 13px;
    color: rgba(255,255,255,.75);
}

/* ══════════════════════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER — Light
══════════════════════════════════════════════════════════════════════════════ */

.ht-lang {
    position: relative;
    flex-shrink: 0;
}

.ht-lang__current {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,.04);
    border: 1px solid var(--ht-border);
    border-radius: 6px;
    color: var(--ht-text-dim);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--ht-font);
    padding: 6px 10px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.ht-lang__current:hover,
.ht-lang__current[aria-expanded="true"] {
    background: rgba(0,0,0,.08);
    border-color: var(--ht-accent);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ht-lang__current { background: rgba(255,255,255,.06); color: var(--ht-text); }
    :root:not([data-theme="light"]) .ht-lang__current:hover,
    :root:not([data-theme="light"]) .ht-lang__current[aria-expanded="true"] { background: rgba(255,255,255,.1); }
}
:root[data-theme="dark"] .ht-lang__current { background: rgba(255,255,255,.06); color: var(--ht-text); }
:root[data-theme="dark"] .ht-lang__current:hover,
:root[data-theme="dark"] .ht-lang__current[aria-expanded="true"] { background: rgba(255,255,255,.1); }

/* Flag images (flagcdn.com) */
img.ht-flag { width: 20px; height: 15px; vertical-align: -2px; display: inline-block; border-radius: 2px; object-fit: cover; }

.ht-lang__arrow {
    transition: transform 0.2s;
}
.ht-lang__current[aria-expanded="true"] .ht-lang__arrow {
    transform: rotate(180deg);
}

.ht-lang__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--ht-white);
    border: 1px solid var(--ht-border);
    border-radius: 8px;
    list-style: none;
    padding: 6px;
    min-width: 150px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 2000;
}
.ht-lang__dropdown.is-open { display: block; }

.ht-lang__opt {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    color: var(--ht-text);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--ht-font);
    padding: 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s;
}
.ht-lang__opt:hover { background: rgba(0,172,193,.06); color: var(--ht-accent); }
.ht-lang__opt--active { color: var(--ht-accent); font-weight: 700; }
.ht-lang__current:focus-visible {
    outline: 2px solid var(--ht-accent);
    outline-offset: 2px;
}
.ht-lang__opt:focus-visible {
    outline: 2px solid var(--ht-accent);
    outline-offset: -2px;
}

/* ══════════════════════════════════════════════════════════════════════════════
   THEME TOGGLE
══════════════════════════════════════════════════════════════════════════════ */
.ht-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
    background: rgba(0,0,0,.04);
    border: 1px solid var(--ht-border);
    border-radius: 6px;
    color: var(--ht-text-dim);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.ht-theme-toggle:hover {
    background: rgba(0,0,0,.08);
    border-color: var(--ht-accent);
    color: var(--ht-accent);
}
.ht-theme-toggle:focus-visible {
    outline: 2px solid var(--ht-accent);
    outline-offset: 2px;
}
.ht-theme-toggle__icon { display: block; transition: opacity 0.2s, transform 0.3s; }

/* Default (light mode via OS): show moon icon, hide sun */
.ht-theme-toggle__icon--sun { display: none; }
.ht-theme-toggle__icon--moon { display: block; }

/* Dark mode via OS */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .ht-theme-toggle { background: rgba(255,255,255,.06); }
    :root:not([data-theme="light"]) .ht-theme-toggle:hover { background: rgba(255,255,255,.1); }
    :root:not([data-theme="light"]) .ht-theme-toggle__icon--sun { display: block; }
    :root:not([data-theme="light"]) .ht-theme-toggle__icon--moon { display: none; }
}

/* Explicit dark override */
:root[data-theme="dark"] .ht-theme-toggle { background: rgba(255,255,255,.06); }
:root[data-theme="dark"] .ht-theme-toggle:hover { background: rgba(255,255,255,.1); }
:root[data-theme="dark"] .ht-theme-toggle__icon--sun { display: block; }
:root[data-theme="dark"] .ht-theme-toggle__icon--moon { display: none; }

/* Explicit light override — force moon icon regardless of OS pref */
:root[data-theme="light"] .ht-theme-toggle__icon--sun { display: none; }
:root[data-theme="light"] .ht-theme-toggle__icon--moon { display: block; }

/* ══════════════════════════════════════════════════════════════════════════════
   THANK YOU & 404 — Light
══════════════════════════════════════════════════════════════════════════════ */
.ht-thankyou,
.ht-404 {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--ht-grey);
    color: var(--ht-text);
    padding: 120px 32px;
}
.ht-thankyou__icon,
.ht-404__code { font-size: clamp(80px, 15vw, 160px); font-weight: 900; color: var(--ht-accent); opacity: .2; line-height: 1; }
.ht-thankyou__icon { opacity: 1; font-size: 64px; margin-bottom: 24px; color: var(--ht-accent); }
.ht-thankyou h1,
.ht-404 h1 { font-size: clamp(24px, 4vw, 42px); font-weight: 800; margin: 24px 0 16px; color: var(--ht-text); }
.ht-thankyou p,
.ht-404 p { font-size: 18px; color: var(--ht-text-dim); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════════════════════
   CLIENT LOGOS STRIP — Light
══════════════════════════════════════════════════════════════════════════════ */
.ht-clients {
    background: var(--ht-white);
    padding: 40px 0;
    border-top: 1px solid var(--ht-border);
    border-bottom: 1px solid var(--ht-border);
}
.ht-clients__label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ht-text-dim);
    margin-bottom: 20px;
}
.ht-clients__marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.ht-clients__track {
    display: flex;
    width: max-content;
    animation: htClientsMarquee 40s linear infinite;
}
.ht-clients__marquee:hover .ht-clients__track { animation-play-state: paused; }

.ht-clients__strip {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    margin: 0;
    list-style: none;
}
.ht-clients__brand {
    font-size: 18px;
    font-weight: 800;
    color: var(--ht-text-dim);
    opacity: .55;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: opacity .3s, color .3s;
    white-space: nowrap;
}
.ht-clients__brand:hover {
    opacity: 1;
    color: var(--ht-accent);
}
@keyframes htClientsMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ht-clients__track { animation: none; }
}
@media (max-width: 768px) {
    .ht-clients__strip { gap: 24px; padding: 0 12px; }
    .ht-clients__brand { font-size: 14px; }
    .ht-clients__track { animation-duration: 30s; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    :root { --ht-section-pad: 80px; }
    .ht-hero__inner { max-width: 100%; }
    .ht-about__inner { grid-template-columns: 1fr; gap: 40px; }
    .ht-about__img { max-height: 360px; }
    .ht-contact__inner { grid-template-columns: 1fr; }
    .ht-trust__stats { grid-template-columns: repeat(2, 1fr); }
    .ht-services__grid { grid-template-columns: repeat(2, 1fr); }
    .ht-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --ht-section-pad: 64px; }
    .container { padding: 0 20px; }
    .ht-header__nav, .ht-header__cta { display: none; }
    .ht-header__burger { display: flex; }

    /* Language switcher — compact on mobile */
    .ht-lang { margin-left: auto; margin-right: 8px; }
    .ht-lang__dropdown { right: -40px; min-width: 160px; max-height: 70vh; overflow-y: auto; }
    #ht-lang-code { display: none; }
    .ht-lang__flag { font-size: 20px; }

    /* Theme toggle — compact on mobile */
    .ht-theme-toggle { width: 32px; height: 32px; margin-right: 8px; }

    /* Mobile CTA inside burger */
    .ht-mobile-cta {
        display: block !important;
        text-align: center;
        background: var(--ht-accent) !important;
        color: #fff !important;
        border-radius: 8px;
        padding: 14px 0 !important;
        margin-top: 8px;
        font-weight: 600;
        border-bottom: none !important;
    }

    /* Grid stacking */
    .ht-services__grid { grid-template-columns: 1fr; }
    .ht-trust__stats { grid-template-columns: repeat(2, 1fr); }
    .ht-about__highlights { grid-template-columns: 1fr 1fr; }
    .ht-footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; }
    .ht-hero { padding: 100px 0 60px; min-height: 100svh; }
    .ht-hero__title { font-size: clamp(32px, 8vw, 52px); }
    .ht-hero__actions { flex-direction: column; width: 100%; }
    .ht-hero__actions .ht-btn { width: 100%; justify-content: center; }

    /* Process cards mobile */
    .ht-process__grid { grid-template-columns: 1fr; }
    .ht-process__card { padding: 24px; }
}

@media (max-width: 480px) {
    .ht-about__highlights { grid-template-columns: 1fr; }
    .ht-trust__stats { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   iOS / TOUCH — Parallax fix
══════════════════════════════════════════════════════════════════════════════ */
@supports (-webkit-touch-callout: none) {
    .ht-hero::before {
        background-attachment: scroll;
    }
}
@media (hover: none) and (pointer: coarse) {
    .ht-hero::before {
        background-attachment: scroll;
    }
    /* Disable hover transforms on touch */
    .ht-service-card:hover,
    .ht-highlight:hover {
        transform: none;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .ht-hero::before { animation: none; }
    .ht-js .ht-fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   NO-IMAGE FALLBACK — Gradient hero when hero-bg.webp is missing
══════════════════════════════════════════════════════════════════════════════ */
.ht-hero--no-img::before {
    background-image: none;
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0,172,193,.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,172,193,.05) 0%, transparent 60%),
        var(--ht-black);
    animation: none;
}

/* ══════════════════════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
══════════════════════════════════════════════════════════════════════════════ */
.ht-btt {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ht-accent);
    color: #fff;
    border: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 910;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    line-height: 1;
}
.ht-btt.is-visible {
    opacity: 1;
    transform: none;
}
.ht-btt:hover {
    background: var(--ht-accent2);
    box-shadow: 0 6px 24px rgba(0,172,193,.3);
}
.ht-btt:active { transform: translateY(2px); }
.ht-btt:focus-visible { outline: 2px solid var(--ht-accent); outline-offset: 3px; }

/* ══════════════════════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER — Light
══════════════════════════════════════════════════════════════════════════════ */
.ht-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--ht-white);
    border-top: 1px solid var(--ht-border);
    box-shadow: 0 -4px 24px rgba(0,0,0,.08);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ht-cookie p {
    font-size: 13px;
    color: var(--ht-text-dim);
    margin: 0;
    line-height: 1.5;
}
.ht-cookie__ok {
    background: var(--ht-accent);
    color: #fff;
    border: none;
    font-family: var(--ht-font);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 24px;
    border-radius: var(--ht-radius);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.ht-cookie__ok:hover { background: var(--ht-accent2); }
.ht-cookie__link {
    color: var(--ht-text-dim);
    font-size: 13px;
    text-decoration: underline;
    transition: color .2s;
}
.ht-cookie__link:hover { color: var(--ht-accent); }

/* ══════════════════════════════════════════════════════════════════════════════
   FLOATING CONTACT BUTTON
══════════════════════════════════════════════════════════════════════════════ */
.ht-float-cta {
    position: fixed;
    bottom: 96px;
    right: 32px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ht-accent);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0,172,193,.3);
    transition: transform 0.3s, box-shadow 0.3s, background 0.2s;
    opacity: 0;
    transform: translateY(16px);
}
.ht-float-cta.is-visible {
    opacity: 1;
    transform: none;
}
.ht-float-cta:hover {
    background: var(--ht-accent2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,172,193,.35);
}
.ht-float-cta__icon { font-size: 18px; line-height: 1; }

@media (max-width: 768px) {
    .ht-btt { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 18px; }
    .ht-float-cta { bottom: 72px; right: 20px; padding: 10px 16px; font-size: 12px; }
    .ht-float-cta__label { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   HERO TYPING EFFECT
══════════════════════════════════════════════════════════════════════════════ */
.ht-typed-cursor {
    display: inline-block;
    width: 3px;
    background: var(--ht-accent);
    margin-left: 4px;
    animation: typeBlink 0.7s infinite;
    vertical-align: baseline;
}
@keyframes typeBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   404 PAGE — enhanced
══════════════════════════════════════════════════════════════════════════════ */
.ht-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--ht-grey);
    padding: 40px 20px;
}
.ht-404__code {
    font-size: clamp(80px, 15vw, 180px);
    font-weight: 900;
    color: rgba(0,172,193,.12);
    line-height: 1;
    letter-spacing: -4px;
}
/* ══════════════════════════════════════════════════════════════════════════════
   PRIVACY / TERMS — Light
══════════════════════════════════════════════════════════════════════════════ */

.ht-legal {
    padding: 120px 0 80px;
    background: var(--ht-white);
    min-height: 100vh;
}
.ht-legal .container {
    max-width: 860px;
}
.ht-legal__header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--ht-border);
}
.ht-legal__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--ht-text);
    margin-bottom: 12px;
    letter-spacing: -.02em;
}
.ht-legal__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ht-legal__updated {
    font-size: 14px;
    color: var(--ht-text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}
.ht-legal__updated svg {
    width: 14px;
    height: 14px;
    stroke: var(--ht-accent);
    fill: none;
}
.ht-legal__badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0,172,193,.08);
    color: var(--ht-accent);
}
/* Table of contents */
.ht-legal__toc {
    background: var(--ht-grey);
    border: 1px solid var(--ht-border);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 48px;
}
.ht-legal__toc-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ht-accent);
    margin-bottom: 16px;
}
.ht-legal__toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px 24px;
}
.ht-legal__toc-list a {
    font-size: 14px;
    color: var(--ht-text-dim);
    text-decoration: none;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.ht-legal__toc-list a:hover,
.ht-legal__toc-list a:focus-visible {
    color: var(--ht-accent);
}
.ht-legal__toc-list a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ht-accent);
    flex-shrink: 0;
}
/* Content sections */
.ht-legal__content {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ht-legal__section {
    padding: 32px 0;
    border-bottom: 1px solid var(--ht-border);
    scroll-margin-top: 100px;
}
.ht-legal__section:last-child {
    border-bottom: none;
}
.ht-legal__section-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}
.ht-legal__section-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,172,193,.08);
    border-radius: 10px;
    margin-top: 2px;
}
.ht-legal__section-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--ht-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ht-legal__section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ht-text);
    margin: 0;
    line-height: 1.4;
}
.ht-legal__section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ht-text-dim);
    margin: 0 0 12px;
    padding-left: 52px;
}
.ht-legal__section p:last-child {
    margin-bottom: 0;
}
/* Highlight box */
.ht-legal__highlight {
    background: rgba(0,172,193,.04);
    border-left: 3px solid var(--ht-accent);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin: 12px 0 0 52px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ht-text-dim);
}
.ht-legal__highlight a {
    color: var(--ht-accent);
    text-decoration: none;
}
.ht-legal__highlight a:hover {
    text-decoration: underline;
}
/* Back link */
.ht-legal__back {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--ht-border);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
/* Responsive */
@media (max-width: 768px) {
    .ht-legal { padding: 100px 0 60px; }
    .ht-legal__section p { padding-left: 0; }
    .ht-legal__highlight { margin-left: 0; }
    .ht-legal__section-head { gap: 12px; }
    .ht-legal__toc-list { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   CUSTOM SCROLLBAR — Light
══════════════════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ht-grey); }
::-webkit-scrollbar-thumb { background: rgba(0,172,193,.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,172,193,.5); }
html { scrollbar-color: rgba(0,172,193,.3) var(--ht-grey); scrollbar-width: thin; }

/* ══════════════════════════════════════════════════════════════════════════════
   NAV LINK ANIMATED UNDERLINES
══════════════════════════════════════════════════════════════════════════════ */
.ht-header__nav > a {
    position: relative;
}
.ht-header__nav > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ht-accent);
    transition: width 0.3s cubic-bezier(.4,0,.2,1);
}
.ht-header__nav > a:hover::after,
.ht-header__nav > a.is-active::after {
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════════════════════
   TEXT REVEAL ANIMATION — section headers
══════════════════════════════════════════════════════════════════════════════ */
@keyframes ht-reveal-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ht-section-header .ht-section-tag,
.ht-section-header .ht-section-title,
.ht-section-header .ht-section-desc {
    opacity: 0;
    transform: translateY(30px);
}
.ht-section-header.is-revealed .ht-section-tag {
    animation: ht-reveal-up .6s ease-out forwards;
}
.ht-section-header.is-revealed .ht-section-title {
    animation: ht-reveal-up .6s ease-out .15s forwards;
}
.ht-section-header.is-revealed .ht-section-desc {
    animation: ht-reveal-up .6s ease-out .3s forwards;
}
@media (prefers-reduced-motion: reduce) {
    .ht-section-header .ht-section-tag,
    .ht-section-header .ht-section-title,
    .ht-section-header .ht-section-desc {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   RIPPLE EFFECT — buttons
══════════════════════════════════════════════════════════════════════════════ */
.ht-btn {
    position: relative;
    overflow: hidden;
}
.ht-btn .ht-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    transform: scale(0);
    animation: ht-ripple-anim .6s ease-out;
    pointer-events: none;
}
@keyframes ht-ripple-anim {
    to { transform: scale(4); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PAGE LOADER — Light
══════════════════════════════════════════════════════════════════════════════ */
.ht-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--ht-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease-out, visibility .5s;
}
.ht-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.ht-loader__logo {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: ht-loader-pulse 1.2s ease-in-out infinite;
}
@keyframes ht-loader-pulse {
    0%, 100% { opacity: .4; transform: scale(.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   MAGNETIC BUTTON ENHANCEMENT
══════════════════════════════════════════════════════════════════════════════ */
.ht-btn--primary,
.ht-header__cta,
.ht-float-cta {
    transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.3s, background 0.2s;
}

