/* ==========================================================================
   Fonturile, găzduite local.
   Aduse de pe Google Fonts o singură dată și puse lângă site: așa pagina nu mai
   contactează niciun server străin, deci nu mai trimite adresa IP a vizitatorului
   nicăieri. Sunt fonturi variabile, un fișier acoperă toate grosimile 300–800.
   Ca să le actualizezi, descarci din nou woff2-urile și rescrii blocul ăsta.
   ========================================================================== */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Ideal Clean Services & Management
   Industrial Editorial — dark charcoal + lime
   ========================================================================== */

@layer reset, tokens, base, layout, components, utilities;

/* ---------------------------------------------------------------- tokens */
@layer tokens {
  :root {
    /* surfaces */
    --bg: #0B0C0E;
    --surface: #131417;
    --surface-2: #1A1C20;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);

    /* ink */
    --text: #F5F5F3;
    --text-dim: #8A8F98;

    /* accents */
    --accent: #C8FF3D;
    --accent-2: #38BDF8;
    --accent-ink: #0B0C0E;

    /* type */
    --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

    --fs-hero: clamp(3rem, 9vw, 9rem);
    --fs-h2: clamp(2rem, 5vw, 4.25rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
    --fs-body: clamp(1rem, .35vw + .92rem, 1.125rem);
    --fs-small: .8125rem;

    /* space */
    --s1: .5rem;
    --s2: .875rem;
    --s3: 1.5rem;
    --s4: 2.5rem;
    --s5: 4rem;
    --s6: 6rem;
    --s7: 8rem;

    /* layout */
    --max-w: 1440px;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --header-h: 5.5rem;

    /* form */
    --radius: 4px;
    --radius-lg: 6px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --dur: .6s;
  }
}

/* ----------------------------------------------------------------- reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }

  html { -webkit-text-size-adjust: 100%; }

  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul {
    margin: 0;
    padding: 0;
  }

  ul[class], ol[class] { list-style: none; }

  img, svg, video { display: block; max-width: 100%; height: auto; }

  input, button, select, textarea { font: inherit; color: inherit; }

  button { background: none; border: 0; cursor: pointer; }

  a { color: inherit; text-decoration: none; }
}

/* ------------------------------------------------------------------ base */
@layer base {
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 350;
    line-height: 1.6;
    letter-spacing: -.005em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* film grain over everything */
  body::after {
    content: "";
    position: fixed;
    inset: -50%;
    z-index: 9999;
    pointer-events: none;
    opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.04em;
    text-wrap: balance;
    /* Titlurile mari, cu majuscule, au cuvinte mai late decât un telefon
       („CONFIDENȚIALITATE", „КОНФИДЕНЦИАЛЬНОСТИ"). Întâi se desparte în silabe,
       unde browserul știe limba; abia apoi oriunde, decât să iasă din ecran. */
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  /* Adresele de email nu au unde se rupe singure. */
  a[href^="mailto:"] { overflow-wrap: anywhere; }

  p { text-wrap: pretty; }

  ::selection { background: var(--accent); color: var(--accent-ink); }

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

  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: #26282e; border: 3px solid var(--bg); border-radius: 99px; }
  ::-webkit-scrollbar-thumb:hover { background: #3a3d45; }
}

/* ---------------------------------------------------------------- layout */
@layer layout {
  .container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

  .section {
    padding-block: clamp(3.5rem, 7vw, 6.5rem);
    position: relative;
  }

  .section--tight { padding-block: clamp(3rem, 6vw, var(--s5)); }

  .skip-link {
    position: absolute;
    top: 0;
    left: var(--gutter);
    transform: translateY(-120%);
    z-index: 200;
    background: var(--accent);
    color: var(--accent-ink);
    padding: .75rem 1.25rem;
    font-weight: 600;
    transition: transform .2s var(--ease);
  }
  .skip-link:focus { transform: translateY(0); }

  /* faint 80px grid behind dark sections */
  .grid-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 100%);
  }
}

/* ------------------------------------------------------------- utilities */
@layer utilities {
  .accent { color: var(--accent); font-style: normal; }
  .dim { color: var(--text-dim); }
  .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
  .visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* scroll reveal */
  [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity .8s var(--ease),
      transform .8s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------ components */
@layer components {

  /* ---------- section heading ---------- */
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-mono);
    font-size: var(--fs-small);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--accent);
  }

  .section-head {
    display: grid;
    gap: var(--s3);
    margin-bottom: var(--s5);
  }
  .section-head h2 {
    font-size: var(--fs-h2);
    text-transform: uppercase;
    max-width: 18ch;
  }
  .section-head__lead {
    color: var(--text-dim);
    max-width: 52ch;
  }
  @media (min-width: 900px) {
    .section-head {
      grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
      align-items: end;
      gap: var(--s5);
    }
    .section-head .eyebrow { grid-column: 1 / -1; }
  }

  /* ---------- buttons ---------- */
  .btn {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-bd: var(--line-strong);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .95rem 1.6rem;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid var(--btn-bd);
    border-radius: var(--radius);
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: -.01em;
    overflow: hidden;
    isolation: isolate;
    transition: color .35s var(--ease), border-color .35s var(--ease);
  }
  .btn__arrow { transition: transform .4s var(--ease); }
  .btn:hover .btn__arrow { transform: translateX(4px); }

  /* lime wipe on hover */
  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--accent);
    transform: translateY(101%);
    transition: transform .45s var(--ease);
  }
  .btn:hover::before { transform: translateY(0); }
  .btn:hover { color: var(--accent-ink); border-color: var(--accent); }

  .btn--lime {
    --btn-bg: var(--accent);
    --btn-fg: var(--accent-ink);
    --btn-bd: var(--accent);
  }
  .btn--lime::before { background: var(--text); }
  .btn--lime:hover { color: var(--accent-ink); border-color: var(--text); }

  .btn--sm { padding: .65rem 1.15rem; font-size: .875rem; }

  /* ---------- header ---------- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: padding-block .4s var(--ease), background-color .4s var(--ease);
    padding-block: 1.5rem;
  }
  .site-header.is-scrolled {
    padding-block: .75rem;
    background: rgba(11, 12, 14, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
  }

  .brand {
    display: flex;
    align-items: center;
    gap: .875rem;
    flex-shrink: 0;
  }
  .brand__chip {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: var(--radius);
    flex-shrink: 0;
  }
  .brand__chip img { width: 34px; height: 34px; }
  .brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .9375rem;
    letter-spacing: -.02em;
    text-transform: uppercase;
    line-height: 1.15;
  }
  .brand__tag {
    display: block;
    font-family: var(--font-mono);
    font-size: .625rem;
    letter-spacing: .12em;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 400;
  }

  /* Sub 560px header-ul nu mai încape cu selectorul de limbă alături;
     subtitlul brandului e primul care pleacă, apoi numele trece pe două rânduri.
     Stă după `.brand__tag`, altfel regula de mai sus o anulează. */
  @media (max-width: 560px) {
    .brand { flex-shrink: 1; min-width: 0; gap: .625rem; }
    .brand__name { font-size: .8125rem; }
    .brand__tag { display: none; }
    .brand__chip { width: 38px; height: 38px; }
    .brand__chip img { width: 28px; height: 28px; }
    .lang__btn { padding: 0 .5rem; height: 40px; }
    .burger { width: 40px; height: 40px; }
  }

  .nav { display: none; }
  @media (min-width: 1080px) {
    .nav {
      display: flex;
      align-items: center;
      gap: var(--s3);
    }
    .nav__link {
      position: relative;
      font-size: .9375rem;
      color: var(--text-dim);
      padding-block: .35rem;
      transition: color .3s var(--ease);
    }
    .nav__link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 1px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform .4s var(--ease);
    }
    .nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
    .nav__link:hover::after, .nav__link[aria-current="page"]::after {
      transform: scaleX(1);
      transform-origin: left;
    }
  }

  .header__actions {
    display: flex;
    align-items: center;
    gap: .75rem;
  }
  .header__phone {
    display: none;
    font-family: var(--font-mono);
    font-size: .875rem;
    color: var(--text-dim);
    transition: color .3s var(--ease);
  }
  .header__phone:hover { color: var(--accent); }
  @media (min-width: 720px) { .header__phone { display: block; } }
  .header__cta { display: none; }
  @media (min-width: 1080px) { .header__cta { display: inline-flex; } }

  /* ---------- mobile nav ---------- */
  .burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
  }
  @media (min-width: 1080px) { .burger { display: none; } }
  .burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: transform .35s var(--ease), opacity .2s;
  }
  .burger span + span { margin-top: 5px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--bg);
    padding: calc(var(--header-h) + 2rem) var(--gutter) var(--s4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; }
  .mobile-nav__list { display: grid; gap: .25rem; }
  .mobile-nav__list a {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 3.25rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -.04em;
    padding-block: .35rem;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .mobile-nav.is-open .mobile-nav__list a { opacity: 1; transform: none; }
  .mobile-nav__list a:active { color: var(--accent); }
  .mobile-nav__foot {
    display: grid;
    gap: .5rem;
    font-family: var(--font-mono);
    font-size: .875rem;
    color: var(--text-dim);
  }
  .mobile-nav__foot a:hover { color: var(--accent); }

  /* ---------- footer ---------- */
  .site-footer {
    border-top: 1px solid var(--line);
    padding-block: var(--s5) var(--s3);
    position: relative;
    overflow: hidden;
  }
  .site-footer__wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    /* Cel mai lung cuvânt, „INDUSTRIAL", trebuie să încapă pe lățimea ecranului. */
    font-size: clamp(2.5rem, 11vw, 11rem);
    line-height: .85;
    letter-spacing: -.05em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
    margin-bottom: var(--s4);
    user-select: none;
  }
  .site-footer__grid {
    display: grid;
    gap: var(--s4);
    padding-bottom: var(--s4);
    border-bottom: 1px solid var(--line);
  }
  @media (min-width: 760px) {
    .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
  }
  @media (min-width: 1080px) {
    .site-footer__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  }
  .footer-col h3 {
    font-family: var(--font-mono);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: var(--s2);
  }
  .footer-col ul { display: grid; gap: .5rem; list-style: none; }
  .footer-col a { color: var(--text-dim); transition: color .3s var(--ease); }
  .footer-col a:hover { color: var(--accent); }
  .site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    justify-content: space-between;
    padding-top: var(--s3);
    font-family: var(--font-mono);
    font-size: var(--fs-small);
    color: var(--text-dim);
  }
}

