/* ═══════════════════════════════════════════════════════════════
   KONTURA SLOVAKIA — SMER B · SERVIS + POŽIADAVKA NA SERVIS
   Štýly LEN pre servis.html a servis-poziadavka.html
   Načítava sa PO styles.css — zdieľa tokeny aj komponenty.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1 · AKTÍVNA POLOŽKA NAVIGÁCIE ──────────────────────────── */
.nav-link[aria-current="page"],
.nav-link.is-active { color: var(--text); }

.nav-link[aria-current="page"]::after,
.nav-link.is-active::after { transform: scaleX(1); }

@media (max-width: 1024px) {
  .nav-link[aria-current="page"],
  .nav-link.is-active { color: var(--red-hi); }
}

/* ── 2 · HERO — SERVIS ──────────────────────────────────────── */
.svc-stage {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 0;
}

.svc-mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* väčší variant maskotového odznaku z indexu */
.svc-stage .mascot-badge {
  width: clamp(240px, 23vw, 310px);
  height: clamp(240px, 23vw, 310px);
}
.svc-stage .mascot-badge img {
  width: 58%;
  height: 58%;
}

.svc-rig { width: min(360px, 100%); }

/* ── 3 · TYPY SERVISU — 4 PRÉMIOVÉ KARTY ────────────────────── */
.svc-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.svc-type {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 32px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform .3s var(--ease-spring),
    border-color .25s ease,
    box-shadow .3s ease;
}
.svc-type::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-hi), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.svc-type:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 28px 60px -26px rgba(0, 0, 0, .8);
}
.svc-type:hover::before { transform: scaleX(1); }
.svc-type:hover .service-icon { transform: translateY(-3px) scale(1.05); }

.svc-type h3 { font-size: 1.32rem; margin-bottom: 10px; }
.svc-type-desc {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 22px;
  max-width: 52ch;
}

/* technický „blueprint" zoznam — červené hairline odrážky */
.svc-list {
  display: grid;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
  width: 100%;
  margin-top: auto;
}
.svc-list li {
  position: relative;
  padding-left: 26px;
  font-size: .93rem;
  color: var(--text);
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .68em;
  width: 12px;
  height: 1px;
  background: var(--red-hi);
  box-shadow: 0 0 6px var(--red-glow);
}

/* ── 4 · ZNAČKY — CANON FEATURED + OSTATNÉ ──────────────────── */
.brand-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  padding: clamp(30px, 4.2vw, 52px);
  margin-bottom: 22px;
  background:
    radial-gradient(70% 110% at 0% 0%, rgba(225, 29, 41, .13), transparent 62%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.bf-tag {
  font-size: .64rem;
  font-weight: 600;
  color: var(--red-hi);
  margin-bottom: 14px;
}
.bf-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.bf-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 9px 16px;
  font-size: .64rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glass-bg);
}
.bf-chip .icon {
  width: 15px;
  height: 15px;
  color: var(--red-hi);
}

.bf-copy p {
  color: var(--text-muted);
  font-size: .98rem;
  max-width: 52ch;
}
.bf-copy .btn { margin-top: 22px; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.brand-card {
  position: relative;
  padding: 26px 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .25s ease, transform .3s var(--ease-spring);
}
.brand-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-tag {
  font-size: .6rem;
  font-weight: 500;
  color: var(--text-ghost);
  margin: 8px 0 12px;
}
.brand-desc { font-size: .9rem; color: var(--text-muted); }

/* ── 5 · ZÁRUKY — ZLIATY GRID (ako štatistiky) ──────────────── */
.guarantees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.guarantee {
  position: relative;
  background: var(--surface);
  padding: clamp(26px, 3vw, 36px) clamp(20px, 2.4vw, 30px);
  transition: background .25s ease;
}
.guarantee:hover { background: var(--elevated); }
.guarantee::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 34px;
  height: 2px;
  background: var(--red-hi);
}
.guarantee .feature-icon { margin-bottom: 18px; }
.guarantee h3 { font-size: 1.08rem; margin-bottom: 8px; }
.guarantee p { font-size: .9rem; color: var(--text-muted); }

/* ── 6 · PROCES — 4 KROKY S KONEKTORMI ──────────────────────── */
@media (min-width: 901px) {
  .steps--four { grid-template-columns: repeat(4, 1fr); }
}

/* ── 7 · POŽIADAVKA — HLAVIČKA STRÁNKY ──────────────────────── */
.rq-section {
  padding-top: calc(var(--header-h) + clamp(36px, 6vh, 68px));
}

.bc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bc-back .icon {
  width: 14px;
  height: 14px;
  color: var(--red-hi);
  transition: transform .28s var(--ease-spring);
}
.bc-back:hover .icon { transform: translateX(-3px); }

