/* CitySoft – css/style.css */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-wght-normal.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 {
  --bg: #F3F7FA;
  --surface: #FFFFFF;
  --tint: #E8F0F5;
  --ink: #0C2233;
  --muted: #486274;
  --brand: #2C5674;
  --brand-d: #1D3F57;
  --cyan: #12B5D9;
  --cyan-l: #7FE3F7;
  --night: #071925;
  --night-2: #0E2A3D;
  --line: rgba(44, 86, 116, .18);
  --line-n: rgba(127, 227, 247, .2);
  --radius: 18px;
  --shadow: 0 18px 50px -22px rgba(12, 34, 51, .35);
  --display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-attachment: fixed;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(243, 247, 250, .86), rgba(243, 247, 250, .96));
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-d); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
abbr[title] { text-decoration: none; color: var(--cyan); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; color: #fff; }

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--brand)); flex: none; }
.lead { font-size: 1.14rem; color: var(--muted); }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 12px; border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-d));
  color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(18, 181, 217, .75), inset 0 0 0 1px rgba(127, 227, 247, .25);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn::after { content: "→"; transition: transform .18s ease; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(18, 181, 217, .95), inset 0 0 0 1px rgba(127, 227, 247, .5); }
.btn:hover::after { transform: translateX(4px); }
.btn--sm { padding: 10px 18px; font-size: .93rem; }
.btn--ghost { background: rgba(255, 255, 255, .7); color: var(--brand); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { color: var(--brand-d); background: #fff; box-shadow: var(--shadow); }
.btn--light { background: linear-gradient(135deg, var(--cyan-l), var(--cyan)); color: var(--night); box-shadow: 0 10px 30px -12px rgba(18, 181, 217, .9); }
.btn--light:hover { color: var(--night); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 247, 250, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font-family: var(--display); font-weight: 500; font-size: .97rem; color: var(--ink); text-decoration: none; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--cyan); transition: right .2s ease; }
.nav a:not(.btn):hover::after { right: 0; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--brand); margin: 4px auto; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px 420px at 86% 18%, rgba(18, 181, 217, .26), transparent 70%),
    radial-gradient(520px 380px at 6% 92%, rgba(44, 86, 116, .2), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8em; }

.console {
  background: linear-gradient(160deg, var(--night-2), var(--night));
  border: 1px solid var(--line-n);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 40px 80px -40px rgba(7, 25, 37, .8), 0 0 0 6px rgba(18, 181, 217, .08);
  color: #DCEBF3;
}
.console__bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px 14px; }
.console__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(127, 227, 247, .35); }
.console__bar em { margin-left: auto; font: normal .72rem var(--mono); letter-spacing: .1em; color: rgba(220, 235, 243, .6); }
.console__row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 15px 16px; border-radius: 14px; text-decoration: none; color: inherit;
  border: 1px solid transparent; transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.console__row + .console__row { margin-top: 4px; }
.console__row:hover { background: rgba(127, 227, 247, .08); border-color: var(--line-n); color: #fff; transform: translateX(4px); }
.console__row b { font: 500 .8rem var(--mono); color: var(--cyan-l); }
.console__row strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.console__row small { display: block; font-size: .84rem; color: rgba(220, 235, 243, .65); }
.console__row i { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(18, 181, 217, .2), 0 0 14px var(--cyan); animation: puls 2.4s ease-in-out infinite; }
.console__row:nth-of-type(2) i { animation-delay: .4s; }
.console__row:nth-of-type(3) i { animation-delay: .8s; }
.console__row:nth-of-type(4) i { animation-delay: 1.2s; }
.console__row:nth-of-type(5) i { animation-delay: 1.6s; }
@keyframes puls { 50% { opacity: .35; } }

/* Sectiuni */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tint { background: var(--tint); border-block: 1px solid var(--line); }
.section--night {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(18, 181, 217, .2), transparent 70%),
    linear-gradient(170deg, var(--night-2), var(--night));
  color: #DCEBF3;
}
.section--night h2, .section--night h3 { color: #fff; }
.section--night .lead { color: rgba(220, 235, 243, .78); }
.section--night .eyebrow { color: var(--cyan-l); }
.section--night a:not(.btn) { color: var(--cyan-l); }
.head { max-width: 860px; margin-bottom: clamp(28px, 4vw, 48px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev { grid-template-columns: 1.15fr .85fr; }
.frame { margin: 0; position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--tint); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(18, 181, 217, .22)); pointer-events: none; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.6em 0 1.8em; }
.tiles li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; border-left: 3px solid var(--cyan); }
.tiles strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.tiles span { font-size: .95rem; color: var(--muted); }

.checks { margin: 1.2em 0 1.8em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg) translateY(-4px); }

/* Pasi parcare */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: pas; }
.step { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-n); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-4px); border-color: rgba(127, 227, 247, .55); }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--night-2); }
.step__body { padding: 20px 20px 22px; position: relative; }
.step__body b { font: 500 .8rem var(--mono); color: var(--cyan-l); letter-spacing: .12em; display: block; margin-bottom: 8px; }
.step__body p { margin: 0; font-size: .98rem; color: rgba(220, 235, 243, .78); }
.kit { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font: 500 .82rem var(--mono); letter-spacing: .04em; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-n); background: rgba(127, 227, 247, .06); color: #DCEBF3; }

