/* ==========================================================================
   TTSA — Turnkey Technical Systems & Assembly
   Foaia de stil a site-ului. Bazata pe design system-ul "Industry".
   Ordine: 1 tokens · 2 baza · 3 componente · 4 layout site · 5 responsive
   ========================================================================== */

/* ─── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-divider: rgba(29, 31, 32, .16);

  --color-accent-100: #eef6ff;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --font-heading: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading-weight: 600;

  --space-1: 3.4px;  --space-2: 6.8px;  --space-3: 10.2px;
  --space-4: 13.6px; --space-6: 20.4px; --space-8: 27.2px;

  --radius-sm: 2px; --radius-md: 4px; --radius-lg: 7px;

  --shadow-sm: 0 1px 2px rgba(43, 43, 45, .14);
  --shadow-md: 0 3px 10px rgba(43, 43, 45, .16);
  --shadow-lg: 0 12px 32px rgba(43, 43, 45, .22);

  --wrap: 1200px;
  --gutter: 24px;
  --section-y: 80px;
  --nav-h: 74px;
}

/* ─── 2. Baza ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
p { margin: 0 0 var(--space-3); }
/* Textul de legatura foloseste accent-700: accentul de brand nu atinge 4.5:1. */
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: rgba(89, 128, 166, .3); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-accent); color: #fff;
  padding: 12px 20px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

/* ─── 3. Componente ─────────────────────────────────────────────────────── */

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
  transition: transform .2s ease, box-shadow .2s ease, background .15s ease, color .15s ease;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent-700); color: #fff; }
.btn-primary:hover { background: var(--color-accent-800); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:active { background: var(--color-accent-900); transform: none; box-shadow: none; }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: rgba(29, 31, 32, .07); color: var(--color-text); }
.btn-block { width: 100%; margin-top: var(--space-2); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-on-dark { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Etichete */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: .02em; padding: 3px 10px; border-radius: 3px;
  text-decoration: none;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent-700); }
a.tag-accent:hover { background: var(--color-accent-700); color: #fff; }

/* Formular */
.field { margin-bottom: var(--space-4); }
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: rgba(29, 31, 32, .7);
}
.input {
  width: 100%; min-height: 44px; padding: 10px 12px; font: inherit;
  font-size: 15px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: rgba(29, 31, 32, .45); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 120px; resize: vertical; font-family: var(--font-body); }
.input[aria-invalid="true"] { border-color: #b3261e; }
.field-error { display: none; margin: 5px 0 0; font-size: 12px; color: #b3261e; }
.field-error.is-visible { display: block; }

/* Carduri */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-6); border-radius: var(--radius-md);
  background: var(--color-surface);
}
.elev-sm { box-shadow: var(--shadow-sm); }

/* Cadru cu repere de colt (marca vizuala a design system-ului) */
.frame { position: relative; border: 1px solid var(--color-divider); }
.frame > .corner {
  position: absolute; width: 11px; height: 11px;
  color: rgba(29, 31, 32, .55); pointer-events: none;
}
.frame > .corner::before,
.frame > .corner::after { content: ""; position: absolute; background: currentColor; }
.frame > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.frame > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.frame > .corner.tl { top: -6px; left: -6px; }
.frame > .corner.tr { top: -6px; right: -6px; }
.frame > .corner.bl { bottom: -6px; left: -6px; }
.frame > .corner.br { bottom: -6px; right: -6px; }

/* Fotografii — tratament duotone, ca in design system */
.photo { position: relative; overflow: hidden; }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--color-accent); mix-blend-mode: color;
}
.photo img, .photo video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(.5) contrast(1.05);
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.photo-zoom:hover img { transform: scale(1.09); }

/* ─── 4. Layout site ────────────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-surface { background: var(--color-surface); }
.section-dark { background: var(--color-accent-900); color: #f2f2f3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-tight { padding: 56px 0; }
.section-center { text-align: center; }

.kicker {
  display: block; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--color-accent-700);
  font-weight: 600; margin-bottom: 10px;
}
.section-dark .kicker { color: rgba(255, 255, 255, .65); }
.section-title { font-size: 34px; margin: 0 0 40px; max-width: 28ch; }
.section-title-tight { margin-bottom: 8px; }
.section-sub { font-size: 15px; opacity: .75; max-width: 60ch; margin: 0 0 36px; }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-gallery { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.grid-split { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

/* — Navigatie — */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow .3s ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: var(--space-3) var(--gutter);
  display: flex; align-items: center; gap: var(--space-4);
  min-height: var(--nav-h);
}
.nav-brand { display: flex; align-items: center; flex: none; }
.nav-brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--space-4); flex: 1; }
.nav-links a {
  color: inherit; text-decoration: none; font-size: 14px; white-space: nowrap;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--color-accent-700); }
