/* ============================================================
   13GROUP — Satınalma & Təchizat
   Dark navy / warm orange · oversized type · image-led cards
   ============================================================ */

:root {
  --bg: #060e18;
  --bg-2: #081524;
  --surface: #0c1d30;
  --surface-2: #102741;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f6fa;
  --muted: #96a8b8;
  --muted-2: #6d8093;
  --accent: #ff8a2a;
  --accent-strong: #ff6b00;
  --accent-soft: rgba(255, 138, 42, 0.14);
  --teal: #4fc7c0;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1240px;
  --header-h: 76px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
::selection { background: var(--accent); color: #140a02; }

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--accent);
  color: #140a02;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--bg-2); }

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.section-index::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-lead {
  color: var(--muted);
  max-width: 62ch;
  margin-top: 20px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #160b02;
  box-shadow: 0 10px 30px -10px rgba(255, 122, 26, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 122, 26, 0.65); }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 14, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--text); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.header-phone svg { width: 15px; height: 15px; color: var(--accent); }
.header-cta { padding: 11px 22px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg, rgba(6, 14, 24, 0.96) 0%, rgba(6, 14, 24, 0.72) 42%, rgba(6, 14, 24, 0.28) 72%, rgba(6, 14, 24, 0.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 14, 24, 0) 26%);
}
.hero-inner {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  padding: clamp(90px, 14vh, 160px) 0 clamp(56px, 8vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.6fr);
  gap: 48px;
  align-items: end;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 40px; height: 2px; background: var(--accent); }
.hero-title {
  font-size: clamp(2.5rem, 9vw, 6.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-title .accent { color: var(--accent); }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}
.hero-sub {
  margin-top: 26px;
  color: #c9d6e0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 56ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta {
  margin-top: 34px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta b { color: var(--teal); font-weight: 700; }

.hero-panel {
  background: rgba(8, 21, 36, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}
.hero-panel p {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hero-panel p span { color: var(--accent); }
.hero-panel small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 400;
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 26px;
  border-left: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.trust-item:first-child { border-left: 0; }
.trust-item:hover { background: rgba(255, 138, 42, 0.06); }
.trust-item svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--accent);
}
.trust-item strong {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  display: block;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(255, 138, 42, 0.12), transparent 45%);
}
.about-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  background: rgba(6, 14, 24, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
}
.about-badge b {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.about-badge span { font-size: 0.8rem; color: var(--muted); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.about-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}
.about-stat b {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.about-stat span { font-size: 0.84rem; color: var(--muted); line-height: 1.45; display: block; margin-top: 6px; }

/* ---------- Services ---------- */
.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 42, 0.45);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
}
.service-card__media {
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  position: relative;
}
.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12, 29, 48, 0.9));
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__num {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(6, 14, 24, 0.7);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.service-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.service-card__body p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}
.service-card__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
}
.service-card__link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(5px); }

.service-card--cta {
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-strong) 100%);
  border: 0;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 30px;
  color: #160b02;
}
.service-card--cta h3 { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.service-card--cta p { color: rgba(22, 11, 2, 0.75); font-weight: 500; }
.service-card--cta .btn {
  background: #160b02;
  color: #fff;
  margin-top: 24px;
}
.service-card--cta .btn:hover { transform: translateY(-2px); }

/* ---------- Sectors ---------- */
.sectors-list { border-top: 1px solid var(--line); margin-top: clamp(30px, 4vw, 52px); }
.sector-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr) 60px;
  align-items: center;
  gap: 24px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.sector-row:hover { background: rgba(255, 138, 42, 0.05); padding-left: 22px; }
.sector-row__num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.sector-row__name {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sector-row__desc { color: var(--muted); font-size: 0.95rem; }
.sector-row__arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.sector-row__arrow svg { width: 18px; height: 18px; }
.sector-row:hover .sector-row__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #160b02;
  transform: rotate(-45deg);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.process-media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.process-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 14, 24, 0.75));
}
.process-media figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
}
.process-media figcaption span { color: var(--accent); }

.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.step:first-child { padding-top: 6px; }
.step:last-child { border-bottom: 0; }
.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--accent);
  background: var(--surface);
  position: relative;
  z-index: 2;
}
.step::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.step:first-child::before { top: 34px; }
.step:last-child::before { bottom: auto; height: 64px; }
.step h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.step p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; max-width: 52ch; }

