﻿/* ============================================================
   ARCTYX SOLUTIONS – styles.css  v2
   Professional corporate design system
   ============================================================ */

/* ── 1. Design tokens ─────────────────────────────────────── */
:root {
  color-scheme: light;

  /* Colors */
  --bg:           #f5f7fc;
  --bg-alt:       #eef2f9;
  --surface:      #ffffff;
  --surface-2:    #f0f5ff;
  --border:       #dce6f5;
  --text:         #0f2345;
  --text-2:       #374f70;
  --muted:        #5e7898;
  --primary:      #1565d8;
  --primary-hov:  #0e52be;
  --primary-glow: rgba(21,101,216,.22);
  --success:      #16a34a;
  --shadow-sm:    0 2px 8px rgba(15,35,69,.07);
  --shadow-md:    0 8px 28px rgba(15,35,69,.1);
  --shadow-lg:    0 20px 50px rgba(15,35,69,.12);
  --radius-xs:    6px;
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --ease:         cubic-bezier(.22,.68,0,1.2);
  --ease-std:     cubic-bezier(.4,0,.2,1);
  --dur:          .24s;

  /* Service accent colors */
  --c-blue:   #2563eb; --c-blue-bg:   rgba(37,99,235,.1);
  --c-amber:  #d97706; --c-amber-bg:  rgba(217,119,6,.1);
  --c-green:  #16a34a; --c-green-bg:  rgba(22,163,74,.1);
  --c-purple: #7c3aed; --c-purple-bg: rgba(124,58,237,.1);
  --c-teal:   #0891b2; --c-teal-bg:   rgba(8,145,178,.1);
  --c-rose:   #e11d48; --c-rose-bg:   rgba(225,29,72,.1);
  --c-indigo: #4f46e5; --c-indigo-bg: rgba(79,70,229,.1);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg:#0b1629;--bg-alt:#0d1d38;--surface:#112040;--surface-2:#162a52;
    --border:#1c3258;--text:#e8f0fd;--text-2:#a8c0e8;--muted:#6b8ab5;
    --primary:#4b96ff;--primary-hov:#3584f5;--primary-glow:rgba(75,150,255,.2);
    --shadow-sm:0 2px 8px rgba(0,0,0,.25);--shadow-md:0 8px 28px rgba(0,0,0,.35);--shadow-lg:0 20px 50px rgba(0,0,0,.45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:#0b1629;--bg-alt:#0d1d38;--surface:#112040;--surface-2:#162a52;
  --border:#1c3258;--text:#e8f0fd;--text-2:#a8c0e8;--muted:#6b8ab5;
  --primary:#4b96ff;--primary-hov:#3584f5;--primary-glow:rgba(75,150,255,.2);
  --shadow-sm:0 2px 8px rgba(0,0,0,.25);--shadow-md:0 8px 28px rgba(0,0,0,.35);--shadow-lg:0 20px 50px rgba(0,0,0,.45);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg:#f5f7fc;--bg-alt:#eef2f9;--surface:#ffffff;--surface-2:#f0f5ff;
  --border:#dce6f5;--text:#0f2345;--text-2:#374f70;--muted:#5e7898;
  --primary:#1565d8;--primary-hov:#0e52be;--primary-glow:rgba(21,101,216,.22);
  --shadow-sm:0 2px 8px rgba(15,35,69,.07);--shadow-md:0 8px 28px rgba(15,35,69,.1);--shadow-lg:0 20px 50px rgba(15,35,69,.12);
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: clamp(80px, 9vw, 120px) 0; }

/* ── 3. Typography helpers ───────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .9rem;
}

.section-header { max-width: 660px; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--text); margin-bottom: .9rem; }
.section-desc { font-size: 1.05rem; color: var(--muted); }

.section-header-centered { max-width: 600px; margin-left: auto; margin-right: auto; text-align: center; }

/* ── 4. Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 100px;
  font-family: "Space Grotesk", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  border: 2px solid transparent;
  transition: background var(--dur) var(--ease-std), color var(--dur), border-color var(--dur), box-shadow var(--dur), transform var(--dur);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.btn:active { transform: scale(.96); }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hov); border-color: var(--primary-hov); box-shadow: 0 8px 28px var(--primary-glow); transform: translateY(-1px); }

.btn-outline { color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: 0 8px 28px var(--primary-glow); transform: translateY(-1px); }

.btn-ghost { color: var(--text-2); border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); background: var(--surface-2); }

/* ── 5. Scroll reveal ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .6s var(--ease-std) var(--reveal-delay, 0s), transform .6s var(--ease-std) var(--reveal-delay, 0s); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── 6. Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245,247,252,.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(11,22,41,.9); }
}

:root[data-theme="dark"] .site-header {
  background: rgba(11,22,41,.9);
}

.nav-wrap { display: flex; align-items: center; gap: 1.25rem; padding: 0; min-height: 92px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 98px; width: auto; }
.brand-logo-sm { height: 56px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-links a { font-size: .95rem; font-weight: 600; color: var(--muted); transition: color var(--dur); position: relative; padding: .2rem 0; }
.nav-links a::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--primary); border-radius: 2px; transition: width var(--dur); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.theme-toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .85rem; border-radius: 100px;
  background: var(--surface-2); border: 1.5px solid var(--border);
  font-size: .8rem; font-weight: 600; color: var(--muted);
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.theme-toggle:hover { background: var(--surface); color: var(--text); border-color: var(--primary); }
.theme-toggle:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.theme-toggle-icon { font-size: .95rem; }
.nav-cta { padding: .6rem 1.35rem; font-size: .92rem; margin-left: .25rem; }

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: .5rem; border-radius: var(--radius-sm); margin-left: auto; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1280px) {
  .brand-logo { height: 84px; }
  .nav-wrap { min-height: 84px; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: .88rem; }
  .nav-cta { padding: .52rem 1.08rem; font-size: .86rem; }
}

@media (max-width: 1120px) {
  .menu-btn { display: flex; }
  .nav-wrap { min-height: 84px; }
  .brand-logo { height: 82px; }
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100vh - 84px);
    height: calc(100dvh - 84px);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.5rem 1.5rem;
    gap: .85rem;
    z-index: 199;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .24s var(--ease-std), transform .24s var(--ease-std), visibility .24s;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a { font-size: 1.08rem; padding: .35rem 0; }
  .nav-cta { width: 100%; justify-content: center; margin-left: 0; margin-top: .5rem; }
  .theme-toggle { width: 100%; justify-content: center; font-size: .92rem; padding: .55rem .9rem; }
}

@media (min-width: 1121px) {
  .menu-btn { display: none !important; }
  .nav-links {
    display: flex !important;
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    flex-direction: row;
    align-items: center;
    padding: 0;
    overflow: visible;
    background: transparent;
    border-bottom: 0;
  }
}

/* ── 7. Hero ─────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; min-height: 88vh; display: flex; align-items: center; background: var(--bg); }

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero-blob-1 { width: 55vw; height: 55vw; max-width: 800px; max-height: 800px; top: -20%; right: -10%; background: radial-gradient(circle, rgba(21,101,216,.15) 0%, transparent 70%); }
.hero-blob-2 { width: 35vw; height: 35vw; max-width: 500px; max-height: 500px; bottom: -10%; left: -5%; background: radial-gradient(circle, rgba(79,70,229,.1) 0%, transparent 70%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 40px 40px; opacity: .35; mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black 30%, transparent 100%); }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center; padding: 5rem 0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1rem; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .78rem; font-weight: 600; color: var(--primary);
  margin-bottom: 1.75rem; box-shadow: var(--shadow-sm);
}
.badge-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(34,197,94,.25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 3px rgba(34,197,94,.25)} 50%{box-shadow:0 0 0 6px rgba(34,197,94,.1)} }

.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800; color: var(--text); margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-2); max-width: 580px; line-height: 1.7; margin-bottom: 2.25rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats { display: flex; align-items: center; gap: 0; }
.hero-stats li { padding: 0 2rem; text-align: center; }
.hero-stats li:first-child { padding-left: 0; }
.stat-divider { width: 1px; height: 44px; background: var(--border); padding: 0; flex-shrink: 0; }
.stat-value { display: block; font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { display: block; font-size: .78rem; color: var(--muted); margin-top: .35rem; max-width: 100px; line-height: 1.3; }

/* Hero visual cards */
.hero-visual { display: flex; flex-direction: column; gap: 1rem; }
.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .9rem;
  box-shadow: var(--shadow-md);
  animation: float-card 6s ease-in-out infinite;
}
.hc-2 { animation-delay: -2s; }
.hc-3 { animation-delay: -4s; }
@keyframes float-card { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.hc-icon { width: 36px; height: 36px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 7px; flex-shrink: 0; color: var(--primary); }
.hc-icon svg { width: 100%; height: 100%; }
.hc-title { font-size: .875rem; font-weight: 600; margin: 0; line-height: 1.2; }
.hc-sub { font-size: .75rem; color: var(--muted); margin: 0; }
.hc-status { font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 100px; white-space: nowrap; margin-left: auto; }
.hc-ok { background: rgba(22,163,74,.12); color: #16a34a; }

/* ── 8. Trust strip ──────────────────────────────────────── */
.trust-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.75rem 0; }
.trust-strip .container { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.trust-logos { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.trust-logos li { font-size: .8rem; font-weight: 600; color: var(--text-2); padding: .3rem .9rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 100px; white-space: nowrap; }

/* ── 9. Problems ─────────────────────────────────────────── */
.problems { background: var(--bg-alt); }

.problems-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.problem-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.75rem;
  position: relative; overflow: hidden;
  transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur);
}
.problem-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(21,101,216,.3); }
.problem-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), transparent); opacity: 0; transition: opacity var(--dur); }
.problem-card:hover::before { opacity: 1; }