/* ------------------------------------------------------------------ hero */
@layer components {
  .hero {
    position: relative;
    /* scădem înălțimea header-ului sticky, altfel CTA-ul cade sub fold */
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
    padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
      circle 40rem at var(--mx, 70%) var(--my, 30%),
      rgba(200, 255, 61, .10),
      transparent 65%
    );
    transition: background .6s linear;
  }
  .hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: clamp(1.5rem, 4vw, var(--s4));
    width: 100%;
  }
  .hero__eyebrow {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .7s var(--ease) .1s, transform .7s var(--ease) .1s;
  }
  .hero.is-in .hero__eyebrow { opacity: 1; transform: none; }

  .hero__title {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.045em;
    text-transform: uppercase;
  }
  .hero__title .line {
    display: block;
    overflow: hidden;
    /* extra room so the descender on Ț is not clipped by the mask */
    padding-bottom: .09em;
    margin-bottom: -.09em;
  }
  .hero__title .line__inner {
    display: block;
    transform: translateY(105%);
    transition: transform 1s var(--ease);
  }
  .hero.is-in .line:nth-child(1) .line__inner { transform: none; transition-delay: .15s; }
  .hero.is-in .line:nth-child(2) .line__inner { transform: none; transition-delay: .26s; }
  .hero.is-in .line:nth-child(3) .line__inner { transform: none; transition-delay: .37s; }

  .hero__bottom {
    display: grid;
    gap: var(--s3);
    padding-top: var(--s2);
    border-top: 1px solid var(--line);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s var(--ease) .6s, transform .8s var(--ease) .6s;
  }
  .hero.is-in .hero__bottom { opacity: 1; transform: none; }
  @media (min-width: 900px) {
    .hero__bottom {
      grid-template-columns: minmax(0, 38ch) auto;
      align-items: start;
      justify-content: space-between;
      gap: var(--s5);
    }
  }
  .hero__lead { color: var(--text-dim); }
  .hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

  .hero__scroll {
    position: absolute;
    left: var(--gutter);
    bottom: var(--s3);
    z-index: 2;
    display: none;
    align-items: center;
    gap: .75rem;
    font-size: .6875rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  @media (min-width: 900px) and (min-height: 700px) { .hero__scroll { display: flex; } }
  .hero__scroll-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(to right, var(--accent), transparent);
    animation: scrollHint 2.2s var(--ease) infinite;
    transform-origin: left;
  }
  @keyframes scrollHint {
    0%, 100% { transform: scaleX(.4); opacity: .5; }
    50% { transform: scaleX(1); opacity: 1; }
  }

  /* --------------------------------------------------------- marquee */
  .marquee {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    padding-block: var(--s3);
    --marquee-dur: 38s;
  }
  .marquee:hover { --marquee-dur: 18s; }
  .marquee__track {
    display: flex;
    align-items: center;
    gap: var(--s4);
    width: max-content;
    animation: marquee var(--marquee-dur) linear infinite;
    transition: none;
  }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .marquee__item {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.6vw, 2rem);
    font-weight: 600;
    letter-spacing: -.03em;
    text-transform: uppercase;
    color: var(--text-dim);
    white-space: nowrap;
    transition: color .3s var(--ease);
  }
  .marquee__item:hover { color: var(--text); }
  .marquee__dot { color: var(--accent); font-size: .5rem; }

  /* ----------------------------------------------------------- bento */
  .bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .bento__cell {
    position: relative;
    background: var(--bg);
    padding: clamp(1.5rem, 3vw, var(--s4));
    display: flex;
    flex-direction: column;
    gap: .6rem;
    min-height: 13rem;
    transition: background .45s var(--ease);
  }
  .bento__cell::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color .45s var(--ease);
  }
  .bento__cell:hover { background: var(--surface); }
  .bento__cell:hover::after { border-color: var(--accent); }

  .bento__cell--a { grid-column: span 3; }
  .bento__cell--b { grid-column: span 3; }
  .bento__cell--c { grid-column: span 6; grid-row: span 2; padding: 0; }
  .bento__cell--d { grid-column: span 3; }
  .bento__cell--e { grid-column: span 3; }

  .bento__stat {
    display: flex;
    align-items: baseline;
    font-family: var(--font-display);
    font-size: clamp(3.25rem, 7vw, 6rem);
    font-weight: 800;
    line-height: .82;
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
    margin-top: auto;
    transition: color .45s var(--ease);
  }
  .bento__cell:hover .bento__stat { color: var(--accent); }
  .bento__unit { font-size: .62em; color: var(--accent); }
  .bento__title {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -.02em;
  }
  .bento__cell--a .bento__title,
  .bento__cell--b .bento__title { order: 3; }
  /* :not(.bento__stat) — altfel regula asta micșorează chiar cifra mare */
  .bento__cell--a p:not(.bento__stat),
  .bento__cell--b p:not(.bento__stat) { order: 4; font-size: .9375rem; }
  .bento__tag {
    margin-top: auto;
    align-self: flex-start;
    font-size: .6875rem;
    letter-spacing: .1em;
    color: var(--accent-2);
    border: 1px solid var(--line-strong);
    border-radius: 99px;
    padding: .2rem .6rem;
  }
  .bento__quote {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -.02em;
    margin-bottom: auto;
  }
  .bento__visual {
    position: relative;
    flex: 1;
    overflow: hidden;
    min-height: 14rem;
  }
  .bento__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
  }
  .bento__cell--c:hover .bento__visual img { transform: scale(1.04); }
  .bento__visual-copy {
    padding: clamp(1.5rem, 3vw, var(--s4));
    display: grid;
    gap: .5rem;
  }
  @media (max-width: 980px) {
    .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .bento__cell--a, .bento__cell--b, .bento__cell--d, .bento__cell--e { grid-column: span 3; }
    .bento__cell--c { grid-column: span 6; grid-row: auto; }
  }
  @media (max-width: 620px) {
    .bento { grid-template-columns: minmax(0, 1fr); }
    .bento__cell { grid-column: 1 / -1 !important; min-height: 0; }
  }

  /* -------------------------------------------------------- servicii */
  .services__list { border-bottom: 1px solid var(--line); }
  .service {
    position: relative;
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto 1.5rem;
    align-items: center;
    gap: var(--s2);
    padding-block: clamp(1.1rem, 2.6vw, 2rem);
    border-top: 1px solid var(--line);
    transition: padding-block .45s var(--ease);
  }
  .service::before {
    content: "";
    position: absolute;
    inset: 0 -1rem;
    background: rgba(200, 255, 61, .045);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
    pointer-events: none;
  }
  .service:hover::before { transform: scaleX(1); }
  .service:hover { padding-block: clamp(1.4rem, 3.2vw, 2.5rem); }

  .service__num {
    font-size: .8125rem;
    color: var(--text-dim);
    transition: color .4s var(--ease);
  }
  .service:hover .service__num { color: var(--accent); }
  .service__name {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.05;
    transition: color .4s var(--ease), transform .5s var(--ease);
  }
  .service:hover .service__name { color: var(--accent); transform: translateX(10px); }
  .service__meta {
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .service__arrow {
    justify-self: end;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .service:hover .service__arrow { opacity: 1; transform: none; }

  @media (max-width: 760px) {
    .service { grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
    .service__meta { grid-column: 2; font-size: .6875rem; }
    .service__arrow { grid-row: 1; grid-column: 3; opacity: .4; transform: none; }
  }

  .services__preview {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    width: 320px;
    aspect-ratio: 4 / 3;
    pointer-events: none;
    opacity: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    overflow: hidden;
    transform: translate(-50%, -50%) scale(.92);
    transition: opacity .35s var(--ease), transform .5s var(--ease);
    will-change: transform;
  }
  .services__preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .services__preview img { width: 100%; height: 100%; object-fit: cover; }
  @media (pointer: coarse), (max-width: 900px) { .services__preview { display: none; } }
}

@layer components {
  /* ---------------------------------------------------------- proces */
  .process { position: relative; padding-left: clamp(1.25rem, 4vw, 3rem); }
  .process__line {
    position: absolute;
    left: 0; top: .5rem; bottom: .5rem;
    width: 1px;
    background: var(--line);
  }
  .process__fill {
    display: block;
    width: 100%;
    height: 0;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(200, 255, 61, .5);
  }
  .process__steps { display: grid; gap: var(--s5); }
  .process__step { display: grid; gap: .5rem; }
  .process__num {
    font-size: .8125rem;
    color: var(--accent);
    letter-spacing: .1em;
  }
  .process__step h3 { font-size: var(--fs-h3); }
  .process__step p { max-width: 48ch; }
  @media (min-width: 860px) {
    .process__step {
      grid-template-columns: 5rem minmax(0, 26ch) minmax(0, 1fr);
      align-items: start;
      gap: var(--s3);
      padding-bottom: var(--s3);
      border-bottom: 1px solid var(--line);
    }
    .process__steps { gap: var(--s4); }
  }

  /* ----------------------------------------------------- echipamente */
  /* `minmax(0, 1fr)`, nu coloana implicită: aceea se lățește după cel mai lung
     cuvânt („PROFESIONALES") și, pe telefoanele cu fontul mărit, cardul ieșea
     din ecran, cu textul din dreapta tăiat de `overflow: hidden`. */
  .equip-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  /* Patru carduri: două pe rând arată echilibrat și lasă loc listelor de
     caracteristici, spre deosebire de trei coloane plus unul rătăcit dedesubt. */
  @media (min-width: 760px) { .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .equip-card {
    background: var(--bg);
    padding: clamp(1.5rem, 3vw, var(--s4));
    display: grid;
    gap: var(--s2);
    align-content: start;
    transition: background .45s var(--ease);
  }
  .equip-card:hover { background: var(--surface); }
  .equip-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .25rem 1rem;
    padding-bottom: var(--s2);
    border-bottom: 1px solid var(--line);
  }
  .equip-card__head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; }
  .equip-card__head .mono { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; }
  .equip-card p { font-size: .9375rem; }
  .spec { display: grid; gap: .5rem; margin-top: var(--s1); }
  .spec > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .4rem;
    border-bottom: 1px dotted rgba(255, 255, 255, .12);
  }
  .spec dt {
    font-family: var(--font-mono);
    font-size: .6875rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .spec dd {
    font-family: var(--font-mono);
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
    color: var(--accent-2);
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* ------------------------------------------------------------- CTA */
  .cta {
    background: var(--accent);
    color: var(--accent-ink);
    padding-block: clamp(3.5rem, 9vw, var(--s7));
  }
  .cta__inner { display: grid; gap: var(--s5); }
  @media (min-width: 940px) {
    .cta__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s6); }
  }
  .eyebrow--ink { color: rgba(11, 12, 14, .65); }
  .eyebrow--ink::before { background: var(--accent-ink); }
  .cta__title {
    font-size: var(--fs-h2);
    text-transform: uppercase;
    margin-block: var(--s2) var(--s2);
    max-width: 14ch;
  }
  .cta__lead { color: rgba(11, 12, 14, .72); max-width: 40ch; }
  .cta__contacts {
    display: grid;
    gap: .4rem;
    margin-top: var(--s3);
    font-family: var(--font-mono);
    font-size: 1rem;
  }
  .cta__contacts a {
    border-bottom: 1px solid rgba(11, 12, 14, .25);
    padding-bottom: .1rem;
    transition: border-color .3s var(--ease);
  }
  .cta__contacts a:hover { border-color: var(--accent-ink); }

  /* ---------------------------------------------------------- formular */
  .quote-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s3) var(--s3);
    align-items: start;
  }
  @media (max-width: 560px) { .quote-form { grid-template-columns: minmax(0, 1fr); } }
  .field { display: grid; gap: .35rem; }
  .field--full { grid-column: 1 / -1; }
  .field label {
    font-family: var(--font-mono);
    font-size: .6875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(11, 12, 14, .6);
  }
  .field input,
  .field select,
  .field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(11, 12, 14, .28);
    border-radius: 0;
    padding: .5rem 0;
    font-size: 1rem;
    color: var(--accent-ink);
    transition: border-color .3s var(--ease);
  }
  .field textarea { resize: vertical; }
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-ink);
    border-bottom-width: 2px;
    padding-bottom: calc(.5rem - 1px);
  }
  .field input:focus-visible,
  .field select:focus-visible,
  .field textarea:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
  .field input::placeholder, .field textarea::placeholder { color: rgba(11, 12, 14, .45); }
  .field__error {
    font-family: var(--font-mono);
    font-size: .6875rem;
    letter-spacing: .04em;
    color: #7A1E12;
    min-height: 1em;
  }
  .field [aria-invalid="true"] { border-bottom-color: #7A1E12; }

  .btn--ink {
    --btn-bg: var(--accent-ink);
    --btn-fg: var(--accent);
    --btn-bd: var(--accent-ink);
    grid-column: 1 / -1;
    justify-self: start;
  }
  .btn--ink::before { background: var(--text); }
  .btn--ink:hover { color: var(--accent-ink); border-color: var(--text); }

  .form__success {
    grid-column: 1 / -1;
    font-family: var(--font-mono);
    font-size: .9375rem;
    padding: var(--s3);
    border: 1px solid var(--accent-ink);
    border-radius: var(--radius);
  }

  /* ---------------------------------------------------------- cursor */
  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    z-index: 10000;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .3s;
  }
  .cursor-dot { width: 6px; height: 6px; background: var(--accent); }
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1px solid var(--accent);
    mix-blend-mode: difference;
    transition: opacity .3s, width .3s var(--ease), height .3s var(--ease);
  }
  body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { opacity: 1; }
  body.cursor-hot .cursor-ring { width: 56px; height: 56px; }
  body.cursor-hot .cursor-dot { opacity: 0; }
}

