/* =========================================================
   MSmart Home — stiluri site
   Culorile brandului sunt definite o singură dată mai jos.
   ========================================================= */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* brand (din siglă) */
  --blue: #005a99;
  --blue-600: #004b80;
  --blue-800: #0a3558;
  --blue-900: #072640;
  --blue-50: #eef5fb;
  --blue-100: #d9e8f5;
  --yellow: #f9ba12;
  --yellow-600: #e5a800;
  --yellow-50: #fff7e0;
  --green: #329038;

  /* neutre */
  --ink: #0d1e30;
  --text: #33465a;
  --muted: #64768a;
  --line: #e2e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(13 30 48 / .06), 0 2px 8px rgb(13 30 48 / .04);
  --shadow: 0 10px 30px -10px rgb(13 30 48 / .18);
  --shadow-lg: 0 30px 60px -20px rgb(7 38 64 / .35);

  --header-h: 68px;
  --gutter: 20px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.br-d { display: none; }

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--yellow { background: var(--yellow); color: var(--blue-900); box-shadow: 0 6px 18px -6px rgb(249 186 18 / .7); }
.btn--yellow:hover { background: #ffc629; box-shadow: 0 10px 24px -8px rgb(249 186 18 / .8); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue-100); }
.btn--ghost:hover { border-color: var(--blue); background: var(--blue-50); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .94rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgb(13 30 48 / .25); }
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-900); margin-right: auto; }
.brand img { width: 34px; height: auto; }
.brand__name { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--blue); }
.brand__name b { font-weight: 800; color: var(--blue-900); }
.brand--light .brand__name { color: #8cc4ee; }
.brand--light .brand__name b { color: #fff; }

.header__cta { display: none; }
.menu-btn {
  display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
  border: 0; border-radius: 12px; background: transparent; color: var(--ink);
}
.menu-btn .i { width: 26px; height: 26px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* nav mobil */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 24px;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -20px rgb(13 30 48 / .3);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav a { padding: 15px 4px; font-weight: 700; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav a:last-child { border-bottom: 0; }
.nav__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--blue) !important; }

/* hero: vezi secțiunea HERO de la finalul fișierului */

/* ---------- secțiuni ---------- */
.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 680px; margin-bottom: 30px; }
.section__head h2, .why h2, .contact h2 { font-size: clamp(1.75rem, 5.6vw, 2.6rem); }
.section__head > p:last-child { margin-top: 14px; font-size: 1.05rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); }
.kicker--y { color: var(--yellow); }

/* carduri servicii */
.group-title { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; font-size: 1.05rem; color: var(--blue-900); }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.group-title + .cards { margin-bottom: 44px; }
.cards { display: grid; gap: 14px; }
.card {
  position: relative; padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card h4 { font-size: 1.12rem; margin: 16px 0 8px; }
.card p { font-size: .97rem; color: var(--text); }
.card__icon {
  flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--blue); color: #fff;
}
.card__icon .i { width: 26px; height: 26px; }
.card__icon--y { background: var(--yellow-50); color: var(--blue); box-shadow: inset 0 0 0 1px #fbe3a1; }
.card--row { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.card--row h4 { margin: 2px 0 4px; font-size: 1.04rem; }
.card--row p { font-size: .94rem; }
.card--row .card__icon { width: 44px; height: 44px; border-radius: 12px; }
.card--row .card__icon .i { width: 22px; height: 22px; }

/* ---------- galerie ---------- */
.filters {
  display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) 22px; padding: 2px var(--gutter) 6px;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 700; font-size: .92rem; transition: all .2s;
}
.chip span { color: var(--muted); font-weight: 600; margin-left: 4px; }
.chip:hover { border-color: var(--blue-100); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip[aria-pressed="true"] span { color: #bcd8ef; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery li { animation: fadeUp .45s var(--ease) both; }
.gallery button {
  position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius-sm); background: var(--blue-100);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery button::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(7 38 64 / .55), transparent 45%); opacity: 0; transition: opacity .3s;
}
.gallery button:hover::after { opacity: 1; }
.g-tag {
  position: absolute; left: 8px; bottom: 8px; z-index: 1;
  font-size: .72rem; font-weight: 700; color: var(--blue-900);
  background: rgb(255 255 255 / .92); padding: 4px 9px; border-radius: 999px;
}
.g-play {
  position: absolute; z-index: 1; top: 50%; left: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--yellow); color: var(--blue-900); box-shadow: 0 8px 20px -6px rgb(0 0 0 / .45);
}
.g-play .i { width: 22px; height: 22px; stroke: none; margin-left: 3px; }
/* telefon: prima poză pe tot rândul, apoi câte două (5 poze = 3 rânduri pline) */
.gallery li:first-child { grid-column: 1 / -1; }
.gallery li:first-child button { aspect-ratio: 16 / 10; }
.gallery__more { display: flex; justify-content: center; margin-top: 28px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(4 18 32 / .96); color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(4 18 32 / .9); }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 12px 24px; width: 100%; height: 100%; justify-content: center; }
/* poza e absolută în stage, ca max-height: 100% să se raporteze la înălțimea lui (altfel apare la mărimea reală, „zoomed in”) */
.lb__stage { position: relative; width: 100%; flex: 1; min-height: 0; touch-action: pan-y; }
.lb__stage img, .lb__stage video { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; user-select: none; -webkit-user-drag: none; }
.lb__cap { font-size: .92rem; color: #c9d8e6; text-align: center; min-height: 1.4em; padding-bottom: env(safe-area-inset-bottom); }
.lb__cap b { color: var(--yellow); font-weight: 700; margin-right: 8px; }
.lb__btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; transition: background .2s;
}
.lb__btn:hover { background: rgb(255 255 255 / .2); }
.lb__btn .i { width: 24px; height: 24px; }
.lb__close { top: 12px; right: 12px; }
.lb__prev, .lb__next { top: 50%; translate: 0 -50%; display: none; }
.lb__prev { left: 16px; } .lb__next { right: 16px; }