.nav-links a[aria-current="page"] { color: var(--color-accent-700); border-bottom-color: var(--color-accent); }
.nav-actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }
/* CTA-ul din panoul mobil este ascuns pe desktop (acolo apare cel din .nav-actions) */
.nav-links .btn-primary { display: none; }
.nav-actions .btn-primary { color: #fff; }

/* Selector de limba */
.lang { display: flex; gap: 2px; border: 1px solid var(--color-divider); border-radius: var(--radius-md); overflow: hidden; }
.lang a {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 13px; padding: 6px 9px; text-decoration: none; color: var(--color-text);
  line-height: 1.2;
}
.lang a:hover { background: rgba(29, 31, 32, .07); }
.lang a[aria-current="true"] { background: var(--color-accent-700); color: #fff; }

/* Buton hamburger */
.nav-toggle {
  display: none; flex: none; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--color-divider);
  border-radius: var(--radius-md); cursor: pointer; color: var(--color-text);
}
.nav-toggle span {
  display: block; position: relative; width: 20px; height: 2px;
  background: currentColor; transition: background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: currentColor; transition: transform .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Logo (SVG inline — wordmark TTSA + linie + subtitlu) */
.logo { display: block; }
.logo .logo-word {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 170px;
  letter-spacing: -5px;
}
.logo .logo-tag {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
  letter-spacing: 0;
}
.nav-brand .logo { height: 52px; width: auto; }

/* Pe fundal inchis logo-ul sta pe o placuta deschisa, ca literele sa pastreze
   exact aceleasi culori ca in meniu. box-sizing: content-box ca inaltimea
   declarata sa ramana inaltimea logo-ului, nu a placutei. */
.logo-plate {
  box-sizing: content-box;
  width: fit-content;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 12px 20px;
}

/* — Hero — */
.hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media::after { display: none; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.5) contrast(1.05);
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29, 31, 32, .72), rgba(29, 31, 32, .88));
}
.hero-body { position: relative; padding: 72px var(--gutter); max-width: var(--wrap); margin: 0 auto; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; max-width: 16ch; margin: 0 0 20px; }
.hero p { color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 1.55; max-width: 56ch; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .kicker { color: rgba(255, 255, 255, .65); }

/* Hero simplu, fara imagine (pagini interioare) */
.hero-plain {
  min-height: 0; background: var(--color-accent-900); color: #fff;
  padding: 72px 0 64px; display: block;
}
.hero-plain h1 { font-size: clamp(30px, 3.6vw, 44px); max-width: 20ch; }
.hero-plain p { margin-bottom: 28px; }
.hero-plain .hero-body { padding-top: 0; padding-bottom: 0; }

/* — Carduri de serviciu — */
.service-card {
  position: relative; display: block; padding: 28px;
  text-decoration: none; color: inherit; background: transparent;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  background: var(--color-surface); color: inherit;
  transform: translateY(-6px); box-shadow: var(--shadow-md);
}
.service-card .icon { width: 44px; height: 44px; color: var(--color-accent); margin-bottom: 18px; transition: transform .25s ease; }
.service-card:hover .icon { transform: scale(1.12); }
.service-card h3 { font-size: 22px; margin: 0 0 10px; }
.service-card p { font-size: 15px; line-height: 1.55; opacity: .8; margin: 0 0 16px; }
.service-card .more { font-size: 14px; color: var(--color-accent-700); font-weight: 600; }
.icon svg { width: 100%; height: 100%; display: block; }

/* — Galerie — */
.gallery-item { position: relative; aspect-ratio: 4 / 3; margin: 0; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 8px 10px; font-size: 12px; color: #fff;
  background: linear-gradient(0deg, rgba(29, 31, 32, .75), transparent);
}
.gallery-placeholder {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center; font-size: 13px;
  color: rgba(29, 31, 32, .55); background: var(--color-surface);
}

/* — Valori / pasi — */
.value h4, .value h3 { font-size: 17px; margin: 0 0 8px; }
.value p { font-size: 14px; line-height: 1.55; opacity: .78; margin: 0; }
.value .icon { width: 34px; height: 34px; color: var(--color-accent); margin-bottom: 14px; }
.step-n {
  display: inline-flex; margin-bottom: 12px;
  font-family: var(--font-heading); font-size: 13px;
}

/* — Contact — */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 20px; margin: 0 0 16px; }
.contact-info dl { margin: 0; font-size: 15px; line-height: 1.7; }
.contact-info dt {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(29, 31, 32, .55); margin-top: 16px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 0; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.form-status { margin-top: var(--space-4); font-size: 14px; }
.form-status[data-state="error"] { color: #b3261e; }

/* — Footer — */
.footer { background: var(--color-accent-900); color: rgba(255, 255, 255, .8); padding: 56px 0 28px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 36px; }
.footer .logo { height: 64px; width: auto; }
.footer .logo-plate { margin-bottom: 14px; }
.footer h2 {
  color: #fff; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; margin: 0 0 12px;
}
.footer p { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .7); margin: 0; max-width: 34ch; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact { font-size: 14px; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px;
  font-size: 12px; color: rgba(255, 255, 255, .55);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }

/* — Animatii — */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes kenBurns { from { transform: scale(1.03); } to { transform: scale(1.14); } }

.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-visible { animation: fadeUp .8s cubic-bezier(.16, 1, .3, 1) both; }
.hero-media video, .hero-media > img { animation: kenBurns 22s ease-in-out infinite alternate; }
.hero-body > * { animation: fadeUp .8s cubic-bezier(.16, 1, .3, 1) both; }
.hero-body > :nth-child(2) { animation-delay: .1s; }
.hero-body > :nth-child(3) { animation-delay: .2s; }
.hero-body > :nth-child(4) { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; }
}

/* ─── 5. Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .nav-links { gap: var(--space-3); }
  .nav-links a { font-size: 13px; }
  :root { --section-y: 64px; }
}

/* Sub 940px: meniul trece pe panou mobil */
@media (max-width: 940px) {
  :root { --nav-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { gap: var(--space-3); }
  .nav-brand { margin-right: auto; }
  .nav-brand .logo { height: 42px; }

  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4) var(--gutter) var(--space-8);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0;
    visibility: hidden; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav[data-open="true"] .nav-links {
    transform: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-links a {
    font-size: 17px; padding: 13px 0;
    border-bottom: 1px solid var(--color-divider);
  }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--color-divider); }
  .nav-actions { gap: var(--space-3); }
  .nav-actions .btn-primary { display: none; }
  .nav-links .btn-primary {
    display: inline-flex; margin-top: var(--space-6); border-bottom: 0;
    justify-content: center; padding: 13px;
  }
}