/* ------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__title .line__inner { transform: none !important; }
  .hero__eyebrow, .hero__bottom { opacity: 1 !important; transform: none !important; }
  .hero__glow { display: none; }
  .hero__scroll-line { animation: none; transform: none; }

  .marquee { overflow: visible; }
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    row-gap: .5rem;
  }
  .cursor-dot, .cursor-ring { display: none; }
  .process__fill { height: 100% !important; }
}

/* --------------------------------------------- pagini interioare */
@layer components {
  .page-hero {
    position: relative;
    padding-block: clamp(3.5rem, 10vw, var(--s7)) clamp(2.5rem, 6vw, var(--s5));
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  .page-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .page-hero h1 {
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.045em;
  }
  .page-hero__lead { color: var(--text-dim); max-width: 54ch; }

  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .5rem;
    font-family: var(--font-mono);
    font-size: var(--fs-small);
    color: var(--text-dim);
  }
  .breadcrumb a:hover { color: var(--accent); }
  .breadcrumb span[aria-hidden] { color: var(--line-strong); }

  /* ------------------------------------------- servicii: detaliu */
  .svc-detail {
    display: grid;
    gap: var(--s3);
    padding-block: clamp(2.5rem, 6vw, var(--s6));
    border-top: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 1rem);
  }
  @media (min-width: 900px) {
    .svc-detail {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: var(--s5);
      align-items: center;
    }
    .svc-detail:nth-of-type(even) .svc-detail__visual { order: -1; }
  }
  .svc-detail__num {
    font-family: var(--font-mono);
    font-size: .8125rem;
    letter-spacing: .12em;
    color: var(--accent);
  }
  .svc-detail__body { display: grid; gap: var(--s2); align-content: start; }
  .svc-detail h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    text-transform: uppercase;
  }
  .svc-detail p { color: var(--text-dim); max-width: 48ch; }
  .svc-detail__points { display: grid; gap: .55rem; margin-top: var(--s1); }
  .svc-detail__points li {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: .5rem;
    font-size: .9375rem;
  }
  .svc-detail__points li::before {
    content: "→";
    color: var(--accent);
    font-family: var(--font-mono);
  }
  .svc-detail__visual {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
  }
  .svc-detail__visual img { width: 100%; height: auto; }

  /* ---------------------------------------------------- contact */
  .contact-layout { display: grid; gap: var(--s5); }
  @media (min-width: 940px) {
    .contact-layout { grid-template-columns: minmax(0, 1.minmax(0, 1fr)) minmax(0, .9fr); gap: var(--s6); }
  }
  .contact-panel {
    display: grid;
    gap: var(--s4);
    align-content: start;
    padding: clamp(1.5rem, 3vw, var(--s4));
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
  }
  .contact-block h3 {
    font-family: var(--font-mono);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: .6rem;
  }
  .contact-block ul { display: grid; gap: .4rem; list-style: none; }
  .contact-block a, .contact-block li {
    font-family: var(--font-mono);
    font-size: .9375rem;
  }
  .contact-block a { transition: color .3s var(--ease); }
  .contact-block a:hover { color: var(--accent); }
  .contact-block .dim { font-family: var(--font-body); }

  /* formularul pe fundal închis (pagina de contact) */
  .quote-form--dark .field label { color: var(--text-dim); }
  .quote-form--dark .field input,
  .quote-form--dark .field select,
  .quote-form--dark .field textarea {
    color: var(--text);
    border-bottom-color: var(--line-strong);
  }
  .quote-form--dark .field input:focus,
  .quote-form--dark .field select:focus,
  .quote-form--dark .field textarea:focus { border-bottom-color: var(--accent); }
  .quote-form--dark .field input:focus-visible,
  .quote-form--dark .field select:focus-visible,
  .quote-form--dark .field textarea:focus-visible { outline-color: var(--accent); }
  .quote-form--dark .field input::placeholder,
  .quote-form--dark .field textarea::placeholder { color: #565B63; }
  .quote-form--dark .field__error { color: #FF8A7A; }
  .quote-form--dark .field [aria-invalid="true"] { border-bottom-color: #FF8A7A; }
  .quote-form--dark select option { background: var(--surface); color: var(--text); }
  .quote-form--dark .btn--ink {
    --btn-bg: var(--accent);
    --btn-fg: var(--accent-ink);
    --btn-bd: var(--accent);
  }
  .quote-form--dark .form__success { border-color: var(--accent); color: var(--accent); }
}

/* ------------------------------------------------- selector de limbă */
@layer components {
  .lang { position: relative; flex-shrink: 0; }

  .lang__btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 44px;
    padding: 0 .7rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    font-size: .8125rem;
    color: var(--text-dim);
    transition: color .3s var(--ease), border-color .3s var(--ease);
  }
  .lang__btn:hover,
  .lang.is-open .lang__btn { color: var(--text); border-color: var(--accent); }
  .lang__chevron { transition: transform .3s var(--ease); }
  .lang.is-open .lang__chevron { transform: rotate(180deg); }

  .lang__menu {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    z-index: 120;
    min-width: 11.5rem;
    display: grid;
    padding: .35rem;
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }

  .lang__item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem .6rem;
    border-radius: 3px;
    font-size: .9375rem;
    color: var(--text-dim);
    white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease);
  }
  .lang__item:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
  .lang__item.is-current { color: var(--accent); }
  .lang__code {
    font-size: .6875rem;
    letter-spacing: .1em;
    color: var(--text-dim);
    min-width: 1.75rem;
  }
  .lang__item.is-current .lang__code { color: var(--accent); }

  /* în meniul mobil: o bandă de coduri */
  .mobile-nav__langs {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    list-style: none;
    padding: var(--s3) 0 0;
  }
  .mobile-nav__lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: .5rem .7rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: .8125rem;
    color: var(--text-dim);
  }
  .mobile-nav__lang.is-current {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: var(--accent);
  }
}

