/* ================================================================
   ROMSYS SERV — design system v2 (inspirație: upsunday.co)
   Fonturi rotunjite (Nunito ≈ SF Pro Rounded), nav plutitor tip
   pastilă, hero editorial cu chips, marquee, animații elastice.
   ================================================================ */

/* Fonturi găzduite local (nu mai cerem la Google) — Nunito și Open Sans
   sunt fonturi variabile, deci un singur fișier acoperă tot intervalul
   de grosimi folosit. Subseturile latin/latin-ext (nu cyrillic/greek/
   vietnamese) sunt suficiente pentru un site în română. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/assets/fonts/nunito-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: "Nunito";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/assets/fonts/nunito-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: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/opensans-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: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/opensans-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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/plexmono-400-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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/plexmono-400-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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/plexmono-500-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: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/plexmono-500-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;
}

:root {
  --blue: #2363bb;          /* albastrul ROMSYS din siglă */
  --blue-deep: #17498f;
  --blue-ink: #0d1e35;      /* text principal, secțiuni dark */
  --ice-1: #e8f1fa;         /* fundal glacial sus (upsunday vibe) */
  --ice-2: #f7fafd;
  --paper: #ffffff;
  --mist: #eef4fa;
  --slate: #55677d;         /* gri text — ecoul lui „SERV" */
  --gray-logo: #989898;     /* griul SERV din siglă */
  --orange: #ed4a19;        /* portocaliul din vechea iconiță — accent */
  --green: #23bb63;         /* status operațional */
  --line: #dfe8f2;

  --font-display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: "Open Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --wrap: 1180px;
  --r-md: 16px;
  --r-lg: 24px;
  --spring: cubic-bezier(0.3, 1.18, 0.5, 1);   /* pop elastic upsunday */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--blue-ink);
  background: linear-gradient(180deg, var(--ice-1) 0%, var(--ice-2) 520px, var(--paper) 900px);
  -webkit-font-smoothing: antialiased;
  padding-top: 120px;   /* loc pentru nav-ul plutitor */
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ================= tipografie ================= */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.7rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 22ch; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1.1rem;
}
.eyebrow-light { color: #9fc0ef; }

.lead {
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 52ch;
  margin: 1.6rem 0 2.2rem;
}
.section-sub { color: var(--slate); max-width: 54ch; margin-top: 1rem; }

/* ================= status dots ================= */
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  flex: none;
}
.dot-live { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(35, 187, 99, 0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(35, 187, 99, 0); }
}
.st {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.st i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ================= butoane ================= */
.btn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  display: inline-block;
  border: 0;
  cursor: pointer;
  transition: transform 0.45s var(--spring), box-shadow 0.3s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(35, 99, 187, 0.3);
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-3px) scale(1.03); }
.btn-ghost {
  color: var(--blue-ink);
  background: var(--paper);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }
.btn-lg { font-size: 1.15rem; padding: 0.95em 2em; }

/* ================= nav plutitor tip pastilă ================= */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--wrap), calc(100% - 28px));
  z-index: 90;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(13, 30, 53, 0.12);
  animation: nav-reveal 0.9s var(--spring) both;
}
@keyframes nav-reveal {
  from { transform: translateX(-50%) translateY(-130%); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);     opacity: 1; }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  height: 80px;
  padding: 0 12px 0 24px;
}

.brand { display: inline-flex; align-items: center; line-height: 1; }

/* text prezent în DOM pentru screen-readere și tool-uri text-only,
   dar scos vizual din pagină (nu display:none, ca să rămână în arborele de accesibilitate) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand-logo { height: 20px; width: auto; display: block; }

.site-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.site-nav a {
  font-family: var(--font-display);
  color: var(--blue-ink);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 46px; height: 46px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--blue-ink);
  border-radius: 2px;
}

/* ================= hero editorial (homepage) ================= */
.hero { padding: 4.2rem 0 5rem; text-align: center; }
.hero .eyebrow { justify-content: center; }