@media (max-width: 860px) {
  .grid-split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { display: flex; flex-direction: column-reverse; }
  .hero { min-height: 480px; }
  .section-title { font-size: 30px; margin-bottom: 32px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --section-y: 52px; }
  body { font-size: 15px; }
  .hero { min-height: 440px; }
  .hero-body { padding: 56px var(--gutter); }
  .hero p { font-size: 16px; margin-bottom: 26px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .section-title { font-size: 26px; }
  .grid { gap: 22px; }
  .grid-gallery { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
  .service-card { padding: 22px; }
  .card { padding: var(--space-4); }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .grid-gallery { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 26px; }
}

/* ─── Print ─────────────────────────────────────────────────────────────── */
@media print {
  .nav, .hero-media, .hero-scrim, .nav-toggle, .lang { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .hero-plain { min-height: 0; background: none; color: #000; padding: 0 0 20px; }
  .hero h1, .hero p { color: #000; }
  .footer { background: none; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; }
  .js [data-reveal] { opacity: 1 !important; animation: none !important; }
}

/* ── Banner de consimțământ (cookie-uri) ───────────────────────────────── */

.cc {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 900;
  padding: var(--space-4);
  background: rgba(29, 45, 61, .97);
  color: #eef2f6;
  box-shadow: 0 -8px 32px rgba(43, 43, 45, .28);
  animation: cc-in .28s ease-out;
}

@keyframes cc-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .cc { animation: none; } }

.cc[hidden] { display: none; }

.cc-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr auto;
  align-items: center;
}

.cc-title {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 20px;
  margin: 0 0 var(--space-2);
  color: #fff;
}

.cc-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  max-width: 74ch;
  color: rgba(238, 242, 246, .88);
}

.cc-body a { color: #bcd6ee; text-decoration: underline; }
.cc-body a:hover { color: #fff; }

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-self: end;
}

.cc-btn { white-space: nowrap; font-size: 14px; }
.cc-btn[hidden] { display: none; }

.cc .btn-ghost {
  background: transparent;
  color: #eef2f6;
  border: 1px solid rgba(238, 242, 246, .38);
}
.cc .btn-ghost:hover { background: rgba(238, 242, 246, .12); color: #fff; }

/* Panoul cu categorii */
.cc-cats {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, 1fr);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(238, 242, 246, .18);
}
.cc-cats[hidden] { display: none; }

.cc-cat-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  margin-bottom: var(--space-1);
}
.cc-cat-head input { width: 16px; height: 16px; accent-color: var(--color-accent-600); }
.cc-cat-head input:disabled { cursor: not-allowed; }

.cc-cat-name { font-weight: 600; font-size: 14px; color: #fff; }
.cc-cat-lock { font-size: 12px; color: rgba(238, 242, 246, .6); }

.cc-cat-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(238, 242, 246, .78);
}

@media (max-width: 900px) {
  .cc-inner { grid-template-columns: 1fr; }
  .cc-actions { justify-self: stretch; }
  .cc-actions .cc-btn { flex: 1 1 auto; }
  .cc-cats { grid-template-columns: 1fr; gap: var(--space-3); }
  .cc { max-height: 82vh; overflow-y: auto; }
}
