/* =========================================================
   CISSTAC — Cyber Security | One-page site
   Brand: crimson red, signal orange, near-black ink
   ========================================================= */
:root {
  --red: #e53e30;
  --rose: #d3485e;
  --maroon: #6e1620;
  --orange: #ff8408;
  --ink: #0c0b0b;
  --ink-2: #151012;
  --ink-3: #1d1517;
  --text: #212121;
  --muted: #5d5d5d;
  --light: #f3f3f3;
  --soft: #faf7f7;
  --white: #ffffff;
  --line: rgba(12, 11, 11, .08);
  --line-dark: rgba(255, 255, 255, .1);
  --grad: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  --grad-deep: linear-gradient(135deg, var(--maroon) 0%, var(--red) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(110, 22, 32, .25);
  --shadow-lg: 0 40px 80px -30px rgba(12, 11, 11, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --head: "Poppins", sans-serif;
  --body: "Libre Franklin", sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.7; font-size: 16px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }

.accent {
  font-style: italic; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}

/* ---------- Eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow--center::after { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow--pill { padding: 8px 16px 8px 12px; border-radius: 99px; background: rgba(229, 62, 48, .12); border: 1px solid rgba(229, 62, 48, .35); color: #ffb3a6; letter-spacing: .08em; }
.eyebrow--pill::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 132, 8, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 132, 8, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 132, 8, 0); } }

/* ---------- Buttons ---------- */
.btn { --bg: var(--grad); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 99px; font-family: var(--head); font-weight: 600; font-size: .95rem; border: 0; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, background .3s, border-color .3s; white-space: nowrap; }
.btn svg { font-size: 1.05em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(229, 62, 48, .7); }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(229, 62, 48, .85); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.btn--outline { color: var(--red); border: 1.5px solid rgba(229, 62, 48, .45); background: transparent; }
.btn--outline:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--red); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover svg { transform: translateX(5px); }

.icon-box { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--grad); color: #fff; font-size: 1.45rem; box-shadow: 0 12px 24px -10px rgba(229, 62, 48, .7); flex-shrink: 0; }
.icon-box--sm { width: 46px; height: 46px; font-size: 1.2rem; border-radius: 12px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--maroon); background: rgba(229, 62, 48, .09); padding: 5px 11px; border-radius: 8px; margin-bottom: 12px; line-height: 1.5; }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--orange); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar__welcome { margin: 0; }
.topbar__welcome a { color: var(--orange); font-weight: 600; }
.topbar__info { display: flex; gap: 26px; }
.topbar__info li { display: flex; align-items: center; gap: 8px; }
.topbar__info svg { color: var(--red); }
.topbar__info a:hover { color: #fff; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--line); transition: box-shadow .3s, background .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(12, 11, 11, .35); background: rgba(255, 255, 255, .97); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand__text { font-family: var(--head); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; color: var(--ink); line-height: 1; display: flex; flex-direction: column; }
.brand__text small { font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--red); margin-top: 4px; }
.brand--light .brand__text { color: #fff; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__link { position: relative; padding: 8px 14px; font-family: var(--head); font-weight: 500; font-size: .93rem; color: var(--text); border-radius: 99px; transition: color .25s, background .25s; }
.nav__link::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; background: var(--grad); border-radius: 2px; transform: translateX(-50%); transition: width .3s var(--ease); }
.nav__link:hover, .nav__link.active { color: var(--red); }
.nav__link.active::after, .nav__link:hover::after { width: 18px; }
.nav__cta { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--light); flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-left: auto; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% 20%, rgba(229, 62, 48, .28), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(110, 22, 32, .55), transparent 60%), linear-gradient(160deg, #120c0d 0%, var(--ink) 55%, #1a0b0e 100%); padding: clamp(70px, 9vw, 120px) 0 90px; }
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); animation: gridmove 22s linear infinite; }
@keyframes gridmove { to { background-position: 56px 56px; } }
.hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 132, 8, .22), transparent 65%); top: -140px; left: 30%; filter: blur(20px); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(120px, 80px); } }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 4.3vw, 3.6rem); font-weight: 800; line-height: 1.08; margin: 6px 0 22px; letter-spacing: -.03em; }
.hero__text { color: rgba(255, 255, 255, .74); font-size: 1.1rem; max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero__stats { display: flex; gap: clamp(22px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero__stats strong { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1; color: #fff; }
.hero__stats li > span { font-size: .85rem; color: rgba(255, 255, 255, .6); }

.hero__visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.hero__slider { position: relative; grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1); }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.1s var(--ease), transform 6s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slider::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 11, 11, .55)); }
.hero__thumbs { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__thumbs img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); transition: transform .5s var(--ease), filter .5s; filter: saturate(.9); }
.hero__thumbs img:hover { transform: translateY(-6px); filter: saturate(1.15); }
.hero__badge { position: absolute; left: -26px; bottom: 26%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255, 255, 255, .96); border-radius: 16px; box-shadow: var(--shadow-lg); color: var(--ink); z-index: 3; }
.hero__badge strong { display: block; font-family: var(--head); font-size: .95rem; }
.hero__badge small { font-size: .76rem; color: var(--muted); }
.hero__badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; font-size: 1.2rem; }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero__scan { position: absolute; left: 0; right: 0; top: 0; height: 60%; pointer-events: none; border-radius: 22px; overflow: hidden; }
.hero__scan::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); box-shadow: 0 0 18px var(--orange); animation: scan 4.5s ease-in-out infinite; opacity: .8; }
@keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: .9; } 90% { opacity: .9; } 100% { top: 100%; opacity: 0; } }
.hero__dots { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); transition: width .4s var(--ease), background .3s; }
.hero__dots button.is-active { width: 34px; background: var(--grad); }

