/* =========================================================================
   IT WEB Studio — main stylesheet (vanilla, mobile-first)
   ========================================================================= */
:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --surface-2: #1c1c1c;
    --accent: #ff7f2a;
    --accent-hover: #ff9955;
    --text: #ffffff;
    --muted: #a3a3a3;
    --border: rgba(255, 255, 255, 0.1);
    --radius: 16px;
    --container: 1280px;
    --pad-x: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Manrope', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    /* Disable JS-triggered transitions, but KEEP the decorative marquee
       and other CSS-only ambient animations running. */
    *:not(.itweb-marquee-track):not(.itweb-marquee-track *) {
        transition-duration: 0.01ms !important;
    }
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 16px;
}

.itweb-hand {
    font-family: 'Caveat', cursive;
    color: var(--accent);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }

.noise-bg { position: relative; }
.noise-bg::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.04; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
    cursor: pointer; transition: transform 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--accent); color: var(--bg); border: none; box-shadow: 0 8px 30px -10px rgba(255,127,42,0.6); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header ---------- */
.itweb-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    background: rgba(10, 10, 10, 0.65);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.itweb-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: var(--container); margin: 0 auto; padding: 16px var(--pad-x); min-height: 72px;
}
.itweb-header nav.itweb-main-nav { display: none; gap: 4px; }
.itweb-header nav.itweb-main-nav a {
    position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8);
}
.itweb-header nav.itweb-main-nav a:hover { color: #fff; }
.itweb-header nav.itweb-main-nav a.current-menu-item,
.itweb-header nav.itweb-main-nav a.current_page_item { color: var(--accent); }
.itweb-header-right { display: flex; align-items: center; gap: 12px; }

/* Language switcher — dropdown (matches React design) */
.itweb-lang-switcher { position: relative; display: inline-block; }
.itweb-lang-trigger {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    color: rgba(255,255,255,0.85);
    font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.itweb-lang-trigger:hover,
.itweb-lang-switcher.is-open .itweb-lang-trigger { border-color: var(--accent); color: var(--accent); }
.itweb-lang-trigger svg { transition: transform 0.2s; }
.itweb-lang-switcher.is-open .itweb-lang-trigger svg { transform: rotate(180deg); }

.itweb-lang-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 132px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.04) inset;
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0s linear 0.18s;
    z-index: 60;
}
.itweb-lang-switcher.is-open .itweb-lang-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity 0.18s, transform 0.18s, visibility 0s;
}
.itweb-lang-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 12px;
    font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.85);
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}
.itweb-lang-item:hover { background: rgba(255,127,42,0.12); color: var(--accent); }
.itweb-lang-item.is-active { color: var(--accent); }
.itweb-lang-item.is-active svg { color: var(--accent); }

/* Header CTA — visible on desktop, hidden on small screens */
.itweb-header-cta { padding: 9px 18px; font-size: 13px; display: none; }
@media (min-width: 768px) { .itweb-header-cta { display: inline-flex; } }
@media (max-width: 480px) { .itweb-lang-trigger { padding: 7px 10px; } }

