/* Auto centar Dragsi — brand: navy #20367a from logo, green reserved for call actions */
:root {
  --navy: #20367a;
  --navy-deep: #141f45;
  --navy-soft: #e9eefb;
  --ink: #1c2333;
  --muted: #5b6478;
  --paper: #f3f5fa;
  --card: #ffffff;
  --line: #dce3f0;
  --green: #149352;
  --green-dark: #0e7a42;
  --lcd: #8cf5b1;
  --radius: 14px;
  --wrap: 1120px;
  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: var(--navy); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--navy-deep);
}
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin: 0 0 0.9em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 3px;
  background: var(--navy);
  transform: skewX(-30deg);   /* echoes the italic slant of the logo */
  margin-right: 10px;
  vertical-align: middle;
}

.lead { font-size: 1.1rem; color: var(--muted); max-width: 46rem; }

/* ---------- header ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--navy-soft); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); background: var(--navy-soft); }
.site-nav .nav-call {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  margin-left: 6px;
  white-space: nowrap;
}
.site-nav .nav-call:hover { background: var(--green-dark); color: #fff; }
.menu-btn {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--navy-deep);
}

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    box-shadow: 0 14px 24px rgba(20, 31, 69, 0.12);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; font-size: 1rem; }
  .site-nav .nav-call { margin: 8px 0 0; text-align: center; }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { margin-bottom: 1.6em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 10px;
  display: inline-block;
}
.btn-call { background: var(--green); color: #fff; }
.btn-call:hover { background: var(--green-dark); }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

.trust-strip {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.trust-strip strong { color: var(--navy-deep); font-family: var(--font-display); }

/* signature: the savings odometer */
.cluster {
  background: radial-gradient(120% 140% at 20% 0%, #253c86 0%, var(--navy-deep) 62%);
  border-radius: 20px;
  padding: 30px 28px 26px;
  color: #c9d4f2;
  box-shadow: 0 24px 50px rgba(20, 31, 69, 0.35);
}
.cluster-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #93a5d8;
  margin: 0 0 12px;
}
.odometer {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-variant-numeric: tabular-nums;
  color: var(--lcd);
  text-shadow: 0 0 22px rgba(140, 245, 177, 0.35);
  line-height: 1;
  letter-spacing: 0.02em;
}
.odometer small {
  font-size: 0.42em;
  font-weight: 700;
  color: #93a5d8;
  letter-spacing: 0.08em;
  margin-left: 6px;
}
.cluster-sub { font-size: 0.88rem; color: #93a5d8; margin: 10px 0 20px; }
.cluster input[type="range"] {
  width: 100%;
  accent-color: var(--lcd);
  cursor: pointer;
}
.cluster-km {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #93a5d8;
  margin-top: 6px;
}
.cluster-km output { color: #fff; font-weight: 700; }
.cluster-note { font-size: 0.78rem; color: #6f81b6; margin: 16px 0 0; }
.cluster-note a { color: #b9c7ef; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 40px; }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 38px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
a.card:hover { border-color: var(--navy); box-shadow: 0 10px 26px rgba(32, 54, 122, 0.10); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.card .more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}
.badge {
  position: absolute;
  top: -11px; left: 22px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
  transform: skewX(-8deg);
}

/* process steps — a real sequence, so numbers carry meaning */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; }
.step::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  background: var(--navy);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: skewX(-8deg);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* reviews band */
.review-band { background: var(--navy); color: #fff; }
.review-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 44px;
  padding-bottom: 44px;
}
.rating {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
}
.rating .stars { color: #ffce3d; font-size: 0.55em; display: block; margin-top: 8px; letter-spacing: 0.06em; }
.review-band p { color: #c9d4f2; margin: 0; max-width: 30rem; }
.review-band .btn-ghost { border-color: #fff; color: #fff; }
.review-band .btn-ghost:hover { background: #fff; color: var(--navy); }

/* lists on service pages */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 7px 0 7px 30px; position: relative; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 14px; height: 8px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

table.devices { width: 100%; border-collapse: collapse; margin: 10px 0 0; }
table.devices th, table.devices td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.devices th { font-family: var(--font-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); }

/* page hero (inner pages) */
.page-hero { background: var(--navy-deep); color: #fff; padding: 52px 0 46px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
.page-hero .eyebrow { color: #93a5d8; }
.page-hero .eyebrow::before { background: var(--lcd); }
.page-hero p { color: #c9d4f2; max-width: 44rem; margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { margin-bottom: 20px; }
.contact-item .k {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-item .v { font-size: 1.08rem; font-weight: 600; }
.contact-item a { text-decoration: none; }
.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(20, 31, 69, 0.14);
}

/* CTA band on service pages */
.cta-band { background: var(--navy); color: #fff; border-radius: 18px; padding: 36px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; }
.cta-band p { color: #c9d4f2; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #9aa8d4; padding: 52px 0 90px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px; }
.site-footer a { color: #c9d4f2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; font-size: 0.82rem; }

/* ---------- sticky mobile call bar ---------- */
.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.callbar a {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  padding: 12px 6px;
  border-radius: 10px;
}
.cb-call { background: var(--green); }
.cb-viber { background: #7360f2; }
.cb-wa { background: #25d366; }
@media (max-width: 760px) { .callbar { display: flex; } }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* calculator page */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 18px 0 6px;
}
.calc-form input {
  width: 100%;
  font: inherit;
  font-weight: 600;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}
.calc-form input:focus { border-color: var(--navy); }
.calc-result .big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--lcd);
  text-shadow: 0 0 22px rgba(140, 245, 177, 0.35);
  font-variant-numeric: tabular-nums;
}
.calc-result dl { margin: 18px 0 0; }
.calc-result dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: #93a5d8; font-family: var(--font-display); font-weight: 700; }
.calc-result dd { margin: 2px 0 14px; font-size: 1.1rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
