/* ==========================================================================
   Portfolio: Aristidis Kamaritis
   Dark slate, cyan accent. No frameworks, no build step.
   ========================================================================== */

:root {
  --bg: #0B0E12;
  --bg-alt: #0F1318;
  --surface: #141A20;
  --surface-2: #1A2128;
  --line: rgba(226, 232, 238, .08);
  --line-2: rgba(226, 232, 238, .16);
  --text: #E6EAEE;
  --muted: #98A2AD;
  --faint: #66707A;
  --accent: #4CC9E0;
  --accent-hi: #7DD9EA;
  --accent-ink: #04161B;
  --accent-soft: rgba(76, 201, 224, .12);

  --cream: #F2F4F6;
  --cream-2: #E4E8EC;
  --ink: #0F1720;
  --ink-muted: #56616C;

  --wa: #25D366;
  --viber: #7360F2;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r: 10px;
  --r-lg: 14px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
h1, h2, .project-title, .next-title {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -.025em;
}
h1 em, h2 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }

.section-lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid var(--btn-bd); border-radius: 8px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-bd: var(--accent); }
.btn-primary:hover { --btn-bg: var(--accent-hi); --btn-bd: var(--accent-hi); }
.btn-ghost:hover { --btn-bd: var(--text); }
.btn-outline-dark { --btn-fg: var(--ink); --btn-bd: rgba(15, 23, 32, .22); }
.btn-outline-dark:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 14, 18, .78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { display: block; flex: none; width: 38px; height: 38px; color: var(--text); transition: transform .35s var(--ease); }
.logo:hover .logo-mark { transform: scale(1.06) rotate(-4deg); }
.logo-text { display: grid; font-size: 1.12rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.logo-text small { font-size: .56rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 8px;
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--text); }
.main-nav a.is-active { background: rgba(226, 232, 238, .06); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 8px; }
.lang-switch button {
  border: 0; background: none; cursor: pointer;
  min-width: 38px; height: 30px; padding: 0 10px; border-radius: 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; color: var(--muted);
  transition: background .2s, color .2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.nav-toggle {
  display: none; position: relative;
  width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%;
  background: none; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden;
  isolation: isolate;
}
/* Faint dot grid that fades out downwards, with a soft cool light from the top */
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 75% 0%, rgba(76, 201, 224, .10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(56, 120, 200, .07), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(226, 232, 238, .14) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .6) 55%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; margin-bottom: 28px;
  border: 1px solid var(--line-2); border-radius: 8px;
  font-size: .84rem; color: var(--muted);
  background: rgba(226, 232, 238, .03);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; flex: none; }