.problem-num { font-family: "Space Grotesk", sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--primary); opacity: .1; line-height: 1; margin-bottom: .5rem; }
.problem-icon { width: 44px; height: 44px; color: var(--primary); margin-bottom: 1rem; }
.problem-icon svg { width: 100%; height: 100%; }
.problem-card h3 { font-size: .975rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.problem-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ── 10. Services ────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; gap: 1.4rem;
  transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

[data-color="blue"]:hover  { border-color: var(--c-blue); }
[data-color="amber"]:hover { border-color: var(--c-amber); }
[data-color="green"]:hover { border-color: var(--c-green); }
[data-color="purple"]:hover{ border-color: var(--c-purple); }
[data-color="teal"]:hover  { border-color: var(--c-teal); }
[data-color="rose"]:hover  { border-color: var(--c-rose); }
[data-color="indigo"]:hover{ border-color: var(--c-indigo); }

.sc-icon-wrap {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; padding: 10px;
}
[data-color="blue"]   .sc-icon-wrap { background: var(--c-blue-bg);   color: var(--c-blue); }
[data-color="amber"]  .sc-icon-wrap { background: var(--c-amber-bg);  color: var(--c-amber); }
[data-color="green"]  .sc-icon-wrap { background: var(--c-green-bg);  color: var(--c-green); }
[data-color="purple"] .sc-icon-wrap { background: var(--c-purple-bg); color: var(--c-purple); }
[data-color="teal"]   .sc-icon-wrap { background: var(--c-teal-bg);   color: var(--c-teal); }
[data-color="rose"]   .sc-icon-wrap { background: var(--c-rose-bg);   color: var(--c-rose); }
[data-color="indigo"] .sc-icon-wrap { background: var(--c-indigo-bg); color: var(--c-indigo); }
.sc-icon-wrap svg { width: 100%; height: 100%; }

.sc-body { display: flex; flex-direction: column; gap: .65rem; }
.sc-body h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.sc-body p { font-size: .875rem; color: var(--muted); line-height: 1.65; flex: 1; }
.sc-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .25rem; }
.sc-tags li { font-size: .72rem; font-weight: 600; padding: .2rem .65rem; border-radius: 100px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-2); }