/* ------------------------------------------------ reglaje per limbă */
@layer components {
  /* Germana are compuse lungi — titlurile trebuie să poată despărți în silabe. */
  [data-lang="de"] { --fs-hero: clamp(2.5rem, 6.6vw, 7rem); }
  [data-lang="de"] h1,
  [data-lang="de"] h2,
  [data-lang="de"] .service__name,
  [data-lang="de"] .cta__title {
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  /* Archivo nu are chirilice — rusa primește Inter, care le acoperă. */
  [data-lang="ru"] {
    --font-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --fs-hero: clamp(2.6rem, 7.6vw, 7.75rem);
  }
  /* Chirilicele sunt mai late — tracking-ul agresiv le lipește. */
  [data-lang="ru"] h1,
  [data-lang="ru"] h2 { letter-spacing: -.03em; }
}

/* ------------------------------------------- fotografii reale */
@layer components {
  /* Vizualurile SVG sunt deja în paleta paginii; o fotografie brută ar sări
     din ea. Reducem puțin saturația și stingem baza, ca la celelalte carduri. */
  .svc-detail__visual.is-photo { position: relative; }

  .svc-detail__visual.is-photo img,
  .services__preview.is-photo img {
    filter: saturate(.92) contrast(1.04) brightness(.96);
    transition: filter .6s var(--ease);
  }

  .svc-detail__visual.is-photo::after,
  .services__preview.is-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(11, 12, 14, 0) 52%, rgba(11, 12, 14, .45));
  }

  /* la hover, fotografia își recapătă culoarea */
  .svc-detail:hover .svc-detail__visual.is-photo img { filter: none; }
}

