/* Omnival — stiluri comune pentru toate paginile */
:root {
  --navy: #1C4E8C;
  --navy-dark: #122952;
  --navy-deep: #0B2043;
  --blue: #1462D6;
  --blue-dark: #0F4FB0;
  --blue-light: #8EC5FF;
  --blue-soft: #EAF2FD;
  --purple: #5514A4;
  --purple-2: #6A1CCB;
  --purple-3: #A855F7;
  --purple-bg: #0D0916;
  --text: #1A1A2E;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --border: #E5E7EB;
  --ok: #16A34A;
  --err: #DC2626;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(11, 32, 67, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 32, 67, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
h1, h2, h3, .kicker, .brands p, .cta-box h2 { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; }
body {
  margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 20px rgba(20, 98, 214, .28); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 10px 28px rgba(20, 98, 214, .38); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.btn-white:hover { background: var(--blue-soft); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.14); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-purple { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; box-shadow: 0 8px 24px rgba(106, 28, 203, .45); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-perks { display: flex; gap: 22px; }
.topbar-perks span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-perks svg { width: 14px; height: 14px; color: var(--blue-light); }
.topbar-contact { display: flex; gap: 18px; }
.topbar-contact a:hover { color: var(--blue-light); }

header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
header.site.scrolled { border-color: var(--border); box-shadow: 0 4px 20px rgba(11,32,67,.06); }
.nav { display: flex; align-items: center; gap: 20px; height: 88px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.brand img { width: 76px; height: 76px; object-fit: contain; }
.nav-quick { display: none; }
/* app-icon style buttons (iOS squircle proportions) */
.quick { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 11px; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18), inset 0 0 0 .5px rgba(0,0,0,.08); transition: transform .15s; }
.quick:active { transform: scale(.94); }
.quick-wa { background: linear-gradient(180deg, #5DF27B 0%, #12B84A 100%); }
.quick-wa svg { width: 30px; height: 30px; }
.quick-tel { background: linear-gradient(180deg, #4C9BEA 0%, var(--blue) 100%); }
.quick-tel svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text > span { font-size: 20px; }
.brand-text small { font-size: 11.5px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; color: #334155; white-space: nowrap; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg-soft); color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue); }
.nav-links a.builds { color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-2)); margin-left: 6px; }
.nav-links a.builds:hover { background: linear-gradient(135deg, var(--purple-2), var(--purple-3)); }
.nav-cta { display: flex; gap: 14px; align-items: center; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--navy); white-space: nowrap; transition: color .2s; }
.nav-phone svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); flex: none; }
.nav-phone:hover { color: var(--blue); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: var(--bg-soft); border-radius: 10px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px auto; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(105deg, rgba(11,32,67,.96) 0%, rgba(18,41,82,.88) 45%, rgba(26,71,117,.5) 100%), url('../static/Header.webp') center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,98,214,.45), transparent 65%); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(142,197,255,.12); border: 1px solid rgba(142,197,255,.35); color: var(--blue-light);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(142,197,255,.7); } 70% { box-shadow: 0 0 0 10px rgba(142,197,255,0); } 100% { box-shadow: 0 0 0 0 rgba(142,197,255,0); } }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.07; margin: 20px 0 18px; font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,.85); max-width: 560px; margin: 0 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(142,197,255,.22); color: var(--blue-light); fill: none; stroke: currentColor; }
.hero-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1.05fr); gap: 24px; margin-top: 44px; max-width: 700px; }
.hero-stats div { border-left: 2px solid var(--blue-light); padding-left: 14px; }
.hero-stats div strong { display: block; font-size: 19px; font-weight: 800; color: #fff; line-height: 1.25; }
.hero-stats div span { display: block; font-size: 13px; color: rgba(255,255,255,.72); margin-top: 4px; line-height: 1.4; }
.hero-stats .hero-logos { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 8px; }
.hero-logos img { height: 32px; width: auto; max-width: 78px; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px 7px; }

.hero .wrap:has(> :only-child) { grid-template-columns: minmax(0, 760px); }
.aud-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 920px; margin: 0 auto; }
.kicker-lg { font-size: 18px; letter-spacing: .08em; margin-bottom: 0; }
.aud-card { display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius-lg); color: var(--text); border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(150deg, var(--navy) 0%, var(--blue) 100%) border-box; box-shadow: 0 1px 2px rgba(11,32,67,.06), 0 6px 14px rgba(11,32,67,.08), 0 18px 36px -12px rgba(11,32,67,.18); transition: transform .3s var(--ease), translate .3s var(--ease), scale .3s var(--ease), box-shadow .3s; }
.aud-card:hover { translate: 0 -4px; scale: 1.04; box-shadow: 0 2px 4px rgba(11,32,67,.08), 0 12px 24px rgba(11,32,67,.12), 0 28px 48px -12px rgba(11,32,67,.24); }
.aud-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.aud-mark { height: 36px; width: auto; max-width: 50px; object-fit: contain; flex: none; }
.aud-head h3 { margin: 0; font-size: 17px; line-height: 1.25; color: var(--navy); }
.aud-card p { margin: 0 0 16px; font-size: 14px; color: var(--muted); flex: 1; }
.aud-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--blue); }
.aud-link svg { width: 16px; height: 16px; transition: transform .2s; }
.aud-card:hover .aud-link svg { transform: translateX(4px); }
.aud-builds { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(150deg, var(--purple) 0%, var(--purple-3) 100%) border-box; }
.aud-builds .aud-head h3, .aud-builds .aud-link { color: var(--purple-2); }.btn-builds { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: #fff; }
.btn-builds:hover { background: linear-gradient(135deg, var(--purple-2), var(--purple-3)); }
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: #fff; border-radius: 16px; overflow: hidden; padding-bottom: 12px; box-shadow: var(--shadow); transition: translate .3s var(--ease), box-shadow .3s; }
.cat-thumb { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #fff; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-size: 15px; font-weight: 600; color: var(--navy); }
.cat-tile:hover { translate: 0 -4px; box-shadow: var(--shadow-lg); }
.cat-tile:hover .cat-name { color: var(--blue); }
.cat-thumb img { transition: transform .4s var(--ease); }
.cat-tile:hover .cat-thumb img { transform: scale(1.07); }
.cat-section h2 span { display: block; margin-top: 6px; font-size: .58em; font-weight: 600; letter-spacing: 0; color: var(--blue); }
.brands.brands-in { padding: 0; margin: 28px auto 0; max-width: 880px; }
.brands-in .marquee { background: #fff; border-radius: 16px; padding: 18px 0; box-shadow: var(--shadow); }
.brands-in .brands-note { margin-top: 14px; }.pkg-img { display: block; width: calc(100% + 40px); height: auto; max-width: none; margin: -18px -20px 14px; aspect-ratio: 2 / 1; object-fit: cover; border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0; }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pkg-card { display: flex; flex-direction: column; padding: 18px 20px; border-radius: var(--radius-lg); border: 2px solid transparent; background: #fff; box-shadow: 0 1px 2px rgba(11,32,67,.06), 0 6px 14px rgba(11,32,67,.08), 0 18px 36px -12px rgba(11,32,67,.18); transition: box-shadow .3s, transform .3s var(--ease), translate .3s var(--ease); }
.pkg-card:hover { translate: 0 -4px; box-shadow: 0 2px 4px rgba(11,32,67,.08), 0 12px 24px rgba(11,32,67,.12), 0 28px 48px -12px rgba(11,32,67,.24); }
.pkg-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.pkg-card h3 { margin: 0 0 2px; font-size: 19px; color: var(--navy); }
.pkg-sub { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.pkg-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; flex: 1; }
.pkg-list li { position: relative; padding-left: 16px; font-size: 14px; color: var(--text); }
.pkg-list li { padding-left: 24px; }
.pkg-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A4775' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.pkg-price { margin: 0 0 12px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13.5px; font-weight: 700; color: var(--navy); }
.pkg-card .btn { width: 100%; }
.pkg-link { margin-top: auto; padding-top: 6px; font-size: 15px; }
.pkg-card:hover .pkg-link svg { transform: translateX(4px); }
/* Packages on wider screens: rows shared across cards (subgrid), so titles,
   the four check lines and the links sit on the same lines in every card */
@media (min-width: 641px) {
  .pkg-card { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
  .pkg-list { display: contents; }
  .pkg-list li { margin-bottom: 6px; align-self: start; font-size: 13.5px; line-height: 1.4; }
  .pkg-card h3 { text-align: center; white-space: nowrap; font-size: clamp(15px, 1.5vw, 18px); letter-spacing: -.01em; margin-bottom: 10px; }
  .pkg-link { align-self: end; justify-self: start; margin-top: 4px; }
}
@media (min-width: 641px) and (max-width: 1023px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-row { margin-top: 26px; }
.cat-row-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.cat-pills { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.cat-pill { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-weight: 700; font-size: 14px; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.cat-pill:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.cat-pill img { width: 52px; height: 40px; object-fit: cover; border-radius: 8px; flex: none; }
.proof[hidden] { display: none; }
.foot-legal { line-height: 1.7; }
.steps-cta { display: flex; justify-content: center; margin-top: 22px; }
.quick-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--blue); }
.quick-card h2 { margin: 0 0 4px; font-size: 22px; color: var(--navy); }
.quick-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.quick-card .chips { margin-bottom: 16px; }
.quick-card .btn { width: 100%; }
.quick-card small { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 12px; color: var(--muted); font-size: 13px; }
.quick-card small svg { width: 14px; height: 14px; color: var(--ok); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 26px 0 34px;
  background: radial-gradient(ellipse at 85% 0%, rgba(20,98,214,.6), transparent 55%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.page-hero .crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; line-height: 20px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; max-width: 920px; text-wrap: balance; }
.page-hero h1:last-child { margin-bottom: 0; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 640px; margin: 0; }
.page-hero .hero-ctas { margin-top: 28px; }
.page-hero.overlap { padding-top: 32px; padding-bottom: 160px; }
.page-hero.overlap h1 { margin-bottom: 0; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--border); background: #fff; font-size: 14px; font-weight: 600; color: #334155;
  transition: border-color .15s, background .15s, color .15s; user-select: none;
}
.chip:hover { border-color: var(--blue); }
.chip[hidden], .field[hidden], #step3-note:empty { display: none; }
.advice-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 14px; padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px; color: var(--muted); cursor: pointer; text-align: left; }
.advice-link strong { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); }
.advice-link svg { width: 15px; height: 15px; transition: transform .2s; }
.advice-link:hover svg { transform: translateX(4px); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip[aria-pressed="true"]::before { content: "✓"; font-weight: 800; color: var(--blue-light); }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--border); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); display: grid; place-items: center; }
.trust-icon svg { width: 24px; height: 24px; }
.trust-item strong { display: block; font-size: 15px; color: var(--navy); }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 28px 0; }
.section-head { max-width: 720px; margin: 0 auto 24px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.row { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head.row > div { max-width: 640px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 14px; color: var(--navy); letter-spacing: -.015em; }
.section-head p { margin: 0; font-size: 17px; color: var(--muted); }
.bg-soft { background: var(--bg-soft); }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.more-link svg { width: 16px; height: 16px; transition: transform .2s; }
.more-link:hover { color: var(--blue); }
.more-link:hover svg { transform: translateX(4px); }

/* ---------- Promo banner ---------- */
.promo { padding: 0; margin-top: 56px; }
.promo-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  background: linear-gradient(110deg, #E3EEFA 0%, #F2F7FD 60%, #E9F1FB 100%);
  border: 1px solid #D6E6F7; border-radius: var(--radius-lg); padding: 22px 28px; transition: box-shadow .2s, border-color .2s;
}
.promo-card:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.promo-card .promo-l { display: flex; align-items: center; gap: 22px; }
.promo-card img { width: 120px; height: 84px; object-fit: cover; border-radius: 10px; }
.promo-badge { display: inline-block; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.promo-card h3 { margin: 0; font-size: 20px; color: var(--navy); }
.promo-card p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.promo-card .price { font-size: 26px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.promo-card .price small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.promo-r { display: flex; align-items: center; gap: 22px; }

/* ---------- Category cards ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-img { aspect-ratio: 16/10; background: linear-gradient(160deg, #EEF3F9, #DDE7F2); overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.06); }
.cat-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 { margin: 0 0 6px; font-size: 19px; color: var(--navy); }
.cat-body p { margin: 0 0 16px; font-size: 14px; color: var(--muted); flex: 1; }
.cat-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: 14px; }
.cat-link svg { width: 16px; height: 16px; transition: transform .2s; }
.cat:hover .cat-link { color: var(--blue); }
.cat:hover .cat-link svg { transform: translateX(4px); }
.cats.compact .cat-img { aspect-ratio: 16/9; }
.cats.compact .cat-body p { display: none; }
.cat-short { display: none; }
.cats.compact .cat-body h3 { margin-bottom: 10px; }

/* ---------- Product detail rows (produse.html) ---------- */
.prod { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 28px 0; }
.prod:last-child { border-bottom: 0; }
.prod:nth-child(even) .prod-img { order: 2; }
.prod-img { border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #EEF3F9, #DDE7F2); aspect-ratio: 4/3; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod h2 { font-size: clamp(26px, 3vw, 34px); color: var(--navy); margin: 0 0 12px; line-height: 1.2; }
.prod p { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tags-label { align-self: center; font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.tags span { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--blue-soft); color: var(--navy); }
.prod-nav { position: sticky; top: 72px; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.prod-nav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.prod-nav .wrap::-webkit-scrollbar { display: none; }
.prod-nav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #334155; background: var(--bg-soft); transition: all .15s; }
.prod-nav a:hover { background: var(--blue); color: #fff; }

/* ---------- Checklist ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231462D6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Industries (tabs) ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab { padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent; background: var(--bg-soft); font-weight: 700; font-size: 15px; color: #334155; cursor: pointer; transition: all .2s; }
.tab:hover { color: var(--blue); }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
#t-creativ:hover { color: var(--purple-2); }
#t-creativ[aria-selected="true"] { background: linear-gradient(135deg, var(--purple), var(--purple-2)); border-color: transparent; color: #fff; }
.panel { display: none; }
.panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-copy h3 { font-size: 28px; margin: 0 0 12px; color: var(--navy); line-height: 1.2; }
.panel-copy p { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.panel-copy .panel-lead { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--navy); margin: 0 0 20px; }
.panel-copy .panel-h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin: 0 0 12px; }
.panel-copy .checks { margin-bottom: 24px; gap: 9px; }
.panel-copy .builds-word { color: var(--purple-2); font-weight: 700; }
.panel-visual {
  border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%); color: #fff;
  padding: 32px; position: relative; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
}
.panel-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(142,197,255,.25), transparent 45%); }
.panel-visual > * { position: relative; }
.panel-visual.purple { background: linear-gradient(150deg, #2A1554, #0D0916); }
.panel-visual.purple::before { background: radial-gradient(circle at 85% 15%, rgba(168,85,247,.3), transparent 45%); }
.kit-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--blue-light); margin-bottom: 8px; }
.panel-visual.purple .kit-label { color: var(--purple-3); }
.kit-title { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.kit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kit-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.kit-list li b { color: var(--blue-light); font-weight: 800; white-space: nowrap; }
.panel-visual.purple .kit-list li b { color: #D8B4FE; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--bg-soft); border: 0; border-radius: var(--radius-lg); padding: 28px 24px; transition: box-shadow .3s, transform .3s var(--ease), translate .3s var(--ease); }
.step:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step-num { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
.steps.compact .step { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 0; color: #fff; background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%); }
.steps.compact .step h3 { color: #fff; }
.steps.compact .step-num { background: #fff; color: var(--navy); }
.steps.compact .step h3 { margin: 0; }
.steps.compact .step-num { margin-bottom: 0; flex: none; }
.step-time { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 24px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid transparent; display: flex; gap: 16px; transition: border-color .2s, box-shadow .2s; }
.service:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.service-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); display: grid; place-items: center; }
.service-icon svg { width: 24px; height: 24px; }
.service h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.service h3::before, .value h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--blue); margin-bottom: 12px; }
.service p { margin: 0; font-size: 14px; color: var(--muted); }
/* services: last row centred when the count is not a multiple of the columns */
#servicii .services { display: flex; flex-wrap: wrap; justify-content: center; }
#servicii .service { flex: 0 1 calc((100% - 40px) / 3); }
@media (max-width: 1080px) { #servicii .service { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { #servicii .service { flex-basis: calc((100% - 10px) / 2); min-width: 0; } }

/* ---------- Builds ---------- */
.builds {
  background: radial-gradient(ellipse at 80% 40%, rgba(106,28,203,.45), transparent 55%), linear-gradient(180deg, #120B22, var(--purple-bg));
  color: #fff; overflow: hidden;
}
.builds .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
section.builds { padding: 56px 0; margin-bottom: 28px; position: relative; }
/* cursor spotlight on Omnival Builds (same effect as the programmer's site) */
.builds::after, .aud-builds::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease; border-radius: inherit; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(168, 85, 247, .24), transparent 60%); }
.aud-builds { position: relative; }
.aud-builds::after { background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(168, 85, 247, .16), transparent 62%); }
.builds:hover::after, .aud-builds:hover::after { opacity: 1; }
.builds-logo { height: 64px; width: auto; margin-bottom: 20px; }
.builds h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.02em; }
.builds h2 span { background: linear-gradient(90deg, var(--purple-3), #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.builds p { color: rgba(255,255,255,.75); font-size: 17px; margin: 0 0 24px; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.uses span { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(168,85,247,.45); background: rgba(168,85,247,.12); font-size: 13px; font-weight: 600; color: #E9D5FF; }
.builds-img { position: relative; }
.builds-img img { border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(85,20,164,.55); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.build-tag { position: absolute; left: -20px; bottom: 28px; background: rgba(26,17,48,.95); border: 1px solid rgba(168,85,247,.4); border-radius: 14px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.4); min-width: 230px; }
.build-tag small { display: block; color: var(--purple-3); font-weight: 800; font-size: 11px; letter-spacing: .12em; }
.build-tag strong { display: block; font-size: 18px; margin: 2px 0 6px; }
.build-tag div { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.5; }
.build-tag b { display: block; margin-top: 8px; font-size: 18px; color: #fff; }

/* ---------- Brands ---------- */
.brands { padding: 28px 0; }
.brands p { text-align: center; font-weight: 700; color: var(--navy); font-size: 24px; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll 40s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 36px; width: auto; max-width: none; object-fit: contain; transition: transform .2s; }
.marquee-track img:hover { transform: scale(1.08); }
.brands .brands-note { margin: 18px auto 0; max-width: 640px; font-family: 'Inter', system-ui, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--muted); letter-spacing: 0; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.about-badge { position: absolute; right: -16px; bottom: -16px; background: var(--navy); color: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-lg); }
.about-badge span { display: block; font-size: 13px; color: rgba(255,255,255,.75); }
.about-badge strong { font-size: 30px; line-height: 1; }
.about p { color: #475569; font-size: 16px; }
/* Despre noi: photo exactly as tall as the text column; text first on phones */
.about-fit { align-items: stretch; }
.about-fit .section-head { margin-bottom: 14px; }
.about-fit .section-head h2 { margin-bottom: 0; }
.about-fit .about-img { position: relative; min-height: 240px; }
.about-fit .about-img img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.brand-word { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; color: var(--navy); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.pillar { padding: 16px; border-radius: 12px; background: var(--bg-soft); border-left: 3px solid var(--blue); }
.pillar strong { display: block; color: var(--navy); font-size: 15px; }
.pillar span { font-size: 13px; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.value .service-icon { margin-bottom: 18px; }
.value h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0 48px; align-items: start; }
.contact-top { padding-top: 0; }
.contact-band { color: #fff; padding: 26px 0 34px; background: radial-gradient(ellipse at 85% 0%, rgba(20,98,214,.6), transparent 55%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.contact-band .crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; line-height: 20px; }
.contact-band .crumbs a:hover { color: #fff; }
.contact-band h1 { font-size: 48px; line-height: 1.1; margin: 0; letter-spacing: -.02em; max-width: 40%; }
.contact-aside { padding-top: 28px; }
.contact-top .form-card { margin-top: -88px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list div.ci { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-list a:hover { background: #fff; border-color: var(--blue); box-shadow: var(--shadow); }
.contact-list .ci-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-list .ci-icon.wa { background: #E7F8EE; color: #128C4B; }
.contact-list svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 12px; color: var(--muted); }
.contact-list strong { font-size: 16px; color: var(--navy); }
.oferta-section { padding-bottom: 24px; }
#oferta { scroll-margin-top: 92px; }
.faq-section { padding-top: 28px; }

.form-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); position: relative; z-index: 2; }
.progress { display: flex; gap: 8px; margin-bottom: 26px; }
.progress div { flex: 1; }
.progress .bar { height: 6px; border-radius: 99px; background: var(--border); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.progress .done .bar i, .progress .current .bar i { width: 100%; }
.progress span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 8px; }
.progress .current span, .progress .done span { color: var(--navy); }
.fstep { display: none; }
.fstep.active { display: block; animation: fadeUp .35s var(--ease); }
.fstep h3 { margin: 0 0 4px; font-size: 21px; color: var(--navy); }
.fstep > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-size: 13px; font-weight: 700; color: #334155; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20,98,214,.14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field[hidden] { display: none; }
.field .error { display: none; color: var(--err); font-size: 12px; font-weight: 600; }
.field.invalid .error { display: block; }
.phone-row { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.cc { position: relative; }
.cc-btn { height: 100%; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text); }
.cc-btn:hover, .cc-btn[aria-expanded="true"] { border-color: var(--blue); }
.cc-btn img, .cc-list img { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.cc-caret { width: 14px; height: 14px; color: var(--muted); }
.cc-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; width: 280px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; }
.cc-pop[hidden] { display: none; }
.cc-search { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; margin-bottom: 6px; }
.cc-search:focus { outline: none; border-color: var(--blue); }
.cc-list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow-y: auto; }
.cc-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.cc-list li[hidden] { display: none; }
.cc-list li:hover, .cc-list li[aria-selected="true"] { background: var(--blue-soft); }
.cc-list li span { flex: 1; }
.cc-list li b { color: var(--muted); font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 11px 6px; border-radius: 10px; border: 1.5px solid var(--border); font-size: 13px; font-weight: 700; color: #334155; cursor: pointer; transition: all .15s; }
.seg input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.seg span:hover { border-color: var(--blue); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg-wrap { display: flex; flex-wrap: wrap; }
.seg-wrap span { padding: 10px 14px; }
.form-nav .btn-back.advice-link { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 14.5px; color: var(--blue); }
.form-nav .btn-back.advice-link svg { width: 17px; height: 17px; }
.form-nav .btn-back.advice-link:hover { color: var(--blue-dark); }
.seg span { height: 100%; display: flex; align-items: center; justify-content: center; line-height: 1.3; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #475569; margin: 4px 0 18px; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue); text-decoration: underline; }
.check.invalid { color: var(--err); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.form-nav .btn-back { background: transparent; border: 0; color: var(--muted); font-weight: 700; cursor: pointer; padding: 13px 4px; }
.form-nav .btn-back:hover { color: var(--navy); }
#quote-form .privacy-note { margin: 28px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.privacy-note a { color: var(--blue); text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.summary { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: #475569; margin-bottom: 18px; }
.summary b { color: var(--navy); }
.success { text-align: center; padding: 30px 10px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--ok); color: #fff; box-shadow: 0 0 0 10px rgba(22,163,74,.12); display: grid; place-items: center; margin: 0 auto 18px; }
.success-icon svg { width: 40px; height: 40px; }
.success:not([hidden]) .success-icon { animation: pop .45s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } to { transform: scale(1); opacity: 1; } }
.success h3 { font-size: 24px; color: var(--navy); margin: 0 0 8px; }
.success p { color: var(--muted); margin: 0 0 22px; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 17px; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
/* plus drawn with two centred bars, so it stays centred when rotated into an X */
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; color: var(--navy); background-color: var(--bg-soft); background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transition: transform .25s, background-color .2s, color .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background-color: var(--blue); color: #fff; }
.faq details p { margin: 0 0 22px; color: #475569; }

/* ---------- Partner ---------- */
.partner { display: flex; align-items: center; gap: 18px; max-width: 520px; margin: 0 auto; padding: 18px 22px; border: 1px solid transparent; border-radius: 16px; background: #fff; box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.partner:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); }
.partner img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; }
.partner strong { display: block; color: var(--navy); }
.partner span { font-size: 14px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 36px; }
.cta-box { background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; border-radius: 24px; padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 28px; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-box h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.cta-box p { margin: 0; color: rgba(255,255,255,.8); }
.cta-box .btns { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
footer { background: radial-gradient(ellipse at 85% 0%, rgba(20,98,214,.6), transparent 55%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgba(255,255,255,.75); padding: 72px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, max-content); column-gap: clamp(48px, 8vw, 110px); row-gap: 32px; }
footer h4 { color: #fff; font-size: 15px; margin: 0 0 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a:hover { color: var(--blue-light); }
/* desktop: the four columns spread evenly inside a centred band, away from the page edges */
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 921px) { .foot-top .foot-grid { flex: 0 1 720px; grid-template-columns: repeat(3, auto); justify-content: space-between; } }
/* logo centred over its tagline; the pair itself sits like a column */
.foot-brand { display: flex; flex-direction: column; align-items: center; text-align: center; width: max-content; flex: none; margin-top: 22px; }
.foot-logo { display: inline-block; }
.foot-logo img { width: 88px; height: auto; }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .2s, transform .2s; }
.foot-social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.foot-social a[aria-label="Instagram"]:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.foot-social svg { width: 19px; height: 19px; }
.foot-brand p { margin: 14px 0 0; color: inherit; font-weight: 400; font-size: 14px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; text-align: center; }
.foot-badges { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.foot-badges img { height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 4px 6px; }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s; }
.fab a:hover { transform: scale(1.08); }
.fab .wa { background: #25D366; color: #fff; }
.fab .call { background: var(--blue); color: #fff; }
.fab svg { width: 26px; height: 26px; }
.mobile-bar { display: none; }

/* ---------- Reveal (content stays visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes jiggle { 0%, 80%, 100% { transform: rotate(0); } 83% { transform: rotate(-4deg); } 86% { transform: rotate(4deg); } 89% { transform: rotate(-3deg); } 92% { transform: rotate(2deg); } 95% { transform: rotate(-1deg); } }
.cta-box .btns .btn { animation: jiggle 3.2s ease-in-out infinite; }
.cta-box .btns .btn + .btn { animation-delay: .3s; }
.cta-box .btns .btn:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Produse: card grid */
.prod-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 28px; padding-bottom: 8px; }
.prod-grid .prod { flex: 0 1 calc((100% - 72px) / 4); display: flex; flex-direction: column; gap: 0; padding: 0; align-items: stretch; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(150deg, var(--navy) 0%, var(--blue) 100%) border-box; box-shadow: 0 1px 2px rgba(11,32,67,.06), 0 6px 14px rgba(11,32,67,.08), 0 18px 36px -12px rgba(11,32,67,.18); scroll-margin-top: 110px; transition: translate .3s var(--ease), box-shadow .3s; }
.prod-grid .prod:hover { translate: 0 -4px; }
.prod-grid .prod:nth-child(n) .prod-img { order: 0; aspect-ratio: 3 / 2; border-radius: 0; }
.prod-grid .prod > .reveal:last-child { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.prod-grid .prod h2 { font-size: 20px; margin: 0 0 6px; text-wrap: balance; }
.prod-grid .prod p { font-size: 14.5px; line-height: 1.5; margin: 0 0 14px; }
.prod-grid .tags { gap: 5px; margin-bottom: 16px; }
.prod-grid .tags span { font-size: 12px; padding: 3px 8px; }
.prod-grid .tags-label { flex-basis: 100%; font-size: 12.5px; }
.prod-grid .more-link { margin-top: auto; font-size: 14.5px; white-space: normal; }
.prod-grid .prod:hover .more-link svg { transform: translateX(4px); }
.prod-grid .prod-img svg { width: 56px !important; height: 56px !important; }
@media (max-width: 1100px) { .prod-grid .prod { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) {
  /* phones: compact horizontal cards, photo left, text right */
  .prod-grid { gap: 12px; margin-top: 18px; }
  .prod-grid .prod { flex-basis: 100%; flex-direction: row; border-radius: 16px; scroll-margin-top: 100px; }
  .prod-grid .prod:nth-child(n) .prod-img { flex: 0 0 38%; aspect-ratio: auto; display: flex; align-items: center; background: #fff; }
  .prod-grid .prod-img img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
  .prod-grid .prod > .reveal:last-child { padding: 12px 14px 12px 6px; }
  .prod-grid .prod h2 { font-size: 17px; margin-bottom: 4px; }
  .prod-grid .prod p { font-size: 13.5px; line-height: 1.45; margin-bottom: 8px; }
  .prod-grid .tags { display: none; }
  .prod-grid .more-link { font-size: 14px; }
}

/* Legal pages (texts copied verbatim from the original site) */
.legal-section { padding: 36px 0 56px; }
.legal-card { max-width: 820px; margin: 0 auto; }
.legal-card h2 { font-size: 22px; color: var(--navy); margin: 28px 0 10px; line-height: 1.3; }
.legal-card p, .legal-card li { font-size: 16px; line-height: 1.65; color: var(--text); }
.legal-card p { margin: 0 0 12px; }
.legal-card ul, .legal-card ol { margin: 0 0 14px; padding-left: 22px; }
.legal-card li { margin-bottom: 6px; }
.legal-card a { color: var(--blue); }
.legal-divider { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
.legal-company-block, .legal-bank-block, .legal-address-block { background: var(--bg-soft); border-radius: 12px; padding: 16px 20px; margin: 12px 0 18px; line-height: 1.7; }
.legal-intro { font-size: 17px; }
.legal-badge { display: inline-block; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; margin: 4px 0 8px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-top: 32px !important; }
.legal-payment-logos { display: flex; gap: 16px; align-items: center; margin: 10px 0 14px; }
.legal-payment-logos img { height: 32px; width: auto; }
.legal-contact-list { list-style: none; padding-left: 0 !important; }
@media (max-width: 640px) {
  .legal-section { padding: 24px 0 40px; }
  .legal-card h2 { font-size: 19px; }
  .legal-card p, .legal-card li { font-size: 15px; }
}

/* 404 page */
.notfound { padding: 48px 0 72px; text-align: center; }
.notfound p { font-size: 17px; color: var(--muted); margin: 0 0 22px; }
.notfound .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.notfound-links a { color: var(--blue); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-phone span { display: none; }
}
@media (max-width: 1180px) and (min-width: 961px) {
  .brand-text small { display: none; }
}
@media (max-width: 1080px) {
  .hero-logos img { height: 26px; max-width: 58px; padding: 3px 5px; }
  .hero-stats .hero-logos { gap: 4px; }
  .nav-links a { padding: 8px 9px; font-size: 14.5px; }
  .services, .values, .aud-grid { grid-template-columns: 1fr 1fr; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .cat-pills { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; margin-left: 0; width: 48px; height: 48px; border: 1.5px solid var(--border); border-radius: 11px; background: #fff; }
  .nav-quick { display: flex; gap: 8px; margin-left: auto; }
  /* explicit height: the header's backdrop-filter makes it the containing block of this fixed panel */
  .mobile-menu.open { display: block; position: fixed; top: 88px; left: 0; right: 0; height: calc(100vh - 88px); height: calc(100dvh - 88px); background: #fff; z-index: 49; padding: 20px; overflow-y: auto; }
  .mobile-menu .btn { display: flex; justify-content: center; }
  .mobile-menu .btn-builds { margin-top: 10px; }
  .mobile-menu a { display: block; padding: 16px 6px; font-size: 18px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--border); }
  .mobile-menu a[aria-current="page"] { color: var(--blue); }
  .mobile-menu .btn { margin-top: 18px; width: 100%; color: #fff; border: 0; }
}
@media (max-width: 920px) {
  .topbar-perks span:nth-child(n+2) { display: none; }
  .hero .wrap, .panel.active, .builds .wrap, .about, .contact-grid, .prod { grid-template-columns: 1fr; }
  .prod { gap: 28px; }
  .prod:nth-child(even) .prod-img { order: 0; }
  .hero .wrap { padding-top: 44px; padding-bottom: 36px; gap: 36px; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .cats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .foot-grid > :last-child { grid-column: 1 / -1; }
  .about-img { order: -1; }
  .about-fit { gap: 20px; }
  .about-fit .about-img { order: 0; min-height: 220px; }
  .build-tag { left: 12px; }
  .cta-box { flex-direction: column; align-items: center; text-align: center; }
  .form-card { margin-top: 0; }

  .page-hero.overlap { padding-bottom: 56px; }
  .oferta-section { padding-top: 24px !important; }
  .contact-band { padding: 20px 0 64px; }
  .contact-band h1 { font-size: 34px; max-width: none; }
  .contact-top .form-card { margin-top: -44px; }
  .contact-top .contact-aside { order: 2; padding-top: 4px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 22px 0; }
  .section-head { margin-bottom: 18px; }
  .page-hero { padding: 20px 0 26px; }
  .cta-band { padding-bottom: 28px; }
  .brands { padding: 22px 0; }
  .cats.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cats.compact .cat { border-radius: 12px; }
  .cats.compact .cat:hover { transform: none; }
  .cats.compact .cat-img { aspect-ratio: 3 / 2; }
  .cats.compact .cat-body { padding: 8px 8px 10px; }
  .cats.compact .cat-body h3 { font-size: 13px; line-height: 1.25; margin: 0; }
  .cats.compact .cat-more, .cats.compact .cat-link, .cats.compact .cat-full { display: none; }
  .cats.compact .cat-short { display: inline; }
  .topbar-perks { display: none; }
  .topbar .wrap { justify-content: center; }
  .hero p.lead { font-size: 17px; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .hero-stats div strong { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 12px; }
  .trust-item:nth-child(odd) { padding-left: 0; }
  .trust-icon { width: 40px; height: 40px; border-radius: 10px; }
  .trust-icon svg { width: 21px; height: 21px; }
  .trust-item strong { font-size: 14px; line-height: 1.3; }
  .trust-item span { font-size: 12.5px; line-height: 1.4; display: block; }
  .cats, .services, .steps, .pillars, .grid-2, .values { grid-template-columns: 1fr; }
  .steps.compact { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aud-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aud-card { padding: 14px 12px; }
  .aud-head { gap: 8px; margin-bottom: 8px; }
  .aud-mark { height: 30px; max-width: 48px; }
  .aud-head h3 { font-size: 14.5px; }
  .aud-card p { font-size: 12.5px; margin-bottom: 10px; }
  .pkg-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .pkg-card { flex: 0 0 calc(50% - 5px); min-width: 0; padding: 14px 12px; overflow-wrap: anywhere; hyphens: auto; }
  .pkg-card h3 { font-size: 15px; }
  .pkg-sub { font-size: 12px; margin-bottom: 8px; }
  .pkg-list { gap: 4px; margin-bottom: 10px; }
  .pkg-list li { font-size: 12.5px; padding-left: 12px; line-height: 1.35; }
  .pkg-list li { padding-left: 19px; }
  .pkg-list li::before { top: 2px; width: 14px; height: 14px; background-size: 9px; }
  .pkg-price { font-size: 11.5px; margin-bottom: 8px; padding-top: 8px; }
  .pkg-card .btn { padding: 10px 8px; font-size: 13px; }
  .pkg-card .btn svg { display: none; }
  .pkg-link { font-size: 12.5px; gap: 4px; }
  .pkg-link svg { width: 14px; height: 14px; }
  .pkg-img { width: calc(100% + 24px); margin: -14px -12px 10px; }
  .cat-pills { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-tiles { gap: 10px 6px; }
  .cat-tile { border-radius: 12px; padding-bottom: 9px; }
  .brands p { font-size: 19px; margin-bottom: 16px; }
  section.builds { padding: 36px 0; margin-bottom: 20px; }
  .cat-name { font-size: clamp(10.5px, 3.05vw, 12.5px); letter-spacing: -.01em; white-space: nowrap; }
  .cat-pill { font-size: 13px; gap: 8px; }
  .cat-pill img { width: 44px; height: 34px; }
  .steps.compact .step { padding: 12px; gap: 10px; }
  .steps.compact .step-num { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; margin-bottom: 0; }
  .steps.compact .step h3 { font-size: 13.5px; line-height: 1.3; }
  .cc-pop { width: min(280px, calc(100vw - 72px)); }
  .steps-cta .btn { width: 100%; white-space: normal; text-align: center; }
  .seg { grid-template-columns: 1fr 1fr; }
  .seg-3 { grid-template-columns: 1fr; }
  .seg-wrap span { padding: 9px 12px; }
  .seg span { padding: 10px 6px; font-size: 12.5px; }
  /* phones: all four domain tabs visible as a 2 x 2 grid instead of a sideways scroller */
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 24px; }
  .tab { padding: 10px 8px; font-size: 13.5px; line-height: 1.25; text-align: center; }
  /* phones: services two per row, compact */
  .services { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service { padding: 14px 12px; }
  .service h3 { font-size: 14.5px; line-height: 1.3; }
  .service h3::before { width: 22px; margin-bottom: 8px; }
  .service p { font-size: 12.5px; line-height: 1.45; }
  .panel-visual { min-height: 0; padding: 24px; }
  .promo-card { grid-template-columns: 1fr; padding: 20px; }
  .promo-card .promo-l { flex-direction: column; align-items: flex-start; gap: 14px; }
  .promo-card img { width: 100%; height: 140px; }
  .promo-r { justify-content: space-between; }
  .form-card { padding: 20px 18px; }
  /* phones: tighter fields, 16px text (no iOS zoom on focus), and the step buttons stay visible at the bottom */
  .fstep .field { margin-bottom: 10px; gap: 4px; }
  .fstep .grid-2 { gap: 0; }
  .fstep h3 { margin-bottom: 10px; }
  .field input, .field select, .field textarea { padding: 10px 12px; font-size: 16px; }
  .fstep .form-nav { position: sticky; bottom: 0; z-index: 3; margin: 6px -18px -20px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .progress { margin-bottom: 18px; }
  .fstep h3 { font-size: 19px; }
  .fstep > p { margin-bottom: 14px; }
  .field textarea { min-height: 76px; }
  .chip { padding: 7px 12px; font-size: 13.5px; }
  .cta-box { padding: 32px 24px; }
  .cta-box .btns, .cta-box .btns .btn { width: 100%; }
  .hero-proof { flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: clamp(10.5px, 3.05vw, 14px); letter-spacing: -.01em; margin-top: 18px; }
  .hero-proof li { gap: 5px; white-space: nowrap; }
  .hero-proof svg { width: 16px; height: 16px; padding: 3px; }
  /* phones: brand row on top, Site + Informații side by side, Contact underneath */
  /* logo + tagline at the top of the left column, above „Site” */
  .foot-top { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 28px; }
  .foot-top .foot-grid { display: contents; }
  .foot-brand { grid-column: 1 / -1; grid-row: 1; align-items: flex-start; text-align: left; margin-top: 0; }
  .foot-top .foot-grid > :nth-child(1) { grid-column: 1; grid-row: 2; }
  .foot-top .foot-grid > :nth-child(2) { grid-column: 2; grid-row: 2; }
  .foot-top .foot-grid > :nth-child(3) { grid-column: 1 / -1; grid-row: 3; }
  .foot-logo img { width: 64px; }
  .foot-brand p { margin-top: 10px; }
  .foot-grid { grid-template-columns: 1fr 1fr; column-gap: 20px; width: 100%; }
  .about-badge { right: 12px; bottom: 12px; }
  .prod { padding: 28px 0; }
  .fab { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--border);
    transition: transform .25s var(--ease);
  }
  /* hidden while another offer button is already on screen (see main.js) */
  .mobile-bar.cta-hidden { transform: translateY(110%); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 10px; border-radius: 10px; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
  .mobile-bar svg { width: 18px; height: 18px; }
  .mobile-bar .m-call { background: var(--bg-soft); color: var(--navy); }
  .mobile-bar .m-wa { background: #25D366; color: #fff; }
  .mobile-bar .m-quote { background: var(--blue); color: #fff; font-size: 15px; padding: 13px; }
  footer { padding-bottom: 96px; }
}