/* ---------- Marquee ---------- */
.marquee { background: var(--soft); border-bottom: 1px solid var(--line); }
.marquee__inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.marquee__label { flex-shrink: 0; font-family: var(--head); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-right: 28px; border-right: 1px solid var(--line); }
.marquee__track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__list { display: flex; flex-shrink: 0; gap: 40px; padding-right: 40px; animation: marquee 38s linear infinite; }
.marquee__track:hover .marquee__list { animation-play-state: paused; }
.marquee__list li { display: flex; align-items: center; gap: 40px; white-space: nowrap; font-family: var(--head); font-weight: 600; color: var(--ink); font-size: .98rem; }
.marquee__list li::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--grad); border-radius: 2px; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Section head ---------- */
.section-head { margin-bottom: 52px; }
.section-head p { color: var(--muted); max-width: 560px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-head--split h2 { max-width: 640px; }
.section-head--center { text-align: center; }
.section-head--center h2, .section-head--center p { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.svc-feature { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 26px; }
.svc-feature__media { position: relative; overflow: hidden; min-height: 340px; }
.svc-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, .1)), linear-gradient(0deg, rgba(110, 22, 32, .35), transparent 50%); }
.svc-feature:hover .svc-feature__media img { transform: scale(1.06); }
.svc-feature__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; }
.svc-feature__body .icon-box { margin-bottom: 18px; }
.svc-feature__body h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.svc-feature__body p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.chips li { font-size: .82rem; padding: 6px 13px; border-radius: 99px; background: var(--light); color: var(--text); border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.chips li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card { position: relative; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .4s var(--ease), border-color .4s; display: flex; flex-direction: column; }
.svc-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 2; }
.svc-card:hover { box-shadow: var(--shadow); }
.svc-card:hover::before { opacity: 1; }
.svc-card__media { aspect-ratio: 16 / 9.5; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.08); }
.svc-card__body { position: relative; padding: 0 26px 28px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.svc-card__body .icon-box { margin-top: -23px; margin-bottom: 16px; border: 4px solid #fff; box-sizing: content-box; }
.svc-card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ---------- Dark sections ---------- */
.dark { background: radial-gradient(800px 500px at 100% 0%, rgba(229, 62, 48, .22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(110, 22, 32, .5), transparent 60%), var(--ink); color: rgba(255, 255, 255, .74); overflow: hidden; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .eyebrow { color: var(--orange); }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.about__visual { position: relative; max-width: 500px; width: 100%; margin: 0 auto; }
.about__circle { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(229, 62, 48, .35), var(--shadow-lg); }
.about__circle img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__visual:hover .about__circle img { transform: scale(1.06); }
.about__ring { position: absolute; inset: -22px; border-radius: 50%; border: 1.5px dashed rgba(255, 132, 8, .45); animation: spin 40s linear infinite; }
.about__ring::before, .about__ring::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px var(--orange); top: 50%; left: -7px; }
.about__ring::after { left: auto; right: -7px; background: var(--red); box-shadow: 0 0 18px var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
.about__stats { position: absolute; right: -20px; bottom: -20px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); }
.about__stats div { background: rgba(21, 16, 18, .82); padding: 14px 20px; min-width: 118px; }
.about__stats strong { display: block; font-family: var(--head); font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1.1; }
.about__stats div:nth-child(1) strong, .about__stats div:nth-child(4) strong { color: var(--orange); }
.about__stats div > span { font-size: .74rem; color: rgba(255, 255, 255, .6); }
.checklist { display: grid; gap: 12px; margin: 26px 0 34px; }
.checklist li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); color: #fff; font-family: var(--head); font-weight: 500; font-size: .95rem; transition: background .3s, transform .35s var(--ease), border-color .3s; }
.checklist li:hover { background: rgba(229, 62, 48, .12); border-color: rgba(229, 62, 48, .4); transform: translateX(6px); }
.checklist li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #fff; font-size: .9rem; flex-shrink: 0; }

/* ---------- Expertise ---------- */
.expertise { background: var(--soft); }
.expertise__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.accordion { display: grid; gap: 12px; margin-top: 28px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .35s, border-color .35s; }
.acc-item.is-open { border-color: rgba(229, 62, 48, .35); box-shadow: var(--shadow); }
.acc-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: none; border: 0; text-align: left; font-family: var(--head); font-weight: 600; font-size: 1rem; color: var(--ink); }
.acc-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(229, 62, 48, .1); color: var(--red); font-size: 1.05rem; flex-shrink: 0; transition: background .3s, color .3s; }
.acc-item.is-open .acc-icon { background: var(--grad); color: #fff; }
.acc-plus { margin-left: auto; font-size: 1.1rem; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.acc-item.is-open .acc-plus { transform: rotate(45deg); color: var(--red); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-body > p { overflow: hidden; margin: 0; padding: 0 22px 0 70px; color: var(--muted); font-size: .95rem; }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-item.is-open .acc-body > p { padding-bottom: 20px; }
.frameworks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.frameworks li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-family: var(--head); font-weight: 600; font-size: .85rem; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(12, 11, 11, .25); }
.frameworks svg { color: var(--red); }
.expertise__gallery { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 170px; gap: 16px; }
.expertise__gallery img, .expertise__gallery .g4 { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transition: transform .6s var(--ease), box-shadow .6s; }
.expertise__gallery img:hover { transform: scale(1.03) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.expertise__gallery .g1 { grid-row: 1 / 3; grid-column: 1; }
.expertise__gallery .g2 { grid-row: 1; grid-column: 2; }
.expertise__gallery .g4 { grid-row: 2; grid-column: 2; }
.expertise__gallery .g3 { grid-row: 3; grid-column: 1 / -1; }
.expertise__gallery .g4 { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--grad-deep); color: #fff; font-family: var(--head); font-weight: 700; text-align: center; padding: 20px; position: relative; overflow: hidden; }
.expertise__gallery .g4::before { content: ""; position: absolute; inset: 0; background: url("../images/shape.webp") center / cover; opacity: .12; mix-blend-mode: screen; }
.expertise__gallery .g4 img { width: 64px; height: auto; border-radius: 0; position: relative; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .4)); }
.expertise__gallery .g4 img:hover { transform: none; box-shadow: none; }
.expertise__gallery .g4 span { position: relative; font-size: 1.05rem; }
.expertise__badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: #fff; box-shadow: var(--shadow); font-family: var(--head); font-weight: 600; font-size: .82rem; color: var(--ink); white-space: nowrap; }
.expertise__badge svg { color: var(--red); }

/* ---------- Projects ---------- */
.projects { background: #fff; }
.proj-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: -18px 0 36px; }
.proj-filters button { padding: 10px 20px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-family: var(--head); font-weight: 500; font-size: .88rem; color: var(--text); transition: all .3s var(--ease); }
.proj-filters button:hover { border-color: var(--red); color: var(--red); }
.proj-filters button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.proj-panels { display: flex; gap: 12px; height: 520px; }
.proj { position: relative; flex: 1; min-width: 0; border-radius: 22px; overflow: hidden; cursor: pointer; transition: flex .7s var(--ease), opacity .4s, filter .4s; outline-offset: 4px; }
.proj.is-active { flex: 5.5; cursor: default; }
.proj.is-hidden { display: none; }
.proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.proj:hover img { transform: scale(1.06); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 11, 11, .05) 30%, rgba(12, 11, 11, .9)); transition: background .5s; }
.proj:not(.is-active)::after { background: linear-gradient(180deg, rgba(110, 22, 32, .2), rgba(12, 11, 11, .85)); }
.proj__label { position: absolute; left: 50%; bottom: 24px; z-index: 2; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; color: #fff; font-family: var(--head); font-weight: 600; font-size: .92rem; white-space: nowrap; transition: opacity .3s; }
.proj.is-active .proj__label { opacity: 0; }
.proj__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(22px, 3vw, 38px); color: rgba(255, 255, 255, .82); opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .6s var(--ease); pointer-events: none; max-width: 600px; }
.proj.is-active .proj__info { opacity: 1; transform: none; transition-delay: .3s; pointer-events: auto; }
.proj__info h3 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin: 10px 0 8px; }
.proj__info p { margin: 0; font-size: .96rem; }
.proj__num { display: block; margin-bottom: 10px; font-family: var(--head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); }
.proj__loc { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--grad); color: #fff; font-size: .76rem; font-weight: 600; letter-spacing: .04em; }