/* ------------------------------------------- galerie foto + lightbox */
@layer components {
  /* Galeria stă în aceeași ramă 4:3 ca vizualurile simple; fotografiile
     (de obicei portret, de pe telefon) sunt tăiate la cadru aici și se văd
     întregi doar în lightbox. */
  .svc-gallery__open {
    position: relative;
    display: block;
    width: 100%;
    /* formatul e calculat la build din fotografiile galeriei; pătratul e doar plasa de siguranță */
    aspect-ratio: var(--ratio, 1);
    overflow: hidden;
    cursor: zoom-in;
  }
  /* Fotografiile vin de pe telefon, în formate foarte diferite — de la panoramă
     la portret 9:20. Tăiate la ramă s-ar pierde tocmai subiectul (prăjina,
     operatorul), așa că fotografia încape întreagă, iar golul din jur îl umple
     o copie neclară a ei. Rama ia formatul median al fotografiilor din galerie
     (--ratio, calculat la build), ca să nu rămână gol în jur. Adresa copiei vine
     prin --bg, pusă de JS la fiecare schimbare (și scrisă în HTML pentru copertă,
     ca să fie bună de la început). */
  .svc-gallery__open::before {
    content: "";
    position: absolute;
    inset: -8%;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    filter: blur(26px) saturate(.55) brightness(.42);
    transition: background-image .4s var(--ease);
  }
  .svc-gallery__open:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }
  .svc-detail__visual.svc-gallery img,
  .svc-detail__visual.svc-gallery video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity .9s var(--ease), transform 1.6s var(--ease), filter .6s var(--ease);
  }
  .svc-detail__visual.svc-gallery img.is-active,
  .svc-detail__visual.svc-gallery video.is-active {
    opacity: 1;
    transform: none;
  }
  .svc-gallery__dots {
    position: absolute;
    left: 50%;
    bottom: .9rem;
    z-index: 2;
    display: flex;
    gap: .45rem;
    transform: translateX(-50%);
  }
  .svc-gallery__dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .38);
    transition: background .4s var(--ease), transform .4s var(--ease);
  }
  .svc-gallery__dots i.is-active {
    background: var(--accent);
    transform: scale(1.35);
  }

  /* Galeriile lungi: un contor în loc de un șirag de puncte pe care nimeni
     nu le numără și care oricum n-ar încăpea pe telefon. */
  .svc-gallery__count {
    position: absolute;
    left: 50%;
    bottom: .75rem;
    z-index: 2;
    transform: translateX(-50%);
    padding: .3rem .7rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(11, 12, 14, .66);
    font-size: .75rem;
    letter-spacing: .12em;
    color: var(--text);
  }

  /* lightbox: fotografia mare, pe tot ecranul */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(11, 12, 14, .96);
    color: var(--text);
  }
  .lightbox:not([open]) { display: none; }
  .lightbox::backdrop { background: transparent; }
  body.has-lightbox { overflow: hidden; }

  .lightbox__stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 4.5rem clamp(1rem, 7vw, 6rem);
    touch-action: pan-y pinch-zoom;
    cursor: zoom-out;
  }
  .lightbox__stage img,
  .lightbox__stage video {
    max-width: 100%;
    max-height: calc(100vh - 9rem);
    width: auto;
    height: auto;
    cursor: default;
    user-select: none;
    -webkit-user-drag: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
  }
  .lightbox.is-in .lightbox__stage img,
  .lightbox.is-in .lightbox__stage video { animation: lightbox-in .5s var(--ease); }
  /* comenzile videoclipului trebuie să poată fi apăsate, spre deosebire de o poză */
  .lightbox__stage video { cursor: default; max-height: calc(100vh - 11rem); }
  @keyframes lightbox-in {
    from { opacity: 0; transform: translateX(var(--lb-dir, 0)) scale(.985); }
    to   { opacity: 1; transform: none; }
  }

  .lightbox__close,
  .lightbox__nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(19, 20, 23, .75);
    font-family: var(--font-mono);
    font-size: 1.25rem;
    line-height: 1;
    color: var(--text);
    transition: border-color .3s var(--ease), color .3s var(--ease);
  }
  .lightbox__close { top: 1rem; right: 1rem; }
  .lightbox__nav { top: 50%; transform: translateY(-50%); }
  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: 1rem; }
  .lightbox.is-single .lightbox__nav { display: none; }
  .lightbox__close:hover,
  .lightbox__nav:hover,
  .lightbox__close:focus-visible,
  .lightbox__nav:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    outline: none;
  }
  .lightbox__count {
    position: absolute;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    font-size: .8125rem;
    letter-spacing: .14em;
    color: var(--text-dim);
  }
  @media (max-width: 640px) {
    .lightbox__stage { padding: 4rem .75rem 5rem; }
    .lightbox__stage img,
  .lightbox__stage video { max-height: calc(100vh - 9.5rem); }
    .lightbox__nav { top: auto; bottom: .75rem; transform: none; }
    .lightbox__nav--prev { left: .75rem; }
    .lightbox__nav--next { right: .75rem; }
  }
}