/* ── 11. Portfolio ───────────────────────────────────────── */
.portfolio { background: var(--bg-alt); }
.portfolio-list { display: flex; flex-direction: column; gap: 2.5rem; }

.project-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  display: grid; grid-template-columns: 420px 1fr;
  transition: box-shadow var(--dur);
}
.project-card:hover { box-shadow: var(--shadow-lg); }

.project-visual { position: relative; overflow: hidden; }
.project-visual svg { width: 100%; display: block; aspect-ratio: 16/9; }
.project-placeholder {
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 8px, rgba(255,255,255,.03) 8px 16px);
}
.pv-label {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  color: #fff; font-size: .72rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 100px;
  letter-spacing: .05em;
}

.project-info { padding: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.project-tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.project-info h3 { font-size: 1.35rem; font-weight: 700; color: var(--text); line-height: 1.2; }

.project-meta { display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.pm-item { display: flex; flex-direction: column; gap: .25rem; }
.pm-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.pm-item p { font-size: .9rem; color: var(--text-2); line-height: 1.6; }

.project-impact { display: flex; gap: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); margin-top: auto; }
.impact-metric { display: flex; flex-direction: column; }
.im-value { font-family: "Space Grotesk", sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.im-label { font-size: .75rem; color: var(--muted); margin-top: .2rem; }

/* ── 12. Methodology ─────────────────────────────────────── */
.method-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.method-track::before { content: ""; position: absolute; top: 28px; left: calc(100% / 8); right: calc(100% / 8); height: 2px; background: linear-gradient(90deg, var(--border) 0%, var(--primary) 50%, var(--border) 100%); z-index: 0; }

.method-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; position: relative; z-index: 1; }

.ms-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border);
  font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 800;
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-bottom: 1.25rem; position: relative;
  transition: background var(--dur), border-color var(--dur), box-shadow var(--dur);
  box-shadow: 0 0 0 6px var(--bg);
}
.method-step:hover .ms-num { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 0 0 6px var(--bg), 0 4px 16px var(--primary-glow); }

