/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:        oklch(11% 0.015 240);
  --surface:   oklch(16% 0.015 240);
  --surface2:  oklch(20% 0.015 240);
  --border:    oklch(28% 0.015 240);
  --accent:    oklch(75% 0.18 250);
  --accent-dim:oklch(75% 0.10 250);
  --text:      oklch(96% 0.008 85);
  --muted:     oklch(58% 0.01 240);
  --font-display: 'PT Sans', sans-serif;
  --font-body:    'PT Sans', sans-serif;
  --font-cond:    'PT Sans Narrow', sans-serif;
  --r: 6px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .3s, backdrop-filter .3s, border-bottom .3s;
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.5);
}
nav.scrolled {
  background: oklch(11% 0.015 240 / .92);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  display: flex; align-items: center; gap: .6rem;
}
.nav-logo span { color: var(--accent); }
.nav-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-lang {
  display: flex; gap: 1rem;
}
.nav-lang a {
  font-size: .8rem;
  font-family: var(--font-cond);
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color .2s;
  padding: .25rem .5rem;
  border-radius: 4px;
}
.nav-lang a.active, .nav-lang a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 600 !important;
  padding: .55rem 1.25rem !important;
  border-radius: var(--r) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: .85rem !important;
  transition: opacity .2s !important;
}
.nav-cta:hover { opacity: .85; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  background: none; border: none; color: var(--text);
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 5rem 2rem 2rem;
  flex-direction: column; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-lang {
  display: flex; gap: 1rem; margin-top: 1rem;
}
.mobile-lang a {
  font-size: 1rem !important;
  font-family: var(--font-cond) !important;
  font-weight: 600;
  color: var(--muted) !important;
  border: none !important;
  padding: 0 !important;
}

/* ── HERO ───────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, oklch(11% 0.015 240 / .92) 40%, oklch(11% 0.015 240 / .6) 100%),
    url('../assety/uploads/bg-ex.jpg') center/cover no-repeat;
  pointer-events: none;
}
.hero-grid-line {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .2;
  pointer-events: none;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 0 4rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; align-self: center;
  font-family: var(--font-cond);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero-badge::before {
  content: '';
  display: block; width: 24px; height: 1px;
  background: var(--accent);
}
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.0;
  letter-spacing: -.03em;
  text-wrap: balance;
  margin-bottom: 1.75rem;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 720px;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: var(--r);
  transition: opacity .2s, transform .2s;
  cursor: pointer;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-ghost {
  border: 1.5px solid var(--accent);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: var(--r);
  transition: border-color .2s, background .2s, color .2s;
  background: #41b3ff;
}
.btn-ghost:hover { background: oklch(75% 0.18 250 / .12); }

.hero-stats {
  display: flex; gap: 3rem; padding: 2.5rem 0; justify-content: center;
  border-top: 1px solid var(--border);
  position: relative;
}
.stat-item {}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-label {
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}

/* ── SECTION BASE ───────────────────────────────────────── */
section { padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem); }
.section-tag {
  font-family: var(--font-cond);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.section-tag::before {
  content: '';
  display: block; width: 20px; height: 1px;
  background: var(--accent);
}
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
}
h2 em { font-style: normal; color: var(--accent); }

/* ── ABOUT ──────────────────────────────────────────────── */
#about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-text p {
  color: var(--muted);
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.75;
}
.about-text strong { color: var(--text); }
.about-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 3rem;
}
.pillar {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: border-color .2s, background .2s;
  cursor: default;
}
.pillar:hover { border-color: var(--accent-dim); background: var(--surface); }
.pillar-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: oklch(83% 0.18 92 / .12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .75rem;
}
.pillar-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pillar h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.pillar p { font-size: .95rem; color: var(--muted); line-height: 1.5; }

.about-visual {
  position: relative;
}
.about-card-main {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-card-main .placeholder {
  text-align: center;
}
/* Placeholder striped visual */
.img-placeholder {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      var(--surface) 0,
      var(--surface) 10px,
      var(--surface2) 10px,
      var(--surface2) 20px
    );
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.img-placeholder span {
  font-family: var(--font-cond);
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--muted);
  background: var(--bg);
  padding: .5rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.about-badge-float {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-family: var(--font-display);
}
.about-badge-float .num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge-float .lbl {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-top: .2rem;
}

/* ── SERVICES ───────────────────────────────────────────── */
#services { max-width: 1600px; margin: 0 auto; }
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem; gap: 2rem; flex-wrap: wrap;
}
.services-header p {
  color: var(--muted);
  max-width: 360px;
  font-size: .95rem;
  line-height: 1.7;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background .25s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover { background: var(--surface); }
.service-card:hover::after { transform: scaleX(1); }
.service-num {
  font-family: var(--font-cond);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 2rem;
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: oklch(83% 0.18 92 / .10);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background .25s;
}
.service-card:hover .service-icon { background: oklch(83% 0.18 92 / .18); }
.service-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.service-card ul {
  display: flex; flex-direction: column; gap: .6rem;
}
.service-card ul li {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}
.service-card ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--accent);
  font-size: .7rem;
  top: .18em;
}

