/* ---------- Fonturi (servite local, fără Google) ---------- */
/* latin-ext */
@font-face{
  font-family: 'Lora'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/lora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face{
  font-family: 'Lora'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/lora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face{
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face{
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root{
  --bg: #F8F7F4;
  --bg-alt: #F1EFEA;
  --surface: #FFFFFF;
  --text: #1C2226;
  --text-muted: #5B6168;
  --line: #E4E1DA;
  --accent: #3D5AD6;
  --accent-dark: #2B45B5;
  --accent-soft: #E9EDFB;
  --navy: #1B2A33;
  --danger: #B42318;
  --mark: rgba(61, 90, 214, .3);
  --shadow: 0 18px 40px -28px rgba(28, 34, 38, .35);
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --maxw: 1160px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after{ box-sizing: border-box; }
/* Ancorele se opresc cu eticheta secțiunii la ~32px sub header: 79px header − (96px padding secțiune − 32px) */
html{ scroll-behavior: smooth; scroll-padding-top: 15px; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3{ margin: 0 0 .5em; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
/* Titlurile mari în serif: dau paginii un aer editorial, nu de șablon */
h1, h2{ font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; }
p{ margin: 0 0 1em; }

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

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus{ left: 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--accent); color: #FFFFFF; }
.btn-primary:hover{ background: var(--accent-dark); }
.btn-primary:disabled{ opacity: .65; cursor: wait; }
.btn-ghost{ background: transparent; color: var(--navy); border-color: #CFCAC0; }
.btn-ghost:hover{ border-color: var(--navy); }
.btn-sm{ padding: 9px 16px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 247, 244, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.logo{
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy);
}
.logo-icon{
  width: 34px; height: 34px; flex-shrink: 0;
}
.logo-triangle{ fill: var(--logo-triangle, var(--navy)); }
.logo-bar{ fill: var(--accent); }
.logo-base, .logo-trend{ fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.logo-text{
  font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em;
  color: var(--navy);
}

.main-nav{ display: flex; align-items: center; gap: 32px; margin: 0 auto; }
.main-nav a{ font-weight: 600; font-size: .95rem; color: var(--text-muted); white-space: nowrap; transition: color .15s ease; }
.main-nav a:hover{ color: var(--navy); }

.header-actions{ display: flex; align-items: center; gap: 20px; }
/* WhatsApp în header: doar iconiță rotundă, ca „Cere un demo” să rămână singurul buton principal */
.btn-whatsapp-header{ width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.btn-whatsapp-header .wa-text{ display: none; }

.lang-toggle{
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 6px 10px; font-weight: 700; font-size: .8rem; cursor: pointer; color: var(--text-muted);
}
.lang-opt{ padding: 2px 6px; border-radius: 5px; }
.lang-opt.is-active{ background: var(--accent-soft); color: var(--accent-dark); }
.lang-sep{ opacity: .4; }

.menu-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: transparent; cursor: pointer;
}
.menu-toggle span{ width: 100%; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Etichete de secțiune ---------- */
.eyebrow{
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dark); margin: 0 0 14px;
}
.eyebrow::before{ content: ""; width: 22px; height: 2px; background: currentColor; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero{ padding: 88px 0 80px; }
.hero-inner{
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px;
}
.hero h1{ font-size: clamp(2.2rem, 4.2vw, 3.3rem); color: var(--navy); max-width: 15ch; line-height: 1.12; }
.hero-sub{ font-size: 1.08rem; color: var(--text-muted); max-width: 48ch; }
.hero-cta{ display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* Conversație-exemplu: arată concret ce face asistentul, în locul unui desen abstract */
.hero-chat{
  margin: 0; justify-self: end; width: 100%; max-width: 460px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 60px -40px rgba(28, 34, 38, .45); overflow: hidden;
}
.chat-head{
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.chat-avatar{
  position: relative; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
}
.chat-avatar svg{ width: 22px; height: 22px; }
.chat-avatar::after{
  content: ""; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%;
  background: #2FA866; border: 2px solid var(--surface);
}
.chat-who{ display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.chat-title{ font-weight: 700; font-size: .93rem; color: var(--navy); }
.chat-online{ font-size: .78rem; color: #2B8A57; }
.chat-tag{
  margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px;
}
.chat-replay{
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--text-muted); cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; transition: color .15s ease, border-color .15s ease;
}
.chat-replay:hover{ color: var(--navy); border-color: #CFCAC0; }
.chat-replay svg{ width: 15px; height: 15px; }

/* Înălțime fixă, ca într-un chat real: mesajele noi le împing pe cele vechi în sus, sub o umbră fină */
.chat-body{
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  height: 430px; padding: 16px; background: var(--bg); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 36px);
}
.chat-step, .chat-typing{ flex-shrink: 0; }
.chat-step{ display: flex; flex-direction: column; gap: 8px; }
.chat-step-user{ align-items: flex-end; }
.chat-step-bot, .chat-step-lead{ align-items: flex-start; }
.chat-body.is-playing .chat-step{ display: none; }
.chat-body.is-playing .chat-step.is-shown{ display: flex; animation: chat-in .35s ease-out both; }
@keyframes chat-in{ from{ opacity: 0; transform: translateY(8px); } to{ opacity: 1; transform: none; } }

.msg{ margin: 0; max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.45; }
.msg-user{ background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg-bot{ background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }

.chat-chips{ display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chips span{
  font-size: .8rem; font-weight: 600; color: var(--accent-dark);
  background: var(--surface); border: 1px solid #C9D2F5; border-radius: 999px; padding: 4px 11px;
}

.chat-cars{ display: flex; flex-direction: column; gap: 8px; width: 92%; }
.chat-car{
  display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.chat-car-img{
  flex-shrink: 0; width: 52px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #E7ECFB; color: var(--accent-dark);
}
.chat-car-img-alt{ background: #EFEDE7; color: #6B5B3E; }
.chat-car-img svg{ width: 30px; height: 30px; }
.chat-car-info{ display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.chat-car-info strong{ font-size: .88rem; color: var(--navy); }
.chat-car-info span{ font-size: .78rem; color: var(--text-muted); }
.chat-car-price{ margin-left: auto; font-weight: 800; font-size: .9rem; color: var(--navy); white-space: nowrap; }

.chat-typing{
  display: none; align-self: flex-start; gap: 4px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px;
}
.chat-typing.is-on{ display: flex; }
.chat-typing span{ width: 7px; height: 7px; border-radius: 50%; background: #A6AAB0; animation: chat-dot 1s infinite ease-in-out; }
.chat-typing span:nth-child(2){ animation-delay: .15s; }
.chat-typing span:nth-child(3){ animation-delay: .3s; }
@keyframes chat-dot{ 0%, 60%, 100%{ transform: translateY(0); opacity: .5; } 30%{ transform: translateY(-4px); opacity: 1; } }

.chat-input{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px 12px 18px; border-top: 1px solid var(--line);
  font-size: .9rem; color: #9A9EA3;
}
.chat-send{
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff;
}
.chat-send svg{ width: 16px; height: 16px; }

.msg-lead{
  position: relative; padding: 10px 14px 10px 42px;
  display: flex; flex-direction: column; gap: 2px;
  background: #EEF7F1; border: 1px dashed #A9D3B8; border-radius: 10px;
  font-size: .84rem; color: #24543A;
}
.msg-lead strong{ font-size: .88rem; color: #1D4730; }
.msg-lead::before{
  content: ""; position: absolute; left: 14px; top: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: #2FA866 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Sections ---------- */
.section{ padding: 96px 0; }
.section-alt{ background: var(--bg-alt); }
.section-head{ max-width: 700px; margin: 0 0 48px; }
.section-head h2{ font-size: clamp(1.75rem, 3vw, 2.4rem); color: var(--navy); }
.section-sub{ color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0; }

/* „Ai ajuns unde trebuie”: titlul secțiunii e subliniat ca cu markerul după un salt din meniu sau dintr-un buton */
.arrive-mark{
  background-image: linear-gradient(var(--mark), var(--mark));
  background-repeat: no-repeat; background-position: 0 92%; background-size: 0% .5em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: arrive-mark 3s ease-in-out forwards;
}
@keyframes arrive-mark{
  0%   { background-size: 0% .5em;   background-position: 0 92%; }
  18%  { background-size: 100% .5em; background-position: 0 92%; }
  76%  { background-size: 100% .5em; background-position: 0 92%; }
  78%  { background-size: 100% .5em; background-position: 100% 92%; }
  100% { background-size: 0% .5em;   background-position: 100% 92%; }
}
.demo-panel .arrive-mark{ --mark: rgba(120, 146, 255, .5); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .arrive-mark{ animation: none; background-size: 100% .5em; }
  .chat-body.is-playing .chat-step.is-shown{ animation: none; }
}

.grid{ display: grid; gap: 24px; }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }

.card{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.card h3{ font-size: 1.12rem; color: var(--navy); }
.card p{ color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }

/* Carduri de soluții: etichetă + listă de ce face asistentul */
.card .card-tag{ font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 8px; }
.card .card-list{ margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.card-list li{ position: relative; padding-left: 22px; font-size: .92rem; color: var(--navy); }
.card-list li::before{
  content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* Domenii */
.industries{ margin-top: 44px; }
.industries-title{ font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.industries-list{ display: flex; flex-wrap: wrap; gap: 8px; }
.industries-list li{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 7px 14px; font-size: .9rem; font-weight: 600; color: var(--navy);
}
.industries-note{ margin: 12px 0 0; font-size: .9rem; color: var(--text-muted); }

/* Demo: panou închis, lipit de secțiunea „Ce obții” */
.section-demo{ padding-top: 0; scroll-margin-top: 96px; } /* fără padding sus, ancora ar opri panoul sub header */
.demo-panel{
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--navy); color: #DCE1F0; border-radius: var(--radius-lg); padding: 56px;
}
.demo-panel .eyebrow{ color: #AEBBF5; }
.demo-panel h2{ font-size: clamp(1.75rem, 3vw, 2.4rem); color: #fff; }
.demo-copy p{ color: #C3CBEA; margin-bottom: 28px; }
.demo-list{ display: flex; flex-direction: column; gap: 12px; }
.demo-list li{
  position: relative; padding: 18px 20px 18px 54px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md);
  color: #C3CBEA; font-size: .95rem;
}
.demo-list li::before{
  content: ""; position: absolute; left: 20px; top: 20px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.demo-list strong{ color: #fff; }

/* Steps */
.steps .step{ background: transparent; border: none; padding: 0; }
.step-num{
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent);
  color: var(--accent-dark); font-weight: 800; margin-bottom: 16px;
}
.step-tag{
  display: inline-block; vertical-align: middle; margin: 0 0 16px 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em;
  color: var(--accent-dark); background: var(--accent-soft); padding: 4px 10px; border-radius: 6px;
}
.step h3{ font-size: 1.05rem; color: var(--navy); }
.step p{ color: var(--text-muted); font-size: .93rem; margin-bottom: 0; }

/* About */
.about-inner{ display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about h2{ font-size: clamp(1.75rem, 3vw, 2.4rem); color: var(--navy); max-width: 18ch; }
.about-copy p{ color: var(--text-muted); }
.about-copy p:last-child{ margin-bottom: 0; }
.about-box{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.about-box-title{ font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-list{ display: flex; flex-direction: column; gap: 14px; }
.about-list li{ position: relative; padding-left: 30px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.about-list li::before{
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' stroke='%232B45B5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}

/* FAQ */
.faq{ max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq-item{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.faq-item[open]{ border-color: #CFCAC0; }
.faq-item summary{
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; color: var(--navy);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  /* „+” desenat (nu caracter de text), ca să stea exact în centrul cercului */
  content: ""; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v9M1.5 6h9' stroke='%232B45B5' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item summary:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-md); }
.faq-item p{ margin: 0; padding: 0 22px 20px; color: var(--text-muted); font-size: .95rem; }

/* Ce urmează după contact */
.next-steps{ margin: 56px 0 0; }
.next-title{ font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: 16px; }
.next-list{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.next-list li{
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px;
}
.next-num{
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: .85rem;
}
.next-list p{ margin: 0; color: var(--text-muted); font-size: .92rem; }
.next-list strong{ color: var(--navy); }

/* Contact */
.contact-grid{ display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; }
.contact-form{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.botcheck{ position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-row{ display: flex; flex-direction: column; gap: 7px; }
.label-row{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.form-row label{ font-weight: 700; font-size: .88rem; color: var(--navy); }
.char-count{ font-size: .8rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.char-count.is-low{ color: var(--danger); }
.form-row input, .form-row textarea{
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: inherit; font-size: .95rem; color: var(--text); background: var(--bg);
  transition: border-color .15s ease, background .15s ease;
}
.form-row textarea{ resize: vertical; min-height: 130px; }
.form-row textarea::placeholder{ color: #9A9EA3; }
.form-row input:focus, .form-row textarea:focus{ outline: none; border-color: var(--accent); background: var(--surface); }
.form-row .is-invalid, .form-row .is-invalid:focus{ border-color: var(--danger); background: #FFF7F6; }
.field-error{ display: none; margin: 0; font-size: .85rem; font-weight: 600; color: var(--danger); }
.field-error:not(:empty){ display: block; }
.field-error .suggest{
  font: inherit; color: var(--accent-dark); background: none; border: none; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.contact-form .btn{ align-self: flex-start; }
.form-note{ font-size: .9rem; font-weight: 600; color: var(--accent-dark); min-height: 1.2em; margin: 0; }
.form-note.is-error{ color: var(--danger); }
.form-note.is-success{ color: #1F7A47; }
.form-privacy{ display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: .82rem; color: var(--text-muted); }
.form-privacy svg{ width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--accent-dark); }
.form-privacy a{ color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* Cardurile de lângă formular pornesc de la marginea lui de sus și se întind pe toată înălțimea lui */
.contact-info{ display: flex; flex-direction: column; gap: 20px; }
.contact-info-item{
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
}
.contact-label{ display: block; font-size: .78rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.contact-info-item a{ font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.contact-info-item a:hover{ color: var(--accent-dark); }
.contact-note{ margin: 12px 0 0; font-size: .9rem; color: var(--text-muted); }
.btn-whatsapp{ gap: 8px; background: #25D366; color: #0B2E1A; }
.btn-whatsapp:hover{ background: #20BD5A; }
.btn-whatsapp svg{ width: 18px; height: 18px; flex-shrink: 0; }
.contact-info-item a.btn-whatsapp{ margin-top: 4px; font-size: .92rem; color: #0B2E1A; }
.contact-info-item a.btn-whatsapp:hover{ color: #0B2E1A; }


/* ---------- Footer ---------- */
.site-footer{ background: var(--navy); color: #DCE1F0; padding: 56px 0 32px; }
.footer-inner{ display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
/* Variabila trece în conținutul <use>, unde selectorii de context nu ajung */
.site-footer .logo{ --logo-triangle: #fff; }
.site-footer .logo-text{ color: #fff; }
/* Centrare optică: triunghiul e îngust sus, iar „u” iese din cutia textului, deci logo-ul pare deplasat spre dreapta */
.site-footer .logo{ transform: translateX(-7px); }
.footer-tag{ color: #A6AFD0; margin: 0; max-width: 32ch; }
.footer-nav{ display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-nav a{ font-weight: 600; font-size: .92rem; color: #C3CBEA; }
.footer-nav a:hover{ color: #fff; }
.footer-copy{ margin: 12px 0 0; font-size: .85rem; color: #7C87AD; }

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .hero-inner{ grid-template-columns: 1fr; gap: 40px; }
  .hero-chat{ justify-self: start; max-width: 520px; }
  .demo-panel{ grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
  .grid-3{ grid-template-columns: 1fr; max-width: 620px; }
  .about-inner{ grid-template-columns: 1fr; gap: 32px; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .next-list{ grid-template-columns: 1fr; max-width: 620px; }
}

/* Meniul complet nu mai încape lângă logo și butoane: trece în meniul ☰ */
@media (max-width: 1080px){
  .main-nav{ display: none; }
  .menu-toggle{ display: flex; }

  .main-nav.is-open{
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .main-nav.is-open a{ padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav.is-open a:last-child{ border-bottom: none; }
}

@media (max-width: 720px){
  .header-actions .btn-sm{ display: none; }
  .header-actions .btn-whatsapp-header{ display: inline-flex; }
}

@media (max-width: 560px){
  .grid-4{ grid-template-columns: 1fr; }
  html{ scroll-padding-top: 29px; } /* 69px header − (64px padding − 24px) */
  .header-inner{ height: 68px; gap: 12px; padding: 0 16px; }
  .header-actions{ gap: 8px; }
  .hero{ padding: 48px 0 56px; }
  .section{ padding: 64px 0; }
  .section-demo{ padding-top: 0; scroll-margin-top: 64px; }
  .demo-panel{ padding: 32px 20px; }
  .contact-form{ padding: 24px 20px; }
  .hero-chat .msg{ font-size: .88rem; }
  .chat-body{ padding: 14px 12px; height: 410px; }
  /* Pe telefon antetul rămâne pe un rând: fără butonul de reluare, titlul se scurtează cu „…” dacă e nevoie */
  .chat-head{ gap: 10px; padding: 12px 14px; }
  .chat-avatar{ width: 34px; height: 34px; }
  .chat-who{ flex: 1; }
  .chat-title, .chat-online{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chat-title{ font-size: .88rem; }
  .chat-online{ font-size: .74rem; }
  .chat-replay{ display: none; }
  .chat-cars{ width: 100%; }
  .chat-car{ gap: 10px; }
  .chat-car-img{ width: 44px; height: 36px; }
}

/* ---------- Pagini legale (confidențialitate, termeni) ---------- */
html[lang="en"] [data-lang-block="ro"],
html:not([lang="en"]) [data-lang-block="en"]{ display: none; }
.legal{ padding: 64px 0 96px; }
.legal-inner{ max-width: 760px; }
.legal h1{ font-size: clamp(1.9rem, 3.5vw, 2.5rem); color: var(--navy); }
.legal-updated{ color: var(--text-muted); font-size: .9rem; margin-bottom: 32px; }
.legal h2{ font-family: var(--font); font-weight: 800; letter-spacing: -.01em; font-size: 1.15rem; color: var(--navy); margin: 36px 0 12px; }
.legal p, .legal li{ font-size: .98rem; }
.legal ul{ list-style: disc; padding-left: 1.2em; margin: 0 0 1em; display: flex; flex-direction: column; gap: 8px; }
.legal a{ color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal strong{ color: var(--navy); }

.footer-legal{ display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-legal a{ font-size: .85rem; color: #A6AFD0; }
