/* ============================================================
   ЛАЗЕР · 7 — modern red-corporate restyle
   ============================================================ */

:root {
  --red: #e0392b;
  --red-deep: #c12a1f;
  --red-soft: #fbe9e7;

  --bg: #ffffff;
  --bg-soft: #f5f5f6;
  --bg-mute: #eeeef0;
  --paper: #ffffff;

  --ink: #26262b;
  --ink-soft: #595962;
  --ink-muted: #9a9aa3;
  --rule: #e6e6e9;
  --rule-soft: #f0f0f2;

  --dark: #1d1d22;
  --dark-2: #141418;
  --on-dark: #f3f3f5;

  --shadow-sm: 0 1px 2px rgba(20,20,30,0.05);
  --shadow-md: 0 12px 34px -22px rgba(20,20,30,0.35);
  --shadow-lg: 0 30px 70px -40px rgba(20,20,30,0.5);
  --shadow-card: 0 18px 40px -28px rgba(20,20,30,0.4);

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --maxw: 1240px;
}

/* accent variants (Tweaks) */
.accent-red     { --red: #e0392b; --red-deep: #c12a1f; --red-soft: #fbe9e7; }
.accent-amber   { --red: #e8821e; --red-deep: #c06410; --red-soft: #fbeede; }
.accent-blue    { --red: #1f6fdb; --red-deep: #1657ad; --red-soft: #e6eefb; }
.accent-green   { --red: #1f9d57; --red-deep: #167a43; --red-soft: #e4f4ea; }
.accent-graphite{ --red: #3a3a42; --red-deep: #26262b; --red-soft: #ededf0; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; }

/* ---------- type ------------------------------------------------ */

.font-display {
  font-family: "Montserrat", "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.h-display {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.h-section {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.h-card {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

/* ---------- layout primitives ----------------------------------- */

.container, .container-wide {
  width: min(var(--maxw), 100% - 2.5rem);
  margin-inline: auto;
}
.section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.bg-soft { background: var(--bg-soft); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--rule);
}
.tag-burn { color: var(--red); background: var(--red-soft); border-color: color-mix(in oklab, var(--red) 25%, var(--rule)); }
.tag-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); display: inline-block;
}

/* ---------- buttons --------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -14px var(--red); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--rule); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-burn { background: var(--red); color: #fff; }
.btn-burn:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn .arrow { display: inline-flex; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- top utility bar ------------------------------------- */

.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0;
  width: min(var(--maxw), 100% - 2.5rem);
  margin-inline: auto;
}
.topbar .tb-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar .tb-item svg { width: 14px; height: 14px; color: var(--red); }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 1.4rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar .tb-phone { font-weight: 700; color: var(--ink); white-space: nowrap; }
.topbar .tb-call {
  color: var(--red); font-weight: 700; text-transform: uppercase;
  font-size: 0.7rem; letter-spacing: 0.06em; white-space: nowrap;
}
.topbar .tb-call:hover { text-decoration: underline; }
.topbar .tb-lang { display: inline-flex; gap: 0.4rem; }
.topbar .tb-lang button {
  background: none; border: 0; cursor: pointer; padding: 0;
  font: inherit; font-weight: 700; color: var(--ink-muted);
}
.topbar .tb-lang button.is-active { color: var(--red); }
@media (max-width: 860px) {
  .topbar .tb-left .tb-address, .topbar .tb-hours { display: none; }
}

/* ---------- nav ------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.9rem 0;
  width: min(var(--maxw), 100% - 2.5rem);
  margin-inline: auto;
}
.nav-mark { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.nav-logo {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink);
}
.nav-logo .bar { width: 3px; height: 20px; background: var(--red); display: inline-block; }
.nav-logo .accent { color: var(--red); }

.nav-links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1080px) { .nav-links { display: none; } }
.nav-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--red); }

.nav-right { display: flex; align-items: center; gap: 0.7rem; }
.nav-contacts { display: flex; gap: 0.4rem; }

/* hamburger */
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1080px) { .nav-burger { display: flex; } }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mm-backdrop {
  position: absolute; inset: 0;
  background: rgba(20,20,26,0.5);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.25s;
}
.mobile-menu.is-open .mm-backdrop { opacity: 1; }
.mm-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.4rem 2rem;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.1, 1);
  overflow-y: auto;
}
.mobile-menu.is-open .mm-panel { transform: translateX(0) !important; }
.mm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); margin-bottom: 1rem;
}
.mm-close {
  width: 38px; height: 38px; border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--bg); font-size: 1.5rem; line-height: 1; color: var(--ink); cursor: pointer;
}
.mm-links { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; }
.mm-links li { border-bottom: 1px solid var(--rule-soft); }
.mm-links a {
  display: block; padding: 0.95rem 0.2rem;
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.05rem;
  color: var(--ink); text-decoration: none;
}
.mm-links a:active, .mm-links a:hover { color: var(--red); }
.mm-lang { display: flex; gap: 0.5rem; margin-bottom: 1.1rem; }
.mm-lang button {
  flex: 1; padding: 0.6rem; border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--bg); font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; color: var(--ink-muted); cursor: pointer;
}
.mm-lang button.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.mm-phone {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff; text-decoration: none;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.mm-phone svg { width: 17px; height: 17px; }
.mm-channels { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-bottom: 1.2rem; }
.channel-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 0.75rem 0.4rem; border: 1px solid var(--rule); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink);
  font-family: "Montserrat", sans-serif; font-size: 0.62rem; font-weight: 600;
}
.channel-btn svg { width: 22px; height: 22px; }
.channel-btn.tg { color: #229ED9; } .channel-btn.vb { color: #7B519D; } .channel-btn.wa { color: #25D366; }
.channel-btn span { color: var(--ink-soft); }
.mm-info { margin-top: auto; display: grid; gap: 0.5rem; font-size: 0.82rem; color: var(--ink-muted); }
.mm-info div { display: flex; align-items: flex-start; gap: 0.5rem; }
.mm-info svg { width: 15px; height: 15px; color: var(--red); flex: none; margin-top: 2px; }

.nav-contact {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  border: 1px solid var(--rule); color: var(--ink-soft);
  background: var(--bg); text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s;
}
.nav-contact svg { width: 17px; height: 17px; }
.nav-contact:hover { transform: translateY(-1px); color: #fff; }
.nav-contact.tg:hover { background: #229ED9; border-color: #229ED9; }
.nav-contact.vb:hover { background: #7B519D; border-color: #7B519D; }
.nav-contact.wa:hover { background: #25D366; border-color: #25D366; }

/* lang toggle kept for in-nav fallback (hidden, topbar carries it) */
.lang-toggle { display: none; }

/* ---------- hero (3 service cards) ------------------------------ */

.hero {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
}

/* standard two-column hero */
.hero-main {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 880px) { .hero-main { grid-template-columns: 1fr; gap: 2rem; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }

.hero-h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-h1 span { display: block; }
.hero-h1 .accent { color: var(--red); }

.hero-lede {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.hero-btns {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-trust {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.6rem);
  flex-wrap: wrap;
}
.hero-trust .ht-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-trust .n {
  font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: 1.6rem; line-height: 1; color: var(--ink);
}
.hero-trust .l {
  font-family: "Montserrat", sans-serif; font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted);
}

.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--bg-mute);
  box-shadow: var(--shadow-card);
}
@media (max-width: 880px) { .hero-figure { aspect-ratio: 16 / 11; } }
.hero-figure-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-figure-tag {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(20,20,26,0.78); color: #fff;
  backdrop-filter: blur(6px);
  padding: 0.5rem 0.9rem; border-radius: 999px;
  font-family: "Montserrat", sans-serif; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-figure-tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--red) 30%, transparent);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 880px) { .hero-cards { grid-template-columns: 1fr; } }

.hero-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
  color: #fff;
  isolation: isolate;
}
@media (max-width: 880px) { .hero-card { aspect-ratio: 16 / 10; } }

.hero-card .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-card .bg-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.22);
}
.hero-card .bg-fallback svg { width: 45%; height: 45%; }
.hero-card.tone-1 .bg-fallback { background: linear-gradient(150deg, #3a3a42, #16161a); }
.hero-card.tone-2 .bg-fallback { background: linear-gradient(150deg, #4a2420, #18100e); }
.hero-card.tone-3 .bg-fallback { background: linear-gradient(150deg, #2c3440, #121518); }
.hero-card .grid-tex {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 60% 30%, #000 0%, transparent 75%);
}
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15,15,18,0.85) 100%);
  z-index: 1;
}
.hero-card .card-body {
  position: relative; z-index: 2;
  padding: 1.6rem;
  width: 100%;
}
.hero-card .card-title {
  font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em;
}
.hero-card .card-sub {
  font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 0.35rem;
}
.hero-card .card-btn {
  margin-top: 1.1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red); color: #fff;
  font-family: "Montserrat", sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.18s, gap 0.18s;
}
.hero-card .card-btn:hover { background: var(--red-deep); gap: 0.8rem; }

.float-btn {
  position: absolute;
  right: calc((100% - min(var(--maxw), 100% - 2.5rem)) / 2 - 4px);
  bottom: -22px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff; border: 0;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 14px 30px -10px var(--red);
  z-index: 5; transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.08); }
@media (max-width: 1300px) { .float-btn { right: 1.2rem; } }

/* ---------- section header (centered, red underline) ------------ */

.section-head {
  text-align: center;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  max-width: 720px;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.section-head .idx {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red);
}
.section-head h2 { position: relative; padding-bottom: 1.1rem; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 56px; height: 3px; background: var(--red);
}
.section-head .lede { color: var(--ink-muted); font-size: 0.98rem; }

/* left-aligned variant */
.section-head.left { text-align: left; align-items: flex-start; margin-left: 0; max-width: none; }
.section-head.left h2::after { left: 0; transform: none; }

/* ---------- advantages / УТП ----------------------------------- */

.adv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 900px) { .adv { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .adv { grid-template-columns: 1fr; } }

.adv-cell {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.adv-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.adv-cell::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  border-style: solid; border-width: 0 0 22px 22px;
  border-color: transparent transparent var(--rule) transparent;
  transition: border-color 0.2s;
}
.adv-cell:hover::after { border-color: transparent transparent var(--red) transparent; }
.adv-cell .ico { color: var(--ink); margin-bottom: 0.2rem; transition: color 0.2s; }
.adv-cell:hover .ico { color: var(--red); }
.adv-cell .ico svg { width: 38px; height: 38px; }
.adv-cell h3 {
  font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.adv-cell p { margin: 0; font-size: 0.86rem; color: var(--ink-muted); line-height: 1.55; }
.adv-cell .num { display: none; }

/* ---------- about + experience --------------------------------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

.about-visual { position: relative; }
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}
.about-photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark);
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.2);
}
.about-photo.big { grid-column: span 2; aspect-ratio: 16 / 9; }
.about-photo svg { width: 38%; height: 38%; }
.about-photo .grid-tex {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.exp-badge {
  position: absolute;
  left: -10px; bottom: -18px;
  background: var(--red); color: #fff;
  padding: 1.1rem 1.3rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.exp-badge .y {
  font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: 2.6rem; line-height: 0.9;
}
.exp-badge .y sup { font-size: 1.2rem; }
.exp-badge .l {
  font-family: "Montserrat", sans-serif; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.3rem;
}
.exp-dots {
  position: absolute; right: 18px; bottom: 18px;
  width: 60px; height: 36px;
  background-image: radial-gradient(var(--red) 1.5px, transparent 1.5px);
  background-size: 11px 11px; opacity: 0.6; z-index: 3;
}

.about-body .tagline {
  font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 1.15rem; color: var(--ink); margin: 0.6rem 0 1.2rem;
}
.about-body p { margin: 0 0 0.9rem; color: var(--ink-soft); font-size: 0.96rem; }
.about-services {
  list-style: none; margin: 1.2rem 0 1.6rem; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.2rem;
}
@media (max-width: 520px) { .about-services { grid-template-columns: 1fr; } }
.about-services li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.92rem; color: var(--ink);
}
.about-services li::before {
  content: ""; width: 7px; height: 7px; background: var(--red);
  border-radius: 2px; flex: none;
}

/* ---------- portfolio ------------------------------------------ */

.portfolio-controls {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem; align-items: center; justify-content: space-between;
}
.cat-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat-pill {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.55rem 1rem; border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink-soft); cursor: pointer;
  transition: all 0.15s;
}
.cat-pill:hover { border-color: var(--ink); color: var(--ink); }
.cat-pill.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.cat-pill .count { margin-left: 0.45rem; opacity: 0.65; font-size: 0.68rem; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
@media (max-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

.work {
  position: relative; background: var(--bg);
  border: 1px solid var(--rule); border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.work:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.work-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-mute); }
.work-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work:hover .work-img img { transform: scale(1.04); }
.work-zoom {
  position: absolute; right: 0.65rem; bottom: 0.65rem; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(20,20,26,0.6); color: #fff;
  display: grid; place-items: center;
  opacity: 0; transform: scale(0.85);
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  pointer-events: none;
}
.work:hover .work-zoom { opacity: 1; transform: scale(1); }
.work-zoom svg { width: 17px; height: 17px; }
.work-meta { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.4rem; }
.work-meta .top { display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.work-meta .cat {
  font-family: "Montserrat", sans-serif; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--red);
}
.work-meta .mat { font-size: 0.82rem; color: var(--ink-muted); line-height: 1.4; }

.work-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.work-placeholder svg { width: 52%; height: 52%; }
.work.tone-warm .work-img  { background: linear-gradient(155deg, #d9b585, #a8794d); color: #fff; }
.work.tone-deep .work-img  { background: linear-gradient(155deg, #4a352a, #221812); color: rgba(255,255,255,0.85); }
.work.tone-light .work-img { background: linear-gradient(155deg, #eceae6, #c9c6bf); color: #6a655c; }
.work.tone-dark .work-img  { background: linear-gradient(155deg, #2a2a30, #131316); color: rgba(255,255,255,0.7); }
.work.tone-bright .work-img{ background: linear-gradient(155deg, #ef6b52, #c12a1f); color: #fff; }

.work-add-card { border: 0; background: transparent; grid-column: 1 / -1; }
.work-add {
  border: 2px dashed var(--rule); background: transparent;
  display: flex; align-items: center; justify-content: center; min-height: 130px;
  border-radius: var(--radius-md); cursor: pointer; color: var(--ink-muted);
  font-family: inherit; flex-direction: column; gap: 0.5rem; padding: 1.5rem; text-align: center;
  transition: border-color 0.15s, color 0.15s;
}
.work-add:hover { border-color: var(--red); color: var(--red); }
.work-add .plus {
  width: 40px; height: 40px; border: 1.5px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem;
}
.work-add .lbl {
  font-family: "Montserrat", sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.work-add .sub { font-size: 0.78rem; color: var(--ink-muted); }

.user-badge {
  position: absolute; top: 0.65rem; left: 0.65rem;
  background: var(--red); color: #fff;
  font-family: "Montserrat", sans-serif; font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.25rem 0.5rem;
  border-radius: var(--radius-xs); z-index: 2;
}

/* upload modal */
.modal-back {
  position: fixed; inset: 0; background: rgba(20,20,26,0.55); z-index: 200;
  display: grid; place-items: center; padding: 1.5rem; backdrop-filter: blur(6px);
}
.modal {
  background: var(--bg); border-radius: var(--radius-lg); width: min(520px, 100%);
  padding: 1.75rem; box-shadow: var(--shadow-lg); border: 1px solid var(--rule);
}
.modal h3 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; }
.modal label {
  display: block; font-family: "Montserrat", sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin: 1.1rem 0 0.4rem;
}
.modal input[type="text"], .modal select {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--rule); border-radius: var(--radius-sm);
  background: var(--bg); font-family: inherit; font-size: 0.95rem; color: var(--ink);
}
.modal input[type="text"]:focus, .modal select:focus { outline: 2px solid var(--red); border-color: var(--red); }
.modal .drop {
  margin-top: 0.4rem; border: 2px dashed var(--rule); border-radius: var(--radius-md);
  padding: 1.5rem; text-align: center; cursor: pointer; color: var(--ink-muted); transition: all 0.15s;
}
.modal .drop.is-over { border-color: var(--red); color: var(--red); }
.modal .drop img { max-width: 100%; max-height: 200px; border-radius: var(--radius-sm); display: block; margin: 0 auto; }
.modal-foot { margin-top: 1.5rem; display: flex; gap: 0.6rem; justify-content: flex-end; }

/* show more */
.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-muted);
  font-size: 1rem;
  border: 1px dashed var(--rule);
  border-radius: var(--radius-md);
}
.portfolio-more { display: flex; justify-content: center; margin-top: 2.2rem; }
.portfolio-more .btn { min-width: 220px; justify-content: center; }
.portfolio-more .more-count { opacity: 0.7; font-weight: 600; }

/* ---------- lightbox ------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,10,14,0.92);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem clamp(1rem, 3vw, 2rem);
  color: #fff; z-index: 2;
}
.lb-counter {
  font-family: "Montserrat", sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.lb-close {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 0; color: #fff; cursor: pointer;
  display: grid; place-items: center; font-size: 1.6rem; line-height: 1;
  transition: background 0.2s;
}
.lb-close:hover { background: var(--red); }
.lb-stage {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(0.5rem, 6vw, 5rem) 0.5rem;
  min-height: 0;
}
.lb-media {
  max-width: 100%; max-height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lb-media img, .lb-media video {
  max-width: min(1100px, 92vw); max-height: 72vh;
  width: auto; height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
  object-fit: contain;
  background: #000;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 0; color: #fff; cursor: pointer;
  display: grid; place-items: center; z-index: 3;
  transition: background 0.2s;
}
.lb-nav:hover { background: var(--red); }
.lb-nav svg { width: 24px; height: 24px; }
.lb-nav.prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lb-nav.next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lb-cap {
  text-align: center; color: #fff; padding: 1rem clamp(1rem, 3vw, 2rem) 1.4rem;
  z-index: 2;
}
.lb-cap .lb-catlabel {
  font-family: "Montserrat", sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.lb-cap .lb-title {
  font-family: "Montserrat", sans-serif; font-size: 1.1rem; font-weight: 700;
  margin-top: 0.35rem;
}
.lb-cap .lb-mat { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.2rem; }
/* thumbnail strip */
.lb-thumbs {
  display: flex; gap: 0.5rem; justify-content: center; flex-wrap: nowrap;
  overflow-x: auto; padding: 0 1rem 1.2rem; z-index: 2;
  scrollbar-width: none;
}
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb {
  flex: 0 0 auto; width: 56px; height: 44px; border-radius: 6px;
  overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.5;
  background: #222; padding: 0;
  transition: opacity 0.2s, border-color 0.2s;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb.is-active { opacity: 1; border-color: var(--red); }
.lb-thumb:hover { opacity: 0.9; }
@media (max-width: 600px) {
  .lb-nav { width: 42px; height: 42px; }
  .lb-media img, .lb-media video { max-height: 62vh; }
}

/* ---------- prices --------------------------------------------- */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius-md);
  padding: 1.75rem; display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.price-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.price-card h3 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.15rem; text-transform: uppercase; }
.price-card .unit {
  font-family: "Montserrat", sans-serif; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); margin: 0.35rem 0 1.1rem;
}
.price-card ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.price-card li {
  display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule); font-size: 0.93rem;
}
.price-card li:last-child { border-bottom: 0; }
.price-card li .price { font-weight: 800; color: var(--ink); }
.price-note { margin-top: 1.5rem; font-size: 0.92rem; color: var(--ink-soft); max-width: 52rem; text-align: center; margin-inline: auto; }

/* ---------- materials ------------------------------------------ */

.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .mat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .mat-grid { grid-template-columns: 1fr; } }
.mat {
  border: 1px solid var(--rule); border-radius: var(--radius-md); overflow: hidden;
  background: var(--bg); transition: transform 0.2s, box-shadow 0.2s;
}
.mat:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.mat-swatch { aspect-ratio: 5 / 3; position: relative; overflow: hidden; }
.mat-swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,20,26,0.18) 100%); }
.mat-body { padding: 0.95rem 1.05rem 1.1rem; }
.mat-body .name { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1rem; }
.mat-body .note { margin-top: 0.2rem; font-size: 0.8rem; color: var(--ink-muted); }
.mat-tags { display: flex; gap: 0.35rem; margin-top: 0.7rem; }
.mat-tag {
  font-family: "Montserrat", sans-serif; font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.22rem 0.45rem;
  border-radius: var(--radius-xs); border: 1px solid var(--rule); color: var(--ink-muted);
}
.mat-tag.on { color: var(--red); border-color: color-mix(in oklab, var(--red) 30%, var(--rule)); background: var(--red-soft); }

.sw-wood     { background: repeating-linear-gradient(90deg, #c8956b 0, #c8956b 4px, #b6845c 4px, #b6845c 8px, #c8956b 8px), linear-gradient(180deg, #d6a576, #a87a52); background-blend-mode: multiply; }
.sw-mdf      { background: linear-gradient(180deg, #b89a76, #8b6f4d); }
.sw-oak      { background: repeating-linear-gradient(95deg, #d8b78a 0, #d8b78a 6px, #c9a577 6px, #c9a577 12px); }
.sw-acrylic  { background: linear-gradient(135deg, rgba(180,210,230,0.7), rgba(120,160,200,0.5)), #284060; }
.sw-plastic  { background: linear-gradient(180deg, #1a1a1a, #404040); }
.sw-fabric   { background: repeating-linear-gradient(90deg, transparent 0, transparent 3px, rgba(255,255,255,0.18) 3px, rgba(255,255,255,0.18) 4px), repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255,255,255,0.18) 3px, rgba(255,255,255,0.18) 4px), linear-gradient(180deg, #d8c3a6, #b69a72); }
.sw-leather  { background: radial-gradient(circle at 30% 30%, #6b3a1a, #3a1a0a); }
.sw-cardboard{ background: repeating-linear-gradient(90deg, #c19a6b 0, #c19a6b 8px, #a98256 8px, #a98256 10px); }
.sw-paper    { background: linear-gradient(180deg, #f5efe2, #d8cdb6); }
.sw-glass    { background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(190,230,240,0.4)), linear-gradient(180deg, #6c8fa0, #354b58); }
.sw-mirror   { background: linear-gradient(135deg, #e0e0e0 0%, #f7f7f7 30%, #b9b9b9 50%, #f7f7f7 70%, #cfcfcf 100%); }
.sw-stone    { background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 0, transparent 30%), radial-gradient(circle at 70% 60%, rgba(0,0,0,0.18) 0, transparent 40%), linear-gradient(180deg, #6a6a6a, #2c2c2c); }
.sw-metal    { background: linear-gradient(135deg, #8b8b8b 0%, #c5c5c5 30%, #6e6e6e 50%, #b5b5b5 70%, #5a5a5a 100%); }

/* ---------- equipment (dark) ----------------------------------- */

.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head .lede { color: rgba(243,243,245,0.6); }

.equip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .equip { grid-template-columns: 1fr; } }
.machine {
  background: var(--dark-2); color: var(--on-dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.2rem; position: relative; overflow: hidden;
}
.machine .role { font-family: "Montserrat", sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.machine h3 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; text-transform: uppercase; line-height: 1.1; }
.machine .viz { height: 120px; position: relative; border: 1px dashed rgba(255,255,255,0.16); border-radius: var(--radius-sm); overflow: hidden; }
.machine .viz .field-label { position: absolute; top: 0.5rem; left: 0.7rem; font-family: "Montserrat", sans-serif; font-size: 0.55rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); text-transform: uppercase; }
.machine .viz .bed { position: absolute; inset: 18% 14% 14% 14%; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.03); }
.machine .viz .laser-head { position: absolute; width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 12px var(--red); top: 28%; left: 36%; animation: head-move 6s linear infinite; }
@keyframes head-move { 0%{top:28%;left:36%} 25%{top:28%;left:78%} 50%{top:72%;left:78%} 75%{top:72%;left:36%} 100%{top:28%;left:36%} }
.machine .best { font-size: 0.9rem; color: rgba(243,243,245,0.7); line-height: 1.45; }
.machine .spec { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.12); display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.2rem; }
.machine .spec dt { font-family: "Montserrat", sans-serif; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.machine .spec dd { margin: 0.2rem 0 0; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.02rem; color: #fff; }

/* ---------- custom orders -------------------------------------- */

.lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1024px) { .lanes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lanes { grid-template-columns: 1fr; } }
.lane {
  background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius-md);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.lane:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.lane .tag-row { display: flex; align-items: baseline; justify-content: space-between; font-family: "Montserrat", sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.lane .tag-row .stat { color: var(--red); }
.lane h3 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; line-height: 1.15; }
.lane p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.flow { margin-top: 2.5rem; padding: 2rem; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--bg); }
.flow-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.8rem; }
.flow-head h3 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--ink); }
@media (max-width: 900px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }
.flow-step { padding: 1.25rem 1rem 0.25rem; border-right: 1px solid var(--rule); position: relative; }
.flow-step:last-child { border-right: 0; }
.flow-step::before { content: ""; position: absolute; top: -6px; left: 0; width: 9px; height: 9px; background: var(--red); border-radius: 50%; }
.flow-step .num { font-family: "Montserrat", sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--red); }
.flow-step .lbl { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1rem; text-transform: uppercase; margin: 0.3rem 0 0.4rem; }
.flow-step .note { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- red CTA banner (diagonal stripes) ------------------ */

.cta-banner {
  background: var(--red);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 2px, transparent 2px, transparent 14px);
  color: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cta-banner h2 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); text-transform: uppercase; line-height: 1.1; }
.cta-banner p { margin: 0.5rem 0 0; color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ---------- testimonial ---------------------------------------- */

.testi {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; align-items: stretch;
  border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
}
@media (max-width: 880px) { .testi { grid-template-columns: 1fr; } }
.testi-media {
  position: relative; min-height: 360px; background: var(--dark);
  display: grid; place-items: center; color: rgba(255,255,255,0.18);
}
.testi-media .grid-tex {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.testi-media svg.bg-motif { width: 30%; height: 30%; position: relative; }
.testi-play {
  position: absolute; z-index: 2; width: 64px; height: 64px; border-radius: 50%;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}
.testi-play:hover { transform: scale(1.08); }
.testi-play svg { width: 26px; height: 26px; margin-left: 3px; }
.testi-body {
  background: var(--bg); padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center; gap: 1.1rem;
}
.testi-body .qmark { color: var(--red); }
.testi-body .qmark svg { width: 40px; height: 40px; }
.testi-body blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; color: var(--ink); }
.testi-author { font-family: "Montserrat", sans-serif; }
.testi-author .name { font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }
.testi-author .role { color: var(--ink-muted); font-size: 0.82rem; }

/* ---------- FAQ ------------------------------------------------- */

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 0; } }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; text-align: left; font-family: "Manrope", sans-serif;
  font-size: 0.96rem; font-weight: 600; color: var(--ink);
}
.faq-q:hover { color: var(--red); }
.faq-q .ic {
  flex: none; width: 24px; height: 24px; border-radius: var(--radius-xs);
  display: grid; place-items: center; color: var(--red); position: relative;
  transition: transform 0.25s;
}
.faq-q .ic::before, .faq-q .ic::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
.faq-q .ic::before { width: 13px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 13px; transition: transform 0.25s, opacity 0.25s; }
.faq-item.open .faq-q .ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 1.15rem; }

/* ---------- location ------------------------------------------- */

.loc-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }
.map-card {
  position: relative; background: var(--dark); color: var(--on-dark);
  border-radius: var(--radius-md); overflow: hidden; min-height: 460px;
  padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between;
}
.map-canvas { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px), radial-gradient(circle at 70% 30%, color-mix(in oklab, var(--red) 40%, transparent) 0%, transparent 50%); background-size: 28px 28px, 28px 28px, 100% 100%; }
.map-roads { position: absolute; inset: 0; pointer-events: none; }
.map-pin { position: absolute; top: 32%; left: 58%; display: flex; flex-direction: column; align-items: center; }
.map-pin .ring { width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 0 0 8px color-mix(in oklab, var(--red) 25%, transparent); }
.map-pin .ring::after { content: ""; position: absolute; inset: -16px; border: 1px solid color-mix(in oklab, var(--red) 50%, transparent); border-radius: 50%; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0%{transform:scale(0.6);opacity:0.9} 100%{transform:scale(2.4);opacity:0} }
.map-pin .label { margin-top: 0.7rem; background: var(--red); color: #fff; font-family: "Montserrat", sans-serif; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: var(--radius-xs); white-space: nowrap; }
.map-overlay { position: relative; z-index: 2; }
.map-overlay .city { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.8rem; text-transform: uppercase; }
.map-overlay .row { display: flex; justify-content: space-between; font-family: "Montserrat", sans-serif; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 0.6rem; }
.map-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.map-footer .coord { font-family: "Montserrat", sans-serif; font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); }
.map-footer a { background: #fff; color: var(--dark); padding: 0.7rem 1.1rem; border-radius: var(--radius-sm); font-family: "Montserrat", sans-serif; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }

.loc-info { display: flex; flex-direction: column; gap: 1.25rem; }
.loc-rows { border-top: 2px solid var(--ink); }
.loc-row { display: grid; grid-template-columns: 130px 1fr; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.loc-row .k { font-family: "Montserrat", sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.loc-row .v { font-size: 0.95rem; color: var(--ink); }
.stage-strip { margin-top: 0.5rem; display: grid; gap: 0.6rem; }
.stage-strip .cell { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 0.85rem 1rem; background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius-sm); align-items: center; }
.stage-strip .cell .key { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; color: var(--red); }
.stage-strip .cell .val { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- contact (dark) ------------------------------------- */

.contact { background: var(--dark); color: var(--on-dark); padding: clamp(3.5rem, 6vw, 6rem) 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-inner { grid-template-columns: 1fr; } }
.contact h2 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.6rem); text-transform: uppercase; line-height: 1.1; color: #fff; }
.contact h2 .accent { color: var(--red); }
.contact .lede { color: rgba(243,243,245,0.65); font-size: 1rem; max-width: 28rem; margin-top: 1.2rem; }
.contact .direct { margin-top: 2rem; display: grid; gap: 0.7rem; }
.contact .direct a { color: #fff; text-decoration: none; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.3rem; border-bottom: 1px solid rgba(255,255,255,0.18); padding-bottom: 0.4rem; display: inline-block; transition: color 0.15s, border-color 0.15s; }
.contact .direct a:hover { color: var(--red); border-bottom-color: var(--red); }

.channels { display: grid; gap: 0.75rem; }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.2rem 1.4rem; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); background: rgba(255,255,255,0.03); text-decoration: none; color: #fff; transition: transform 0.2s, background 0.2s, border-color 0.2s; }
.channel:hover { transform: translateY(-2px); background: rgba(255,255,255,0.06); border-color: var(--red); }
.channel .icon { width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center; background: rgba(255,255,255,0.07); color: #fff; }
.channel .icon svg { width: 22px; height: 22px; }
.channel .body { flex: 1; }
.channel .name { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.05rem; }
.channel .handle { font-size: 0.78rem; color: rgba(243,243,245,0.6); margin-top: 0.15rem; }
.channel .note { font-size: 0.74rem; color: rgba(243,243,245,0.5); text-align: right; }
.channel .arrow { color: var(--red); }
.channel-tg { --c: #229ED9; } .channel-vb { --c: #7B519D; } .channel-wa { --c: #25D366; }
.channel:hover .icon { background: var(--c); }

.quick-form { margin-top: 0.5rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); background: rgba(255,255,255,0.03); display: grid; gap: 0.7rem; }
.quick-form .qf-title { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; }
.quick-form .qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
@media (max-width: 480px) { .quick-form .qf-row { grid-template-columns: 1fr; } }
.qf-input { padding: 0.75rem 0.85rem; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); color: #fff; font-family: inherit; font-size: 0.9rem; outline: none; }
.qf-input::placeholder { color: rgba(255,255,255,0.4); }
.qf-input:focus { border-color: var(--red); }

/* ---------- pre-footer CTA box --------------------------------- */

.cta-box { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.cta-box-inner {
  background: var(--red);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 2px, transparent 2px, transparent 14px);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cta-box-inner .kick { font-family: "Montserrat", sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.cta-box-inner h2 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 2rem); text-transform: uppercase; line-height: 1.1; margin-top: 0.4rem; }
.cta-box-inner .dots { position: absolute; right: 24px; bottom: 18px; width: 90px; height: 50px; background-image: radial-gradient(rgba(255,255,255,0.4) 1.5px, transparent 1.5px); background-size: 12px 12px; }

/* ---------- footer --------------------------------------------- */

.footer { background: var(--bg-soft); border-top: 1px solid var(--rule); padding: 3rem 0 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .tagline { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.8rem; max-width: 18rem; }
.footer-col h4 { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--ink); font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover { color: var(--red); }
.footer-contact .ci { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.6rem; }
.footer-contact .ci svg { width: 15px; height: 15px; color: var(--red); flex: none; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-social a { width: 36px; height: 36px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--bg); border: 1px solid var(--rule); color: var(--ink-soft); }
.footer-social a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; flex-wrap: wrap; }
.footer-bottom, .footer-bottom a { font-size: 0.78rem; color: var(--ink-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--red); }

/* ---------- floating quick contact ----------------------------- */

.qc { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; display: flex; flex-direction: column-reverse; gap: 0.55rem; align-items: flex-end; }
.qc-toggle { width: 56px; height: 56px; border-radius: 50%; background: var(--red); border: 0; color: #fff; cursor: pointer; box-shadow: 0 12px 28px -8px var(--red); display: grid; place-items: center; transition: transform 0.2s; }
.qc-toggle:hover { transform: scale(1.05); }
.qc-toggle svg { width: 22px; height: 22px; }
.qc-stack { display: flex; flex-direction: column-reverse; gap: 0.55rem; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s; }
.qc.is-open .qc-stack { opacity: 1; pointer-events: auto; transform: translateY(0); }
.qc-link { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-md); }
.qc-link:hover { transform: translateY(-1px); }
.qc-link svg { width: 22px; height: 22px; }

/* old hero leftovers neutralized */
.marquee { display: none; }
.hide-topbar .topbar { display: none; }

/* ---------- scroll to top -------------------------------------- */
.scroll-top {
  position: fixed;
  left: 1.2rem; bottom: 1.2rem;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
}
.scroll-top.is-show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.scroll-top:hover { background: var(--red); }
.scroll-top svg { width: 20px; height: 20px; }

/* ============================================================
   PHONE RESPONSIVENESS
   ============================================================ */

/* hide messenger icons in nav on small (burger + drawer cover it) */
@media (max-width: 700px) {
  .nav-contacts { display: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }

  /* topbar: keep only phone + lang, compact */
  .topbar-inner { padding: 0.5rem 0; }
  .topbar .tb-left { display: none; }
  .topbar .tb-call { display: none; }
  .topbar .tb-right { width: 100%; justify-content: space-between; gap: 0.8rem; }

  .nav-inner { padding: 0.7rem 0; }
  .nav-logo { font-size: 0.98rem; }

  /* hero */
  .hero { padding: 1.5rem 0 2rem; }
  .hero-h1 { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .hero-lede { font-size: 0.98rem; }
  .hero-btns { gap: 0.6rem; }
  .hero-btns .btn { flex: 1 1 auto; justify-content: center; }
  .hero-trust { gap: 1.1rem; margin-top: 2rem; padding-top: 1.2rem; }
  .hero-trust .n { font-size: 1.3rem; }
  .hero-figure { aspect-ratio: 16 / 12; }

  /* section rhythm */
  .section { padding: 2.75rem 0; }
  .section-tight { padding: 2rem 0; }
  .section-head { margin-bottom: 1.8rem; }

  /* portfolio controls stack */
  .portfolio-controls { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .portfolio-controls .btn-burn { justify-content: center; }
  .cat-pills { gap: 0.4rem; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.4rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cat-pills::-webkit-scrollbar { display: none; }
  .cat-pill { white-space: nowrap; flex: 0 0 auto; }

  /* about */
  .about-services { grid-template-columns: 1fr; }
  .exp-badge { left: 0; bottom: -14px; padding: 0.9rem 1.05rem 0.8rem; }
  .exp-badge .y { font-size: 2.1rem; }

  /* prices / flow */
  .flow { padding: 1.4rem; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step { border-right: 0; border-bottom: 1px solid var(--rule); padding: 1rem 0 0.8rem; }
  .flow-step:last-child { border-bottom: 0; }

  /* faq single column */
  .faq-grid { grid-template-columns: 1fr; gap: 0; }

  /* testimonial */
  .testi-media { min-height: 240px; }

  /* contact direct links smaller */
  .contact .direct a { font-size: 1.4rem; }

  /* floating buttons a touch smaller, safe-area aware */
  .qc { right: 0.9rem; bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); }
  .scroll-top { left: 0.9rem; bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; }
  .qc-toggle { width: 52px; height: 52px; }
}

@media (max-width: 420px) {
  .container, .container-wide { width: 100% - 1.6rem; width: calc(100% - 1.6rem); }
  .hero-h1 { font-size: clamp(1.85rem, 9vw, 2.4rem); }
  .hero-trust { gap: 0.8rem; }
  .hero-trust .ht-item { min-width: 4.2rem; }
  .price-card, .lane, .mat-body { }
  .cta-banner-inner, .cta-box-inner { text-align: center; justify-content: center; }
  .cta-banner-inner .btn, .cta-box-inner .btn { width: 100%; justify-content: center; }
  .testi-author .role { font-size: 0.78rem; }
  .channel { padding: 1rem 1.1rem; gap: 0.8rem; }
  .channel .note { display: none; }
}