/* ------------------------------------------- pagina de detaliu a unui serviciu */
@layer components {
  /* titlul serviciului devine legătură când serviciul are pagină proprie */
  .svc-detail__link {
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .45s var(--ease), color .35s var(--ease);
  }
  .svc-detail__link:hover,
  .svc-detail__link:focus-visible { background-size: 100% 2px; color: var(--accent); }
  .svc-detail__more { margin-top: var(--s2); }

  /* blocul introductiv: text și vizual, ca secțiunile de pe pagina de servicii */
  .svc-intro { display: grid; gap: var(--s4); align-items: center; }
  @media (min-width: 940px) {
    .svc-intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s5); }
  }
  .svc-intro__body { display: grid; gap: var(--s2); align-content: start; }
  .svc-intro h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    text-transform: uppercase;
  }
  .svc-intro p { color: var(--text-dim); max-width: 54ch; }

  /* cele două fețe ale serviciului, una lângă alta */
  .svc-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); margin-top: var(--s3); }
  @media (min-width: 860px) {
    .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
  }
  .svc-card {
    /* coloană flexibilă, ca nota să poată fi împinsă la bază chiar dacă un card
       are cu un punct mai mult decât celălalt */
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    padding: clamp(1.5rem, 3vw, var(--s4));
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    /* linia de accent de sus, ca pe cardurile din bento */
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 100% 2px;
    background-position: 0 0;
    background-repeat: no-repeat;
  }
  .svc-card__num {
    font-size: .8125rem;
    letter-spacing: .14em;
    color: var(--accent);
  }
  .svc-card h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: -.01em;
  }
  .svc-card__lead { color: var(--text-dim); }
  .svc-card__points { display: grid; gap: .55rem; margin-top: var(--s1); }
  .svc-card__points li {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: .5rem;
    font-size: .9375rem;
  }
  .svc-card__points li::before {
    content: "✓";
    color: var(--accent);
    font-family: var(--font-mono);
  }
  /* nota de subsol a cardului, despărțită de listă printr-o bară de accent */
  .svc-card__note {
    margin-top: auto;
    padding: .85rem 1rem;
    border-left: 2px solid var(--accent);
    background: var(--surface-2);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .875rem;
    color: var(--text-dim);
  }
  .svc-card__note strong { color: var(--text); font-weight: 600; }

  .svc-back { margin-top: var(--s4); }

  /* firimiturile au trei trepte pe pagina de detaliu, nu două */
  .breadcrumb a:hover { color: var(--accent); }
}