/* Telefon */
.phone { justify-self: center; width: min(300px, 100%); padding: 12px; border-radius: 40px; background: linear-gradient(160deg, var(--night-2), var(--night)); box-shadow: 0 40px 80px -36px rgba(7, 25, 37, .85), 0 0 0 6px rgba(18, 181, 217, .1); }
.phone__screen { border-radius: 30px; background: var(--bg); padding: 26px 20px; display: grid; gap: 14px; }
.phone__tag { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); text-align: center; }
.phone__qr {
  width: 124px; height: 124px; margin: 2px auto 6px; border-radius: 14px; border: 2px solid var(--brand);
  background:
    conic-gradient(var(--brand) 25%, transparent 0 50%, var(--brand) 0 75%, transparent 0) 0 0 / 22px 22px,
    #fff;
  box-shadow: inset 0 0 0 10px #fff;
}
.phone__line { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.phone__line small { display: block; font-size: .74rem; color: var(--muted); }
.phone__line strong { font-family: var(--display); }
.phone__pay { text-align: center; font-family: var(--display); font-weight: 600; color: #fff; padding: 13px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-d)); }
.phone__ok { text-align: center; font: 500 .8rem var(--mono); color: #0B7A52; padding: 10px; border-radius: 12px; background: #DDF6EA; border: 1px solid #A9E3C8; }
.phone__ok::before { content: "✓ "; }

/* Carduri */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; scroll-margin-top: 100px; }
.card h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
.card .checks { flex: 1; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.mini::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 46px; background: linear-gradient(90deg, var(--cyan), var(--brand)); transition: width .25s ease; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini:hover::before { width: 100%; }
.mini b { font: 500 .8rem var(--mono); color: var(--cyan); display: block; margin-bottom: 10px; }
.mini p { margin: 0; color: var(--muted); font-size: .98rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .head { margin: 0; position: sticky; top: 104px; }
.faq__list { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
details[open] { border-color: var(--cyan); box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 1.08rem; padding: 18px 34px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 1.5rem var(--mono); color: var(--cyan); transition: transform .2s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); margin: 0; padding-bottom: 20px; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__list { display: grid; gap: 16px; margin-top: 1.8em; }
.contact__list li { border-left: 2px solid var(--cyan); padding-left: 16px; }
.contact__list small { display: block; font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(220, 235, 243, .6); }
.contact__list a, .contact__list span { font-family: var(--display); font-size: 1.12rem; color: #fff !important; text-decoration: none; }
.contact__list a:hover { color: var(--cyan-l) !important; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-n); border-radius: 22px; padding: clamp(20px, 3.2vw, 36px); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 7px; color: #fff; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; min-height: 50px;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--cyan); outline-offset: 1px; }
.form .err { border-color: #FF6B6B !important; box-shadow: 0 0 0 3px rgba(255, 107, 107, .35); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: rgba(220, 235, 243, .85); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--cyan); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__msg { margin: 0; font-weight: 600; flex: 1; min-width: 220px; }
.form__msg.ok { color: #7CF0B8; }
.form__msg.bad { color: #FF9C9C; }

/* Footer */
.footer { background: #04121B; color: rgba(220, 235, 243, .78); padding: 56px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr 1.3fr; gap: 36px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.footer__logo img { height: 36px; width: auto; }
.footer h2 { font: 500 .74rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-l); margin-bottom: 14px; }
.footer nav a, .footer nav .linkbtn { display: block; color: rgba(220, 235, 243, .78); text-decoration: none; padding: 5px 0; }
.footer nav a:hover, .footer nav .linkbtn:hover, .footer address a:hover { color: #fff; }
.footer address { font-style: normal; line-height: 1.8; }
.footer address strong { color: #fff; }
.footer address a { color: var(--cyan-l); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding: 20px 0; border-top: 1px solid rgba(127, 227, 247, .15); font-size: .88rem; }
.footer__bottom a { color: rgba(220, 235, 243, .78); text-decoration: none; }

/* Banner cookies */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 1040px; margin-inline: auto;
  display: flex; align-items: center; gap: 22px;
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 18px; padding: 18px 22px;
  box-shadow: 0 30px 70px -24px rgba(7, 25, 37, .55);
}
.cookie[hidden] { display: none; }
.cookie__text { flex: 1; }
.cookie__text strong { font-family: var(--display); font-size: 1.05rem; }
.cookie__text p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }
.cookie__btns { display: flex; gap: 10px; flex: none; }
.cookie .btn::after { content: none; }

/* Pagini legale */
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal__box { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: .96rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--tint); font-family: var(--display); }
.legal .tablewrap { overflow-x: auto; }
.legal .data { font: 500 .8rem var(--mono); color: var(--muted); }

/* Responsive */
@media (max-width: 1060px) {
  .steps, .grid4 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { content: none; }
  .nav .btn { margin-top: 16px; }
  .hero__grid, .split, .split--rev, .duo, .faq, .contact { grid-template-columns: 1fr; }
  .faq .head { position: static; }
  .split--rev .phone { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; background-size: 40px 40px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .steps, .grid4, .tiles, .form, .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn, .kit .btn, .form__foot .btn { width: 100%; }
  .cookie { flex-direction: column; align-items: stretch; gap: 14px; left: 10px; right: 10px; bottom: 10px; }
  .cookie__btns .btn { flex: 1; }
  .console__row { padding: 13px 12px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .header, .cookie, .burger, .form { display: none !important; }
  body { background: #fff; }
}