.itweb-burger { display: inline-flex; background: none; border: none; color: #fff; padding: 8px; cursor: pointer; }
.itweb-burger svg { width: 24px; height: 24px; }
@media (min-width: 1024px) {
    .itweb-header nav.itweb-main-nav { display: inline-flex; }
    .itweb-burger { display: none; }
}

.itweb-mobile-menu { display: none; padding: 24px var(--pad-x); border-top: 1px solid rgba(255,255,255,0.08); background: rgba(10,10,10,0.95); }
.itweb-mobile-menu.is-open { display: block; }
.itweb-mobile-menu a { display: block; padding: 10px 0; font-size: 18px; color: #fff; }

/* ---------- Hero ---------- */
.itweb-hero {
    position: relative; min-height: calc(100vh - 80px); display: flex; align-items: center;
    padding: 128px 0 140px;
    overflow: hidden;
}
.itweb-hero-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; width: 100%; }
.itweb-hero h1 {
    font-size: clamp(40px, 9vw, 104px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 0 0 8px;
}
.itweb-hero .kicker {
    font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent);
    margin: 0 0 24px;
}
/* "інакше" — hand-drawn orange circle */
.itweb-hero .highlight {
    position: relative;
    display: inline-block;
    font-family: 'Caveat', cursive;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.18em;
    line-height: 0.9;
    padding: 0 0.18em;
    margin: 0 0.08em;
    vertical-align: baseline;
}
.itweb-hero .highlight .hand-circle {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 128%;
    pointer-events: none;
    overflow: visible;
}

.itweb-hero p.subtitle { max-width: 620px; font-size: clamp(16px, 2.4vw, 20px); color: rgba(255,255,255,0.65); margin-top: 28px; line-height: 1.55; }
.itweb-hero .ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* Hero card on the right (circle with handwritten tagline + arrow) */
.itweb-hero-card {
    position: relative; aspect-ratio: 1/1; width: 100%; max-width: 380px;
    justify-self: center;
    display: grid; place-items: center; text-align: center;
    padding: 40px; overflow: hidden;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
}
.itweb-hero-card::before {
    content: ""; position: absolute; inset: -15%; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,127,42,0.22), transparent 70%);
    filter: blur(40px);
    z-index: 0;
}
.itweb-hero-card > span {
    position: relative; z-index: 1;
    font-family: 'Caveat', cursive;
    color: var(--accent);
    font-size: clamp(26px, 3.6vw, 36px);
    line-height: 1.15;
    white-space: pre-line;
}
.itweb-hero-card .arrow {
    position: absolute; bottom: 22px; right: 28px; width: 60px; height: 44px; transform: rotate(-12deg); z-index: 2;
}

/* Stats — pinned to the bottom of the hero section (matches React design) */
.itweb-stats {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px;
    padding: 20px var(--pad-x);
    max-width: var(--container);
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.itweb-stats > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.itweb-stats > div .v {
    font-family: 'Outfit', sans-serif; font-weight: 800;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.1;
    color: #fff;
}
.itweb-stats > div .l {
    display: block;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 768px) {
    .itweb-stats { grid-template-columns: repeat(4, 1fr); padding: 24px var(--pad-x); }
}
@media (max-width: 640px) {
    .itweb-stats { position: static; margin-top: 56px; max-width: 100%; padding-left: 0; padding-right: 0; }
    .itweb-stats > div .l { white-space: normal; }
}

@media (min-width: 1024px) {
    .itweb-hero-inner { grid-template-columns: 2fr 1fr; }
    .itweb-hero-card { justify-self: end; }
}

/* ---------- Marquee (outlined services) ---------- */
.itweb-marquee {
    position: relative; z-index: 2;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}
.itweb-marquee-track {
    display: flex; gap: 64px; white-space: nowrap;
    width: max-content;
    animation: itwebScroll 42s linear infinite;
    will-change: transform;
}
.itweb-marquee:hover .itweb-marquee-track { animation-play-state: paused; }
.itweb-marquee-track span {
    font-family: 'Outfit', sans-serif; font-weight: 900;
    font-size: clamp(40px, 7vw, 88px);
    letter-spacing: -0.025em;
    -webkit-text-stroke: 2px rgba(255,255,255,0.2);
    color: transparent;
    line-height: 1;
}
.itweb-marquee-track span.accent { -webkit-text-stroke-color: var(--accent); }
@keyframes itwebScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section.itweb-section { padding: clamp(72px, 12vw, 128px) 0; border-top: 1px solid rgba(255,255,255,0.05); }
.itweb-section-header { max-width: 680px; margin-bottom: 56px; }
.itweb-section-header .kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.itweb-section-header h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 900; }
.itweb-section-header p { font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.6); margin-top: 16px; }

