/* =========================================
   InTac Technology — 2026 v2
   mktindex-style: data-driven, clean, premium
   ========================================= */

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f7f7f8;
  --c-bg-band: #f4f4f5;
  --c-ink: #0a0a0a;
  --c-ink-2: #2a2a2a;
  --c-ink-3: #6b6b6b;
  --c-ink-4: #a0a0a0;
  --c-line: #e8e8e8;
  --c-line-2: #d4d4d4;
  --c-brand: #c8161e;       /* logo red */
  --c-brand-dark: #a4121a;
  --c-brand-soft: #fff1f2;
  --c-dark: #0f0f10;        /* dark section bg */
  --c-dark-2: #1a1a1c;
  --c-dark-3: #2a2a2c;

  --radius: 6px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(15, 15, 16, .04), 0 0 0 1px rgba(15, 15, 16, .04);
  --shadow-2: 0 8px 24px rgba(15, 15, 16, .06), 0 0 0 1px rgba(15, 15, 16, .04);
  --shadow-3: 0 18px 48px rgba(15, 15, 16, .12);

  --maxw: 1200px;
  --pad: 24px;

  --f-sans: "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --f-display: "Inter", "PingFang SC", "Helvetica Neue", system-ui, sans-serif;
  --f-num: "Inter", "Helvetica Neue", "SF Pro Display", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -0.01em; color: var(--c-ink); }
p { margin: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* =================== UTIL =================== */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brand);
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow--light { color: #ff8a90; }

.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section__title--light { color: #ffffff; }
.section__lede {
  color: var(--c-ink-3);
  font-size: 16px;
  line-height: 1.7;
}
.section__lede--light { color: #c8c8c8; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all .18s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--c-brand);
  color: #fff;
}
.btn--primary:hover { background: var(--c-brand-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line-2);
}
.btn--ghost:hover { border-color: var(--c-ink); }
.btn--white {
  background: #fff;
  color: var(--c-ink);
}
.btn--white:hover { background: #f3f3f3; }

/* =================== NAV =================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--c-line);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--c-ink);
}
.nav__logo {
  width: auto;
  height: 44px;
  object-fit: contain;
}
.nav__links {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
}
.nav__links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--c-ink-2);
  border-radius: var(--radius);
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: #fff; background: #C8161E; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-pill);
  transition: all .15s ease;
}
.lang:hover { border-color: var(--c-brand); color: var(--c-brand); }
.lang__active { line-height: 1; }

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-ink);
  transition: all .25s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================== HERO =================== */
.hero {
  position: relative;
  padding: 100px 0 0;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(200, 22, 30, 0.06), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(200, 22, 30, 0.04), transparent 70%),
    #FBF4F3;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 560px;
  padding-bottom: 80px;
}
.hero__copy { max-width: 640px; }
.hero__title {
  font-size: clamp(20px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 12px 0 24px;
}
.hero__titleAccent {
  color: var(--c-brand);
  font-style: italic;
  font-weight: 700;
  position: relative;
}
.hero__titleAccent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 6px;
  background: rgba(200, 22, 30, .12);
  z-index: -1;
  border-radius: 3px;
}
.hero__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-3);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__formWrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.hero__form {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-3);
  display: grid;
  gap: 8px;
}
.hero__formTitle {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 2px;
}
.hero__formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hero__formRow--full { grid-template-columns: 1fr; }
.hero__form input,
.hero__form select,
.hero__form textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  color: var(--c-ink);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.hero__form input::placeholder,
.hero__form textarea::placeholder,
.hero__form select:invalid { color: var(--c-ink-4); }
.hero__form input:focus,
.hero__form select:focus,
.hero__form textarea:focus {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(200, 22, 30, .08);
}
.hero__form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.hero__form textarea {
  resize: vertical;
  min-height: 56px;
}
.hero__formBtn {
  width: 100%;
  justify-content: center;
  margin-top: 2px;
}
.hero__formNote {
  text-align: center;
  font-size: 13px;
  color: var(--c-ink-4);
}
.hero__formPrivacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-ink-3);
  cursor: pointer;
}
.hero__formPrivacy input {
  width: auto;
  accent-color: var(--c-brand);
}
.hero__formPrivacy a {
  color: var(--c-brand);
  text-decoration: underline;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero__strip {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}
.hero__stripInner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 0;
}
.hero__stripItem {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 16px;
  border-right: 1px solid var(--c-line);
}
.hero__stripItem:last-child { border-right: 0; }
.hero__stripItem strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-brand);
  letter-spacing: -0.02em;
}
.hero__stripItem span {
  font-size: 13px;
  color: var(--c-ink-3);
}