/* ---------- Tech / console ---------- */
.tech { background: linear-gradient(180deg, var(--soft), #fff); }
.tech__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.console { background: linear-gradient(160deg, #1d1416, var(--ink)); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(229, 62, 48, .25); color: #fff; position: relative; overflow: hidden; }
.console::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 62, 48, .35), transparent 70%); top: -120px; right: -100px; }
.console__bar { position: relative; display: flex; align-items: center; gap: 7px; padding: 4px 6px 16px; }
.console__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.console__bar > span:nth-child(2) { background: #febc2e; }
.console__bar > span:nth-child(3) { background: #28c840; }
.console__bar em { margin-left: 12px; font-style: normal; font-family: ui-monospace, Consolas, monospace; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffb3a6; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: ping 1.6s infinite; }
.console__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.console__tile { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px 16px; }
.console__tile--wide { grid-column: 1 / -1; }
.console__tile small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 6px; }
.console__tile strong { font-family: var(--head); font-size: 1.1rem; }
.console__tile strong.ok { color: #6ee7a8; }
.pulse-line { height: 3px; margin-top: 12px; border-radius: 3px; background: linear-gradient(90deg, transparent, #6ee7a8, transparent) 0 0 / 50% 100% no-repeat, rgba(255, 255, 255, .08); animation: pulseline 2.2s linear infinite; }
@keyframes pulseline { from { background-position: -50% 0, 0 0; } to { background-position: 150% 0, 0 0; } }
.meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); margin-top: 12px; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--v); background: var(--grad); border-radius: inherit; animation: meter 3.5s ease-in-out infinite alternate; }
@keyframes meter { from { width: 20%; } to { width: 92%; } }
.spark { width: 100%; height: 80px; display: block; }
.spark__line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.console.in-view .spark__line { animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.console__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.console__chips span { padding: 6px 12px; border-radius: 8px; font-size: .8rem; font-weight: 600; background: rgba(229, 62, 48, .16); border: 1px solid rgba(229, 62, 48, .35); color: #ffd0c8; }
.console__log { position: relative; margin-top: 12px; height: 92px; overflow: hidden; font-family: ui-monospace, Consolas, monospace; font-size: .76rem; color: rgba(255, 255, 255, .62); background: rgba(0, 0, 0, .35); border-radius: 12px; padding: 10px 14px; }
.console__log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .5s var(--ease); line-height: 1.8; }
.console__log li b { color: var(--orange); font-weight: 600; }
@keyframes logIn { from { opacity: 0; transform: translateY(8px); } }
.feature-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.feature-list li { display: flex; gap: 16px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.feature-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(229, 62, 48, .3); }
.feature-list h4 { margin-bottom: 4px; }
.feature-list p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.tech__content > p { color: var(--muted); }

/* ---------- Partners ---------- */
.partners { background: #fff; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner { position: relative; display: grid; place-items: center; height: 140px; padding: 24px 30px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.partner::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.partner img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .7; transition: filter .45s, opacity .45s, transform .45s var(--ease); }
.partner:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.partner:hover::before { transform: scaleX(1); }
.partner:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- Contact ---------- */
.contact__bg { position: absolute; inset: 0; background: url("../images/u-earth.jpg") center / cover; opacity: .14; mix-blend-mode: luminosity; }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.contact__list { display: grid; gap: 12px; margin: 28px 0; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); transition: background .3s, border-color .3s, transform .35s var(--ease); }
.contact__list li:hover { background: rgba(229, 62, 48, .12); border-color: rgba(229, 62, 48, .4); transform: translateX(6px); }
.contact__list small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.contact__list a { color: #fff; font-family: var(--head); font-weight: 500; }
.contact__list a:hover { color: var(--orange); }
.contact__map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-dark); height: 220px; }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.form { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form__sub { font-size: .92rem; color: rgba(255, 255, 255, .6); margin-bottom: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 16px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 8px; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(12, 11, 11, .55); color: #fff; font: 400 .95rem var(--body); text-transform: none; letter-spacing: 0; transition: border-color .3s, box-shadow .3s, background .3s; }
.form textarea { resize: vertical; min-height: 110px; }
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff8408' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form select option { background: var(--ink); color: #fff; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, .32); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 132, 8, .15); background: rgba(12, 11, 11, .75); }
.form .is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 62, 48, .18); }
.form__status { margin: 14px 0 0; font-size: .9rem; min-height: 1.4em; }
.form__status.ok { color: #6ee7a8; }
.form__status.err { color: #ffb3a6; }

/* ---------- Footer ---------- */
.footer { background: #070606; color: rgba(255, 255, 255, .6); padding: 80px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { margin-top: 20px; max-width: 360px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--grad); }
.footer ul { display: grid; gap: 10px; }
.footer ul a:hover { color: var(--orange); padding-left: 4px; }
.footer ul a { transition: color .25s, padding .25s; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { color: var(--red); margin-top: 5px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--red); font-weight: 600; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.3rem; box-shadow: 0 12px 30px -10px rgba(229, 62, 48, .8); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .topbar__info li:first-child { display: none; }
  .nav__link { padding: 8px 10px; }
  .hero__badge { left: 10px; }
}

@media (max-width: 991px) {
  :root { --header-h: 70px; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; gap: 4px; padding: 24px; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; overflow-y: auto; margin: 0; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  .nav__link { font-size: 1.15rem; padding: 14px 16px; border-radius: 12px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link.active { background: rgba(229, 62, 48, .08); }
  .nav__cta { display: inline-flex; margin-top: 18px; }
  html.menu-open { overflow: hidden; }

  .hero__inner, .about__inner, .expertise__inner, .tech__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: left; }
  .hero__visual { max-width: 640px; width: 100%; margin: 0 auto; }
  .svc-feature { grid-template-columns: 1fr; }
  .svc-feature__media { min-height: 280px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid .svc-card:last-child { grid-column: 1 / -1; }
  .about__visual { max-width: 440px; margin-bottom: 30px; }
  .expertise__gallery { order: -1; margin-top: 20px; }
  .tech__content { order: -1; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .partner { padding: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .proj-panels { flex-direction: column; height: auto; }
  .proj { flex: none !important; height: 86px; transition: height .6s var(--ease); }
  .proj.is-active { height: 420px; }  .proj__label { writing-mode: horizontal-tb; transform: translate(-50%, 50%); left: 26px; bottom: 50%; transform: translateY(50%); }
}

@media (max-width: 767px) {
  .topbar { display: none; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .section-head { margin-bottom: 38px; }
  .hero { padding-bottom: 80px; }
  .hero__stats { gap: 18px; justify-content: space-between; }
  .hero__stats li > span { font-size: .76rem; }
  .hero__badge { left: 10px; bottom: 32%; padding: 10px 14px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .svc-card:last-child { grid-column: auto; }
  .about__stats { position: relative; right: auto; bottom: auto; margin-top: 30px; grid-template-columns: 1fr 1fr; }
  .about__stats div { min-width: 0; padding: 12px 10px; text-align: center; }
  .about__stats strong { font-size: 1.15rem; }
  .about__stats div > span { font-size: .7rem; }
  .expertise__gallery { grid-template-rows: 140px 140px 120px; gap: 10px; }
  .expertise__gallery .g4 img { width: 44px; }
  .expertise__gallery .g4 span { font-size: .85rem; }
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .partner { height: 110px; padding: 18px; }
  .partner img { max-height: 56px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .marquee__label { display: none; }
  .acc-body > p { padding-left: 22px; }
  .proj.is-active { height: 380px; }
  .proj.is-active::after { background: linear-gradient(180deg, rgba(12, 11, 11, .1) 15%, rgba(12, 11, 11, .95) 75%); }
  .proj__num { font-size: 2.2rem; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__thumbs img { aspect-ratio: 16 / 10; }
  .console__grid { grid-template-columns: 1fr; }
  .brand__text { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