.hero-line {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-size: clamp(2.9rem, 7.6vw, 6rem);
  max-width: 15ch;
  margin: 0 auto;
}
.hero-line .accent { color: var(--blue); }

/* cuvinte + chips care sar înăuntru */
.js .pop {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) scale(0.7);
}
.js .pop.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 1.2s var(--spring);
}

.chip {
  display: inline-block;
  vertical-align: -0.12em;
  height: 0.82em;
  width: 1.7em;
  object-fit: cover;
  border-radius: 0.24em;
  box-shadow: 0 6px 18px rgba(13, 30, 53, 0.25);
  margin: 0 0.06em;
}
.chip-tilt-l { transform: rotate(-4deg); }
.chip-tilt-r { transform: rotate(3deg); }

.doodle {
  display: inline-block;
  vertical-align: -0.08em;
  width: 1.9em;
  height: 0.95em;
}
.doodle path { stroke: var(--orange); }

.hero-sub {
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 56ch;
  margin: 2rem auto 2.4rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-call { margin-top: 1.4rem; font-size: 0.92rem; color: var(--slate); }
.hero-call a { font-weight: 700; }

/* ================= marquee parteneri ================= */
.marquee-section { padding: 2.2rem 0 1rem; }
.marquee-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-align: center;
  margin-bottom: 1.2rem;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 5rem;
  width: max-content;
  padding-right: 5rem;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  /* track repetă setul de logo-uri de 5 ori (vezi gen_home.py) — se
     translatează cu exact 1/5 din lățimea totală, adică un singur set
     + gap-ul de graniță, ca bucla să fie perfect continuă indiferent
     de lățimea ecranului. padding-right trebuie să rămână mereu egal
     cu gap pentru ca matematica să iasă exact. */
  from { transform: translateX(0); }
  to   { transform: translateX(-20%); }
}
.marquee-track li {
  list-style: none;
  display: flex;
  align-items: center;
}
.partner-logo {
  height: 44px;
  width: auto;
  fill: #aebccf;
  transition: fill 0.3s ease;
}
.marquee-track li:hover .partner-logo { fill: #7d90a8; }

/* ================= panoul de status ================= */
.status-board {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px rgba(13, 30, 53, 0.14);
  font-family: var(--font-mono);
  overflow: hidden;
  max-width: 560px;
}
.sway { animation: sway 5.5s ease-in-out infinite; }
@keyframes sway {
  0%, 100% { transform: rotate(-0.8deg) translateY(0); }
  50%      { transform: rotate(0.8deg) translateY(-8px); }
}
.status-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}
.status-title { font-size: 0.8125rem; color: var(--slate); }
.status-badge {
  font-size: 0.75rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.status-list { list-style: none; padding: 0.6rem 0; }
.status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.72rem 1.4rem;
  font-size: 0.9rem;
}
.status-list li + li { border-top: 1px dashed var(--line); }
.status-foot {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--slate);
}
.uptime-bar { display: flex; gap: 3px; flex: 1; }
.uptime-bar i {
  flex: 1;
  height: 16px;
  border-radius: 2px;
  background: var(--green);
  opacity: 0.85;
}
.uptime-bar i:nth-child(7n) { opacity: 0.35; }
.uptime-since { color: var(--blue-ink); font-weight: 500; }

/* ================= secțiuni ================= */
.section { padding: 6rem 0; }
.section-head { margin-bottom: 3.4rem; }
.section-head.centered { text-align: center; }
.section-head.centered h2, .section-head.centered .section-sub { margin-inline: auto; }
.section-head.centered .eyebrow { justify-content: center; }

/* securitate — focus homepage */
.security-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.pillar-list { list-style: none; margin-top: 2rem; display: grid; gap: 0.9rem; }
.pillar-list li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: 1.05rem;
}
.pillar-list .tick {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 0.9rem;
  flex: none;
}
.stat-callout {
  margin-top: 2.4rem;
  padding: 1.3rem 1.6rem;
  background: rgba(237, 74, 25, 0.07);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--blue-ink);
  font-size: 0.98rem;
}