/* =================== CLIENTS =================== */
.clients {
  padding: 56px 0 24px;
  background: var(--c-bg);
}
.clients__hint {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 24px;
  font-weight: 600;
}
.clients__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
.clients__grid span {
  flex: 0 0 calc((100% - 40px) / 5);
  text-align: center;
  font-size: 13px;
  color: var(--c-ink-3);
  font-weight: 600;
  padding: 12px 8px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-bg-soft);
  letter-spacing: 0.02em;
  transition: all .2s ease;
}
.clients__grid span:hover {
  color: var(--c-ink);
  border-color: var(--c-ink);
}

/* =================== ABOUT =================== */
.about {
  padding: 96px 0;
  background: #fff;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
  align-items: start;
}
.about__head { position: sticky; top: 100px; }
.about__head .section__title { margin-top: 8px; }
.about__pillars {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.pillar {
  padding: 32px 0 32px 10px;
  border-bottom: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  transition: background .2s ease;
}
.pillar:hover { background: #C8161E; }
.pillar:hover .pillar__num,
.pillar:hover h3,
.pillar:hover p { color: #fff; }
.pillar__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--c-brand);
  letter-spacing: -0.02em;
  font-family: var(--f-num);
}
.pillar h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}
.pillar p {
  color: var(--c-ink-3);
  font-size: 15px;
  line-height: 1.7;
}

/* =================== STATS =================== */
.stats {
  padding: 80px 0;
  background: #C8161E;
  color: #fff;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 24px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.stat:first-child { border-left: 0; }
.stat__num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: var(--f-num);
  margin-bottom: 12px;
}
.stat__num span {
  color: var(--c-brand);
  font-weight: 700;
  font-size: 0.7em;
  margin-left: 2px;
}
.stat__lbl {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

/* =================== PRODUCTS =================== */
.products {
  padding: 110px 0;
  background: var(--c-bg-soft);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pcard {
  background: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all .25s ease;
  cursor: default;
}
.pcard:hover {
  background: #C8161E;
  box-shadow: inset 0 0 0 2px #C8161E;
  z-index: 2;
}
.pcard:hover .pcard__index,
.pcard:hover h3,
.pcard:hover p,
.pcard:hover .pcard__tag { color: #fff; }
.pcard__index {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-ink-4);
  letter-spacing: 0.16em;
  font-family: var(--f-num);
}
.pcard h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pcard p {
  color: var(--c-ink-3);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.pcard__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-top: 8px;
  display: inline-block;
}
.pcard--feature {
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

/* =================== SOLUTIONS =================== */
.solutions {
  padding: 110px 0;
  background: #fff;
}
.solutions__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.solutions__head { position: sticky; top: 100px; }
.solutions__cta { margin-top: 28px; }
.solutions__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.solutions__list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
  transition: all .2s ease;
}
.solutions__list li:hover {
  background: #C8161E;
  color: #fff;
}
.solutions__list li:hover .solutions__num,
.solutions__list li:hover h4,
.solutions__list li:hover p { color: #fff; }
.solutions__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--c-brand);
  letter-spacing: -0.02em;
  font-family: var(--f-num);
}
.solutions__list h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.solutions__list p {
  color: var(--c-ink-3);
  font-size: 15px;
  line-height: 1.7;
}

/* =================== JOURNEY =================== */
.journey {
  padding: 110px 0;
  background: var(--c-bg-soft);
}
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 60px;
  gap: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-brand) 0%, var(--c-brand) 100%);
}
.timeline li {
  flex: 1;
  min-width: 160px;
  text-align: center;
  position: relative;
  padding-top: 8px;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-line);
  z-index: 1;
}
.timeline li:hover::before {
  background: var(--c-brand);
  border-color: var(--c-brand);
  box-shadow: 0 0 0 4px rgba(200, 22, 30, 0.12);
}
.timeline__year {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--c-brand);
  letter-spacing: -0.02em;
  font-family: var(--f-num);
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.timeline__year--future {
  color: var(--c-ink-4);
  font-style: italic;
}
.timeline__body {
  margin-top: 22px;
}
.timeline__body h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline__body p {
  color: var(--c-ink-3);
  font-size: 14px;
  line-height: 1.7;
}