.rq-head { max-width: 720px; }
.rq-head h1 {
  margin-top: 26px;
  font-size: clamp(2.3rem, 4.4vw + .5rem, 3.9rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.rq-head h1 em {
  font-style: normal;
  color: var(--red-hi);
  text-shadow: 0 0 44px var(--red-glow);
}
.rq-head .hero-sub { max-width: 56ch; }

/* ── 8 · POŽIADAVKA — LAYOUT FORMULÁR + SIDEBAR ─────────────── */
.rq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 56px);
}

.rq-form {
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius);
  background: rgba(18, 21, 29, .72);
  box-shadow: 0 34px 80px -28px rgba(0, 0, 0, .8);
}

.rq-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.rq-panel { max-width: none; }

.rq-contacts {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}
.rq-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid transparent;
  transition: border-color .2s ease;
}
.rq-contacts li:hover { border-color: var(--border); }
.rq-contacts .icon {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 3px;
  color: var(--red-hi);
}
.rq-contact-label {
  font-size: .6rem;
  font-weight: 600;
  color: var(--text-ghost);
  margin-bottom: 3px;
}
.rq-contact-value { font-size: .94rem; line-height: 1.5; }
.rq-contact-value .text-link { border-bottom-color: transparent; }
.rq-contact-value .text-link:hover { border-bottom-color: var(--blue); }

/* ── 9 · FORMULÁROVÉ POLIA (tmavý systém) ───────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  margin-top: 26px;
}

.f-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.f-field--full { grid-column: 1 / -1; }

.f-field label {
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.req { color: var(--red-hi); }

.rq-form input:not([type="checkbox"]),
.rq-form select,
.rq-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font: inherit;
  font-size: 1rem; /* 16 px — žiadny iOS zoom */
  color: var(--text);
  background: rgba(8, 9, 13, .55);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.rq-form input::placeholder,
.rq-form textarea::placeholder {
  color: var(--text-ghost);
  opacity: 1;
}
.rq-form input:not([type="checkbox"]):hover,
.rq-form select:hover,
.rq-form textarea:hover { border-color: #414a5c; }

/* modrý data-akcent na fokus — červená ostáva pre CTA */
.rq-form input:not([type="checkbox"]):focus,
.rq-form select:focus,
.rq-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .22);
  background: rgba(8, 9, 13, .8);
}
.rq-form input:not([type="checkbox"]):focus-visible,
.rq-form select:focus-visible,
.rq-form textarea:focus-visible { outline: none; }

.rq-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa4b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 46px;
  cursor: pointer;
}
.rq-form select:invalid { color: var(--text-ghost); } /* placeholder stav „Vyberte…" */
.rq-form select option {
  background-color: var(--surface);
  color: var(--text);
}

.rq-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

/* — súhlas (checkbox) — */
.f-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 44px;
  padding-block: 2px;
}
.f-consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 1px;
  display: grid;
  place-content: center;
  background: rgba(8, 9, 13, .55);
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.f-consent input::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: transform .2s var(--ease-spring);
  background: #fff;
  clip-path: polygon(14% 44%, 0 65%, 40% 100%, 100% 16%, 80% 0%, 38% 62%);
}
.f-consent input:checked {
  background: linear-gradient(180deg, var(--red-hi), var(--red));
  border-color: var(--red-hi);
}
.f-consent input:checked::before { transform: scale(1); }
.f-consent input:focus-visible {
  outline: 2px solid var(--red-hi);
  outline-offset: 3px;
}
.f-consent label {
  font-size: .92rem;
  color: var(--text-muted);
  cursor: pointer;
  padding-top: 2px;
}

/* — odoslanie — */
.rq-submit {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.rq-note {
  font-size: .6rem;
  font-weight: 500;
  color: var(--text-ghost);
}

/* ── 10 · DEMO NOTICE (náhľad neodosiela) ───────────────────── */
.demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 15px 18px;
  background: rgba(37, 99, 235, .09);
  border: 1px solid rgba(126, 164, 244, .32);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.demo-notice[hidden] { display: none; }
.demo-notice .icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--blue-soft);
}
.demo-notice p { font-size: .93rem; color: var(--text); }
.demo-notice.show { animation: notice-in .35s var(--ease-out) both; }
@keyframes notice-in {
  from { opacity: 0; transform: translateY(8px); }
}

/* ── 11 · REDUCED MOTION ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .demo-notice.show { animation: none; }
}

/* ── 12 · RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-stage { padding: 10px 0 0; }
  .svc-rig { margin-inline: auto; }

  .brand-featured { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: repeat(2, 1fr); }

  .rq-layout { grid-template-columns: 1fr; }
  .rq-aside { position: static; }
  .rq-panel { max-width: 480px; margin-inline: 0; }
}

@media (max-width: 900px) {
  .svc-types { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .svc-type { padding: 28px 22px 26px; }

  .brand-grid { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: 1fr; }

  .rq-form { padding: 24px 18px 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .rq-submit { flex-direction: column; align-items: stretch; }
  .rq-submit .btn { width: 100%; }
  .rq-note { text-align: center; }
  .rq-panel { max-width: none; }
}