/* ---------- pași ---------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
.steps li {
  position: relative; padding: 24px 24px 24px 84px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.steps__n {
  position: absolute; left: 22px; top: 22px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--yellow); color: var(--blue-900); font-weight: 800; font-size: .95rem;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { font-size: .97rem; }

/* ---------- de ce noi ---------- */
.section--blue {
  background:
    radial-gradient(700px 400px at 90% 10%, rgb(255 255 255 / .08), transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, var(--blue-800) 100%);
  color: #d4e5f4;
}
.section--blue h2, .section--blue h3 { color: #fff; }
.why { display: grid; gap: 40px; }
.why__intro > p:not(.kicker) { margin-top: 16px; font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.stats div { padding: 16px 12px; border-radius: var(--radius-sm); background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12); }
.stats strong { display: block; font-size: clamp(1.25rem, 5vw, 1.8rem); color: var(--yellow); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stats span { display: block; margin-top: 4px; font-size: .8rem; line-height: 1.3; color: #bcd5ea; }
.why__list { display: grid; gap: 12px; }
.why__list li { padding: 22px 22px 22px 58px; position: relative; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.why__list li::before {
  content: ""; position: absolute; left: 22px; top: 26px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072640' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.why__list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why__list p { font-size: .96rem; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 40px; }
.contact__info > p:not(.kicker) { margin-top: 14px; font-size: 1.05rem; }
.contact__list { display: grid; gap: 10px; margin-top: 28px; }
.contact__list a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 700; transition: background .2s; }
.contact__list a:hover { background: var(--bg-soft); }
.contact__list small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }
.ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); flex: none; }

.form { padding: 26px 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.form h3 { font-size: 1.3rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364768a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(0 90 153 / .12); }
.field.is-invalid input { border-color: #d14343; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 18px; font-size: .88rem; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.check.is-invalid span { color: #d14343; }
.form__status { margin-top: 12px; font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form__status.ok { color: var(--green); }
.form__status.err { color: #d14343; }

/* ---------- footer ---------- */
.footer { background: var(--blue-900); color: #9db6cc; padding: 56px 0 calc(96px + env(safe-area-inset-bottom)); font-size: .94rem; }
.footer__grid { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { margin-top: 14px; max-width: 30em; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a { color: #d4e5f4; }
.footer a:hover { color: var(--yellow); }
.footer__company li { line-height: 1.45; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .18); font-weight: 600; font-size: .88rem; }
.anpc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.anpc img { height: 40px; width: auto; border-radius: 6px; background: #fff; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .84rem; }

/* bară mobilă */
.mbar {
  position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px;
  border-radius: 18px; background: rgb(7 38 64 / .94); box-shadow: 0 12px 30px -8px rgb(0 0 0 / .45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(150%); transition: transform .35s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 13px; color: #fff; font-weight: 700; font-size: .92rem; }
.mbar a:active { background: rgb(255 255 255 / .1); }
.mbar__main { background: var(--yellow); color: var(--blue-900) !important; }

/* pagini text (politici) */
.page { padding: 48px 0 80px; }
.page .container { max-width: 780px; }
.page h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); margin-bottom: 8px; }
.page h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.page p, .page li { margin-bottom: 10px; }
.page ul { list-style: disc; padding-left: 1.3em; }
.page .updated { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }

/* ---------- breakpoints ---------- */
@media (max-width: 559px) {
  /* pe telefon toate cardurile sunt compacte: iconiță în stânga, text în dreapta */
  .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
  .card .card__icon { width: 44px; height: 44px; border-radius: 12px; grid-row: span 2; }
  .card .card__icon .i { width: 22px; height: 22px; }
  .card h4 { margin: 2px 0 4px; font-size: 1.04rem; }
  .card p { font-size: .94rem; }
  .card--row { display: flex; }
  .cards { gap: 10px; }
}

@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  /* de la 560 px: 4 coloane, prima poză mare 2x2 (5 poze = 2 rânduri pline) */
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery li:first-child button { aspect-ratio: auto; height: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why__list { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .lb__prev, .lb__next { display: grid; }
  .lb__fig { padding: 64px 80px 28px; }
}

@media (min-width: 900px) {
  :root { --header-h: 78px; --gutter: 32px; }
  .br-d { display: inline; }
  .menu-btn { display: none; }
  .header__cta { display: inline-flex; }
  .brand img { width: 40px; }
  .brand__name { font-size: 1.3rem; }
  .nav {
    position: static; flex-direction: row; gap: 4px; padding: 0; margin-right: 8px;
    background: none; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible;
  }
  .nav a { padding: 10px 14px; border: 0; border-radius: 999px; font-size: .97rem; color: var(--text); }
  .nav a:hover, .nav a.is-active { color: var(--blue); background: var(--blue-50); }
  .nav__phone { display: none !important; }


  .section { padding: 84px 0; }
  .section__head { margin-bottom: 42px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { padding: 30px; }
  .cards--compact { grid-template-columns: repeat(3, 1fr); }
  .filters { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
  .gallery { gap: 14px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .steps li { padding: 84px 26px 28px; background: #fff; }
  .steps li::after { content: ""; position: absolute; top: 44px; left: 78px; right: -18px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-100) 0 6px, transparent 6px 12px); }
  .steps li:last-child::after { display: none; }
  .steps__n { left: 26px; top: 22px; }
  #proces { background: var(--bg-soft); }
  .why { grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
  .contact { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .form { padding: 36px; }
  .mbar { display: none; }
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 40px; }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 1100px) {
  .cards--compact { grid-template-columns: repeat(5, 1fr); }
  .cards--compact .card--row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   HERO — imagine pe toată lățimea, efecte de lumină
   ========================================================= */
.btn--glass {
  background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgb(255 255 255 / .2); border-color: rgb(255 255 255 / .6); }

/* header transparent peste hero, alb după scroll */
.has-hero .header { position: fixed; left: 0; right: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-hero .header.is-scrolled, .has-hero .header.menu-open {
  background: rgb(255 255 255 / .9); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
}
.has-hero .header:not(.is-scrolled):not(.menu-open) .brand__name { color: #8cc4ee; }
.has-hero .header:not(.is-scrolled):not(.menu-open) .brand__name b,
.has-hero .header:not(.is-scrolled):not(.menu-open) .menu-btn { color: #fff; }
.has-hero .header .brand img { filter: drop-shadow(0 2px 6px rgb(0 0 0 / .35)); }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 24px) 0 0;
  background: #04121f; color: #c9dbea;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__bg picture, .hero__bg img { width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 0%; }
.hero__bg picture { display: block; }

.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(to bottom, rgb(4 18 31 / .55) 0%, rgb(4 18 31 / 0) 22%),
    linear-gradient(to top, rgb(4 18 31 / .97) 8%, rgb(4 22 40 / .75) 42%, rgb(0 60 110 / .1) 70%),
    linear-gradient(135deg, rgb(0 90 153 / .25), rgb(0 0 0 / 0) 60%);
}

/* linii LED */
.hero__leds { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.hero__leds .tracks path { fill: none; stroke: rgb(255 255 255 / .07); stroke-width: 1.5; }
.hero__leds .p { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 140 860; stroke-dashoffset: 1000; animation: led 7s linear infinite; }
.hero__leds .p2 { animation-duration: 9s; animation-delay: -3s; }
.hero__leds .p3 { animation-duration: 6s; animation-delay: -1.5s; }
.hero__leds .p4 { animation-duration: 8s; animation-delay: -5s; }
@keyframes led { to { stroke-dashoffset: 0; } }


.hero__in { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 28px; }
.hero__text { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: #fff;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; padding: 6px 14px 6px 10px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgb(249 186 18 / .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgb(249 186 18 / 0); } 100% { box-shadow: 0 0 0 0 rgb(249 186 18 / 0); } }

.hero h1 {
  margin-top: 18px; color: #fff;
  font-size: clamp(2.15rem, 8.4vw, 4.4rem); letter-spacing: -.04em; line-height: 1.04;
  text-shadow: 0 4px 30px rgb(0 0 0 / .35);
}
.hl {
  color: transparent; white-space: nowrap; text-shadow: none;
  background: linear-gradient(100deg, #ffd25a 0%, var(--yellow) 35%, #fff3c4 50%, var(--yellow) 65%, #ffd25a 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text;
  animation: shine 6s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgb(249 186 18 / .35));
}
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.lead { margin-top: 18px; font-size: 1.06rem; color: #d5e4f1; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__actions .btn { flex: 1 1 150px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-weight: 600; color: #fff; font-size: .9rem; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .i { color: var(--yellow); width: 18px; height: 18px; stroke-width: 2.8; }

/* apariție treptată */
.reveal { animation: rise .9s var(--ease) both; }
.hero__text .reveal:nth-child(2) { animation-delay: .1s; }
.hero__text .reveal:nth-child(3) { animation-delay: .2s; }
.hero__text .reveal:nth-child(4) { animation-delay: .3s; }
.hero__text .reveal:nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

/* widget-uri smart home */
.widgets { display: none; }
.w {
  position: relative; padding: 16px 18px; border-radius: 20px; color: #fff;
  background: linear-gradient(150deg, rgb(255 255 255 / .16), rgb(255 255 255 / .05));
  border: 1px solid rgb(255 255 255 / .22);
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .2);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  animation: rise 1s var(--ease) both;
}
.w strong { display: block; margin-top: 12px; font-size: .98rem; font-weight: 700; }
.w__sub { display: block; font-size: .78rem; color: #bcd2e5; margin-top: 2px; }
.w__sub b { color: #fff; }
.w__top { display: flex; align-items: center; justify-content: space-between; }
.w__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgb(255 255 255 / .14); transition: background .4s, color .4s, box-shadow .4s; }
.w__ic .i { width: 20px; height: 20px; }
.w .w__big { font-size: 1.9rem; letter-spacing: -.03em; margin-top: 8px; }
.w__chip { font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgb(255 255 255 / .16); }
.live { font-size: .68rem; font-weight: 800; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.tog { width: 40px; height: 23px; border-radius: 999px; background: rgb(255 255 255 / .22); position: relative; transition: background .4s; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .4s var(--ease); box-shadow: 0 2px 4px rgb(0 0 0 / .3); }
.tog.is-on { background: var(--yellow); }
.tog.is-on::after { transform: translateX(17px); }
.w--light.is-lit .w__ic { background: var(--yellow); color: var(--blue-900); box-shadow: 0 0 24px rgb(249 186 18 / .7); }
.bar { display: block; height: 5px; margin-top: 12px; border-radius: 5px; background: rgb(255 255 255 / .15); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--dim, 80%); border-radius: inherit; background: linear-gradient(90deg, #ffd25a, var(--yellow)); transition: width .8s var(--ease); }
.w--gate.is-open .w__ic { background: var(--green); }
.w--gate .tog.is-on { background: var(--green); }

.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgb(255 255 255 / .1); }
.partners { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.partners__label { flex-basis: 100%; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fa9c0; }
.partners img { height: 26px; width: auto; padding: 5px 9px; border-radius: 8px; background: rgb(255 255 255 / .92); box-sizing: content-box; }
.scroll-cue { display: none; }

@media (min-width: 560px) {
  .hero__actions .btn { flex: none; }
}

@media (min-width: 900px) {
  .hero { min-height: min(100svh, 960px); padding-top: calc(var(--header-h) + 8px); }
  .hero__bg img { object-position: 50% 40%; }
  .hero__shade {
    background:
      linear-gradient(to bottom, rgb(4 18 31 / .5) 0%, rgb(4 18 31 / 0) 18%),
      linear-gradient(90deg, rgb(4 18 31 / .95) 0%, rgb(4 22 40 / .78) 34%, rgb(0 50 90 / .15) 62%, rgb(0 0 0 / 0) 80%),
      linear-gradient(to top, rgb(4 18 31 / .9) 0%, rgb(4 18 31 / 0) 30%);
  }
  .hero__in { flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
  .hero__text { flex: 1 1 600px; }
  .lead { font-size: 1.14rem; }
  .hero__facts { font-size: .95rem; gap: 10px 24px; }

  .widgets {
    display: grid; grid-template-columns: repeat(2, 196px); gap: 16px; align-self: flex-end; margin-bottom: 8px;
  }
  .w--light { animation-delay: .35s; }
  .w--temp { margin-top: -34px; margin-bottom: 34px; animation-delay: .5s; }
  .w--cam { animation-delay: .65s; }
  .w--gate { margin-top: -34px; margin-bottom: 34px; animation-delay: .8s; }

  .partners { flex-wrap: nowrap; }
  .partners__label { flex-basis: auto; }
  .partners img { height: 30px; }
  .scroll-cue { display: block; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgb(255 255 255 / .45); position: relative; flex: none; }
  .scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: cue 1.8s ease-in-out infinite; }
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (min-width: 1200px) {
  .widgets { grid-template-columns: repeat(2, 212px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__leds .p { display: none; }
}

/* hero — ajustări */
@media (min-width: 900px) {
  .has-hero .header:not(.is-scrolled):not(.menu-open) .nav a { color: rgb(255 255 255 / .82); }
  .has-hero .header:not(.is-scrolled):not(.menu-open) .nav a:hover,
  .has-hero .header:not(.is-scrolled):not(.menu-open) .nav a.is-active { color: #fff; background: rgb(255 255 255 / .12); }
}
@media (max-width: 899px) {
  .hero__shade {
    background:
      linear-gradient(to bottom, rgb(4 18 31 / .5) 0%, rgb(4 18 31 / .05) 14%, rgb(4 18 31 / .55) 30%, rgb(4 18 31 / .9) 52%, rgb(4 18 31 / .97) 100%),
      linear-gradient(135deg, rgb(0 90 153 / .3), rgb(0 0 0 / 0) 60%);
  }
  .hero__leds { opacity: .45; }
  .hero__in { padding-top: 22svh; }
}
@media (max-width: 559px) {
  .hero h1 { font-size: clamp(2rem, 9vw, 2.4rem); }
  .lead { font-size: 1rem; margin-top: 14px; }
  .hero__actions { margin-top: 22px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; padding: 0 16px; }
  .hero__facts { font-size: .84rem; gap: 6px 14px; margin-top: 18px; }
  .partners__label { display: none; }
  .hero__foot { padding-top: 14px; padding-bottom: 18px; }
}

/* WhatsApp */
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 6px 18px -6px rgb(37 211 102 / .7); }
.btn--wa:hover { background: #1ebe5b; box-shadow: 0 10px 24px -8px rgb(37 211 102 / .8); }
.btn--wa .i { width: 1.35em; height: 1.35em; }
.nav__wa { color: #128c4b !important; }
.mbar a[href*="wa.me"] .i { color: #25d366; }

/* hero pe laptop: totul încape în înălțimea ecranului */
@media (min-width: 900px) {
  .hero h1 { font-size: clamp(2.4rem, min(4.4vw, 8.4vh), 3.9rem); text-wrap: balance; }
  .lead { margin-top: clamp(12px, 2vh, 18px); }
  .hero__actions { margin-top: clamp(18px, 3.2vh, 28px); }
  .hero__facts { margin-top: clamp(14px, 2.6vh, 22px); }
  .hero__in { padding-bottom: clamp(20px, 4vh, 40px); }
}
@media (min-width: 900px) and (max-height: 760px) {
  .lead { font-size: 1.04rem; }
  .widgets { grid-template-columns: repeat(2, 180px); gap: 12px; }
  .w { padding: 13px 15px; border-radius: 16px; }
  .w strong { margin-top: 8px; }
  .w .w__big { font-size: 1.6rem; }
  .w--temp, .w--gate { margin-top: -24px; margin-bottom: 24px; }
  .hero__foot { padding-top: 12px; padding-bottom: 14px; }
  .partners img { height: 26px; }
}

/* =========================================================
   SOLUȚII SMART HOME (Easy · Hibrid · Pro)
   ========================================================= */
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }

.sols { display: grid; gap: 18px; }
.sol {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.sol:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.sol__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-800); }
.sol__media img { width: 100%; height: 100%; object-fit: cover; }
/* imaginile din cardurile de soluții rămân nemișcate la hover */
.sol__tag {
  position: absolute; left: 14px; top: 14px;
  font-size: .74rem; font-weight: 700; color: #fff; padding: 5px 11px; border-radius: 999px;
  background: rgb(7 38 64 / .62); border: 1px solid rgb(255 255 255 / .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sol__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.sol__name {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.sol__name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.sol h3 { font-size: 1.28rem; margin: 10px 0 10px; }
.sol__body > p:not(.sol__name) { font-size: .97rem; }
.sol__fit { margin: 18px 0 22px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.sol__fit span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.sol__fit p { font-size: .94rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.sol .btn { margin-top: auto; }
.sol .btn:hover .i { transform: translateX(3px); }
.sol .btn .i { transition: transform .2s var(--ease); }

@media (min-width: 700px) and (max-width: 899px) {
  .sols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .sols { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .sol__body { padding: 26px 26px 28px; }
}

/* ---------- modal / drawer ---------- */
.sheet {
  padding: 0; border: 0; background: transparent; color: var(--text);
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0;
  overflow: hidden;
}
.sheet[open] { display: flex; align-items: flex-end; justify-content: center; }
.sheet::backdrop { background: rgb(4 18 32 / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadeIn .3s ease both; }
.sheet.is-closing::backdrop { animation: fadeOut .26s ease forwards; }
.sheet__panel {
  position: relative; display: flex; flex-direction: column;
  width: 100%; max-height: 90dvh; background: #fff;
  border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px -20px rgb(0 0 0 / .4);
  animation: sheetUp .38s var(--ease) backwards;
}
.sheet.is-closing .sheet__panel { animation: sheetDown .26s ease-in forwards; }
.sheet__grab { display: grid; place-items: center; padding: 10px 0 2px; touch-action: none; cursor: grab; }
.sheet__grab span { width: 44px; height: 5px; border-radius: 5px; background: #cfd9e3; }
.sheet__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--bg-soft); color: var(--ink); transition: background .2s;
}
.sheet__close:hover { background: var(--blue-50); }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 10px 22px 20px; -webkit-overflow-scrolling: touch; }
.sheet__foot { padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }

.sd__name { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.sd__name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.sd__title { font-size: clamp(1.45rem, 5vw, 1.9rem); margin: 8px 44px 12px 0; }
.sd__intro { font-size: 1.02rem; color: var(--text); }
.sd__text { font-size: .95rem; margin-top: 10px; }
.sheet__body h3 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .9rem; font-weight: 700; color: var(--blue-900); padding: 7px 13px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--blue-100); }
.chips--soft li { font-weight: 600; color: var(--ink); background: #fff; border-color: var(--line); }
.checks { display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink); font-size: .96rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #e7f4e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23329038' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.note { margin-top: 24px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--yellow-50); border: 1px solid #f6e0a3; }
.note strong { display: block; font-size: .86rem; color: var(--blue-900); margin-bottom: 4px; }
.note p { font-size: .92rem; }

@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes modalOut { to { opacity: 0; transform: translateY(10px) scale(.98); } }

/* desktop/tabletă: modal centrat */
@media (min-width: 700px) {
  .sheet[open] { align-items: center; padding: 24px; }
  .sheet__panel { max-width: 680px; max-height: min(86vh, 820px); border-radius: 24px; box-shadow: var(--shadow-lg); animation-name: modalIn; animation-duration: .32s; }
  .sheet.is-closing .sheet__panel { animation: modalOut .22s ease forwards; }
  .sheet__grab { display: none; }
  .sheet__close { top: 18px; right: 18px; }
  .sheet__body { padding: 30px 34px 24px; }
  .sheet__foot { padding: 16px 34px 20px; border-radius: 0 0 24px 24px; }
  .sheet__foot .btn { width: auto; }
}
.sheet__body:focus { outline: none; }
@media (min-width: 900px) and (max-width: 1099px) {
  .nav a { padding: 8px 9px; font-size: .9rem; }
  .header__cta span { display: none; }
  .header__cta { padding: 0 12px; }
}

/* modal soluții — iconițe, scroll, butoane */
.chips li { display: inline-flex; align-items: center; gap: 7px; }
.chips li .i { width: 17px; height: 17px; color: var(--blue); flex: none; }
.chips--soft li .i { color: var(--muted); }

/* colțurile rotunjite taie și bara de scroll */
.sheet__panel { overflow: hidden; }
.sheet__body { scrollbar-width: thin; scrollbar-color: #c9d6e2 transparent; }
.sheet__body::-webkit-scrollbar { width: 12px; }
.sheet__body::-webkit-scrollbar-track { background: transparent; margin: 14px 0; }
.sheet__body::-webkit-scrollbar-thumb { background: #c9d6e2; border-radius: 12px; border: 4px solid #fff; }
.sheet__body::-webkit-scrollbar-thumb:hover { background: #a9bccd; }
/* pagina din spate nu mai „sare” când se blochează scroll-ul */
html { scrollbar-gutter: stable; }

.sheet__foot { display: flex; align-items: center; gap: 10px; }
.sheet__foot .btn { flex: none; }
@media (max-width: 699px) {
  .sheet__foot .btn { min-height: 50px; padding: 0 16px; font-size: .95rem; gap: 8px; }
  .sheet__foot .btn--yellow { flex: 1 1 auto; min-width: 0; }
}
@media (max-width: 429px) {
  .sheet__foot .btn--wa { width: 50px; padding: 0; flex: none; }
  .sheet__foot .btn--wa span { display: none; }
}

/* butoanele din modal: fără glow în starea inițială, doar la hover */
.sheet__foot .btn { box-shadow: none; transition: background-color .2s, box-shadow .25s; }
.sheet__foot .btn--yellow:hover { box-shadow: 0 10px 24px -8px rgb(249 186 18 / .8); }
.sheet__foot .btn--wa:hover { box-shadow: 0 10px 24px -8px rgb(37 211 102 / .8); }

/* butoanele din modal, puțin mai mici */
.sheet__foot .btn { min-height: 46px; padding: 0 20px; font-size: .94rem; gap: 8px; }
.sheet__foot .btn .i { width: 1.15em; height: 1.15em; }
@media (max-width: 699px) {
  .sheet__foot .btn { min-height: 46px; padding: 0 16px; font-size: .92rem; }
}
@media (max-width: 429px) {
  .sheet__foot .btn--wa { width: 46px; padding: 0; }
}
.partners img[src*="anre"] { padding: 3px 9px; height: 32px; }
@media (min-width: 900px) { .partners img[src*="anre"] { height: 36px; } }
@media (min-width: 900px) and (max-height: 760px) { .partners img[src*="anre"] { height: 32px; } }

/* =========================================================
   SERVICII — carduri cu poză pe tot cardul
   titlul jos; la hover apar descrierea și „Vezi detalii”
   ========================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--blue-900); color: #fff;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
}
.svc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(4 20 36 / .92) 0%, rgb(4 20 36 / .55) 32%, rgb(4 20 36 / 0) 60%);
}
.svc::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(to top, rgb(4 20 36 / .96) 0%, rgb(4 20 36 / .78) 45%, rgb(4 20 36 / .2) 85%);
  transition: opacity .35s;
}
.svc__body { display: block; width: 100%; padding: 16px; }
.svc__head { display: flex; align-items: center; gap: 12px; }
.svc__icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--yellow); color: var(--blue-900); box-shadow: 0 6px 16px -6px rgb(0 0 0 / .5);
}
.svc__icon .i { width: 21px; height: 21px; }
.svc h3 { color: #fff; font-size: 1.02rem; line-height: 1.22; text-shadow: 0 2px 12px rgb(0 0 0 / .35); }
.svc__reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.svc__reveal > span { min-height: 0; overflow: hidden; }
.svc__desc {
  display: block; padding-top: 12px; font-size: .95rem; line-height: 1.5; color: #d3e2ef;
  opacity: 0; transform: translateY(8px); transition: opacity .35s .05s, transform .4s var(--ease);
}
.svc__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-weight: 700; font-size: .92rem; color: var(--yellow); opacity: 0; transform: translateY(8px);
  transition: opacity .35s .1s, transform .4s var(--ease);
}
.svc__more .i { transition: transform .25s var(--ease); }

/* hover (mouse) și focus din tastatură */
.svc:hover, .svc:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc:hover img, .svc:focus-visible img { transform: scale(1.06); }
.svc:hover::after, .svc:focus-visible::after { opacity: 1; }
.svc:hover .svc__reveal, .svc:focus-visible .svc__reveal { grid-template-rows: 1fr; }
.svc:hover .svc__desc, .svc:hover .svc__more,
.svc:focus-visible .svc__desc, .svc:focus-visible .svc__more { opacity: 1; transform: none; }
.svc:hover .svc__more .i { transform: translateX(4px); }

/* ecrane fără hover (telefon, tabletă): „Vezi detalii” e mereu vizibil */
@media (hover: none) {
  .svc__reveal { grid-template-rows: 1fr; }
  .svc__more { opacity: 1; transform: none; margin-top: 8px; font-size: .86rem; }
  .svc__desc { display: none; }
}

@media (max-width: 639px) {
  .svc__body { padding: 14px; }
  .svc__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .svc__icon { width: 36px; height: 36px; border-radius: 10px; }
  .svc__icon .i { width: 19px; height: 19px; }
  .svc h3 { font-size: .98rem; }
}
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .svc__body { padding: 20px; }
  .svc h3 { font-size: 1.15rem; }
}
@media (min-width: 640px) and (hover: none) {
  .svc__desc { display: block; opacity: 1; transform: none; font-size: .9rem; }
}
@media (min-width: 900px) {
  .svc-grid { gap: 22px; }
  .svc { aspect-ratio: 6 / 7; }
  .svc__body { padding: 26px; }
  .svc__icon { width: 46px; height: 46px; border-radius: 13px; }
  .svc__icon .i { width: 24px; height: 24px; }
  .svc h3 { font-size: 1.32rem; }
}

/* =========================================================
   PAGINI DE SERVICII
   ========================================================= */
.phero {
  position: relative; isolation: isolate; overflow: hidden; color: #c9dbea;
  min-height: min(50svh, 440px); display: flex; align-items: center; /* centrat sub meniu, oricâte rânduri are titlul */
  padding: calc(var(--header-h) + 28px) 0 36px; background: #04121f;
}
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg picture, .phero__bg img { width: 100%; height: 100%; display: block; }
.phero__bg img { object-fit: cover; }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgb(4 18 31 / .92) 0%, rgb(4 18 31 / .75) calc(var(--header-h) + 10px), rgb(4 18 31 / .1) 40%),
    linear-gradient(to top, rgb(4 18 31 / .96) 10%, rgb(4 22 40 / .78) 45%, rgb(0 50 90 / .25) 80%);
}
.phero__in { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: .84rem; font-weight: 600; color: #9fb8cd; margin-bottom: 18px; }
.crumbs a { color: #d5e4f1; }
.crumbs a:hover { color: var(--yellow); }
.phero h1 { color: #fff; font-size: clamp(2rem, 7vw, 3.6rem); letter-spacing: -.035em; max-width: 16em; text-wrap: balance; }
.phero .lead { max-width: 38em; }

.feats { display: grid; gap: 14px; }
.feat { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feat h3 { font-size: 1.06rem; margin: 2px 0 4px; }
.feat p { font-size: .95rem; }
.tech { margin-top: 36px; }
.tech h3 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 800; }
.note--page { max-width: none; } /* cât grila de carduri de deasupra */

.section--tight { padding: 0 0 56px; }
.promo {
  display: grid; gap: 22px; align-items: center; padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-800) 100%); color: #d4e5f4;
}
.promo h2 { color: #fff; font-size: clamp(1.5rem, 5vw, 2rem); }
.promo p:not(.kicker) { margin-top: 8px; }
.promo .btn { justify-self: start; }


@media (min-width: 560px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .phero { padding-bottom: 48px; }
  .feats { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .feat { flex-direction: column; padding: 28px; }
  .section--tight { padding-bottom: 84px; }
  .promo { grid-template-columns: 1fr auto; padding: 44px 48px; gap: 40px; }
}
@media (max-width: 899px) {
  .phero::before {
    background:
      linear-gradient(to bottom, rgb(4 18 31 / .7) 0%, rgb(4 18 31 / .45) 30%),
      linear-gradient(to top, rgb(4 18 31 / .97) 15%, rgb(4 22 40 / .88) 55%, rgb(0 40 75 / .5) 85%);
  }
}
.nowrap { white-space: nowrap; }
/* „Alte servicii” (5 carduri): 3 + 2, rândul de jos centrat */
@media (min-width: 640px) {
  .svc-grid--more { grid-template-columns: repeat(6, 1fr); }
  .svc-grid--more > .svc { grid-column: span 2; }
  .svc-grid--more > .svc:nth-child(4) { grid-column: 2 / span 2; }
}
/* carduri servicii puțin mai mici */
.svc { aspect-ratio: 1 / 1.1; }
@media (min-width: 640px) { .svc { aspect-ratio: 1 / 1.05; } }
@media (min-width: 900px) {
  .svc { aspect-ratio: 1 / 0.92; }
  .svc__body { padding: 22px; }
  .svc__icon { width: 42px; height: 42px; border-radius: 12px; }
  .svc__icon .i { width: 22px; height: 22px; }
  .svc h3 { font-size: 1.2rem; }
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.credit a { font-weight: 700; color: #fff; }
.credit a:hover { color: var(--yellow); }
/* butonul WhatsApp din meniu: fără glow în starea inițială, doar la hover */
.header__cta.btn--wa { box-shadow: none; }
.header__cta.btn--wa:hover { box-shadow: 0 10px 24px -8px rgb(37 211 102 / .8); }
/* carduri servicii pe telefon: doar titlul, fără iconiță și fără „Vezi detalii” */
@media (max-width: 639px) {
  .svc__icon, .svc__reveal { display: none; }
  .svc__body { padding: 12px 14px; }
  .svc h3 { font-size: .95rem; }
  .svc::before { background: linear-gradient(to top, rgb(4 20 36 / .85) 0%, rgb(4 20 36 / .35) 26%, rgb(4 20 36 / 0) 45%); }
}
/* telefon: săgeată galbenă în colțul din dreapta-jos al cardurilor de servicii */
@media (max-width: 639px) {
  .svc__body { position: relative; padding-right: 38px; }
  .svc__body::after {
    content: ""; position: absolute; right: 12px; bottom: 12px; width: 20px; height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f9ba12' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* hero pe telefon: tot conținutul (inclusiv bifele) încape în primul ecran */
@media (max-width: 899px) {
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero__in { padding-top: 0; padding-bottom: clamp(16px, 3svh, 28px); }
}
@media (max-width: 559px) {
  .hero h1 { font-size: clamp(1.8rem, min(9vw, 5.4svh), 2.4rem); }
  .lead { margin-top: clamp(8px, 1.8svh, 14px); }
  .hero__actions { margin-top: clamp(14px, 2.6svh, 22px); }
  .hero__actions .btn { min-height: clamp(44px, 6.6svh, 52px); }
  .hero__facts { margin-top: clamp(12px, 2.2svh, 18px); }
}
@media (max-width: 559px) and (max-height: 700px) {
  .lead { font-size: .94rem; line-height: 1.5; }
  .hero__foot { padding-top: 10px; padding-bottom: 12px; }
  .partners img { height: 22px; }
}
@media (max-width: 559px) and (max-height: 600px) {
  .hero__actions .btn { flex: 1 1 0; padding: 0 12px; font-size: .9rem; }
  .hero__actions .btn .i { display: none; }
}

/* pagini de servicii, telefon: cele 2 butoane pe un singur rând, ca antetul să fie mai scund */
@media (max-width: 559px) {
  .phero .hero__actions { flex-wrap: nowrap; gap: 8px; }
  .phero .hero__actions .btn { flex: 1 1 auto; padding: 0 12px; font-size: .9rem; white-space: nowrap; }
  .phero .hero__actions .btn--yellow .i { display: none; }
}
@media (max-width: 359px) {
  .phero .hero__actions { flex-wrap: wrap; }
}

/* pagini de servicii, desktop: galerie compactă, 5 poze mici pe rând, fără poza mare 2x2 */
@media (min-width: 900px) {
  .gallery--sm { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .gallery--sm li:first-child { grid-column: auto; grid-row: auto; }
  .gallery--sm li:first-child button { aspect-ratio: 4 / 5; height: auto; }
}

/* „Alte servicii” pe paginile de servicii: carduri mai mici (desktop: toate 5 pe un rând) */
.svc-grid--more > .svc { aspect-ratio: 1 / 0.8; }
@media (min-width: 640px) {
  .svc-grid--more > .svc { aspect-ratio: 1 / 0.82; }
}
@media (min-width: 900px) {
  .svc-grid--more { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .svc-grid--more > .svc, .svc-grid--more > .svc:nth-child(4) { grid-column: auto; aspect-ratio: 4 / 5; }
  .svc-grid--more .svc__body { padding: 16px; }
  .svc-grid--more .svc__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .svc-grid--more .svc__icon { width: 36px; height: 36px; border-radius: 10px; }
  .svc-grid--more .svc__icon .i { width: 19px; height: 19px; }
  .svc-grid--more h3 { font-size: 1.02rem; }
  .svc-grid--more .svc__desc { font-size: .84rem; }
  .svc-grid--more .svc__more { font-size: .84rem; }
}

/* „Ce include” (pagini de servicii): linie galbenă, hover cu ridicare, apariție pe rând la scroll */
.feat {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #fff 55%, var(--blue-50) 100%);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feat::before { /* linie galbenă sus */
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 44px;
  background: var(--yellow); border-radius: 0 0 3px 0; transition: width .5s var(--ease);
}
.feat .card__icon { transition: background .35s, color .35s, transform .45s var(--ease); }
@media (hover: hover) {
  .feat:hover { transform: translateY(-6px); border-color: var(--blue-100); box-shadow: 0 22px 40px -22px rgb(7 38 64 / .35); }
  .feat:hover::before { width: 100%; }
  .feat:hover .card__icon { background: var(--yellow); color: var(--blue-900); transform: rotate(-8deg) scale(1.08); }
}
/* apariție pe rând (clasa js-reveal o pune main.js, deci fără JS cardurile se văd normal) */
.feats.js-reveal .feat { opacity: 0; transform: translateY(18px); }
.feats.js-reveal .feat.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.feats.js-reveal .feat.is-in:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  .feats.js-reveal .feat { opacity: 1; transform: none; }
  .feat, .feat::before, .feat .card__icon { transition: none; }
  .feat:hover, .feats.js-reveal .feat.is-in:hover, .feat:hover .card__icon { transform: none; }
}

/* text descriptiv (SEO) după cardurile „Ce include”: panou cu titlu + bife în stânga, text în dreapta */
.seo-text {
  position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 22px;
  margin-top: 48px; padding: 28px 22px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--blue-50) 0%, #fff 70%); border: 1px solid var(--blue-100);
}
.seo-text::before { /* puncte decorative în colț */
  content: ""; position: absolute; z-index: -1; right: -10px; top: -10px; width: 180px; height: 140px;
  background: radial-gradient(circle, var(--blue-100) 1.6px, transparent 2px) 0 0 / 16px 16px;
  -webkit-mask: linear-gradient(225deg, #000 20%, transparent 75%); mask: linear-gradient(225deg, #000 20%, transparent 75%);
}
.seo-text h2 { font-size: clamp(1.35rem, 4.4vw, 1.75rem); line-height: 1.2; margin-top: 10px; text-wrap: balance; }
.seo-text__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.seo-text__facts li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 700; color: var(--ink);
}
.seo-text__facts span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: var(--blue-900); }
.seo-text__facts .i { width: 14px; height: 14px; stroke-width: 2.6; }
.seo-text__body p { color: var(--text); line-height: 1.75; }
.seo-text__body p + p { margin-top: 14px; }
.seo-text__body p:first-child { font-size: 1.06rem; color: var(--ink); font-weight: 500; line-height: 1.65; padding-left: 16px; border-left: 3px solid var(--yellow); }
@media (min-width: 900px) {
  .seo-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 48px 52px; margin-top: 56px; }
  .seo-text__side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .seo-text__facts { flex-direction: column; align-items: flex-start; }
}

/* ===== TELEFON: pagina principală ===== */
.car-dots { display: none; }
@media (max-width: 639px) {
  /* Servicii: carusel cu snap, cardul următor se vede pe margine */
  .svc-grid--car {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
  }
  .svc-grid--car::-webkit-scrollbar { display: none; }
  .svc-grid--car > .svc { flex: 0 0 80%; scroll-snap-align: start; aspect-ratio: 1 / 1.12; }
  .svc-grid--car .svc__body { padding: 18px 18px 16px; }
  .svc-grid--car .svc__body::after { display: none; }
  .svc-grid--car .svc__icon { display: grid; }
  .svc-grid--car .svc__reveal { display: grid; grid-template-rows: 1fr; }
  .svc-grid--car .svc__desc { display: block; opacity: 1; transform: none; padding-top: 8px; font-size: .9rem; }
  .svc-grid--car .svc__more { opacity: 1; transform: none; margin-top: 10px; font-size: .88rem; }
  .svc-grid--car h3 { font-size: 1.15rem; }
  .svc-grid--car .svc::before { background: linear-gradient(to top, rgb(4 20 36 / .95) 0%, rgb(4 20 36 / .7) 38%, rgb(4 20 36 / 0) 70%); }
  .car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .car-dots span { width: 7px; height: 7px; border-radius: 99px; background: var(--blue-100); transition: width .3s var(--ease), background .3s; }
  .car-dots span.is-on { width: 22px; background: var(--blue); }
}
@media (max-width: 559px) {
  /* Cum lucrăm: cronologie compactă, fără carduri, cu linie între numere */
  .steps { gap: 0; }
  .steps li { padding: 0 0 22px 56px; border: 0; background: none; border-radius: 0; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before {
    content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px;
    background: repeating-linear-gradient(to bottom, var(--blue-100) 0 6px, transparent 6px 11px);
  }
  .steps li:last-child::before { display: none; }
  .steps__n { left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; font-size: .88rem; }
  .steps h3 { font-size: 1.04rem; margin: 9px 0 4px; }
  .steps p { font-size: .93rem; line-height: 1.55; }
}
@media (max-width: 639px) {
  /* De ce noi: carusel, la fel ca serviciile */
  .why__list {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px; scroll-padding-inline: var(--gutter);
  }
  .why__list::-webkit-scrollbar { display: none; }
  .why__list li { flex: 0 0 82%; scroll-snap-align: start; padding: 20px 20px 20px 54px; }
  .why__list li::before { left: 20px; top: 23px; }
  .why__list p { font-size: .93rem; }
  .car-dots--light { margin-top: 12px; }
  .car-dots--light span { background: rgb(255 255 255 / .25); }
  .car-dots--light span.is-on { background: var(--yellow); }
}

/* ===== meniul de pe telefon: panou pe tot ecranul, iconițe, butoane Sună / WhatsApp jos ===== */
.nav__ic, .nav__go, .nav__foot { display: none; }
@media (max-width: 899px) {
  .nav {
    /* înălțime explicită: header-ul are backdrop-filter, deci „fixed” se raportează la el, nu la ecran */
    inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h)); padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom));
    gap: 6px; overflow-y: auto; overscroll-behavior: contain;
    background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); border: 0;
  }
  .nav > a {
    display: flex; align-items: center; gap: 14px; padding: 9px 10px; border: 0; border-radius: 14px;
    font-size: 1.06rem; color: var(--ink);
    opacity: 0; transform: translateX(14px); transition: opacity .3s, transform .4s var(--ease), background .2s;
  }
  .nav > a:active, .nav > a.is-active { background: #fff; box-shadow: 0 6px 18px -12px rgb(13 30 48 / .35); }
  .nav.is-open > a { opacity: 1; transform: none; }
  .nav.is-open > a:nth-child(2) { transition-delay: .03s; }
  .nav.is-open > a:nth-child(3) { transition-delay: .06s; }
  .nav.is-open > a:nth-child(4) { transition-delay: .09s; }
  .nav.is-open > a:nth-child(5) { transition-delay: .12s; }
  .nav.is-open > a:nth-child(6) { transition-delay: .15s; }
  .nav__ic {
    display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px;
    background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue-100);
  }
  .nav__ic .i { width: 21px; height: 21px; }
  .nav > a.is-active .nav__ic { background: var(--blue); color: #fff; box-shadow: none; }
  .nav__t { flex: 1; }
  .nav__go { display: block; width: 18px; height: 18px; color: var(--muted); }
  .nav__foot {
    display: block; margin-top: auto; padding-top: 18px;
    opacity: 0; transform: translateY(10px); transition: opacity .35s .15s, transform .45s .15s var(--ease);
  }
  .nav.is-open .nav__foot { opacity: 1; transform: none; }
  .nav__label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 4px; }
  .nav__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav .nav__foot a { border: 0; }
  .nav .nav__btns .btn { width: 100%; padding: 0 14px; font-size: 1rem; color: #fff; }
  .nav__call { background: var(--blue); color: #fff; }
  .nav .nav__mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 6px; font-weight: 700; font-size: .92rem; color: var(--blue); }
  .nav__mail .i { width: 18px; height: 18px; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .nav > a, .nav__foot { opacity: 1; transform: none; transition: none; }
}

/* ===== „Servicii” cu submeniu: dropdown pe desktop, acordeon pe telefon ===== */
.nav__sic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.nav__sic .i { width: 18px; height: 18px; }
.nav .nav__sub a { display: flex; align-items: center; gap: 12px; border: 0; font-weight: 700; color: var(--ink) !important; }
.nav .nav__sub a[aria-current="page"] { color: var(--blue) !important; }
.nav .nav__sub a[aria-current="page"] .nav__sic { background: var(--blue); color: #fff; }
.nav .nav__all { color: var(--blue) !important; }
.nav__all .i { width: 16px; height: 16px; }

@media (max-width: 899px) {
  .nav__dd { opacity: 0; transform: translateX(14px); transition: opacity .3s .03s, transform .4s .03s var(--ease); }
  .nav.is-open .nav__dd { opacity: 1; transform: none; }
  .nav__dd > a {
    display: flex; align-items: center; gap: 14px; padding: 9px 10px; border: 0; border-radius: 14px;
    font-size: 1.06rem; color: var(--ink);
  }
  .nav__dd.is-open > a { background: #fff; box-shadow: 0 6px 18px -12px rgb(13 30 48 / .35); }
  .nav__dd.is-current > a .nav__ic { background: var(--blue); color: #fff; box-shadow: none; }
  .nav__chev { transition: transform .3s var(--ease); }
  .nav__dd.is-open .nav__chev { transform: rotate(90deg); }
  .nav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
  .nav__sub > div { min-height: 0; overflow: hidden; margin-left: 30px; padding-left: 16px; border-left: 2px solid var(--blue-100); }
  .nav__dd.is-open .nav__sub { grid-template-rows: 1fr; }
  .nav .nav__sub a { padding: 7px 8px; font-size: .97rem; border-radius: 10px; }
  .nav .nav__sub a:first-child { margin-top: 6px; }
  .nav .nav__all { padding-bottom: 10px; font-size: .92rem; gap: 8px; }
}

@media (min-width: 900px) {
  .nav__dd { position: relative; }
  .nav__dd > a { display: inline-flex; align-items: center; gap: 6px; }
  .nav__dd > a .nav__ic, .nav__dd > a .nav__chev { display: none; }
  .nav__dd > a::after { /* săgeată mică în jos */
    content: ""; width: 7px; height: 7px; margin: -4px 0 0 2px; border: solid currentColor; border-width: 0 2px 2px 0;
    transform: rotate(45deg); opacity: .7; transition: transform .25s var(--ease);
  }
  .nav__dd:hover > a::after, .nav__dd:focus-within > a::after { transform: rotate(225deg); margin-top: 3px; }
  .nav__dd:hover > a, .nav__dd:focus-within > a, .nav__dd.is-current > a { color: var(--blue); background: var(--blue-50); }
  .has-hero .header:not(.is-scrolled):not(.menu-open) .nav__dd:hover > a,
  .has-hero .header:not(.is-scrolled):not(.menu-open) .nav__dd:focus-within > a,
  .has-hero .header:not(.is-scrolled):not(.menu-open) .nav__dd.is-current > a { color: #fff; background: rgb(255 255 255 / .12); }
  .nav__sub {
    position: absolute; top: 100%; left: 50%; z-index: 60; width: 300px; padding-top: 12px; /* padding = punte pentru hover */
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav__sub > div {
    padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
    box-shadow: 0 24px 48px -20px rgb(13 30 48 / .35);
  }
  .nav__dd:hover .nav__sub, .nav__dd:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav .nav__sub a { padding: 8px 10px; border-radius: 12px; font-size: .95rem; background: none; }
  .nav .nav__sub a:hover { background: var(--blue-50); }
  .nav .nav__sub a:hover .nav__sic { background: var(--yellow); color: var(--blue-900); }
  .nav .nav__sub .nav__all { display: none; } /* pe desktop click pe „Servicii” duce deja la secțiune */
}

/* ===== TELEFON: paginile de servicii ===== */
.seo-text__toggle { display: none; }
@media (max-width: 639px) {
  /* „Ce include”: carusel, cardul următor se vede pe margine */
  .feats--car {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
  }
  .feats--car::-webkit-scrollbar { display: none; }
  .feats--car > .feat { flex: 0 0 78%; scroll-snap-align: start; flex-direction: column; gap: 14px; padding: 22px; }
}
@media (max-width: 899px) {
  /* „Despre serviciu”: cam jumătate din text, restul la „Citește mai mult” */
  .seo-text__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
  .seo-text__more > div { min-height: 0; overflow: hidden; }
  .seo-text__more p:first-child { margin-top: 14px; }
  .seo-text.is-open .seo-text__more { grid-template-rows: 1fr; }
  .seo-text:not(.is-open) .seo-text__body > p:last-of-type {
    -webkit-mask: linear-gradient(to bottom, #000 55%, transparent 100%); mask: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  .seo-text__toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 16px; border-radius: 999px;
    border: 1px solid var(--blue-100); background: #fff; color: var(--blue); font-weight: 700; font-size: .92rem;
  }
  .seo-text__toggle .i { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .3s var(--ease); }
  .seo-text.is-open .seo-text__toggle .i { transform: rotate(-90deg); }
}
@media (min-width: 900px) {
  .seo-text__more p { margin-top: 14px; }
}

/* bara de jos pe telefon: Sună și WhatsApp cu iconiță albă în cerc colorat (WhatsApp = logo oficial) */
.mbar .mbar__call, .mbar .mbar__wa { gap: 8px; }
.mbar__ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; color: #fff; }
.mbar__ic--wa { background: #25d366; box-shadow: 0 4px 12px -4px rgb(37 211 102 / .8); }
.mbar__ic--call { background: var(--blue); box-shadow: 0 4px 12px -4px rgb(0 90 153 / .9); }
.mbar__ic svg { width: 16px; height: 16px; }
.mbar__ic--call .i { width: 15px; height: 15px; stroke-width: 2.2; }
@media (max-width: 359px) {
  .mbar .mbar__call, .mbar .mbar__wa { gap: 6px; }
  .mbar__ic { width: 24px; height: 24px; }
  .mbar__ic svg { width: 14px; height: 14px; }
}