/* =================== TEAM =================== */
.team {
  padding: 110px 0;
  background: #fff;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.member {
  padding: 32px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: all .25s ease;
}
.member:hover {
  border-color: var(--c-ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.member__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  font-family: var(--f-num);
}
.member h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.member__role {
  color: var(--c-brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.member__bio {
  color: var(--c-ink-3);
  font-size: 14px;
  line-height: 1.7;
}

.team__why {
  background: var(--c-bg-soft);
  padding: 48px;
  border-radius: var(--radius-lg);
}
.team__why h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
}
.team__whyGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team__whyGrid h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--c-brand);
}
.team__whyGrid p {
  color: var(--c-ink-3);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- Team capabilities grid ---- */
.team__grid--alt {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 0;
}
.team-cap {
  padding: 36px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: all .25s ease;
}
.team-cap:hover {
  background: #C8161E;
  border-color: #C8161E;
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.team-cap:hover .team-cap__num { color: #fff; opacity: .35; }
.team-cap:hover h3 { color: #fff; }
.team-cap:hover p { color: rgba(255,255,255,.85); }
.team-cap__num {
  font-family: var(--f-num);
  font-size: 48px;
  font-weight: 700;
  color: var(--c-brand);
  opacity: .15;
  line-height: 1;
  margin-bottom: -8px;
}
.team-cap h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}
.team-cap p {
  color: var(--c-ink-2);
  font-size: 14px;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .team__grid--alt { grid-template-columns: 1fr; }
  .team-cap { padding: 28px; }
  .team-cap__num { font-size: 36px; }
}

/* =================== CERTS =================== */
.certs {
  padding: 110px 0;
  background: var(--c-bg-soft);
}
.certs__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.certs__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cert {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.cert h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--c-brand);
  letter-spacing: 0.04em;
}
.cert ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cert li {
  font-size: 14px;
  color: var(--c-ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.cert li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--c-brand);
  border-radius: 50%;
}

/* =================== QUOTES =================== */
.quotes {
  padding: 110px 0;
  background: #fff;
}
.quotes__viewport {
  margin-top: 56px;
  position: relative;
}
.quotes__track {
  display: flex;
  gap: 32px;
  overflow: hidden;
  scroll-behavior: smooth;
}
.quote {
  flex: 0 0 calc(50% - 16px);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 0;
}
.quote blockquote {
  font-size: 18px;
  line-height: 1.7;
  color: var(--c-ink);
  margin: 0 0 24px;
  font-weight: 500;
  position: relative;
  padding-left: 24px;
}
.quote blockquote::before {
  content: "“";
  position: absolute;
  left: -8px;
  top: -16px;
  font-size: 64px;
  line-height: 1;
  color: var(--c-brand);
  font-family: Georgia, serif;
}
.quote figcaption strong {
  display: block;
  font-size: 14px;
  color: var(--c-ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.quote figcaption span {
  font-size: 12px;
  color: var(--c-ink-3);
  letter-spacing: 0.04em;
}
.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.quotes__btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-line-2);
  border-radius: 50%;
  font-size: 18px;
  color: var(--c-ink);
  transition: all .15s ease;
}
.quotes__btn:hover { border-color: var(--c-ink); background: var(--c-ink); color: #fff; }
.quotes__dots {
  display: flex;
  gap: 8px;
}
.quotes__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-line-2);
  transition: all .15s ease;
  cursor: pointer;
}
.quotes__dot.is-active { background: var(--c-brand); width: 24px; border-radius: 4px; }

/* =================== CONTACT =================== */
.contact {
  padding: 110px 0;
  background: #C8161E;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 22, 30, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact__card {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(8px);
}
.contact__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.contact__row:last-of-type { border-bottom: 0; }
.contact__lbl {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8a90;
  font-weight: 600;
}
.contact__row p {
  color: #fff;
  font-size: 15px;
}
.contact__row a {
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
.contact__row a:hover { border-bottom-color: var(--c-brand); }
.contact__btn {
  margin-top: 28px;
  width: 100%;
  justify-content: center;
}

.contact__map {
  margin-top: 36px;
  border-radius: var(--radius-lg);
  background: rgba(255, 240, 242, 0.98);
  border: 1px solid rgba(200, 22, 30, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 18px;
  overflow: hidden;
}
.contact__mapSvg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.map-poi { cursor: pointer; }
.map-poi__dot { filter: drop-shadow(0 0 12px rgba(200, 22, 30, 0.6)); }
.map-poi__ring {
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.map-poi:hover .map-poi__ring { transform: scale(1.35); opacity: 0.35; }
.map-poi__pulse {
  transform-origin: center;
  animation: mapPulse 2.2s ease-out infinite;
  opacity: 0.55;
}
@keyframes mapPulse {
  0% { transform: scale(0.55); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}
.map-poi__label {
  display: flex;
  flex-direction: column;
  text-align: left;
  color: #2b0a0c;
  font-size: 34px;
  line-height: 1.3;
  pointer-events: none;
}
.map-poi__label--right {
  align-items: flex-end;
  text-align: right;
}
.map-poi__city {
  font-weight: 700;
  font-size: 38px;
  white-space: nowrap;
  color: #c8161e;
}
.map-poi__role {
  color: #6b3a3e;
  font-size: 30px;
  margin-top: 6px;
  white-space: nowrap;
  font-weight: 500;
}

/* =================== FOOTER =================== */
.footer {
  background: #fff;
  border-top: 1px solid var(--c-line);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 80px;
  padding-bottom: 48px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__brand img {
  width: auto;
  height: 32px;
  object-fit: contain;
}
.footer__brand p {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h5 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer__cols a {
  display: block;
  font-size: 14px;
  color: var(--c-ink-2);
  padding: 4px 0;
  transition: color .15s ease;
}
.footer__cols a:hover { color: var(--c-brand); }
.footer__base {
  border-top: 1px solid var(--c-line);
  padding: 20px 0;
}
.footer__baseInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--c-ink-3);
  flex-wrap: wrap;
  gap: 8px;
}

/* =================== REVEAL =================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__formWrap { min-height: 0; }
  .hero__form { max-width: 520px; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__head { position: static; }
  .solutions__grid { grid-template-columns: 1fr; gap: 48px; }
  .solutions__head { position: static; }
  .certs__grid { grid-template-columns: 1fr; gap: 48px; }
  .certs__cards { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__map { padding: 14px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
    max-height: calc(100vh - 68px);
    overflow: auto;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: var(--radius);
  }
  .nav__links a:hover { color: #fff; background: #C8161E; }

  .clients__grid span { flex: 0 0 calc((100% - 24px) / 4); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
  .products__grid { grid-template-columns: 1fr 1fr; }
  .timeline { overflow-x: auto; padding-bottom: 24px; }
  .timeline li { flex: 0 0 220px; }
  .team__grid { grid-template-columns: 1fr; }
  .team__whyGrid { grid-template-columns: 1fr; gap: 24px; }
  .team__why { padding: 32px 24px; }
  .quote { flex: 0 0 100%; }
}

@media (max-width: 600px) {
  :root { --pad: 18px; }
  .nav__inner { height: 52px; }
  .nav__links { top: 52px; max-height: calc(100vh - 52px); }
  .hero { padding: 100px 0 0; }
  .hero__inner { min-height: 0; padding-bottom: 56px; }
  .hero__title { font-size: 19px; }
  .hero__formWrap { min-height: 0; }
  .hero__form { padding: 22px; }
  .hero__formRow { grid-template-columns: 1fr; }
  .hero__stripInner { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__stripItem { border-right: 0; padding: 8px 12px; }
  .hero__stripItem strong { font-size: 22px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .clients__grid span { flex: 0 0 calc((100% - 8px) / 2); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .stat__num { font-size: 44px; }
  .products__grid { grid-template-columns: 1fr; }
  .pcard { padding: 28px 24px; }
  .timeline {
    flex-direction: column-reverse;
    overflow-x: visible;
    padding: 0 0 0 76px;
    gap: 0;
  }
  .timeline::before {
    top: 0; bottom: 0;
    left: 76px; right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--c-brand) 0%, var(--c-brand) 100%);
  }
  .timeline li {
    flex: unset;
    min-width: unset;
    text-align: left;
    padding: 0 0 56px 16px;
  }
  .timeline li::before {
    top: 6px;
    left: -9px;
    transform: none;
  }
  .timeline__year {
    position: static;
    transform: none;
    margin-bottom: 12px;
  }
  .timeline__body { margin-top: 0; padding-top: 0; }
  .solutions__list li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .pillar__num, .solutions__num { font-size: 22px; }
  .certs__cards { grid-template-columns: 1fr; }
  .cert { padding: 24px; }
  .quote { padding: 28px 24px; }
  .quote blockquote { font-size: 15px; }
  .contact__card { padding: 28px 24px; }
  .contact__row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .contact__map { margin-top: 28px; padding: 12px; }
  .map-poi__label { font-size: 26px; }
  .map-poi__city { font-size: 28px; }
  .map-poi__role { font-size: 22px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__baseInner { justify-content: flex-start; }
  .section__head { margin-bottom: 40px; }
  .about, .products, .solutions, .journey, .team, .certs, .quotes, .contact {
    padding: 72px 0;
  }
}

@media (max-width: 380px) {
  .hero__title { font-size: 16px; }
  .section__title { font-size: 26px; }
}

/* =================== TOAST =================== */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #1a1a2e;
  color: #fff;
  padding: 18px 24px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 400px;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,.24);
  transform: translateX(120%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.toast.is-visible {
  transform: translateX(0);
  opacity: 1;
}
.toast__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #00b894;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}
.toast strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}
.toast span {
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

/* ========== PRODUCTS: clickable card hint ========== */
.pcard--clickable { cursor: pointer; }
.pcard__more {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-brand);
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition: all .25s ease;
}
.pcard:hover .pcard__more { opacity: 1; transform: translateY(0); color: #fff; }

/* ========== PRODUCT DETAIL MODAL ========== */
.pmodal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .22s ease;
}
.pmodal.is-visible { visibility: visible; opacity: 1; }
.pmodal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, .55);
  backdrop-filter: blur(3px);
}
.pmodal__content {
  position: relative;
  background: #fff;
  width: min(760px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  transform: translateY(12px);
  transition: transform .22s ease;
}
.pmodal.is-visible .pmodal__content { transform: translateY(0); }
.pmodal__close {
  position: sticky;
  top: 12px;
  margin-left: calc(100% - 44px);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
  font-size: 24px;
  line-height: 1;
  color: #444;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.pmodal__close:hover { background: var(--c-brand); color: #fff; }
.pmodal__body { padding: 8px 40px 38px; margin-top: -24px; }
.pmodal__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: 18px; border-bottom: 1px solid var(--c-line); }
.pmodal__head h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.pmodal__keyword {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-brand);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px 12px;
}
.pmodal__rows { display: flex; flex-direction: column; }
.pmodal__shot-link { display: block; margin-top: 14px; }
.pmodal__pre img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--c-line);
  background: #f6f6f4;
}
.pmodal__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--c-line);
  font-size: 15px;
  line-height: 1.7;
  align-items: start;
}
.pmodal__row:last-of-type { border-bottom: 0; }
.pmodal__lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink-4);
  padding-top: 3px;
}
.pmodal__row--long { display: flex; flex-direction: column; gap: 8px; }
.pmodal__row--long .pmodal__lbl { padding-top: 0; }
.pmodal__pre { white-space: pre-line; color: #333; }
.pmodal__na { color: #b5b5b5; }
.pmodal__cta { margin-top: 22px; text-align: right; }
.pmodal__cta .btn { display: inline-flex; }
@media (max-width: 640px) {
  .pmodal { padding: 14px; }
  .pmodal__body { padding: 4px 20px 26px; }
  .pmodal__head h3 { font-size: 21px; }
  .pmodal__row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
}

/* ========== PRIVACY MODAL ========== */
.pmodal--privacy .pmodal__body { padding-top: 0; }
.privacy-modal__topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 16px 0 12px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.privacy-modal__lang {
  color: var(--c-brand);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  cursor: pointer;
  background: var(--c-bg);
}
.privacy-modal__lang:hover { border-color: var(--c-brand); }
.privacy-modal__lang.active { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
[data-privacy-modal-block] { display: none; }
[data-privacy-modal-block].active { display: block; }
.privacy-modal__content { padding-bottom: 4px; }
.privacy-modal__content h2 {
  font-size: 17px;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--c-ink);
}
.privacy-modal__content h2:first-of-type { margin-top: 0; }
.privacy-modal__content p,
.privacy-modal__content li {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-ink-2);
  margin-bottom: 8px;
}
.privacy-modal__content ol,
.privacy-modal__content ul {
  padding-left: 24px;
  margin-bottom: 12px;
  list-style: decimal;
}
.privacy-modal__content ul { list-style: disc; }
.privacy-modal__content li { margin-bottom: 5px; }
.privacy-modal__content ol ol,
.privacy-modal__content ul ul,
.privacy-modal__content ol ul,
.privacy-modal__content ul ol {
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.privacy-modal__content a { color: var(--c-brand); text-decoration: underline; }
.privacy-modal__content .contact-email { font-weight: 600; }
.privacy-link { color: var(--c-brand); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .privacy-modal__topbar { padding: 12px 0 8px; }
  .privacy-modal__content h2 { font-size: 15px; margin-top: 22px; }
  .privacy-modal__content p,
  .privacy-modal__content li { font-size: 12px; }
}