/* ── WHY US ─────────────────────────────────────────────── */
#why {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.why-list {
  display: flex; flex-direction: column; gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-item {
  min-width: 0;
  display: flex; gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  transition: border-color .2s;
}
.why-item:hover { border-color: var(--accent-dim); }
.why-item-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 8px;
  background: oklch(83% 0.18 92 / .10);
  display: flex; align-items: center; justify-content: center;
}
.why-item-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-item-text h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: .35rem;
}
.why-item-text p { font-size: .95rem; color: var(--muted); line-height: 1.6; }
.why-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.why-vis-card {
  min-width: 0;
  word-break: break-word;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem 1.5rem;
  text-align: center;
}
.why-vis-card .big {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.04em;
  line-height: 1;
}
.why-vis-card .lbl {
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .4rem;
}
.why-vis-card.accent-card {
  background: var(--accent);
  border-color: var(--accent);
  grid-column: span 2;
}
.why-vis-card.accent-card .big { color: var(--bg); font-size: 3.5rem; }
.why-vis-card.accent-card .lbl { color: oklch(11% 0.015 240 / .7); }

/* ── CONTACT ────────────────────────────────────────────── */
#contact { max-width: 1200px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.contact-info {
  display: contents;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  transition: border-color .2s;
}
.contact-item:hover { border-color: var(--accent-dim); }
.contact-item-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: oklch(75% 0.18 250 / .10);
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-label {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .25rem;
  font-family: var(--font-cond);
  font-weight: 600;
}
.contact-item-value {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}
.contact-item-value a { color: var(--accent); transition: opacity .2s; }
.contact-item-value a:hover { opacity: .75; }
.billing-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem;
}
.billing-box h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  font-size: .75rem;
}
.billing-box p { font-size: .9rem; line-height: 1.7; color: var(--muted); }
.billing-box strong { color: var(--text); }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -.02em;
  margin-bottom: 1.75rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.form-field label {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--font-cond);
}
.form-field input,
.form-field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .75rem 1rem;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}
.form-field textarea { min-height: 120px; }
.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--r);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: .9rem;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  margin-top: .5rem;
}
.form-submit:hover { opacity: .85; transform: translateY(-1px); }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
.footer-logo span { color: var(--text); }
footer p {
  font-size: .8rem;
  color: var(--muted);
}
.footer-links {
  display: flex; gap: 2rem;
}
.footer-links a {
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-cond);
  font-weight: 600;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }


.service-card-img {
  width: calc(100% + 4rem);
  margin: -2.5rem -2rem 2rem;
  height: 180px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.service-card:hover .service-card-img img {
  transform: scale(1.04);
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; }
.anim.visible { animation: fadeUp .65s ease forwards; }
.anim-d1 { animation-delay: .1s; }
.anim-d2 { animation-delay: .2s; }
.anim-d3 { animation-delay: .3s; }
.anim-d4 { animation-delay: .4s; }

/* ── TWEAKS PANEL ───────────────────────────────────────── */
#tweaks-panel {
  display: none;
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  width: 280px;
  box-shadow: 0 20px 60px oklch(0% 0 0 / .5);
}
#tweaks-panel.open { display: block; }
#tweaks-panel h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 1rem;
  display: flex; justify-content: space-between; align-items: center;
}
#tweaks-panel h5 span { color: var(--muted); font-size: .75rem; font-weight: 400; }
.tweak-row {
  margin-bottom: 1rem;
}
.tweak-row label {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: .4rem;
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tweak-row input[type=range] {
  width: 100%;
  accent-color: var(--accent);
}
.tweak-swatches {
  display: flex; gap: .5rem;
}
.swatch {
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; border: 2px solid transparent;
  transition: border-color .2s;
}
.swatch.active { border-color: var(--text); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge-float { right: 0; bottom: -1rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .why-visual { grid-template-columns: 1fr 1fr; }
  .why-vis-card { padding: 1.25rem 1rem; }
  .why-vis-card .big { font-size: 2rem; }
  .why-vis-card.accent-card { grid-column: span 2; }
  .why-item { flex-direction: column; gap: .75rem; }

  .why-list { gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { display: none; }
  .about-pillars { grid-template-columns: 1fr; }
  footer { justify-content: center; text-align: center; }
  #why { overflow: hidden; }
  .why-grid { gap: 2.5rem; }
}