/* ================= carduri servicii ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.8rem;
  color: inherit;
  transition: transform 0.6s var(--spring), box-shadow 0.3s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-7px) rotate(-0.4deg);
  border-color: transparent;
  box-shadow: 0 26px 60px rgba(13, 30, 53, 0.14);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue);
  background: rgba(35, 99, 187, 0.08);
  padding: 0.3em 0.8em;
  border-radius: 999px;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--slate); font-size: 0.95rem; flex: 1; }
.card-link {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--blue);
}
.card:hover .card-link .arr { transform: translateX(5px); }
.card-link .arr { display: inline-block; transition: transform 0.45s var(--spring); }

/* ================= bandă imagini ================= */
.band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 8px; margin-bottom: 2.5rem; }
.band-fig { overflow: hidden; border-radius: var(--r-md); }
.band img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.band-fig:hover img { transform: scale(1.05); }

/* ================= despre (dark) ================= */
.section-dark {
  background: var(--blue-ink);
  color: #dbe5f2;
  border-radius: var(--r-lg);
  margin: 0 8px;
}
.section-dark h2 { color: #fff; }
.section-dark p { color: #b6c4d8; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-copy p + p { margin-top: 1rem; }
.about-copy h2 { margin-bottom: 1.4rem; }
.about-fig img {
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.stats { display: flex; gap: 3rem; margin-top: 2.6rem; flex-wrap: wrap; }
.stats dt {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.stats dt::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 0.35rem;
  background: var(--orange);
  border-radius: 2px;
}
.stats dd {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #8fa3bd;
  margin-top: 0.55rem;
}

/* ================= teasere scurte (Despre / Contact pe homepage) =================
   Versiuni condensate ale paginilor dedicate despre.html / contact.html —
   un singur ecran, text minim, un CTA clar spre pagina completă. */
.teaser-section { border-radius: var(--r-lg); margin: 0 8px; text-align: center; }
.teaser-inner { max-width: 640px; margin: 0 auto; }
.teaser-inner .eyebrow { justify-content: center; }
.teaser-text { color: var(--slate); font-size: 1.05rem; margin-top: 1rem; }
.section-dark .teaser-text { color: #b6c4d8; }
.stats-compact {
  justify-content: center;
  gap: 2.4rem;
  margin-top: 1.8rem;
}
.stats-compact dt { font-size: 2rem; }
.teaser-cta { margin-top: 1.8rem; }
.teaser-contact-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 1.3rem;
  flex-wrap: wrap;
}
.teaser-contact-links a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-ink);
}
.teaser-contact-links a:hover { color: var(--blue); }

/* ================= proces ================= */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.steps li {
  background: var(--mist);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.6rem;
  transition: transform 0.6s var(--spring), background 0.25s ease;
}
.steps li:hover { transform: translateY(-6px); background: var(--paper); box-shadow: 0 20px 46px rgba(13,30,53,0.1); }
.step-no {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--orange);
  display: block;
  margin-bottom: 0.9rem;
}
.steps h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.steps p { color: var(--slate); font-size: 0.93rem; }

/* ================= pagini de serviciu ================= */
.page-hero { padding: 3.4rem 0 4.2rem; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 16ch; }
.page-hero-fig img {
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 30px 70px rgba(13, 30, 53, 0.18);
}

.content-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem 4rem;
}
.content-cols h3 { margin-bottom: 0.7rem; }
.content-cols p { color: var(--slate); }
.content-cols ul { list-style: none; margin-top: 0.8rem; display: grid; gap: 0.55rem; }
.content-cols li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--slate);
  font-size: 0.98rem;
}
.content-cols li::before {
  content: "→";
  font-family: var(--font-mono);
  color: var(--blue);
  flex: none;
}

