/* Incybertech — site styles (Bootstrap 5 + custom layer) */

:root {
  --navy: #081e3a;
  --navy-deep: #05162c;
  --navy-soft: #123253;
  --orange: #ed7a2e;
  --orange-bright: #ff913f;
  --maroon: #6d2435;
  --grey-50: #f7f8fa;
  --grey-100: #eef1f4;
  --grey-300: #c9d0d8;
  --grey-600: #5e6977;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; }
a { color: var(--maroon); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--orange); }
img { display: block; max-width: 100%; }
::selection { background: rgba(237, 122, 46, .25); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container-site { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

/* ── buttons ─────────────────────────────────────────────── */
.btn-ict {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: .87rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-ict:hover { transform: translateY(-2px); }
.btn-ict-sm { min-height: 42px; padding-inline: 17px; font-size: .78rem; }
.btn-ict-primary { background: var(--orange); color: var(--navy-deep); box-shadow: 0 10px 24px rgba(237,122,46,.18); }
.btn-ict-primary:hover { background: var(--orange-bright); color: var(--navy-deep); box-shadow: 0 14px 30px rgba(237,122,46,.28); }
.btn-ict-ghost { border-color: rgba(255,255,255,.38); color: #fff; background: rgba(255,255,255,.04); }
.btn-ict-ghost:hover { background: #fff; color: var(--navy); }
.btn-ict-light { background: #fff; color: var(--maroon); }
.btn-ict-light:hover { background: var(--orange-bright); color: var(--navy); }
.btn-ict-outline { border-color: var(--grey-300); background: #fff; color: var(--navy); }
.btn-ict-outline:hover { border-color: var(--maroon); color: var(--maroon); }
.btn-ict-maroon { background: var(--maroon); color: #fff; }
.btn-ict-maroon:hover { background: var(--orange); color: var(--navy-deep); }

/* ── header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(8,30,58,.1);
}
.site-header .navbar { padding: 0; }
.brand-mark { display: inline-flex; align-items: center; gap: 11px; color: inherit; }
.brand-symbol { width: 37px; height: 37px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 7px; background: var(--navy); flex: none; }
.brand-symbol span { display: block; }
.brand-symbol span:first-child { background: var(--orange); height: 100%; }
.brand-symbol span:last-child { background: var(--maroon); height: 63%; align-self: end; }
.brand-mark strong { display: block; font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand-mark small { display: block; margin-top: 3px; color: var(--grey-600); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { padding: 8px 0; color: #425063; font-size: .84rem; font-weight: 600; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--navy); border-bottom-color: rgba(237,122,46,.5); }
.site-nav a.active { color: var(--navy); border-bottom-color: var(--orange); }
.navbar-toggler { border: 1px solid var(--grey-300); border-radius: 0; padding: .45rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ── sections ────────────────────────────────────────────── */
.section { padding: 104px 0; }
.section-soft { background: var(--grey-50); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy-deep { background: var(--navy-deep); color: #fff; }
.section-maroon { background: var(--maroon); color: #fff; }
.section-navy h2, .section-navy-deep h2, .section-maroon h2 { color: #fff; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  color: var(--maroon);
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--orange-bright); }

h1.display-ict { margin: 0 0 24px; font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: 1; letter-spacing: -0.055em; }

/* Hero display type — oversized, with an italic accent phrase */
h1.display-hero {
  margin: 0 0 26px;
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  line-height: .98;
  letter-spacing: -0.055em;
  font-weight: 800;
  text-wrap: balance;
}
h1.display-hero em {
  font-style: italic;
  font-weight: 700;
  color: var(--orange-bright);
}
.hero-lede-lg { color: #ced8e4; font-size: clamp(1.02rem, 1.35vw, 1.22rem); line-height: 1.72; max-width: 60ch; }
.hero-caption { margin-top: 30px; color: #90a2b6; font-size: .8rem; letter-spacing: .02em; }
h2.h2-ict { margin: 0 0 22px; font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.08; }
.lede { color: #ced8e4; font-size: 1.06rem; line-height: 1.75; }
.muted { color: var(--grey-600); font-size: 1rem; line-height: 1.75; }

.accent-bar { position: absolute; right: 0; top: 0; width: 38%; height: 6px; background: linear-gradient(90deg, var(--maroon), var(--orange)); }
.ring-deco { position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; pointer-events: none; }

/* ── hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 108px 0 96px; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -17px 45px 45px -17px; border: 1px solid rgba(255,255,255,.17); }
.hero-visual img { position: relative; width: 100%; height: 520px; object-fit: cover; object-position: 57% center; }
.hero-note {
  position: absolute; z-index: 2; left: -32px; bottom: 26px;
  display: flex; align-items: center; gap: 16px;
  min-width: 285px; padding: 20px 22px;
  background: #fff; color: var(--navy);
  box-shadow: 0 22px 50px rgba(0,0,0,.2);
}
.hero-note i { width: 5px; height: 40px; background: var(--maroon); flex: none; }
.hero-note small { display: block; color: var(--grey-600); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-note strong { font-family: var(--font-display); font-size: .92rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); color: #b8c5d3; font-size: .75rem; font-weight: 600; }

/* ── value rail ──────────────────────────────────────────── */
.value-rail { border-bottom: 1px solid var(--grey-100); }
.value-cell { min-height: 126px; display: grid; align-content: center; gap: 8px; padding: 25px 34px; border-right: 1px solid var(--grey-100); }
.value-cell:first-child { padding-left: 0; }
.value-cell:last-child { padding-right: 0; border-right: 0; }
.value-cell span { color: var(--orange); font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.value-cell p { margin: 0; color: #39485a; font-size: .85rem; line-height: 1.55; }

/* ── cards ───────────────────────────────────────────────── */
.ict-card {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  padding: 30px; background: #fff; border: 1px solid #e2e6eb;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ict-card:hover { transform: translateY(-4px); border-color: #b7c0ca; box-shadow: 0 18px 45px rgba(8,30,58,.08); }
.ict-card .no { font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .14em; color: var(--orange); }
.ict-card h3 { margin: 0 0 10px; font-size: 1.12rem; }
.ict-card p { margin: 0; color: var(--grey-600); font-size: .87rem; line-height: 1.68; }
.ict-card-navy { background: var(--navy); border-color: var(--navy); color: #fff; justify-content: flex-end; }
.ict-card-maroon { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.ict-card-navy p, .ict-card-maroon p { color: rgba(255,255,255,.75); }

/* ── portfolio ───────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-btn {
  min-height: 38px; padding: 0 16px; cursor: pointer;
  border: 1px solid var(--grey-300); background: #fff; color: #425063;
  font-family: var(--font-display); font-size: .76rem; font-weight: 700;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.work-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e6eb; transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(8,30,58,.08); }
.work-shot { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--grey-100); overflow: hidden; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; }
.work-shot .empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; color: #94a1b1; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.work-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.work-body .cat { font-family: var(--font-display); font-size: .63rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.work-body h3 { margin: 0; font-size: 1.06rem; }
.work-body p { margin: 0; flex: 1; color: var(--grey-600); font-size: .86rem; line-height: 1.65; }
.work-body a { font-size: .82rem; font-weight: 700; }

/* ── figures ─────────────────────────────────────────────── */
.figure-offset { position: relative; }
.figure-offset::before { content: ""; position: absolute; left: -22px; bottom: -22px; width: 65%; height: 72%; background: var(--orange); }
.figure-offset img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figure-offset .badge-index { position: absolute; z-index: 2; right: -1px; bottom: -1px; width: 90px; height: 72px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: .76rem; }
.figure-maroon { position: relative; padding: 0 0 36px 36px; }
.figure-maroon::before { content: ""; position: absolute; inset: 36px 36px 0 0; background: var(--maroon); }
.figure-maroon img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ── rule lists ──────────────────────────────────────────── */
.rule-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #dce1e6; }
.rule-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid #dce1e6; color: #344356; font-size: .9rem; line-height: 1.6; }
.rule-list li::before { content: "—"; color: var(--orange); font-weight: 700; }
.rule-list strong { font-family: var(--font-display); color: var(--navy); }

/* ── engagement rows ─────────────────────────────────────── */
.model-list { border-top: 1px solid rgba(255,255,255,.15); }
.model-row { display: grid; grid-template-columns: 60px .8fr 1.1fr; gap: 24px; align-items: center; min-height: 150px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.15); transition: background .18s ease, padding .18s ease; }
.model-row:hover { background: rgba(255,255,255,.04); padding-inline: 16px; }
.model-row .no { color: var(--orange-bright); font-family: var(--font-display); font-size: .72rem; font-weight: 700; }
.model-row h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.model-row p { margin: 0; color: #aebccb; font-size: .92rem; line-height: 1.68; }

/* ── process steps ───────────────────────────────────────── */
.step-list { border-top: 1px solid #dce1e6; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 26px; padding: 34px 0 36px; border-bottom: 1px solid #dce1e6; }
.step .marker { width: 48px; height: 48px; display: grid; place-items: center; background: var(--grey-100); color: var(--maroon); font-family: var(--font-display); font-size: .72rem; font-weight: 700; }
.step small { display: block; margin-bottom: 7px; color: var(--orange); font-size: .67rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.step h3 { margin: 0 0 9px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--grey-600); font-size: .9rem; line-height: 1.68; }
.sticky-intro { position: sticky; top: 120px; }

/* ── contact ─────────────────────────────────────────────── */
.contact-panel { display: grid; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); font-style: normal; }
.contact-panel > div { display: grid; gap: 5px; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-panel > div:last-child { border-bottom: 0; }
.contact-panel small { color: var(--orange-bright); font-size: .61rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-panel a { color: #fff; font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; }
.contact-panel a:hover { color: var(--orange-bright); }
.contact-panel span { color: rgba(255,255,255,.86); font-size: .9rem; line-height: 1.6; }

.form-card { padding: 34px; background: #fff; color: var(--navy); box-shadow: 0 28px 60px rgba(50,10,20,.24); }
.form-card .form-head { display: grid; gap: 5px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--grey-100); }
.form-card .form-head span { color: var(--orange); font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.form-card .form-head strong { font-family: var(--font-display); font-size: 1.42rem; letter-spacing: -0.03em; }
.form-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 6px; }
.form-control, .form-select {
  min-height: 46px; border-radius: 0; border: 1px solid var(--grey-300);
  font-family: var(--font-sans); font-size: .92rem; color: var(--navy);
}
.form-control:focus, .form-select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(237,122,46,.16); }
textarea.form-control { min-height: 120px; }
.captcha-row { display: flex; align-items: stretch; gap: 10px; }
.captcha-row img { height: 46px; border: 1px solid var(--grey-300); }
.captcha-reload { width: 46px; border: 1px solid var(--grey-300); background: #fff; color: var(--maroon); cursor: pointer; font-size: 1rem; }
.captcha-reload:hover { border-color: var(--maroon); }
.form-note { margin: 0; color: var(--grey-600); font-size: .7rem; line-height: 1.5; }
.alert-ict { padding: 14px 16px; border-radius: 0; font-size: .88rem; }
.alert-ict-ok { background: #eef7f0; border: 1px solid #b9dcc4; color: #1f5b33; }
.alert-ict-bad { background: #fdf0ef; border: 1px solid #e8c2bd; color: #8b2b1d; }

/* ── footer ──────────────────────────────────────────────── */
.site-footer { padding: 60px 0 40px; background: var(--navy-deep); color: #fff; }
.site-footer h4 { color: var(--orange); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a { color: #c3d0de; font-size: .82rem; }
.site-footer a:hover { color: var(--orange-bright); }
.site-footer p { color: #9babbc; font-size: .8rem; line-height: 1.7; }
.site-footer .brand-mark strong { color: #fff; }
.site-footer .brand-mark small { color: #7f92a8; }
.site-footer .brand-symbol { background: rgba(255,255,255,.08); }
.footer-links { display: grid; gap: 10px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #73869b; font-size: .68rem; }

/* ── animation ───────────────────────────────────────────── */
@keyframes ict-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.anim-up { animation: ict-up 700ms both ease-out; }
.anim-up-2 { animation: ict-up 800ms 120ms both ease-out; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 1199.98px) {
  .hero-visual img { height: 460px; }
}
@media (max-width: 991.98px) {
  .section { padding: 82px 0; }
  .site-nav { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; padding: 10px 0 4px; }
  .site-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--grey-100); }
  .site-nav a.active { border-bottom-color: var(--orange); }
  .navbar-collapse .btn-ict { width: 100%; margin-top: 14px; }
  .hero { padding: 78px 0 72px; }
  h1.display-hero { font-size: clamp(2.6rem, 7vw, 4rem); }
  .hero-visual { margin-top: 44px; margin-left: 20px; }
  .hero-visual img { height: min(64vw, 460px); }
  .hero-note { left: -20px; }
  .value-cell { border-right: 0; border-bottom: 1px solid var(--grey-100); padding: 22px 0; min-height: 0; }
  .value-cell:last-child { border-bottom: 0; }
  .sticky-intro { position: static; margin-bottom: 40px; }
  .model-row { grid-template-columns: 44px 1fr; gap: 10px 18px; min-height: 0; padding: 26px 0; }
  .model-row p { grid-column: 2; }
  .model-row:hover { padding-inline: 8px; }
  .figure-maroon { padding: 0 0 26px 26px; }
  .figure-maroon::before { inset: 26px 26px 0 0; }
}
@media (max-width: 767.98px) {
  .section { padding: 68px 0; }
  .hero-visual { margin-left: 12px; }
  .hero-visual::before { inset: -11px 26px 26px -11px; }
  .hero-visual img { height: 340px; }
  .hero-note { position: static; margin-top: 14px; min-width: 0; box-shadow: none; border: 1px solid var(--grey-100); }
  .hero-proof { gap: 14px; }
  .btn-ict { width: 100%; }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .step .marker { width: 42px; height: 42px; }
  .form-card { padding: 24px 20px; }
  .footer-base { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
  h1.display-ict { font-size: clamp(2.1rem, 11vw, 3rem); }
  .figure-offset::before { left: -12px; bottom: -12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
