/* Vidanjare 24/7 · Avant Operativ SRL · v1 */
:root {
  --navy: #0E1F3D;
  --navy-2: #162B52;
  --blue: #1A5FBF;
  --blue-soft: #DCE8FA;
  --green: #17B35A;
  --green-d: #0F8F46;
  --amber: #F2A900;
  --ink: #13203A;
  --muted: #5B6B85;
  --line: #D8DFEA;
  --bg: #FFFFFF;
  --bg-2: #EEF2F7;
  --radius: 10px;
  --wrap: 1180px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-c: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--font-c); line-height: 1.05; font-weight: 700; letter-spacing: 0.005em; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 14px; }
h3 { font-size: 24px; margin-bottom: 8px; }
p { margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 72ch; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-c); font-size: 22px; font-weight: 700; letter-spacing: 0.01em;
  padding: 14px 24px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent;
  cursor: pointer; line-height: 1; min-height: 54px; transition: background .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-call { background: var(--green); color: var(--navy); }
.btn-call:hover { background: #13A251; color: var(--navy); }
.btn-wa { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-wa:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-wa.dark { color: var(--ink); border-color: var(--ink); }
.btn-wa.dark:hover { background: var(--bg-2); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #154E9E; }
.btn-block { width: 100%; }

/* Header */
.topbar { background: var(--navy); color: #C9D4E6; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.topbar .zone { display: none; }
@media (min-width: 600px) { .topbar .zone { display: inline; } }
.topbar .status { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242,169,0,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,169,0,.6);} 70% { box-shadow: 0 0 0 8px rgba(242,169,0,0);} 100% { box-shadow: 0 0 0 0 rgba(242,169,0,0);} }
.topbar a { color: #fff; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; margin-right: auto; }
.logo { flex-direction: row; align-items: center; text-decoration: none; line-height: 1; gap: 10px; }
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.mark { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: var(--green); display: grid; place-items: center; flex: none; }
.mark svg { width: 26px; height: 26px; }
.wordmark { font-family: var(--font-c); font-weight: 700; font-size: 26px; letter-spacing: 0.02em; color: var(--navy); }
.wordmark b { color: #12A050; font-weight: 800; }
.tagline { font-size: 12px; color: var(--muted); font-weight: 500; }
@media (max-width: 420px) { .tagline { display: none; } .wordmark { font-size: 22px; } }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-2); }
.header .btn-call { padding: 10px 16px; min-height: 46px; font-size: 20px; }
.header .btn-call .num { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 18px; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% 20%, rgba(31,111,214,.35), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
.hero h1 { margin: 10px 0 14px; max-width: 16ch; }
.hero .lead { color: #D6DFEE; font-size: 20px; max-width: 54ch; }
.hero-photo { align-self: stretch; display: flex; }
.hero-photo img { width: 100%; height: 100%; min-height: 260px; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.45); object-fit: cover; object-position: 78% 50%; }
@media (max-width: 979px) { .hero-photo img { aspect-ratio: 4/3; height: auto; } }
.status-pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 15px; font-weight: 500; color: #F3F6FB; }
.phone-big {
  font-family: var(--font-c); font-weight: 800; font-size: clamp(44px, 9vw, 72px); line-height: 1; letter-spacing: 0.01em;
  color: #fff; text-decoration: none; display: inline-block; margin: 18px 0 6px;
}
.phone-big:hover { color: var(--green); }
.phone-second { font-family: var(--font-c); font-weight: 700; font-size: clamp(26px, 5vw, 36px); line-height: 1; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 8px; padding: 6px 0; }
.phone-second svg { width: 22px; height: 22px; color: var(--green); }
.phone-second:hover { color: var(--green); }
.phone-note { color: #B8C5DB; font-size: 15px; margin-bottom: 20px; }
.topbar .phones a { color: #fff; font-weight: 600; text-decoration: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.cta-row .btn { flex: 1 1 220px; }
.facts { list-style: none; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: #E3E9F3; }
.facts svg { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }

/* Lead band */
.lead-band { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.lead-band .wrap { padding-top: 20px; padding-bottom: 20px; }
.lead-band .card-form { box-shadow: 0 10px 30px rgba(14,31,61,.08); }

/* Dispatch card */
.card-form { background: #fff; color: var(--ink); border-radius: 14px; padding: 22px 24px; }
.form-head h2 { font-size: 26px; margin-bottom: 2px; }
.form-head .hint { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.fields { display: grid; gap: 10px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); min-height: 50px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.f-btn .btn { min-height: 50px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 10px 0 0; padding: 8px 0; }
.consent input { width: 24px; height: 24px; margin-top: 0; flex: none; }
.form-msg { display: none; padding: 12px 14px; border-radius: 8px; margin-top: 12px; font-size: 15px; }
.form-msg.ok { display: block; background: #E6F7EC; color: #0F6B36; }
.form-msg.err { display: block; background: #FDECEC; color: #9B1C1C; }
@media (min-width: 760px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .card-form.inline .fields { grid-template-columns: 1.1fr 1fr 1.1fr 1.4fr 1.1fr; align-items: end; }
  .card-form.inline .fields.has-firma { grid-template-columns: 1fr 1fr 1fr 1fr 1.3fr 1fr; }
  .card-form.inline .form-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  .card-form.inline .form-head .hint { margin-bottom: 10px; }
}
@media (max-width: 759px) {
  .card-form.inline .fields { grid-template-columns: 1fr 1fr; }
  .card-form.inline .f-loc, .card-form.inline .f-srv, .card-form.inline .f-btn, .card-form.inline .f-firma { grid-column: 1 / -1; }
}

/* Services */
.services { display: grid; gap: 20px; }
.service { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.service img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.service .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.service .price { font-family: var(--font-c); font-size: 24px; font-weight: 700; color: var(--navy); }
.service .price small { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--muted); display: block; }
.service ul { padding-left: 18px; color: var(--muted); font-size: 16px; }
.service .links { margin-top: auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 10px; }
.service .links .btn { font-size: 19px; min-height: 46px; padding: 10px 16px; }
.service .links a:not(.btn) { display: inline-flex; align-items: center; min-height: 46px; padding: 0 4px; }

/* Steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 22px 70px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-c); font-weight: 800; font-size: 22px; display: grid; place-items: center;
}
.step h3 { font-size: 24px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* Proof */
.proof { display: grid; gap: 28px; align-items: center; }
.proof img { border-radius: 12px; }
.proof-list { list-style: none; display: grid; gap: 14px; }
.proof-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.proof-list .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: var(--navy); display: grid; place-items: center; }
.proof-list .ic svg { width: 24px; height: 24px; }
.proof-list strong { display: block; font-size: 18px; }
.proof-list span { color: var(--muted); font-size: 15px; }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--navy); color: #fff; font-family: var(--font-c); font-size: 18px; font-weight: 700; }
.price-table td.p { font-family: var(--font-c); font-size: 22px; font-weight: 700; white-space: nowrap; color: var(--navy); }
.price-table td small { color: var(--muted); display: block; font-size: 14px; }
.price-table tr:last-child td { border-bottom: 0; }
.note { background: #FFF7DF; border-left: 4px solid var(--amber); padding: 14px 16px; border-radius: 0 8px 8px 0; font-size: 15px; color: #5A4300; margin-top: 16px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: 14px; color: var(--muted); padding: 8px 10px 10px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* Price factors */
.factors { list-style: none; display: grid; gap: 12px; }
.factors li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.factors strong { display: block; font-family: var(--font-c); font-size: 22px; margin-bottom: 2px; }
.factors span { color: var(--muted); font-size: 16px; }
@media (min-width: 760px) { .factors { grid-template-columns: repeat(2, 1fr); } }

/* Zones */
.zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; list-style: none; }
.zones li { border-bottom: 1px solid var(--line); font-size: 16px; padding: 11px 0; }
.zones a { color: var(--ink); text-decoration: none; display: block; padding: 11px 0; margin: -11px 0; }
.zones a:hover { color: var(--blue); text-decoration: underline; }

/* Reviews */
.review-box { border: 2px dashed var(--line); border-radius: 12px; padding: 28px; display: grid; gap: 10px; }
.review-box .stars { color: var(--amber); font-size: 26px; letter-spacing: 2px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-family: var(--font-c); font-size: 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 28px; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; }
.cta-band .wrap { display: grid; gap: 18px; padding-top: 48px; padding-bottom: 48px; align-items: center; }
.cta-band h2 { margin: 0; }
.cta-band p { color: #C9D4E6; margin: 0; }
.cta-band .cta-row { margin: 0; }

/* Content pages */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 36px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a, .section-head a, .note a, .review-box a, .contact-list a:not(.phone-big), .section p > a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.symptoms { list-style: none; display: grid; gap: 10px; }
.symptoms li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.symptoms svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 2px; }
.two-col { display: grid; gap: 32px; }
.contact-list { list-style: none; display: grid; gap: 14px; font-size: 18px; }
.contact-list strong { display: block; font-family: var(--font-c); font-size: 15px; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.contact-list .phone-second { color: var(--navy); font-size: 34px; }
.contact-list .phone-second svg { color: var(--green); }
.map { border: 0; width: 100%; height: 320px; border-radius: 12px; }

/* Footer */
.footer { background: #0A1730; color: #B8C5DB; font-size: 15px; }
.footer .wrap { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 100px; }
.footer h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.footer a { color: #E3E9F3; }
.footer ul { list-style: none; display: grid; gap: 2px; }
.footer li { padding: 4px 0; }
.footer a { display: inline-block; padding: 10px 0; }
.footer li { padding: 0; }
.footer p a { padding: 4px 0; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; font-size: 13px; color: #8E9DB7; display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; }
.footer .legal a { padding: 10px 0; }

/* Sticky mobile bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.sticky-bar .btn { font-size: 20px; min-height: 52px; padding: 10px; }
.sticky-bar .btn-wa { color: #fff; background: #0B6B60; border-color: #0B6B60; }

/* Breakpoints */
@media (min-width: 760px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .zones { grid-template-columns: repeat(4, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; padding-bottom: 48px; }
  .footer .legal { grid-column: 1 / -1; }
  .cta-band .wrap { grid-template-columns: 1fr auto; }
  .proof { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .nav { display: flex; gap: 2px; }
  .menu-btn { display: none; }
  .header .btn-call .num { display: inline; }
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
  .sticky-bar { display: none; }
  .footer .wrap { padding-bottom: 48px; }
  .section { padding: 88px 0; }
}
@media (max-width: 979px) {
  body { padding-bottom: 0; }
  main { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}
