/* İNTENET — enerji & telekom altyapı sitesi
   Tipografi: IBM Plex Sans / Condensed / Mono */

/* Kurumsal palet — intenet.com.tr'den alındı:
   #8b0305 ana kırmızı · #4f0002 koyu · #8c2b2d açık · #1a1a1a mürekkep · #e2e2e2 çizgi · #f6f6f6 yüzey */
:root {
  --ink: #1a1a1a;
  --ink-2: #4a4344;
  --ink-3: #7d7273;
  --line: #e2e2e2;
  --line-2: #f0eded;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --surface: #ffffff;

  --dark: #1a1a1a;
  --dark-2: #2c2122;
  --brand: #8b0305;
  --brand-d: #4f0002;
  --brand-l: #8c2b2d;
  --accent: #e0a3a2;
  --on-brand: #ffffff;

  --wrap: 1200px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --r: 6px;
  --shadow: 0 1px 2px rgba(26, 26, 26, .05), 0 8px 24px -12px rgba(26, 26, 26, .22);

  --f-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-cond: 'IBM Plex Sans Condensed', 'IBM Plex Sans', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ede8e8;
    --ink-2: #c5bcbc;
    --ink-3: #988e8e;
    --line: #352d2e;
    --line-2: #241e1f;
    --bg: #141111;
    --bg-alt: #1b1717;
    --surface: #1d1919;
    --dark: #0e0c0c;
    --dark-2: #221b1c;
    /* koyu zeminde okunabilirlik için marka kırmızısı açıldı */
    --brand: #e05a5c;
    --brand-d: #f07d7e;
    --brand-l: #c74547;
    --accent: #e0a3a2;
    --on-brand: #1a1a1a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 24px -12px rgba(0, 0, 0, .8);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-d); }

h1, h2, h3, h4 { font-family: var(--f-cond); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1em; }

code { font-family: var(--f-mono); font-size: .88em; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--brand); color: var(--on-brand); padding: .6rem 1rem; }
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-sans); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: var(--r);
  background: var(--brand); color: var(--on-brand); border: 1px solid var(--brand);
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--brand-d); border-color: var(--brand-d); color: var(--on-brand); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand-d); }
.btn--ghost.btn--light, .btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .875rem; }
.btn--block { display: flex; width: 100%; }