.hero-title { font-size: clamp(2.4rem, 4.4vw, 3.7rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 24px; text-wrap: balance; }
.hero-title em { display: inline; }
.hero-lead { font-size: clamp(1.04rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 52ch; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ico { color: var(--accent); }

.hero-visual { position: relative; aspect-ratio: 1 / .82; }
.device {
  border-radius: 14px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.device-bar {
  display: flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(226, 232, 238, .16); }
.device-bar span {
  margin-left: 10px; padding: 2px 12px; border-radius: 6px; background: rgba(0, 0, 0, .25);
  font-size: .7rem; color: var(--faint); letter-spacing: .01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.device img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.hero-visual .device { position: absolute; }
.device-back { width: 76%; top: 0; right: 0; opacity: .55; }
.device-front { width: 86%; left: 0; bottom: 0; }
/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(44px, 6vw, 72px); max-width: 760px; }

/* ---------- Work ---------- */
.project {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-block: clamp(28px, 4vw, 48px);
}
.project + .project { border-top: 1px solid var(--line); }
.project-flip .project-media { order: 2; }
.project-media { position: relative; display: block; border-radius: 16px; }
.project-media .device { transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.project-media img { transition: transform 1.2s var(--ease); }
.project-media:hover .device { transform: translateY(-4px); border-color: rgba(76, 201, 224, .35); }
.project-open {
  position: absolute; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink); font-size: .86rem; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.project-media:hover .project-open, .project-media:focus-visible .project-open { opacity: 1; transform: none; }

.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.tag {
  padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(76, 201, 224, .35);
  color: var(--accent); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.project-title { font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.15; margin-bottom: 16px; }
.project-text { color: var(--muted); margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chips li {
  padding: 6px 12px; border-radius: 8px;
  background: rgba(226, 232, 238, .045); border: 1px solid var(--line);
  font-size: .82rem; color: var(--text);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--accent);
  padding-bottom: 4px; border-bottom: 1px solid rgba(76, 201, 224, .4);
  transition: gap .25s var(--ease), border-color .25s;
}
.link-arrow:hover { gap: 12px; border-color: var(--accent); }

.next-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(20px, 4vw, 48px);
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.next-card:hover { border-color: rgba(76, 201, 224, .5); transform: translateY(-3px); }
.next-copy { display: grid; gap: 10px; }
.next-title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.25; }
.next-arrow {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-size: 1.3rem;
  transition: transform .3s var(--ease);
}
.next-card:hover .next-arrow { transform: translateX(3px); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
}
.svc:hover { background: rgba(76, 201, 224, .045); }
.svc-num { display: block; font-size: .85rem; font-weight: 600; color: var(--accent); margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.svc h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: .95rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; justify-items: start; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promise {
  padding: 28px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.promise:hover { border-color: rgba(76, 201, 224, .35); transform: translateY(-3px); }
.promise h3 { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.promise h3::before { content: ""; width: 3px; height: 1em; margin-top: .2em; border-radius: 2px; background: var(--accent); flex: none; }
.promise p { color: var(--muted); font-size: .93rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 34px; border-top: 1px solid var(--line-2); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 40px; height: 2px; background: var(--accent);
}
.step-num { display: block; font-size: .85rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- Pricing (light band) ---------- */
.section-light { background: var(--cream); color: var(--ink); }
.section-light h2 em, .section-light .eyebrow { color: #0B7A93; }
.section-light .section-lead { color: var(--ink-muted); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: #FFFFFF; border: 1px solid rgba(15, 23, 32, .1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(15, 23, 32, .35); }
.plan h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 8px; }
.plan-desc { color: var(--ink-muted); font-size: .94rem; min-height: 3em; }
.plan-price {
  display: flex; align-items: baseline; gap: 8px;
  margin: 22px 0 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(15, 23, 32, .1);
}
.plan-price small { font-size: .85rem; color: var(--ink-muted); }
.plan-price strong { font: 700 2.6rem/1 var(--sans); letter-spacing: -.03em; }
.plan-list { display: grid; gap: 11px; margin-bottom: 30px; flex: 1; font-size: .94rem; }
.plan-list li { position: relative; padding-left: 26px; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 15px; height: 9px;
  border-left: 1.6px solid #0B7A93; border-bottom: 1.6px solid #0B7A93; transform: rotate(-45deg) scale(.75); transform-origin: left top;
}
.plan-list li:has(strong) { padding-left: 0; }
.plan-list li:has(strong)::before { display: none; }
.plan .btn { width: 100%; }
.plan-featured { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 0 40px 70px -40px rgba(15, 23, 32, .6); }
.plan-featured .plan-desc, .plan-featured .plan-price small { color: #9AA6B2; }
.plan-featured .plan-price { border-color: rgba(242, 244, 246, .14); }
.plan-featured .plan-price strong { color: var(--accent); }
.plan-featured .plan-list li::before { border-color: var(--accent); }
.plan-flag {
  position: absolute; top: 20px; right: 20px;
  padding: 4px 11px; border-radius: 8px; background: var(--accent); color: var(--accent-ink);
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.plan.is-match { animation: match 2.4s var(--ease); }
@keyframes match {
  0%, 60% { box-shadow: 0 0 0 3px #0B7A93, 0 30px 60px -35px rgba(15, 23, 32, .35); }
  100% { box-shadow: 0 0 0 0 rgba(11, 122, 147, 0); }
}

/* ---------- Plan finder ---------- */
.finder-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap;
  margin-bottom: 22px; padding: 20px 24px; border-radius: var(--r-lg);
  border: 1px dashed rgba(11, 122, 147, .45); background: rgba(11, 122, 147, .05);
}
.finder-cta p { font-size: .98rem; color: var(--ink-muted); }
.finder-cta strong { color: var(--ink); font-weight: 600; }

.finder {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px);
  margin: auto; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: var(--surface); color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.finder[open] { animation: pop .3s var(--ease); }
.finder::backdrop { background: rgba(5, 7, 10, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.finder-open { overflow: hidden; }
.finder-inner { padding: clamp(22px, 4vw, 34px); }
.finder-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.finder-close {
  position: relative; flex: none; width: 40px; height: 40px; margin-right: -6px;
  border: 1px solid var(--line-2); border-radius: 8px; background: none; cursor: pointer;
  transition: border-color .2s;
}
.finder-close:hover { border-color: var(--text); }
.finder-close span { position: absolute; left: 12px; right: 12px; top: 19px; height: 1.5px; background: var(--text); transform: rotate(45deg); }
.finder-close span + span { transform: rotate(-45deg); }
.finder-progress { height: 3px; margin-bottom: 26px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.finder-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.finder-step { font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.finder-q { font-size: clamp(1.3rem, 3.2vw, 1.6rem); line-height: 1.25; margin-bottom: 22px; outline: none; }
.finder-options { display: grid; gap: 10px; }
.finder-opt {
  width: 100%; padding: 15px 18px; text-align: left; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg);
  font-size: .96rem; line-height: 1.45;
  transition: border-color .2s, background .2s;
}
.finder-opt:hover, .finder-opt.is-picked { border-color: var(--accent); background: var(--accent-soft); }
.finder-back {
  margin-top: 18px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.finder-back:hover { color: var(--accent); }
.finder-plan { margin-bottom: 6px; color: var(--accent); font-size: clamp(1.8rem, 5vw, 2.3rem); }
.finder-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.finder-price small { color: var(--muted); font-size: .88rem; }
.finder-price strong { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.finder-why { padding: 18px 20px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.finder-why-t { margin-bottom: 4px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.finder-note { margin-top: 14px; font-size: .9rem; color: #F2C77B; }
.finder-actions { margin-top: 24px; }
.finder-links { display: flex; justify-content: space-between; gap: 16px; }
.finder-links .finder-back { margin-top: 12px; }

/* Contact fallback panel (reuses the plan finder dialog frame) */
.reach { width: min(460px, calc(100% - 32px)); }
.reach-title { font-size: clamp(1.3rem, 3.2vw, 1.55rem); line-height: 1.25; margin-bottom: 10px; }
.reach-text { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.reach-copy {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px; margin-bottom: 16px; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--line-2);
}
.reach-value { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; user-select: all; }
.reach-copy .btn { flex: none; }
.reach-actions { display: grid; gap: 10px; }
.reach-actions .btn { width: 100%; }
.reach-small { justify-self: center; margin-top: 4px; font-size: .88rem; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.reach-small:hover { color: var(--accent); border-color: var(--accent); }

.included { margin-top: 30px; padding: 0 4px; }
.included-title { margin-bottom: 14px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #0B7A93; }
.included ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 24px; font-size: .92rem; }
.included li { position: relative; padding-left: 22px; }
.included li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 13px; height: 8px;
  border-left: 1.6px solid #0B7A93; border-bottom: 1.6px solid #0B7A93; transform: rotate(-45deg) scale(.8); transform-origin: left top;
}
.plan-chip {
  align-self: flex-start; margin-top: 14px;
  padding: 4px 10px; border-radius: 8px;
  border: 1px solid rgba(11, 122, 147, .35); background: rgba(11, 122, 147, .07);
  color: #0B7A93; font-size: .76rem; font-weight: 600; letter-spacing: .02em;
}
.plan-featured .plan-chip { border-color: rgba(76, 201, 224, .4); background: rgba(76, 201, 224, .1); color: var(--accent); }
.plan-chip + .plan-price { margin-top: 14px; }

.care {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; align-items: stretch;
  margin-top: 26px; padding: 26px; border-radius: var(--r-lg);
  border: 1px solid rgba(15, 23, 32, .12); background: #FFFFFF;
}
.care-head { display: grid; gap: 8px; align-content: start; padding: 4px 8px 4px 4px; }
.care h3 { font-size: 1.2rem; font-weight: 600; }
.care h3 small { font-size: .85rem; font-weight: 500; color: var(--ink-muted); }
.care-head > p { color: var(--ink-muted); font-size: .94rem; }
.care-head .care-deal {
  justify-self: start; margin-top: 4px; padding: 4px 10px; border-radius: 8px;
  background: var(--ink); color: var(--cream); font-size: .8rem; font-weight: 600;
}
.care-tier { display: grid; gap: 10px; align-content: start; padding: 20px 22px; border-radius: var(--r); background: var(--cream); border: 1px solid rgba(15, 23, 32, .08); }
.care-tier-plus { border-color: rgba(11, 122, 147, .45); box-shadow: inset 0 0 0 1px rgba(11, 122, 147, .2); }
.care-name { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #0B7A93; }
.care-price { display: flex; align-items: baseline; gap: 6px; }
.care-price strong { font: 700 2rem/1 var(--sans); letter-spacing: -.02em; }
.care-price small { color: var(--ink-muted); font-size: .85rem; }
.care-list { display: grid; gap: 7px; font-size: .9rem; }
.care-list li { position: relative; padding-left: 20px; }
.care-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px;
  border-left: 1.6px solid #0B7A93; border-bottom: 1.6px solid #0B7A93; transform: rotate(-45deg) scale(.8); transform-origin: left top;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-photo { display: grid; gap: 18px; }
.portrait, .about-photo img {
  aspect-ratio: 4 / 5; width: 100%; border-radius: var(--r-lg); object-fit: cover;
  border: 1px solid var(--line-2);
}
.portrait {
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: var(--surface);
}
.portrait span { font: 600 clamp(4rem, 9vw, 6rem)/1 var(--sans); letter-spacing: -.03em; color: var(--faint); }
.about-loc { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); }
.about-copy { display: grid; gap: 20px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.about-values li { display: grid; gap: 4px; padding-top: 16px; }
.about-values strong { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.about-values span { font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 48px 24px 0; font-size: 1.08rem; font-weight: 500;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--accent);
  transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0); }
.faq p { color: var(--muted); padding: 0 48px 26px 0; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; isolation: isolate; }
.contact-glow { left: -300px; right: auto; top: auto; bottom: -400px; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-intro { display: grid; gap: 22px; }
.channels { display: grid; gap: 10px; margin-top: 8px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px 14px 14px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.channel:hover { border-color: rgba(76, 201, 224, .4); background: var(--surface-2); }
.channel-ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--accent-soft); color: var(--accent); font-size: 1.15rem;
}
.channel-ico.ch-wa { background: rgba(37, 211, 102, .13); color: var(--wa); }
.channel-ico.ch-viber { background: rgba(115, 96, 242, .16); color: #9C8CFF; }
.channel-txt { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.channel-txt strong { font-weight: 600; overflow-wrap: anywhere; }
.channel-txt small { color: var(--muted); font-size: .84rem; }
.channel-arrow { color: var(--faint); transition: color .25s, transform .25s var(--ease); }
.channel:hover .channel-arrow { color: var(--accent); transform: translateX(3px); }

.contact-form {
  display: grid; gap: 18px;
  padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line-2);
}
.form-title { font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .84rem; font-weight: 500; color: var(--muted); padding: 0; }
.field label small { font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2398A2AD' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field select option { background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: #E5806B; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices legend { width: 100%; margin-bottom: 8px; }
.choices legend small { font-weight: 400; color: var(--faint); }
.choices label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px;
  font-size: .88rem; color: var(--text);
  transition: border-color .2s, background .2s;
}
.choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choices input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 16px; height: 16px; min-height: 0; padding: 0; border-radius: 50%; border: 1.5px solid var(--faint); background: none;
  display: grid; place-items: center; cursor: pointer; transition: border-color .2s;
}
.choices input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .2s var(--ease); }
.choices input[type="checkbox"], .choices input[type="checkbox"]::after { border-radius: 3px; }
.choices input:checked { border-color: var(--accent); }
.choices input:checked::after { transform: scale(1); }
.choices input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.req { color: var(--accent); }

/* Project brief steps (without JS every step shows and only "Send" is visible) */
.brief-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.brief-count { font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.brief-progress { height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.brief-progress span { display: block; height: 100%; width: 25%; background: var(--accent); transition: width .35s var(--ease); }
.brief-count, .brief-progress, .brief-back, .brief-next { display: none; }
.js .brief-count, .js .brief-progress { display: block; }
.brief-step { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.js .brief-step:not(.is-current) { display: none; }
.brief-step-title { float: left; width: 100%; padding: 0; font-size: 1.02rem; font-weight: 600; color: var(--accent); outline: none; }
.brief-nav { display: flex; gap: 12px; }
.brief-nav .btn { min-height: 52px; }
.js .brief-back { display: inline-flex; }
.js .brief-next { display: inline-flex; flex: 1; }
.js .brief-send { display: none; }
.js .brief.is-first .brief-back { display: none; }
.js .brief.is-last .brief-next { display: none; }
.js .brief.is-last .brief-send { display: inline-flex; flex: 1; }
.brief-send { flex: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--faint); text-align: center; }
.form-status { font-size: .94rem; text-align: center; min-height: 0; }
.form-status:empty { display: none; }
.form-status.ok { color: #86E0A5; }
.form-status.err { color: #F0A08F; }
.contact-form.is-sent > :not(.form-status):not(.brief-head), .contact-form.is-sent .brief-count { display: none; }
.contact-form.is-sent .form-status { font-size: 1.05rem; text-align: left; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 34ch; font-size: .94rem; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.footer-nav a, .footer-contact > a { color: var(--muted); font-size: .94rem; transition: color .2s; width: fit-content; }
.footer-nav a:hover, .footer-contact > a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px;
  background: linear-gradient(var(--line), var(--line)) no-repeat center top / calc(100% - var(--gutter) * 2) 1px;
  font-size: .84rem; color: var(--faint);
}

/* ---------- Floating quick-contact ---------- */
.quick {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; justify-items: end; gap: 10px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.quick.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.quick-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 8px; border: 0; cursor: pointer;
  background: var(--wa); color: #06210F; font-weight: 600; font-size: .94rem;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
  transition: transform .25s var(--ease);
}
.quick-btn .ico { font-size: 1.35rem; }
.quick-btn:hover { transform: translateY(-2px); }
.quick-menu {
  display: grid; gap: 4px; padding: 8px; min-width: 210px; border-radius: 18px;
  background: rgba(21, 26, 32, .96); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  transform-origin: bottom right; animation: pop .25s var(--ease);
}
.quick-menu[hidden] { display: none; }
.quick-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; font-weight: 500; font-size: .94rem; }
.quick-menu a:hover { background: rgba(226, 232, 238, .06); }
.quick-menu .channel-ico { width: 36px; height: 36px; border-radius: 10px; font-size: 1rem; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(6px); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-copy > * { opacity: 0; transform: translateY(20px); animation: rise .9s var(--ease) forwards; }
.js .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .32s; }
.js .hero-visual { opacity: 0; animation: fade 1.2s .25s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a:not(.btn) { padding: 8px 10px; }
  .header-cta { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 28px;
    background: rgba(11, 14, 18, .97); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-open .site-header { background: rgba(11, 14, 18, .97); border-color: var(--line); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) {
    padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--line);
    font-size: 1.15rem; font-weight: 500; color: var(--text);
  }
  .main-nav a.is-active { background: none; color: var(--accent); }
  .nav-cta-mobile { display: flex; margin-top: 24px; width: 100%; min-height: 52px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }

  .project, .why-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .project-flip .project-media { order: 0; }
  .project-open { opacity: 1; transform: none; }
  .why-head, .faq-grid .section-head { position: static; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .care { max-width: 520px; margin-inline: auto; grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-facts { display: grid; gap: 10px; font-size: .88rem; }
  .lang-switch button { min-width: 34px; padding: 0 8px; }
  .logo-text { font-size: 1rem; line-height: 1.12; max-width: 6.5em; }
  .logo-text small { display: none; }
  .logo { gap: 10px; }
  .svc-grid, .promises, .steps { grid-template-columns: 1fr; }
  .svc-num { margin-bottom: 24px; }
  .next-card { grid-template-columns: 1fr auto; }
    .next-arrow { width: 50px; height: 50px; }
  .field-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; gap: 0; }
  .about-values li { grid-template-columns: 110px 1fr; align-items: baseline; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .quick { right: 16px; bottom: 16px; }
  .quick-btn { height: 50px; }
  .faq summary { font-size: 1rem; padding-right: 40px; }
  .faq p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero-copy > *, .js .hero-visual { opacity: 1; transform: none; animation: none; }
}
.nowrap { white-space: nowrap; }