/* ------------------------------------------------- pagini legale */
@layer components {
  .legal__updated {
    font-size: .8125rem;
    letter-spacing: .12em;
    color: var(--text-dim);
  }
  /* O coloană îngustă: textul de lege se citește greu pe rânduri lungi. */
  .legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); max-width: 68ch; }
  .legal__section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s2);
    /* antetul e lipit sus; fără asta, un link către o secțiune ar ateriza sub el */
    scroll-margin-top: calc(var(--header-h) + 1rem);
  }
  .legal__num {
    font-size: .8125rem;
    letter-spacing: .12em;
    color: var(--accent);
  }
  .legal__section h2 {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    text-transform: uppercase;
    letter-spacing: -.01em;
  }
  .legal__section p { color: var(--text-dim); }
  .legal__section p + p { margin-top: .35rem; }
  .legal__list { display: grid; gap: .55rem; margin: var(--s1) 0; }
  .legal__list li {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: .5rem;
    font-size: .9375rem;
    color: var(--text-dim);
  }
  .legal__list li::before {
    content: "→";
    color: var(--accent);
    font-family: var(--font-mono);
  }
}

/* Butonul de WhatsApp, fix în colțul din dreapta-jos pe toate paginile.
   Stă sub meniul de pe mobil (z-index 99) și sub header, ca să nu le acopere. */
@layer components {
  .wa-float {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(0, 0, 0, .45); }
  .wa-float:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  @media (prefers-reduced-motion: reduce) { .wa-float, .wa-float:hover { transition: none; transform: none; } }
  @media print { .wa-float { display: none; } }
}

/* Legăturile către celelalte insule, pe paginile de zonă. */
@layer components {
  .zone-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--s2); list-style: none; padding: 0; }
}