/* ---------- Why band ---------- */
.why {
  background: linear-gradient(135deg, #ff8a2a 0%, #ff6b00 55%, #f25c05 100%);
  color: #160b02;
}
.why-inner { text-align: left; }
.why h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.why > .container > p { margin-top: 10px; font-weight: 600; color: rgba(22, 11, 2, 0.72); max-width: 60ch; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(34px, 5vw, 56px);
}
.why-item {
  border: 1px solid rgba(22, 11, 2, 0.16);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}
.why-item svg { width: 30px; height: 30px; }
.why-item b { display: block; margin-top: 16px; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.01em; }
.why-item span { display: block; margin-top: 4px; font-size: 0.88rem; font-weight: 600; color: rgba(22, 11, 2, 0.7); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: "13GROUP";
  position: absolute;
  inset: auto 0 -0.18em 0;
  text-align: center;
  font-size: clamp(6rem, 20vw, 17rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  line-height: 1;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.cta-banner h2 em { font-style: italic; color: var(--accent); }
.cta-banner p { color: var(--muted); margin: 18px auto 0; max-width: 54ch; }
.cta-banner .btn { margin-top: 34px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-cards { display: grid; gap: 14px; margin-top: 36px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
a.contact-card:hover { border-color: rgba(255, 138, 42, 0.5); background: rgba(255, 138, 42, 0.05); }
.contact-card svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.contact-card small { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.contact-card strong { font-size: 1.02rem; font-weight: 700; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field label b { color: var(--accent); }
.field input, .field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 138, 42, 0.05);
}
.form-note { font-size: 0.82rem; color: var(--muted-2); margin-top: 6px; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.form-success.is-visible { display: block; }
.form-success svg {
  width: 64px;
  height: 64px;
  color: var(--accent);
  margin: 0 auto 18px;
}
.form-success h3 { font-size: 1.5rem; font-weight: 800; }
.form-success p { color: var(--muted); margin-top: 10px; }
.form-card.is-sent form { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: #040a12;
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand img { height: 36px; width: auto; }
.footer-tagline { margin-top: 14px; color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.footer-desc { margin-top: 10px; color: var(--muted); font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.84rem;
}
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { color: var(--muted-2); transition: color 0.2s var(--ease); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8, 21, 36, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #160b02; border-color: var(--accent); }

/* ---------- Terms page ---------- */
.terms-hero {
  padding: calc(var(--header-h) + clamp(60px, 9vw, 110px)) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(255, 138, 42, 0.12), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.terms-body { padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 8vw, 110px); }
.terms-wrap { max-width: 820px; }
.terms-wrap h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 40px 0 12px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.terms-wrap h2 span { color: var(--accent); font-size: 0.95rem; letter-spacing: 0.08em; }
.terms-wrap p, .terms-wrap li { color: var(--muted); font-size: 0.98rem; }
.terms-wrap ul { margin: 10px 0 0; display: grid; gap: 8px; }
.terms-wrap ul li { padding-left: 22px; position: relative; }
.terms-wrap ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.terms-updated { color: var(--muted-2); font-size: 0.85rem; margin-top: 16px; }
.terms-wrap a { color: var(--accent); font-weight: 600; }
.terms-wrap a:hover { text-decoration: underline; }
.terms-wrap .btn:hover { text-decoration: none; }

body.nav-locked { overflow: hidden; }

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-phone, .header-cta { display: none; }
  .header-inner { gap: 20px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n + 3) { border-top: 0; }
  .trust-item:nth-child(3n + 2) { border-left: 1px solid var(--line); }
  .trust-item:nth-child(3n) { border-left: 1px solid var(--line); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(6, 14, 24, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 28px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a { display: block; padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-panel { max-width: 480px; }
  .services-head { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .about-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-media { position: relative; top: 0; aspect-ratio: 16 / 9; }
  .sector-row { grid-template-columns: 56px minmax(0, 1fr) 48px; }
  .sector-row__desc { grid-column: 2 / 3; }
  .sector-row__arrow { grid-column: 3; grid-row: 1 / 3; width: 42px; height: 42px; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 40px); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-top: 1px solid var(--line) !important; border-left: 0 !important; padding: 20px 8px; }
  .trust-item:first-child { border-top: 0 !important; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card .btn { width: 100%; justify-content: center; margin-top: 10px; }
  .why-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-meta { letter-spacing: 0.08em; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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