.cta-block {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: var(--r-lg);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}
.cta-block h2 { color: #fff; margin-inline: auto; }
/* .cta-block dublat ca să bată orice regulă tipografică a contextului
   ambiant (ex. .article-prose > p) indiferent unde e plasat cta-block-ul */
.cta-block.cta-block p { color: #fff; max-width: 50ch; margin: 1rem auto 2rem; }
.cta-block .btn-primary {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.cta-block .btn-primary:hover { background: var(--ice-1); }

/* breadcrumb-ish back link */
.backlink {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-block;
  margin-bottom: 1.4rem;
}

/* ================= contact ================= */
.section-contact { background: var(--mist); border-radius: var(--r-lg); margin: 0 8px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contact-card {
  font-style: normal;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--slate);
  display: block;
  margin-bottom: 0.3rem;
}
.contact-row p { font-weight: 600; font-family: var(--font-display); }
.contact-row a { color: var(--blue-ink); }
.contact-row a:hover { color: var(--blue); }

.contact-mini { font-style: normal; margin-top: 1.8rem; display: grid; gap: 0.6rem; }
.contact-mini p { display: flex; gap: 0.7rem; align-items: baseline; font-size: 0.95rem; }
.contact-mini a { color: var(--blue-ink); font-weight: 600; }
.contact-mini a:hover { color: var(--blue); }

/* ================= footer ================= */
.site-footer { padding: 3.5rem 0 2.5rem; color: #8fa0b5; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(143, 160, 181, 0.2);
}
.brand-footer .brand-logo { height: 20px; }
.footer-tagline { margin-top: 0.9rem; font-size: 0.9rem; line-height: 1.6; max-width: 32ch; }
.footer-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #5f7188;
  margin-bottom: 0.9rem;
}
.footer-col p { font-size: 0.88rem; margin: 0.5rem 0; }
.footer-col a { color: #55677d; }
.footer-col a:hover { color: var(--blue); }
.footer-col-anpc { display: flex; flex-direction: column; align-items: flex-start; }

/* placheta ANPC — dimensiune oficială 250×50 px */
.anpc-banner { height: 50px; width: auto; display: block; border-radius: 6px; }
.footer-col-anpc a { display: block; transition: transform 0.4s var(--spring); }
.footer-col-anpc a:hover { transform: translateY(-3px); }

.footer-bottom { padding-top: 1.6rem; }
.footer-copy { font-size: 0.82rem; }

/* ================= card featured (SmartServ AI) ================= */
.card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(120deg, #0d1e35 0%, #17498f 70%, #2363bb 100%);
  border: 0;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.card-featured h3 { color: #fff; font-size: 1.6rem; }
.card-featured p { color: #c4d7f2; }
.card-featured .card-link { color: #fff; }
.card-featured .card-tag { background: rgba(255, 255, 255, 0.14); color: #fff; }
.badge-new {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  background: var(--orange);
  color: #fff;
  padding: 0.32em 0.85em;
  border-radius: 999px;
}
.card-featured-fig { align-self: stretch; min-height: 200px; }
.card-featured-fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  opacity: 0.9;
}

/* ================= noutăți / articole ================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--mist);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.7rem;
  color: inherit;
  transition: transform 0.6s var(--spring), box-shadow 0.3s ease, background 0.25s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  background: var(--paper);
  box-shadow: 0 22px 52px rgba(13, 30, 53, 0.12);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate);
  margin-bottom: 1.1rem;
}
.news-meta .card-tag { margin: 0; }
.news-card h3 { margin-bottom: 0.6rem; font-size: 1.18rem; }
.news-card p { color: var(--slate); font-size: 0.94rem; flex: 1; }
.news-card .card-link { margin-top: 1.3rem; }

/* ================= probleme pe care le rezolvăm ================= */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
.problem {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.problem:hover .problem-arr { transform: translateX(4px); opacity: 1; }
.problem-mark {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(237, 74, 25, 0.12);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}
.problem-text { flex: 1; font-size: 1rem; }
.problem-arr {
  flex: none;
  color: var(--blue);
  opacity: 0;
  transition: transform 0.4s var(--spring), opacity 0.3s ease;
  align-self: center;
}

/* ================= pentru cine lucrăm ================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.audience-chip {
  background: var(--mist);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  transition: transform 0.5s var(--spring), background 0.25s ease, color 0.25s ease;
}
.audience-chip:hover { transform: translateY(-4px); background: var(--blue); color: #fff; }

/* ================= pachete Start / Business / Pro ================= */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.package {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.1rem 1.9rem;
  transition: transform 0.6s var(--spring), box-shadow 0.3s ease;
}
.package:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(13, 30, 53, 0.12); }
.package-featured {
  border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(35, 99, 187, 0.16);
  position: relative;
}
.package-name { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.package-audience { color: var(--slate); font-size: 0.92rem; margin: 0.5rem 0 1.4rem; }
.package-list { list-style: none; display: grid; gap: 0.65rem; flex: 1; margin-bottom: 1.6rem; }
.package-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--blue-ink);
}
.package-list li::before { content: "✓"; color: var(--green); font-family: var(--font-mono); flex: none; }
.package .btn { align-self: flex-start; }

/* ================= formular de contact ================= */
.contact-form { display: grid; gap: 1.1rem; }
.cf-row { display: grid; gap: 0.4rem; }
.cf-row-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--slate);
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--blue-ink);
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.contact-form textarea { resize: vertical; min-height: 6rem; font-family: var(--font-body); }
.cf-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--slate);
  cursor: pointer;
}
.cf-check input { margin-top: 0.2rem; flex: none; width: 1.1rem; height: 1.1rem; }
.cf-check a { color: var(--blue); }
.cf-submit { justify-self: start; margin-top: 0.4rem; }
.cf-status { font-size: 0.92rem; font-weight: 600; min-height: 1.2em; }
.cf-status-ok { color: var(--green); }
.cf-status-err { color: #c0392b; }

/* pagina de articol */
.article-head { max-width: 780px; margin: 0 auto; padding: 2.6rem 0 1rem; }
.article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.article-prose {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 2rem;
}
.article-prose h2 {
  font-size: 1.5rem;
  max-width: none;
  margin: 2.4rem 0 0.8rem;
}
.article-prose > p { color: #3d4f63; margin: 1rem 0; }
.article-prose ul, .article-prose ol { margin: 1rem 0 1rem 1.4rem; color: #3d4f63; }
.article-prose li { margin: 0.45rem 0; }
.article-prose strong { color: var(--blue-ink); }
.article-prose a { font-weight: 600; }

/* ================= reveal la scroll =================
   Ascunderea se aplică doar sub html.js (setat inline în head),
   ca pagina să rămână completă fără JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.7s ease, transform 1s var(--spring);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot-live { animation: none; }
  .site-header { animation: none; }
  .sway { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .js .reveal, .js .pop { opacity: 1; transform: none; transition: none; }
  .btn, .card, .steps li, .band img, .card-link .arr { transition: none; }
}

/* ================= responsive ================= */
@media (max-width: 960px) {
  body { padding-top: 108px; }
  .security-grid, .about-grid, .contact-grid, .page-hero-grid, .card-featured {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  .status-board { margin-inline: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .content-cols { grid-template-columns: 1fr; gap: 2.4rem; }
  .about-fig img { aspect-ratio: 16 / 10; }
  .band img { height: 200px; }
  .problems-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 4rem 0; }
  .cards, .news-grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; }
  .band-fig:nth-child(3) { display: none; }
  .stats { gap: 2rem; }
  .hero { padding-top: 2.6rem; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .cf-row-pair { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }

  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--paper);
    border-radius: var(--r-md);
    box-shadow: 0 18px 44px rgba(13, 30, 53, 0.16);
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 0 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.8rem 24px; }
}