/* ---------- Services grid ---------- */
.itweb-services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.itweb-service-card {
    position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
    padding: 28px; transition: transform 0.25s, border-color 0.25s; overflow: hidden;
}
.itweb-service-card:hover { transform: translateY(-4px); border-color: rgba(255,127,42,0.5); }
.itweb-service-card .icon { display: inline-grid; place-items: center; width: 56px; height: 56px; background: rgba(255,127,42,0.15); color: var(--accent); border-radius: 14px; margin-bottom: 20px; }
.itweb-service-card h3 { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 8px; }
.itweb-service-card p { color: rgba(255,255,255,0.65); font-size: 15px; margin: 0 0 18px; }
.itweb-service-card .more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; }
.itweb-service-card:hover .more { color: var(--accent); }
.itweb-service-card .card-num {
    position: absolute; top: 18px; right: 22px;
    font-family: 'Caveat', cursive;
    color: var(--accent);
    opacity: 0.7;
    font-size: 22px; line-height: 1;
    letter-spacing: 0.02em;
    pointer-events: none;
}
.itweb-bento .itweb-service-card.is-hero .card-num { font-size: 28px; top: 22px; right: 28px; }
@media (min-width: 768px) { .itweb-services-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* Bento layout for home (first 6) */
.itweb-bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .itweb-bento { grid-template-columns: repeat(6, 1fr); }
    .itweb-bento > :nth-child(1) { grid-column: span 4; grid-row: span 2; }
    .itweb-bento > :nth-child(2) { grid-column: span 2; }
    .itweb-bento > :nth-child(3) { grid-column: span 2; }
    .itweb-bento > :nth-child(4) { grid-column: span 4; }
    .itweb-bento > :nth-child(5) { grid-column: span 3; }
    .itweb-bento > :nth-child(6) { grid-column: span 3; }
}
/* Hero bento card — bigger icon / heading / description */
.itweb-bento .itweb-service-card.is-hero { padding: clamp(32px, 4vw, 44px); }
.itweb-bento .itweb-service-card.is-hero .icon { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 28px; }
.itweb-bento .itweb-service-card.is-hero h3 { font-size: clamp(28px, 3.6vw, 48px); }
.itweb-bento .itweb-service-card.is-hero p { font-size: clamp(15px, 1.6vw, 18px); max-width: 480px; }

