/* latin + latin-ext (ă ș ț for the Romanian page) */
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-400.woff2') format('woff2'); font-weight: 400; font-display: swap; 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: 'Poppins'; src: url('/fonts/poppins-400-ext.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-600.woff2') format('woff2'); font-weight: 500 700; font-display: swap; 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: 'Poppins'; src: url('/fonts/poppins-600-ext.woff2') format('woff2'); font-weight: 500 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-800.woff2') format('woff2'); font-weight: 750 900; font-display: swap; 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: 'Poppins'; src: url('/fonts/poppins-800-ext.woff2') format('woff2'); font-weight: 750 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: only light;
  --navy: #131628;       /* text, nav */
  --ink: #131628;
  --ink-2: #4A4D5C;
  --hero: #EFEFEE;
  --gri: #FAFAFA;
  --bg: #F4F4F3;
  --white: #FFFFFF;
  --line: #DCDDE0;
  --line-2: #C3C5CA;
  --red: #A8283A;        /* our colour, where they use violet */
  --red-deep: #861E2E;
  --red-soft: #FBEEF0;
  --wa: #1DA851;
  --ig: #D62976;
  --display: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .32, 1);
  --t-press: 140ms;
  --t-ui: 180ms;
  --vh: 1vh;
  --camp: 46px;
  --gap: 14px;
  --lat: min(1100px, 100% - 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
.nw { white-space: nowrap; }
img { height: auto; }
[hidden] { display: none !important; }
svg { width: 1em; height: 1em; flex: none; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--navy); }
button, input, select { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.bifa { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.rosu { color: var(--red); }

/* one button, everywhere */
.cta { text-decoration: none;
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px; border-radius: 999px;
  background: var(--red); color: var(--white);
  font: 800 17px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap;
  transition: background-color var(--t-ui) var(--ease), transform var(--t-press) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.cta:hover { background: var(--red-deep); }
.cta:active { transform: scale(.97); }

/* ---------- top bar + nav ---------- */
.anunt {
  appearance: none; border: 0; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 6px 16px; background: var(--red); color: var(--white);
  font-size: 14.5px; line-height: 1.25; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.anunt b { font-weight: 800; }
.anunt .nou { background: var(--white); color: var(--navy); font-weight: 800; font-size: 12px; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; }
.anunt svg { font-size: 16px; transition: transform var(--t-ui) var(--ease); }
.anunt:hover svg { transform: translateX(3px); }

.nav { background: var(--navy); color: var(--white); }
.nav-in { width: var(--lat); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.marca { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: inherit; font: 800 19px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.marca img { width: 30px; height: 30px; border-radius: 7px; }
.linkuri { display: none; }
.linkuri a { color: var(--white); text-decoration: none; font-size: 15.5px; padding: 10px 2px; opacity: .9; }
.linkuri a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.pastila {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px;
  min-height: 42px; padding: 0 18px; background: var(--red); color: var(--white);
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
  transition: background-color var(--t-ui) var(--ease);
}
.pastila:hover { background: var(--red-deep); }
/* language switch (EN / RO); the country picks the language first, this overrides it */
.mijloc { margin-left: auto; display: flex; align-items: center; }
.limba { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; opacity: .85; transition: opacity var(--t-ui) var(--ease); }
.limba:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
/* phones: logo + EN/RO + pill must fit in one row */
@media (max-width: 959px) {
  .nav-in { gap: 10px; }
  .marca { font-size: 17px; flex-shrink: 0; }
  .limba { min-width: 36px; }
  .pastila { padding: 0 14px; }
}
@media (max-width: 374px) { .limba { display: none; } } /* very narrow phones: the switch stays in the footer */

/* ---------- hero ---------- */
.erou { position: relative; background: var(--hero); overflow: hidden; padding: 44px 20px 0; text-align: center; }
.erou-text { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.erou h1 { font-size: clamp(32px, 9.2vw, 40px); font-weight: 800; line-height: 1.08; text-transform: uppercase; letter-spacing: -0.02em; text-wrap: balance; }
.erou h1 span { display: block; } /* one block per sentence: EN = 2 lines, RO = 1 + 2 balanced lines on phones */
.erou .sub { font-size: 17.5px; line-height: 1.5; color: var(--navy); max-width: 30ch; margin-top: 18px; text-wrap: balance; }
.cta-loc { position: relative; margin-top: 28px; width: 100%; max-width: 360px; }
.erou .cta { width: 100%; }

/* the team: cut-out photos (transparent webp), cropped at the waist, standing on the bottom edge of the hero.
   Phones: both pairs side by side under the button. */
.echipa { display: flex; justify-content: center; align-items: flex-end; margin: 30px -8px 0; }
.echipa .toti { width: 100%; max-width: 520px; height: auto; }
.echipa .st, .echipa .dr { display: none; } /* phones: the four together; the pairs are for desktop */

/* browser windows with our demo websites (the "our work" card and page) */
.fer { position: absolute; border-radius: 10px 10px 0 0; overflow: hidden; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 40px -16px rgba(19, 22, 40, .45); }
.fer .bara { display: flex; gap: 5px; align-items: center; height: 16px; padding: 0 9px; background: #EEEFF1; border-bottom: 1px solid var(--line); }
.fer .bara i { width: 6px; height: 6px; border-radius: 50%; background: #CDCFD3; }
.fer img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ---------- promises as numbers ---------- */
.cifre-in { width: var(--lat); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; padding: 40px 0; }
.cifra { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; display: flex; flex-direction: column; gap: 8px; }
.cifra b { font: 800 34px/1 var(--display); color: var(--navy); }
.cifra span { font-size: 12px; line-height: 1.35; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- what we do ---------- */
.servicii { width: var(--lat); margin: 0 auto; padding: 44px 0 56px; text-align: center; border-top: 1px solid #EDEDED; }
section h2 { font-size: clamp(32px, 9vw, 40px); font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.intro { font-size: 17px; color: var(--ink-2); margin-top: 10px; }
.carduri { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; margin-top: 32px; }
.serv { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.serv h3 { font-size: 15px; font-weight: 800; line-height: 1.15; text-transform: uppercase; min-height: 2.3em; display: flex; align-items: flex-end; justify-content: center; }
.serv-p { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); flex: 1; }

/* service pictures: 3D icons, whole and centred in a grey circle. No entrance animation; on hover (mouse) the icon lifts
   out of its circle and tilts toward the pointer like a 3D sticker. */
.viz-img { position: relative; width: 100%; max-width: 168px; aspect-ratio: 1; container-type: inline-size; perspective: 600px; }
.viz-img::before { content: ""; position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #F8F8F9, #E7E7EB 72%); box-shadow: inset 0 -6px 14px rgba(19,22,40,.06);
  transition: transform 260ms var(--ease); }
.pop { position: absolute; inset: 0; }
.pop img { position: absolute; left: 50%; top: 50%; width: 82%; height: auto; aspect-ratio: 4 / 3; object-fit: contain;
  transform: translate(-50%, -50%) translateY(var(--ty, 0%)) scale(var(--s, 1)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 260ms cubic-bezier(.34, 1.56, .64, 1); will-change: transform; }
/* the phone is cut flat at the bottom in the source picture: the circle cuts it instead, with its round edge */
.viz-img.taiat .pop { -webkit-mask: radial-gradient(circle 46cqw at 50% 50%, #000 99%, transparent 100%);
                              mask: radial-gradient(circle 46cqw at 50% 50%, #000 99%, transparent 100%); }
.viz-img.taiat .pop img { width: 118%; top: 62%; }
@media (hover: hover) and (pointer: fine) {
  .serv:hover .viz-img::before { transform: scale(1.04); }
  .serv:hover .pop img { --ty: -7%; --s: 1.08; }
  .serv:hover .viz-img.taiat .pop img { --ty: -3%; --s: 1.04; } /* stays inside its circle */
}

/* the small pictures (our work page: systems) */
.viz { position: relative; width: 100%; max-width: 150px; aspect-ratio: 1; border-radius: 50%; background: var(--navy); overflow: hidden; }
.viz-site .fer { width: 116%; left: 12%; top: 26%; border-radius: 8px 0 0 0; }
.viz-chat, .viz-amintire, .viz-stele { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 16%; }
.bula { max-width: 92%; padding: 6px 10px; border-radius: 13px; font-size: 12px; line-height: 1.25; text-align: left; }
.bula.ei { align-self: flex-start; background: var(--white); color: var(--navy); border-bottom-left-radius: 4px; }
.bula.noi { align-self: flex-end; background: var(--red); color: var(--white); border-bottom-right-radius: 4px; }
.viz-amintire .bula.noi { align-self: stretch; max-width: none; background: var(--white); color: var(--navy); border-radius: 10px; }
.butoane { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; font-size: 11px; font-weight: 600; text-align: center; }
.butoane span { padding: 4px 0; border-radius: 7px; background: rgba(255,255,255,.18); color: var(--white); }
.butoane .da { background: var(--wa); }
.viz-stele { align-items: center; }
.stele { display: flex; gap: 2px; color: #FFB400; font-size: 22px; }
.rand { height: 7px; width: 100%; border-radius: 4px; background: rgba(255,255,255,.22); }
.rand.scurt { width: 64%; }

/* ---------- our work: one card, three demo websites fanned out ---------- */
.lucru { background: var(--gri); padding: 32px 0; }
.lucru-card { position: relative; width: var(--lat); margin: 0 auto; background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(19,22,40,.05), 0 14px 40px -18px rgba(19,22,40,.28); padding: 52px 18px 26px;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.panglica { position: absolute; top: 14px; right: 0; padding: 7px 16px 7px 20px; background: var(--red); color: var(--white);
  font: italic 800 12px/1 var(--display); letter-spacing: .03em; text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%); }
.evantai { position: relative; width: 100%; max-width: 360px; aspect-ratio: 2.1; perspective: 900px; }
.evantai .fer { position: absolute; top: 50%; width: 48%; border-radius: 6px; translate: 0 -50%; }
.evantai .fer .bara { height: 10px; padding: 0 6px; gap: 3px; }
.evantai .fer .bara i { width: 4px; height: 4px; }
.evantai .e1 { left: 0; transform: rotateY(32deg) scale(.9); transform-origin: left center; }
.evantai .e3 { right: 0; transform: rotateY(-32deg) scale(.9); transform-origin: right center; }
.evantai .e2 { left: 23%; width: 54%; z-index: 1; }
.lucru-text { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.lucru-text h2 { font-size: 24px; line-height: 1.15; font-weight: 800; text-transform: uppercase; text-wrap: balance; }
.lucru-text .cta { width: 100%; max-width: 360px; }
.cta.navy { background: var(--navy); }
.cta.navy:hover { background: #262A45; }

.lucru + .servicii { border-top: 0; }

/* ---------- our work page (/work, /lucrari): a list page, grows as examples are added ---------- */
.pag-cap { background: var(--hero); padding: 44px 20px 40px; text-align: center; }
.pag-cap h1 { font-size: clamp(36px, 10.5vw, 46px); font-weight: 800; line-height: 1.08; text-transform: uppercase; text-wrap: balance; }
.pag-cap .sub { font-size: 18px; line-height: 1.45; color: var(--navy); max-width: 32ch; margin: 14px auto 0; text-wrap: balance; }
.galerie { padding: 44px 0 52px; }
.galerie.gri { background: var(--gri); }
.galerie-in { width: var(--lat); margin: 0 auto; text-align: center; }
.site-uri, .sisteme { display: grid; gap: 28px; margin-top: 28px; text-align: left; }
.exemplu, .sistem { margin: 0; }
.exemplu .fer { position: relative; border-radius: 8px; }
.exemplu figcaption, .sistem figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.exemplu figcaption { margin-top: 12px; }
.exemplu b, .sistem b { color: var(--navy); font-size: 17px; }

/* /lucrari: real sites in Moldova. A grey panel with the desktop window and the phone in front of it; the whole card
   opens the live site. */
.exemplu.md .ex-link { display: block; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ex-viz { container-type: inline-size; position: relative; display: block; aspect-ratio: 16 / 11; padding: 0; background: var(--hero); border-radius: 14px; overflow: hidden; }
.ex-viz .fer { position: absolute; left: 6%; top: 8%; width: 80%; border-radius: 8px; transition: transform 220ms var(--ease); }
/* iPhone 15: thin black bezel (~2.4% of the width), titanium edge, screen corners ~14% of the width; the status bar and the
   Dynamic Island are drawn into the screenshot (scratchpad ecran.mjs). Sizes in cqw of the card, so the phone scales whole. */
.ex-viz .tel { position: absolute; right: 5%; top: 22%; width: 23%; padding: .55cqw; border-radius: 3.7cqw; background: #0A0B10;
  box-shadow: 0 0 0 1px #4A4C57, inset 0 0 0 1px rgba(255,255,255,.10), 0 2px 4px rgba(19,22,40,.14), 0 22px 40px -14px rgba(19,22,40,.55);
  transition: transform 220ms var(--ease); }
.ex-viz .tel img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; border-radius: 3.15cqw; }
.exemplu.md figcaption { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.exemplu.md figcaption > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ex-vezi { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--navy); font-weight: 600; font-size: 14px;
  transition: background-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease); }
.ex-vezi svg { font-size: 14px; }
.ex-link:active .ex-vezi { background: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .ex-link:hover .fer { transform: translateY(-4px); }
  .ex-link:hover .tel { transform: translateY(-8px); }
  .ex-link:hover .ex-vezi { background: var(--navy); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--navy); }
}
@media (max-width: 380px) { .ex-vezi { padding: 0 11px; font-size: 13px; } }
.sisteme { gap: 18px; }
.sistem { display: flex; align-items: center; gap: 16px; }
.sistem .viz { flex: none; width: 108px; padding: 0 13px; } /* % padding would follow the column, not the circle */
.sistem .bula { font-size: 10.5px; padding: 5px 8px; }
.sistem .butoane { font-size: 9.5px; }
.sistem .butoane span { white-space: nowrap; }
.sistem .stele { font-size: 15px; }
/* privacy pages: one readable column */
.legal { width: min(680px, 100% - 40px); margin: 0 auto; padding: 36px 0 56px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.legal h2 { font-size: 21px; line-height: 1.25; font-weight: 800; margin: 34px 0 10px; }
.legal h2:first-child, .legal .data + h2 { margin-top: 0; }
.legal .data { font-size: 13.5px; color: var(--ink-2); margin-bottom: 20px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--red); }
.legal a { color: var(--red); text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (min-width: 900px) { .legal { padding: 56px 0 80px; font-size: 17px; } .legal h2 { font-size: 24px; } }
.pag-final { width: var(--lat); margin: 0 auto; padding: 52px 0 60px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pag-final p { font-size: 17px; color: var(--ink-2); margin: 12px 0 24px; max-width: 30ch; text-wrap: balance; }
.pag-final .cta { width: 100%; max-width: 360px; }

/* ---------- FAQs ---------- */
.intrebari { background: var(--gri); }
.intrebari-in { width: var(--lat); max-width: 800px; margin: 0 auto; padding: 48px 0 56px; }
.intrebari h2 { text-align: center; }
.lista { margin-top: 20px; }
details { border-bottom: 2px dashed #CFD0D4; }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 12px 0; font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--navy);
  -webkit-tap-highlight-color: transparent;
}
summary::-webkit-details-marker { display: none; }
summary svg { font-size: 18px; transition: rotate var(--t-ui) var(--ease); }
details[open] summary svg { rotate: 180deg; }
details p { padding: 0 30px 20px 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; }

/* ---------- about our founders ---------- */
.fondatori-in { width: var(--lat); margin: 0 auto; padding: 36px 0 36px; display: grid; gap: 18px; text-align: center; }
/* the four founders: cut-out photo standing on the bottom of a white frame with a thick black border */
.fondatori-poza { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 7 / 5; padding: 0;
  background: var(--white); border: 10px solid var(--navy); overflow: hidden; } /* a plain black frame, like a printed photo */
.fondatori-poza img { width: 104%; max-width: none; flex: none; height: auto; } /* fills the frame; the outer arms touch its sides */
.fondatori-text { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fondatori-text p { margin: 0; color: var(--ink-2); max-width: 46ch; font-size: 16px; }
.fondatori-text .dovada { font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.fondatori-text .cta { margin-top: 8px; width: 100%; max-width: 360px; }

/* ---------- footer ---------- */
.subsol { background: var(--red); color: var(--white); } /* the fixed bottom button hides over the footer */
.subsol-in { width: var(--lat); margin: 0 auto; padding: 44px 0 24px; }
.subsol-sus { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.22); }
.marca.alb { font-size: 26px; }
.marca.alb img { width: 44px; height: 44px; border-radius: 0; filter: drop-shadow(0 6px 12px rgba(60, 8, 18, .35)); } /* logo-alb.webp: the icon inverted (white tile, red tick) so it stands out on the red footer */
.cta.alb { background: var(--white); color: var(--red); width: 100%; }
.cta.alb:hover { background: #F6E9EB; }
.subsol-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; padding: 30px 0 26px; }
.subsol-col h2 { color: var(--white); font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.subsol-col ul { list-style: none; margin: 0; padding: 0; }
.subsol-col a, .subsol-col button { appearance: none; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; padding: 0;
  color: rgba(255,255,255,.86); font: 400 15px/1.3 var(--sans); text-decoration: none; text-align: left; transition: color var(--t-ui) var(--ease); }
.subsol-col a:hover, .subsol-col button:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.subsol-jos { border-top: 1px solid rgba(255,255,255,.22); padding-top: 20px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.78); }
.subsol-jos p { margin: 0 0 4px; }
.subsol-jos a { color: inherit; text-underline-offset: 3px; }
.subsol-jos a:hover { color: var(--white); }

/* phones: one wide button fixed at the bottom */
.bara-jos {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid #E6E6E6;
  translate: 0 110%; transition: translate 240ms var(--ease);
}
.bara-jos.vizibil { translate: 0 0; }
.bara-jos .cta { width: 100%; min-height: 52px; }

/* ---------- the form popup ---------- */
.plan {
  padding: 0; border: 0; background: var(--white); color: var(--ink);
  width: 100%; max-width: 100%; max-height: calc(var(--vh) * 100); height: calc(var(--vh) * 100);
  margin: 0; overflow: auto; overscroll-behavior: contain;
}
.plan[open] { display: flex; flex-direction: column; animation: sus 240ms var(--ease) both; }
@keyframes sus { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.plan::backdrop { background: rgba(19, 22, 40, .65); }
.plan-cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 10px 4px 18px; }
.plan-cap h2 { font-size: 22px; line-height: 1.1; }
.plan .inchide { background: #EFEFEE; color: var(--ink); }
.plan form, .plan .multumim { padding: 8px 18px calc(18px + env(safe-area-inset-bottom)); }
.plan .multumim { flex: 1; }
.plan .multumim h2 { text-transform: none; font-size: 28px; }
.plan .eticheta { font-weight: 600; }
.plan .buton { border-radius: 999px; font-weight: 800; letter-spacing: .01em; }

/* ---------- form (as in v3.1) ---------- */
form { display: flex; flex-direction: column; gap: var(--gap); }

.camp { display: flex; flex-direction: column; gap: 6px; }
.eticheta { font-weight: 700; font-size: 15px; line-height: 1.2; }
.eticheta em { font-style: normal; font-weight: 400; color: var(--ink-2); font-size: 14px; }
legend.eticheta { margin-bottom: 6px; float: left; width: 100%; }
legend.eticheta + * { clear: both; }

input[type=text], input[type=tel], select {
  appearance: none; width: 100%; min-height: var(--camp); padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--white);
  font-size: 16px; line-height: 1.2;
  transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
input::placeholder { color: #85888E; }
input:focus, select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(168, 40, 58, .14); }
[aria-invalid=true] { border-color: var(--red) !important; background: var(--red-soft) !important; }
.nevoi[aria-invalid=true] .nevoie { background: var(--red-soft); }
.select { position: relative; display: block; }
.select select { padding-right: 38px; cursor: pointer; }
.select select:invalid { color: #85888E; }
.select svg { position: absolute; right: 13px; top: 50%; translate: 0 -50%; font-size: 15px; pointer-events: none; color: var(--ink-2); }

/* needs: rows with a Watch link at the edge */
.capcana { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nevoi { border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.nevoie { display: flex; align-items: center; min-height: var(--camp); background: var(--white); transition: background-color var(--t-ui) var(--ease); }
.nevoie + .nevoie { border-top: 1px solid var(--line); }
.nevoie:has(input:checked) { background: var(--red-soft); }
.nevoie label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 11px; cursor: pointer; font-size: 15px; line-height: 1.2; -webkit-tap-highlight-color: transparent; }
input[type=checkbox], input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cutie { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; color: var(--white); font-size: 16px; background: var(--white); transition: background-color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease); }
.cutie .bifa path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 200ms var(--ease); }
input:checked + .cutie { background: var(--red); border-color: var(--red); }
input:checked + .cutie .bifa path { stroke-dashoffset: 0; }
input:focus-visible + .cutie { outline: 3px solid var(--red); outline-offset: 2px; }

/* how to reach you: channel + two fields */
.canale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.canale label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.canale span {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--camp); padding: 0 4px;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--white);
  font-weight: 700; font-size: 14.5px; line-height: 1;
  transition: background-color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease);
}
.canale span svg { font-size: 17px; }
.canale input[value=whatsapp] + span svg { color: var(--wa); }
.canale input[value=instagram] + span svg { color: var(--ig); }
.canale input:checked + span { background: var(--red); border-color: var(--red); color: var(--white); }
.canale input:checked + span svg { color: var(--white); }
.canale input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.doua { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }

.eroare { color: var(--red); font-weight: 700; font-size: 14px; line-height: 1.25; }
.buton {
  appearance: none; border: 0; cursor: pointer; width: 100%;
  min-height: 48px; border-radius: 8px; background: var(--red); color: var(--white);
  font: 700 16px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  transition: background-color var(--t-ui) var(--ease), transform var(--t-press) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.buton:hover { background: var(--red-deep); }
.buton:active { transform: scale(.985); }
.mic { font-size: 12.5px; color: var(--ink-2); text-align: center; margin-top: -4px; }
.mic a { color: inherit; text-underline-offset: 2px; white-space: nowrap; }

/* thank you */
.multumim { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; min-height: 100%; padding: 16px 6px; }
.multumim:focus { outline: none; }
.sigiliu { width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; font-size: 38px; }
.sigiliu .bifa path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: deseneaza 500ms 120ms var(--ease) forwards; }
@keyframes deseneaza { to { stroke-dashoffset: 0; } }
.multumim h2 { font-size: 28px; }
.multumim p { color: var(--ink-2); max-width: 32ch; }
.link { appearance: none; border: 0; background: none; cursor: pointer; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }




/* ================= tablets ================= */
@media (min-width: 600px) {
  .cifre-in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-uri { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subsol-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .carduri { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ================= desktop ================= */
@media (min-width: 960px) {
  :root { --lat: min(1040px, 100% - 96px); }
  body { font-size: 18px; }
  .anunt { min-height: 58px; font-size: 16.5px; }
  .anunt svg { font-size: 19px; }
  .nav-in { min-height: 76px; }
  /* menu centred between the logo and the button */
  .nav-in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .marca { justify-self: start; }
  .pastila { justify-self: end; }
  .mijloc { margin: 0; gap: 22px; } /* RO has a 44 px tap area, so it looks 32 px away like the links */
  .linkuri { display: flex; gap: 32px; }
  .pastila { min-height: 46px; padding: 0 24px; font-size: 15.5px; }

  /* hero proportions after acquisition.com (measured at 1288 px): compact band, 2-line title, 2-line sub, one wide button,
     two equal windows standing on the bottom edge, flush with the screen sides, the same distance from the text */
  /* the first screen ends exactly with the numbers: hero = screen - band (58) - menu (76) - numbers (191) */
  .erou { padding: 58px 48px 58px; min-height: clamp(392px, calc(var(--vh) * 100 - 325px), 760px); display: flex; flex-direction: column; justify-content: center; }
  .erou-text { max-width: 640px; }
  .erou h1 { font-size: clamp(44px, 4.15vw, 60px); line-height: 1.04; }
  .erou .sub { font-size: 19px; line-height: 1.45; max-width: 520px; margin-top: 22px; }
  .cta-loc { margin-top: 34px; width: 375px; max-width: none; }
  .erou .cta { width: 100%; min-height: 54px; padding: 0 32px; font-size: 18px; }
  /* one pair on each side, as tall as most of the hero, never closer to the text than ~30 px */
  .echipa { position: absolute; inset: 0; height: auto; margin: 0; pointer-events: none; z-index: 1; display: block; }
  .echipa .toti { display: none; }
  .echipa .st, .echipa .dr { display: block; }
  .echipa .om { position: absolute; bottom: 0; height: 90%; max-width: calc(50vw - 310px); object-fit: contain; }
  .echipa .st { left: 0; object-position: left bottom; }
  .echipa .dr { right: 0; object-position: right bottom; }

  .cifre-in { padding: 50px 0; gap: 24px; }
  .cifra { padding: 2px 0 2px 18px; gap: 12px; }
  .cifra b { font-size: 40px; }
  .cifra span { font-size: 13px; letter-spacing: .06em; }

  .servicii { padding: 72px 0 88px; }
  section h2 { font-size: clamp(40px, 3.4vw, 48px); }
  .intro { font-size: 19px; }
  .carduri { gap: 32px; margin-top: 52px; }
  .viz-img { max-width: 236px; }
  .serv { gap: 16px; }
  .serv h3 { font-size: 18px; }
  .serv-p { font-size: 15.5px; max-width: 250px; }
  .viz { max-width: 230px; }
  .bula { font-size: 13.5px; }

  .intrebari-in { padding: 72px 0 88px; }
  summary { min-height: 72px; font-size: 20px; }
  details p { font-size: 18px; }

  .fondatori-poza { border-width: 14px; }
  .fondatori-text p { font-size: 18px; }
  .fondatori-in { padding: 88px 0 96px; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; text-align: left; }
  .fondatori-text { align-items: flex-start; gap: 16px; }
  .fondatori-text .dovada { font-size: 23px; }
  .fondatori-text .cta { width: auto; padding: 0 44px; min-height: 58px; }

  .subsol { padding-bottom: 0; }
  .subsol-in { padding: 64px 0 32px; }
  .subsol-sus { flex-direction: row; align-items: center; justify-content: space-between; padding-bottom: 40px; }
  .marca.alb { font-size: 36px; gap: 14px; }
  .marca.alb img { width: 56px; height: 56px; }
  .cta.alb { width: auto; padding: 0 40px; }
  .subsol-col { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0 44px; }
  .subsol-col h2 { font-size: 14px; margin-bottom: 10px; }
  .subsol-col a, .subsol-col button { font-size: 15.5px; min-height: 36px; }
  .subsol-jos { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; }
  .bara-jos { display: none; }

  .lucru { padding: 56px 0; }
  .lucru-card { flex-direction: row; gap: 56px; padding: 40px 64px 36px 44px; text-align: center; }
  .panglica { top: 18px; font-size: 13px; padding: 9px 20px 9px 24px; }
  .evantai { flex: 1.25; max-width: 540px; }
  .lucru-text { flex: 1; gap: 24px; }
  .lucru-text h2 { font-size: 30px; }
  .lucru-text .cta { width: auto; min-height: 58px; padding: 0 40px; }
  .pag-cap { padding: 72px 48px 64px; }
  .pag-cap h1 { font-size: clamp(48px, 4.2vw, 60px); }
  .pag-cap .sub { font-size: 20px; margin-top: 18px; }
  .galerie { padding: 72px 0 80px; }
  .site-uri { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; margin-top: 44px; }
  .site-uri.md { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; max-width: 1040px; margin-inline: auto; }
  .exemplu.md figcaption { margin-top: 16px; }
  .exemplu.md b { font-size: 19px; }
  .sisteme { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
  .sistem { flex-direction: column; text-align: center; gap: 14px; }
  .sistem .viz { width: 150px; padding: 0 18px; }
  .sistem .bula { font-size: 12px; }
  .sistem .butoane { font-size: 11px; }
  .sistem .stele { font-size: 20px; }
  .pag-final { padding: 80px 0 88px; }
  .pag-final p { font-size: 19px; }
  .pag-final .cta { width: auto; min-height: 58px; padding: 0 48px; }
  .plan { width: 480px; height: auto; max-height: calc(var(--vh) * 92); margin: auto; border-radius: 18px; }
  .plan-cap { padding: 18px 14px 4px 26px; }
  .plan form, .plan .multumim { padding: 10px 26px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pop img, .viz-img::before { transition: none; }
  .sigiliu .bifa path { animation: none; stroke-dashoffset: 0; }
  .plan[open] { animation-duration: 1ms; }
  .bara-jos { transition-duration: 1ms; }
}