.ms-connector { display: none; }

.ms-card { background: transparent; }
.ms-card h3 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .45rem; }
.ms-card p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* Second row of methodology (steps 5-7) */
@media (min-width: 900px) {
  .method-step:nth-child(n+5) { margin-top: 2.5rem; }
}

/* ── 13. Tech ────────────────────────────────────────────── */
.tech { background: var(--bg-alt); }
.tech-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2rem; }
.tg-title { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.tg-list { display: flex; flex-direction: column; gap: .5rem; }

.tech-pill { padding: .6rem 1rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 600; border: 1px solid; transition: transform var(--dur), box-shadow var(--dur); }
.tech-pill:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.tp-blue   { background: rgba(37,99,235,.08);   color: var(--c-blue);   border-color: rgba(37,99,235,.2); }
.tp-amber  { background: rgba(217,119,6,.08);   color: var(--c-amber);  border-color: rgba(217,119,6,.2); }
.tp-green  { background: rgba(22,163,74,.08);   color: var(--c-green);  border-color: rgba(22,163,74,.2); }
.tp-purple { background: rgba(124,58,237,.08);  color: var(--c-purple); border-color: rgba(124,58,237,.2); }

/* ── 14. Pricing ─────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; margin-top: .5rem; }

.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.25rem;
  display: flex; flex-direction: column; gap: 1.75rem;
  position: relative;
  transition: box-shadow var(--dur), transform var(--dur);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.pricing-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-md);
}
.pricing-featured:hover { transform: translateY(-6px); }

.pc-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: 100px; white-space: nowrap;
}

.pc-header { display: flex; align-items: flex-start; gap: 1rem; }
.pc-icon { width: 44px; height: 44px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 9px; color: var(--primary); flex-shrink: 0; }
.pc-icon svg { width: 100%; height: 100%; }
.pc-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .3rem; }
.pc-desc { font-size: .85rem; color: var(--muted); line-height: 1.5; }

.pc-features { display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.pc-features li { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; color: var(--text-2); line-height: 1.4; }
.pc-features li.fc-no { color: var(--muted); opacity: .6; }
.fc-check { color: var(--success); font-weight: 700; font-size: .85rem; flex-shrink: 0; line-height: 1.4; }
.fc-no > span:first-child { color: var(--muted); flex-shrink: 0; line-height: 1.4; }

/* ── 15. Contact ─────────────────────────────────────────── */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }

.contact-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.contact-copy > p { color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }

.contact-trust { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.contact-trust li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--text-2); }
.ct-icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.ct-icon svg { width: 100%; height: 100%; }

.contact-channels { display: flex; flex-direction: column; gap: .65rem; }
.channel-link { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; color: var(--muted); transition: color var(--dur); }
.channel-link:hover { color: var(--primary); }
.channel-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; box-shadow: var(--shadow-md); }

.feedback-form { margin-top: 1.25rem; padding-top: 1.75rem; }
.feedback-copy h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feedback-copy p { color: var(--muted); font-size: .88rem; line-height: 1.6; }

.feedback-wall {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.feedback-wall-header { margin-bottom: 1rem; }
.feedback-wall-header h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feedback-wall-header p { color: var(--muted); font-size: .88rem; }
.feedback-list { display: grid; gap: .9rem; }
.feedback-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1.05rem;
}
.feedback-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .55rem;
}
.feedback-rating { color: #d97706; letter-spacing: .06em; }
.feedback-date { color: var(--muted); font-size: .8rem; }
.feedback-text { color: var(--text-2); line-height: 1.65; }
.feedback-empty {
  color: var(--muted);
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--text); }
.form-required { color: var(--primary); }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: "Inter", sans-serif; font-size: .9rem;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: .75rem 1rem;
  color: var(--text); width: 100%;
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
  -webkit-appearance: none; appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-glow); background: var(--surface); }
.form-group textarea { resize: vertical; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235e7898' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.contact-form button[disabled] { opacity: .85; cursor: not-allowed; transform: none; }

.form-status {
  min-height: 1.2rem;
  margin-top: -.25rem;
  font-size: .84rem;
  font-weight: 600;
  text-align: center;
}
.form-status.is-info { color: var(--muted); }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: #dc2626; }

.form-disclaimer { font-size: .78rem; color: var(--muted); text-align: center; }

/* ── 16. Admin ───────────────────────────────────────────── */
.admin-wrap { max-width: 1200px; }
.admin-head { margin-bottom: 1.5rem; }
.admin-head h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .45rem; }
.admin-head p { color: var(--muted); }

.admin-auth {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .85rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.admin-card h2 { font-size: 1.1rem; margin-bottom: .75rem; }
.admin-list { display: grid; gap: .75rem; max-height: 62vh; overflow: auto; padding-right: .2rem; }
.admin-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: .85rem;
}
.admin-item h3 { font-size: .98rem; margin-bottom: .35rem; }
.admin-item-meta { color: var(--muted); font-size: .8rem; margin-bottom: .3rem; }
.admin-item-text { color: var(--text-2); font-size: .9rem; line-height: 1.6; }

/* ── 17. Footer ──────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: .5rem; }
.footer-brand p { font-size: .8rem; color: var(--muted); }
.footer-nav { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.footer-nav a { font-size: .85rem; color: var(--muted); transition: color var(--dur); }
.footer-nav a:hover { color: var(--primary); }
.footer-copy { text-align: right; }
.footer-copy p { font-size: .8rem; color: var(--muted); }

/* ── 18. Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .problems-grid { grid-template-columns: repeat(3, 1fr); }
  .project-card { grid-template-columns: 360px 1fr; }
  .method-track { grid-template-columns: repeat(4, 1fr); }
  .tech-groups { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .method-track { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .method-track::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid .pricing-card:last-child { grid-column: span 2; max-width: 500px; margin: 0 auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .project-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-auth { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
  .hero-stats li { padding: .5rem 1rem; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--border); }
}

@media (max-width: 560px) {
  .services-grid,
  .problems-grid,
  .pricing-grid,
  .method-track,
  .tech-groups { grid-template-columns: 1fr; }
  .pricing-grid .pricing-card:last-child { grid-column: auto; max-width: none; }
}

@media (min-width: 1400px) {
  .hero h1 { font-size: 4.2rem; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .problems-grid { grid-template-columns: repeat(4, 1fr); }
}