/* Home CTA section — desktop 2 cols, mobile 1 col */
.itweb-home-cta-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: flex-start; }
@media (min-width: 1024px) { .itweb-home-cta-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Service detail page ---------- */
.itweb-service-detail { padding: 140px 0 80px; }
.itweb-service-hero { display: grid; grid-template-columns: 1fr; gap: 32px; }
.itweb-service-hero h1 {
    font-size: clamp(36px, 6vw, 70px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 0;
    position: relative;
}
.itweb-service-hero .tagline { font-family: 'Caveat', cursive; color: var(--accent); font-size: clamp(20px, 3vw, 30px); margin-top: 8px; }
.itweb-service-hero .outcome { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
@media (min-width: 1024px) { .itweb-service-hero { grid-template-columns: 2fr 1fr; } }

.itweb-includes-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
.itweb-includes-grid li {
    list-style: none; display: flex; gap: 16px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px;
}
.itweb-includes-grid li::before {
    content: "✓"; flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; background: rgba(255,127,42,0.15); color: var(--accent); border-radius: 10px; font-weight: 700;
}
@media (min-width: 768px) { .itweb-includes-grid { grid-template-columns: 1fr 1fr; } }

.itweb-approach { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(32px, 5vw, 56px); margin-top: 80px; }
.itweb-approach ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.itweb-approach li { display: flex; gap: 16px; align-items: flex-start; }
.itweb-approach li::before { content: "→"; font-family: 'Caveat', cursive; color: var(--accent); font-size: 28px; line-height: 1; }

/* Service page big title — visually same as the old H1, but uses a div (H1 is on the kicker line above for SEO) */
.itweb-service-bigtitle {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: clamp(40px, 8vw, 88px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0;
    position: relative;
}
.itweb-service-bigtitle .itweb-hand-underline {
    display: block; width: 100%; max-width: none; height: 14px; margin-top: 4px;
}

/* ---------- Process / Cases / Blog cards ---------- */
.itweb-process-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden; }
.itweb-process-step { background: var(--bg); padding: 32px; }
.itweb-process-step .n { font-family: 'Caveat', cursive; color: var(--accent); font-size: 32px; }
@media (min-width: 768px) { .itweb-process-grid { grid-template-columns: repeat(4, 1fr); } }

.itweb-case-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.itweb-case-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: transform 0.25s, border-color 0.25s; }
.itweb-case-card:hover { transform: translateY(-4px); border-color: rgba(255,127,42,0.5); }
.itweb-case-img { aspect-ratio: 4/3; background: linear-gradient(135deg, rgba(255,127,42,0.25), var(--surface), var(--bg)); position: relative; }
.itweb-case-img .cat { position: absolute; top: 14px; left: 14px; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }
.itweb-case-img .metric { position: absolute; bottom: 18px; left: 18px; font-family: 'Caveat', cursive; color: var(--accent); font-size: 30px; }
.itweb-case-body { padding: 22px; }
.itweb-case-body .tag { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
@media (min-width: 768px) { .itweb-case-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .itweb-case-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Contact form ---------- */
.itweb-contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.itweb-form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) { .itweb-form-grid.two { grid-template-columns: 1fr 1fr; } }
.itweb-field label { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.itweb-field input, .itweb-field textarea, .itweb-field select {
    width: 100%; background: transparent; border: 1px solid rgba(255,255,255,0.15); border-radius: 10px;
    padding: 12px 16px; color: var(--text); font-family: inherit; font-size: 15px; transition: border-color 0.2s;
}
.itweb-field select option { background: var(--surface); color: var(--text); }
.itweb-field input:focus, .itweb-field textarea:focus, .itweb-field select:focus { outline: none; border-color: var(--accent); }
.itweb-field textarea { resize: none; min-height: 120px; }
.itweb-form-footer { display: flex; flex-direction: column-reverse; gap: 14px; align-items: stretch; margin-top: 24px; }
.itweb-form-status.is-success { color: #34d399; }
.itweb-form-status.is-error { color: #fb7185; }
@media (min-width: 640px) { .itweb-form-footer { flex-direction: row; align-items: center; justify-content: space-between; } }

/* =========================================================================
   About / Blog / Contacts page templates
   ========================================================================= */
.itweb-about-page, .itweb-blog-page, .itweb-contacts-page {
    padding: 160px 0 120px;
}
.itweb-about-intro, .itweb-blog-intro, .itweb-contacts-intro { max-width: 880px; }
.itweb-about-intro .kicker,
.itweb-blog-intro .kicker,
.itweb-contacts-intro .kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.itweb-about-intro h1,
.itweb-blog-intro h1,
.itweb-contacts-intro h1 {
    font-size: clamp(40px, 7vw, 84px); font-weight: 900; letter-spacing: -0.025em; line-height: 0.95;
}
.itweb-about-intro .lead {
    margin-top: 28px;
    font-size: clamp(17px, 2.1vw, 24px);
    color: rgba(255,255,255,0.7);
    line-height: 1.55;
    font-weight: 300;
    max-width: 920px;
}
.itweb-blog-intro .lead,
.itweb-contacts-intro .lead {
    margin-top: 22px;
    font-size: clamp(16px, 1.8vw, 20px);
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
    max-width: 720px;
}

/* About — value cards */
.itweb-about-values {
    margin-top: 72px;
    display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) { .itweb-about-values { grid-template-columns: 1fr 1fr; } }
.itweb-about-value {
    background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
    padding: clamp(28px, 4vw, 40px);
    transition: border-color 0.25s, transform 0.25s;
}
.itweb-about-value:hover { border-color: rgba(255,127,42,0.4); }
.itweb-about-value .num { font-family: 'Caveat', cursive; color: var(--accent); font-size: 30px; line-height: 1; display: block; }
.itweb-about-value h3 { margin-top: 14px; font-size: clamp(22px, 2.6vw, 30px); }
.itweb-about-value p { margin-top: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; }

.itweb-about-content { margin-top: 64px; color: rgba(255,255,255,0.85); }
.itweb-about-content p { line-height: 1.7; margin-bottom: 18px; }

/* About — bottom tagline block */
.itweb-about-bottom {
    margin-top: 96px;
    position: relative; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
    padding: clamp(48px, 8vw, 88px) clamp(24px, 5vw, 80px);
    text-align: center;
}
.itweb-about-bottom .glow {
    position: absolute; top: -120px; right: -120px;
    width: 380px; height: 380px; border-radius: 50%;
    background: rgba(255,127,42,0.18); filter: blur(80px);
    pointer-events: none;
}
.itweb-about-bottom .hand {
    position: relative;
    font-family: 'Caveat', cursive;
    color: var(--accent);
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.1;
    margin: 0;
}
.itweb-about-bottom .caption {
    position: relative; margin-top: 24px; color: rgba(255,255,255,0.55);
    font-size: 15px; letter-spacing: 0.04em;
}

/* "IT WEB" hand-circle inside the About title — smaller standalone token */
.itweb-about-intro h1 .highlight {
    color: var(--accent);
    font-family: inherit; /* keep main typeface, NOT Caveat */
    font-weight: inherit;
    display: inline-block;
    position: relative;
    padding: 8px 1.12em;
    font-size: 62px;
    line-height: 1;
    white-space: nowrap;
    vertical-align: baseline;
}
.itweb-about-intro h1 .highlight .hand-circle { color: var(--accent); }
@media (max-width: 640px) {
    .itweb-about-intro h1 .highlight { font-size: 40px; padding: 6px 0.9em; }
}

/* Blog — featured */
.itweb-blog-featured {
    display: grid; grid-template-columns: 1fr; gap: 32px;
    margin-top: 56px;
    padding: clamp(24px, 4vw, 48px);
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 28px;
    transition: border-color 0.25s;
}
.itweb-blog-featured:hover { border-color: rgba(255,127,42,0.45); }
.itweb-blog-featured-img {
    position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
    background: linear-gradient(135deg, rgba(255,127,42,0.3), var(--surface) 60%, var(--bg));
}
.itweb-blog-featured-img .cat,
.itweb-blog-card-img .cat {
    position: absolute; top: 16px; left: 16px;
    font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
    padding: 5px 12px; border-radius: 999px;
    background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.1); color: #fff;
    backdrop-filter: blur(6px);
}
.itweb-blog-featured-img .star {
    position: absolute; bottom: 24px; right: 28px;
    font-family: 'Caveat', cursive; color: var(--accent); font-size: 56px; line-height: 1;
}
.itweb-blog-featured-body { display: flex; flex-direction: column; justify-content: center; }
.itweb-blog-featured-body .date,
.itweb-blog-card-body .date {
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin: 0;
}
.itweb-blog-featured-body h2 {
    margin-top: 16px;
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 900; letter-spacing: -0.02em; line-height: 1.05;
}
.itweb-blog-featured-body .excerpt {
    margin-top: 20px; font-size: clamp(15px, 1.6vw, 18px);
    color: rgba(255,255,255,0.65); line-height: 1.55;
}
.itweb-blog-featured .more,
.itweb-blog-card .more {
    margin-top: 24px; display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; color: var(--accent);
}
@media (min-width: 1024px) {
    .itweb-blog-featured { grid-template-columns: 5fr 7fr; align-items: center; }
}

/* Blog — grid */
.itweb-blog-grid {
    margin-top: 48px;
    display: grid; grid-template-columns: 1fr; gap: 20px;
}
.itweb-blog-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
    overflow: hidden; transition: transform 0.25s, border-color 0.25s;
    display: flex; flex-direction: column;
}
.itweb-blog-card:hover { transform: translateY(-4px); border-color: rgba(255,127,42,0.45); }
.itweb-blog-card-img {
    aspect-ratio: 4 / 3; position: relative;
    background: linear-gradient(135deg, rgba(255,127,42,0.22), var(--surface) 60%, var(--bg));
}
.itweb-blog-card-body { padding: 24px; }
.itweb-blog-card-body h3 { margin-top: 12px; font-size: 20px; line-height: 1.25; }
.itweb-blog-card-body .excerpt { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.55; }
.itweb-blog-card .more { margin-top: 20px; font-size: 13px; }
@media (min-width: 768px) { .itweb-blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .itweb-blog-grid { grid-template-columns: repeat(3, 1fr); } }

.itweb-blog-empty {
    margin-top: 56px; padding: 56px 32px;
    background: var(--surface); border: 1px dashed var(--border);
    border-radius: 20px; text-align: center;
    color: rgba(255,255,255,0.55);
}

/* Contacts — two columns */
.itweb-contacts-grid {
    margin-top: 64px;
    display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 1024px) {
    .itweb-contacts-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: flex-start; }
}
.itweb-contacts-side { display: flex; flex-direction: column; gap: 20px; }

.itweb-contact-card {
    display: flex; align-items: center; gap: 20px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
    padding: 24px; transition: border-color 0.2s;
    color: inherit;
}
.itweb-contact-card:hover { border-color: rgba(255,127,42,0.45); color: inherit; }
.itweb-contact-card .ico {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(255,127,42,0.15); color: var(--accent);
    display: grid; place-items: center; border-radius: 50%;
}
.itweb-contact-card .ico svg { width: 22px; height: 22px; }
.itweb-contact-card .label {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
    color: rgba(255,255,255,0.4); margin: 0;
}
.itweb-contact-card .value { margin: 4px 0 0; font-size: 17px; color: #fff; }

.itweb-contact-social {
    background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px;
}
.itweb-contact-social .label {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
    color: rgba(255,255,255,0.4); margin: 0 0 16px;
}
.itweb-contact-social .row { display: flex; flex-wrap: wrap; gap: 10px; }
.itweb-contact-social .row a {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
    display: inline-grid; place-items: center; color: rgba(255,255,255,0.8);
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.itweb-contact-social .row a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.itweb-contact-social .row svg { width: 18px; height: 18px; fill: currentColor; }

.itweb-contacts-tagline {
    font-size: clamp(28px, 4.2vw, 44px); line-height: 1.1; margin-top: 8px;
}

/* ---------- Footer ---------- */
.itweb-footer { border-top: 1px solid var(--border); padding: 80px 0 32px; margin-top: 120px; }
.itweb-footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .itweb-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.itweb-footer-grid h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.itweb-footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.itweb-footer-grid a { color: rgba(255,255,255,0.7); font-size: 14px; }
.itweb-footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.4); }
.itweb-socials { display: flex; gap: 10px; margin-top: 20px; }
.itweb-socials a { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--border); border-radius: 999px; color: rgba(255,255,255,0.7); }
.itweb-socials a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Chatbot ---------- */
.itweb-chat-btn {
    position: fixed; right: 24px; bottom: 24px; z-index: 60;
    width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--bg);
    display: grid; place-items: center; border: none; cursor: pointer;
    box-shadow: 0 0 20px rgba(255,127,42,0.4);
    animation: itwebGlow 2.5s ease-in-out infinite;
}
@keyframes itwebGlow { 0%,100% { box-shadow: 0 0 20px rgba(255,127,42,0.4); } 50% { box-shadow: 0 0 35px rgba(255,127,42,0.7); } }
.itweb-chat-panel {
    position: fixed; right: 16px; bottom: 96px; z-index: 60;
    width: min(380px, calc(100vw - 32px)); height: 560px; max-height: calc(100vh - 128px);
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
    display: none; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.itweb-chat-panel.is-open { display: flex; }
.itweb-chat-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; background: rgba(10,10,10,0.6); }
.itweb-chat-head .robot { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,127,42,0.15); color: var(--accent); display: grid; place-items: center; }
.itweb-chat-head .title { font-weight: 600; font-size: 14px; }
.itweb-chat-head .subtitle { font-size: 11px; color: rgba(255,255,255,0.5); }
.itweb-chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.itweb-chat-msg { padding: 10px 14px; border-radius: 16px; font-size: 14px; max-width: 85%; white-space: pre-wrap; line-height: 1.5; }
.itweb-chat-msg.user { background: var(--accent); color: var(--bg); border-bottom-right-radius: 4px; align-self: flex-end; }
.itweb-chat-msg.bot  { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.05); border-bottom-left-radius: 4px; align-self: flex-start; }
.itweb-chat-foot { padding: 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; align-items: flex-end; }
.itweb-chat-foot textarea { flex: 1; resize: none; max-height: 96px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 10px 14px; color: #fff; font-family: inherit; font-size: 14px; }
.itweb-chat-foot textarea:focus { outline: none; border-color: var(--accent); }
.itweb-chat-foot button { width: 42px; height: 42px; border: none; border-radius: 12px; background: var(--accent); color: var(--bg); cursor: pointer; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.itweb-hand-underline { display: block; width: 100%; height: 16px; margin-top: -8px; }
.text-muted { color: var(--muted); }
.mt-lg { margin-top: 64px; }
.mt-md { margin-top: 40px; }

/* ---------- Print ---------- */
@media print {
    .itweb-header, .itweb-footer, .itweb-chat-btn, .itweb-chat-panel { display: none !important; }
    body { background: #fff; color: #000; }
}