.link-arrow { font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-block; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: #d6cfcf; font-size: .82rem; }
.topbar__in { display: flex; align-items: center; gap: 1.25rem; min-height: 40px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; color: #d6cfcf; text-decoration: none; }
.topbar__item:hover { color: #fff; }
.topbar__item--muted { color: #8f8484; margin-left: auto; }
@media (max-width: 720px) {
  .topbar__in { gap: .75rem; padding-block: .35rem; }
  .topbar__item--muted { display: none; }
  .topbar .langs { margin-left: auto; }
}
.ico { width: 14px; height: 14px; fill: currentColor; flex: none; }

.langs { display: flex; gap: .15rem; }
.langs a {
  color: #b3a8a8; text-decoration: none; font-weight: 600; font-size: .78rem;
  padding: .25rem .5rem; border-radius: 3px; letter-spacing: .04em;
}
.langs a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.langs a[aria-current] { color: #fff; background: #8b0305; }
.langs--mobile { display: none; }
.langs--footer a { font-size: .82rem; letter-spacing: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__in { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.brand__logo { width: auto; height: 46px; }
@media (max-width: 420px) { .brand__logo { height: 34px; } }
/* Logo kurumsal kırmızıda: açık zeminde #8b0305, koyu zeminde okunabilirlik için #e05a5c */
.brand__logo--on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .brand__logo--on-light { display: none; }
  .brand__logo--on-dark { display: block; }
}

.mainnav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.mainnav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.mainnav__item { position: relative; }
.mainnav__item > a {
  display: block; padding: .6rem .7rem; font-size: .92rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none; border-radius: var(--r); white-space: nowrap;
}
.mainnav__item > a:hover { color: var(--brand); background: var(--bg-alt); }
.mainnav__item > a[aria-current] { color: var(--brand); font-weight: 600; }
.mainnav__item > a[aria-current]::after {
  content: ''; display: block; height: 2px; background: var(--brand); margin-top: 4px; border-radius: 2px;
}
.subtoggle { display: none; }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 270px; z-index: 60;
  list-style: none; margin: 0; padding: .4rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: .5rem .7rem; font-size: .88rem; color: var(--ink-2); text-decoration: none; border-radius: 4px; }
.submenu a:hover { background: var(--bg-alt); color: var(--brand); }
.submenu a[aria-current] { color: var(--brand); font-weight: 600; }
.has-sub2 { position: relative; }
.submenu--2 { top: -.4rem; left: 100%; }
.has-sub2:hover > .submenu--2, .has-sub2:focus-within > .submenu--2 { opacity: 1; visibility: visible; transform: none; }
.has-sub2 > a::after { content: '›'; float: right; color: var(--ink-3); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: .5rem .6rem; cursor: pointer; margin-left: auto; }
.burger__box { display: block; width: 20px; }
.burger__box i { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] .burger__box i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim { position: fixed; inset: 0; background: rgba(3, 10, 16, .5); z-index: 45; }

@media (max-width: 1100px) {
  .burger { display: block; }
  .mainnav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 55;
    background: var(--surface); border-left: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 1rem; overflow-y: auto; transform: translateX(100%);
    transition: transform .22s ease; box-shadow: var(--shadow);
  }
  .mainnav.is-open { transform: none; }
  .mainnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .mainnav__item { border-bottom: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: center; }
  .mainnav__item > a { flex: 1; padding: .85rem .4rem; font-size: 1rem; }
  .mainnav__item > a[aria-current]::after { display: none; }
  .subtoggle {
    display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    background: none; border: 0; cursor: pointer; color: var(--ink-3);
  }
  .subtoggle svg { width: 20px; height: 20px; fill: currentColor; transition: transform .2s; }
  .subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .submenu {
    position: static; width: 100%; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: var(--bg-alt); border-radius: var(--r);
    margin: 0 0 .6rem; padding: .3rem; display: none;
  }
  .submenu.is-open { display: block; }
  .has-sub:hover > .submenu { display: none; }
  .has-sub:hover > .submenu.is-open { display: block; }
  .submenu--2 { display: block; background: transparent; padding-left: .8rem; border-left: 2px solid var(--line); border-radius: 0; margin: .2rem 0 .4rem; }
  .has-sub2 > a::after { display: none; }
  .mainnav__cta { margin-top: 1rem; display: flex; flex-direction: column; gap: .8rem; }
  .langs--mobile { display: flex; }
  .langs--mobile a { color: var(--ink-2); border: 1px solid var(--line); flex: 1; text-align: center; }
  .langs--mobile a[aria-current] { color: #fff; background: #8b0305; border-color: #8b0305; }
}
@media (min-width: 1101px) { .mainnav__cta .langs { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: #f2eded; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 500px at 15% -10%, rgba(139, 3, 5, .55), transparent 62%),
    radial-gradient(760px 440px at 95% 12%, rgba(140, 43, 45, .40), transparent 64%),
    linear-gradient(180deg, var(--dark-2), var(--dark));
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent 75%);
}
.hero__in { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.eyebrow {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem;
}
.hero__title { color: #fff; max-width: 20ch; margin-bottom: .6rem; }
.hero__lead { max-width: 68ch; color: #cdc4c4; font-size: clamp(1rem, 1.5vw, 1.12rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }

.hero__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__stats div { margin: 0; }
.hero__stats dt { font-family: var(--f-cond); font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1; }
.hero__stats dd { margin: .35rem 0 0; font-size: .82rem; color: #a89d9d; letter-spacing: .02em; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.75rem, 6vw, 5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 70ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-3); margin: 0; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pillar { background: var(--surface); padding: 1.6rem 1.4rem; text-decoration: none; color: inherit; position: relative; transition: background .15s; }
.pillar:hover { background: var(--bg-alt); color: inherit; }
.pillar h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.pillar p { color: var(--ink-3); font-size: .92rem; margin: 0; }
.pillar__arrow { position: absolute; right: 1.2rem; top: 1.5rem; color: var(--brand); transition: transform .15s; }
.pillar:hover .pillar__arrow { transform: translateX(3px); }

/* ---------- Features / cards ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--gap); margin-bottom: 2rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; border-top: 3px solid var(--brand); }
.feature h3 { margin-bottom: .5rem; }
.feature h3 a { color: inherit; text-decoration: none; }
.feature h3 a:hover { color: var(--brand); }
.feature p { color: var(--ink-2); font-size: .94rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); margin: 1.5rem 0 2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.card h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.card p { color: var(--ink-2); margin: 0; font-size: .94rem; }

.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); margin-bottom: 2rem; }
.project { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand-l); border-radius: var(--r); padding: 1.5rem; }
.project p { color: var(--ink-2); font-size: .93rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 0; padding: 0; }
.tags li { font-family: var(--f-mono); font-size: .72rem; padding: .2rem .5rem; border: 1px solid var(--line); border-radius: 3px; color: var(--ink-3); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.news-card h2, .news-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.news-card h2 a, .news-card h3 a { color: inherit; text-decoration: none; }
.news-card h2 a:hover, .news-card h3 a:hover { color: var(--brand); }
.news-card p { color: var(--ink-2); font-size: .93rem; }
.news-card__meta { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .5rem; }

/* ---------- Logo wall ---------- */
.logo-wall {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.logo-wall li { background: var(--surface); display: grid; place-items: center; padding: 1.1rem .8rem; min-height: 92px; }
.logo-wall img {
  max-height: 52px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62; transition: filter .2s, opacity .2s;
}
.logo-wall li:hover img { filter: none; opacity: 1; }
@media (prefers-color-scheme: dark) {
  .logo-wall li { background: #f7f9fb; }
  .logo-wall img { filter: grayscale(1); opacity: .75; }
}

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--dark-2), var(--dark)); color: #fff; }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { color: #c4baba; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Page head & breadcrumb ---------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: clamp(1.75rem, 4vw, 3rem) 0; }
.page-head h1 { margin-bottom: .4rem; }
.page-head__lead { max-width: 76ch; color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.08rem); margin: 0; }

.crumbs { margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; font-size: .82rem; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

/* ---------- Layout with sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(2rem, 5vw, 3.5rem) 0; align-items: start; }
@media (max-width: 940px) { .layout { grid-template-columns: 1fr; } }

.side { display: grid; gap: 1rem; position: sticky; top: 88px; }
@media (max-width: 940px) { .side { position: static; } }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; }
.side-card__h { font-size: .78rem; font-family: var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav li + li { border-top: 1px solid var(--line-2); }
.side-nav a { display: block; padding: .55rem 0; font-size: .9rem; color: var(--ink-2); text-decoration: none; }
.side-nav a:hover { color: var(--brand); }
.side-nav a[aria-current] { color: var(--brand); font-weight: 600; }
.side-card--contact { background: var(--dark); border-color: var(--dark); color: #d6cfcf; }
.side-card--contact .side-card__h { color: var(--accent); }
.side-card--contact p { font-size: .9rem; margin-bottom: .5rem; }
.side-card--contact a { color: #f2eded; }
.side-tel { font-family: var(--f-cond); font-size: 1.4rem; font-weight: 700; text-decoration: none; }

/* ---------- Prose ---------- */
.prose { max-width: 78ch; font-size: 1.02rem; }
.prose p { color: var(--ink-2); }
.prose-h { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.prose-h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose-ul { padding-left: 1.15rem; margin: 0 0 1.3rem; color: var(--ink-2); }
.prose-ul li { margin-bottom: .55rem; }
.prose-ul li::marker { color: var(--brand); }

.grid-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .5rem; margin: 0 0 1.5rem; padding: 0; }
.grid-list li { position: relative; padding: .55rem .75rem .55rem 1.6rem; background: var(--bg-alt); border-radius: 4px; font-size: .9rem; color: var(--ink-2); }
.grid-list li::before { content: ''; position: absolute; left: .7rem; top: 1.15em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-l); }

.mono-list { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.5rem; padding: 0; }
.mono-list code {
  display: inline-block; padding: .35rem .65rem; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); font-size: .82rem;
}

.specs { margin: 0 0 1.6rem; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.specs__row { display: grid; grid-template-columns: minmax(150px, 30%) 1fr; }
.specs__row + .specs__row { border-top: 1px solid var(--line); }
.specs dt { padding: .8rem 1rem; background: var(--bg-alt); font-weight: 600; font-size: .88rem; color: var(--ink); }
.specs dd { padding: .8rem 1rem; margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 620px) { .specs__row { grid-template-columns: 1fr; } .specs dt { border-bottom: 1px solid var(--line); } }

.table-scroll { overflow-x: auto; margin: 0 0 1.6rem; border: 1px solid var(--line); border-radius: var(--r); }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 420px; }
.data-table th { text-align: left; background: var(--bg-alt); padding: .7rem 1rem; font-family: var(--f-cond); font-size: .95rem; letter-spacing: .02em; border-bottom: 1px solid var(--line); }
.data-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.data-table tr:last-child td { border-bottom: 0; }
.td-key { font-family: var(--f-mono); font-size: .85rem; color: var(--ink); }

.steps { counter-reset: s; list-style: none; margin: 0 0 1.6rem; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.3rem 3rem; border-left: 2px solid var(--line); margin-left: 1rem; }
.steps li::before {
  content: counter(s); position: absolute; left: -1rem; top: 0;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand); border-radius: 50%;
  font-family: var(--f-mono); font-size: .82rem; font-weight: 500;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps h3 { font-size: 1.05rem; margin: .2rem 0 .3rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .93rem; }

.timeline { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.timeline__y { font-family: var(--f-mono); font-size: .85rem; color: var(--brand); font-weight: 500; }
.timeline p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: .2rem; } }

.products { display: grid; gap: 1rem; margin: 0 0 1.6rem; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; }
.product h3 { margin-bottom: .4rem; font-family: var(--f-mono); font-size: .95rem; font-weight: 500; letter-spacing: 0; }
.product h3 code { color: var(--brand); font-size: 1em; }
.product p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.product__ports { margin-top: .7rem !important; padding-top: .7rem; border-top: 1px solid var(--line-2); font-size: .84rem !important; }
.product__ports span { display: block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .2rem; }

.note { background: color-mix(in srgb, var(--brand-l) 9%, transparent); border-left: 3px solid var(--brand-l); border-radius: 0 var(--r) var(--r) 0; padding: 1rem 1.2rem; margin: 0 0 1.6rem; }
.note p { margin: 0; color: var(--ink); font-size: .95rem; }

.extlink { margin-bottom: 1.6rem; }
.extlink a { font-weight: 600; font-size: .93rem; }

.statbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin: 2rem 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.statbar div { background: var(--surface); padding: 1.3rem 1rem; text-align: center; margin: 0; }
.statbar dt { font-family: var(--f-cond); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: var(--brand); line-height: 1; }
.statbar dd { margin: .35rem 0 0; font-size: .82rem; color: var(--ink-3); }

.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; }
.pager a { display: inline-flex; gap: .5rem; text-decoration: none; font-weight: 600; max-width: 45%; }
.pager__next { margin-left: auto; text-align: right; }

/* ---------- Solutions index ---------- */
.sol-group { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sol-group__h { font-size: .8rem; font-family: var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-bottom: .6rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--gap); }
.sol-card { display: flex; flex-direction: column; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.sol-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.sol-card h3 { margin: 0; font-size: 1.15rem; }
.sol-card p { margin: 0; color: var(--ink-3); font-size: .9rem; flex: 1; }
.sol-card .link-arrow { color: var(--brand); }

/* ---------- Brands ---------- */
.brand-block { display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.75rem, 4vw, 2.75rem) 0; border-top: 1px solid var(--line); }
.brand-block:first-of-type { border-top: 0; padding-top: 0; }
.brand-block__logo img { max-height: 64px; width: auto; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .75rem 1rem; }
.brand-role { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: .8rem 0 .5rem; }
.brand-block__body h2 { margin-top: 0; }
@media (max-width: 780px) { .brand-block { grid-template-columns: 1fr; } }
.other-brands { padding-top: 2rem; border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.chip { font-family: var(--f-sans); font-size: .85rem; font-weight: 500; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: #8b0305; border-color: #8b0305; color: #fff; }
.faq__list { display: grid; gap: .6rem; max-width: 900px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.qa[hidden] { display: none; }
.qa summary { cursor: pointer; padding: 1rem 1.2rem; font-family: var(--f-cond); font-size: 1.1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-family: var(--f-mono); color: var(--brand); font-size: 1.3rem; flex: none; }
.qa[open] summary::after { content: '−'; }
.qa[open] summary { border-bottom: 1px solid var(--line); }
.qa__body { padding: 1.1rem 1.2rem .4rem; }
.qa__body p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.cform { display: grid; gap: 1rem; max-width: 560px; }
.cform__row { display: grid; gap: .35rem; }
.cform label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.cform label span { color: var(--accent); }
.cform input, .cform select, .cform textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .85rem; width: 100%;
}
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.cform textarea { resize: vertical; min-height: 130px; }
.cform__status { font-size: .9rem; margin: 0; }
.cform__status.is-ok { color: #1a7f4b; }
.cform__status.is-err { color: #c0392b; }
.hp { position: absolute; left: -9999px; }

.map { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 1.25rem 0 1rem; aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #c2b8b8; padding-top: clamp(2.5rem, 5vw, 4rem); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.brand--footer { margin-bottom: 1rem; }
.brand--footer .brand__logo { display: block; height: 46px; }
.footer-about { color: #a29797; font-size: .9rem; max-width: 42ch; }
.footer-h { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a { color: #c2b8b8; text-decoration: none; font-size: .9rem; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-address { display: grid; gap: .2rem; font-style: normal; font-size: .9rem; }
.footer-address__label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #857a7a; margin-top: .7rem; }
.footer-address a { color: #c2b8b8; text-decoration: none; }
.footer-address a:hover { color: #fff; }

.social { display: flex; gap: .5rem; margin-top: 1.1rem; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); color: #c2b8b8; }
.social a:hover { background: #8b0305; border-color: #8b0305; color: #fff; }
.social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: #8f8484; }
.footer-bottom p { margin: 0; }

.totop {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--dark); color: #fff; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; transform: translateY(8px);
}
.totop.is-on { opacity: 1; pointer-events: auto; transform: none; }
.totop svg { width: 20px; height: 20px; fill: currentColor; }

@media print {
  .topbar, .site-header, .site-footer, .cta, .side, .totop, .burger { display: none !important; }
  body { color: #000; background: #fff; }
}
