/* =========================================================
   Kontakty (/kontakty/) - redizajn obsahu stránky
   Samostatný súbor: /user/documents/upload/disco_template_customization/kontakty.css
   Načítava sa v HTML kódoch (záhlavie) šablóny.
   Všetko je viazané na .sch-contact, takže to neovplyvní iné stránky.
   Tokeny: dizajn systém Bicykle Schwabik
   ========================================================= */

.sch-contact {
  --sch-ink: #1f1f1f;
  --sch-primary: #3c3c3c;
  --sch-muted: #666666;
  --sch-border: #dadada;
  --sch-border-input: #919191;
  --sch-surface: #f6f6f6;
  --sch-brand: #ffb700;
  --sch-brand-hover: #e6a500;
  --sch-sale: #d63a00;
  --sch-gap: 20px;
  color: var(--sch-ink);
  font-size: 16px;
  line-height: 1.7;
}
.sch-contact *,
.sch-contact *::before,
.sch-contact *::after { box-sizing: border-box; }
.sch-contact p { margin: 0; }
.sch-contact h2 { margin: 0; }

/* --- spoločné prvky --- */
.sch-contact .sch-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--sch-muted);
}
.sch-contact .sch-h2 {
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}
.sch-contact .sch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  border-radius: 0;
}
.sch-contact .sch-btn--brand {
  align-self: flex-start;
  border: 1px solid var(--sch-brand);
  color: var(--sch-ink);
  background: var(--sch-brand);
}
.sch-contact .sch-btn--brand:hover,
.sch-contact .sch-btn--brand:focus { background: var(--sch-brand-hover); border-color: var(--sch-brand-hover); color: var(--sch-ink); }

/* --- 1. úvod --- */
.sch-contact .sch-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sch-contact .sch-lead {
  font-size: 19px;
  line-height: 1.6;
  max-width: 760px;
}
.sch-contact .sch-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.sch-contact .sch-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 17px 19px;
  border: 1px solid var(--sch-border);
  color: var(--sch-ink);
  text-decoration: none;
  transition: border-color .15s;
}
.sch-contact .sch-tile:hover { border-color: var(--sch-ink); color: var(--sch-ink); }
.sch-contact .sch-tile::before {
  content: "";
  width: 24px;
  height: 24px;
  background: no-repeat center / contain;
}
.sch-contact .sch-tile--phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
}
.sch-contact .sch-tile--mail::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14'/%3E%3Cpath d='M3 6l9 7 9-7'/%3E%3C/svg%3E");
}
.sch-contact .sch-tile strong {
  font-size: 18px;
  line-height: 1.3;
  word-break: break-word;
}

/* --- 2. tri karty --- */
.sch-contact .sch-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sch-gap);
  padding: 28px 0 64px;
}
.sch-contact .sch-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 28px;
}
.sch-contact .sch-card--dark { background: var(--sch-ink); color: #fff; }
.sch-contact .sch-card--hours { gap: 12px; }
.sch-contact .sch-card--grey { background: var(--sch-surface); }
.sch-contact .sch-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: inherit;
}
.sch-contact .sch-card__title::before {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  background: no-repeat center / contain;
}
.sch-contact .sch-card--hours .sch-card__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}
.sch-contact .sch-card--billing .sch-card__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M9 11h7M9 15h7M9 7h4'/%3E%3C/svg%3E");
}
.sch-contact .sch-card--store .sch-card__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb700' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-12a7 7 0 0 1 14 0c0 5.5-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
}

/* otváracia doba */
.sch-contact .sch-hours {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
  background: transparent;
}
.sch-contact .sch-hours th,
.sch-contact .sch-hours td {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--sch-border);
  background: transparent;
  color: var(--sch-ink);
}
.sch-contact .sch-hours th { text-align: left; font-weight: 400; }
.sch-contact .sch-hours td { text-align: right; font-weight: 700; }
.sch-contact .sch-hours tr:last-child th,
.sch-contact .sch-hours tr:last-child td { border-bottom: 0; }
.sch-contact .sch-hours .sch-closed { color: var(--sch-sale); }

/* fakturačné údaje */
.sch-contact .sch-billing {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}
.sch-contact .sch-billing dt { color: var(--sch-muted); font-weight: 400; }
.sch-contact .sch-billing dd { margin: 0; font-weight: 700; }
.sch-contact .sch-note { font-size: 14px; line-height: 1.45; color: var(--sch-muted); }

/* predajňa a servis */
.sch-contact .sch-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
}
.sch-contact .sch-checks li {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
}
.sch-contact .sch-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  margin: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / contain;
}
.sch-contact .sch-checks a { color: var(--sch-ink); text-decoration: underline; }
.sch-contact .sch-card--dark .sch-checks a { color: #fff; }
.sch-contact .sch-card--dark .sch-checks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb700' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}

/* --- 3. mapa --- */
.sch-contact .sch-map {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 64px;
  scroll-margin-top: 100px;
}
.sch-contact .sch-map__frame {
  position: relative;
  height: 460px;
  background: var(--sch-surface);
}
.sch-contact .sch-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
/* --- 4. napíšte nám + Shoptet formulár #FORM[code=contact]# --- */
.sch-contact .sch-write {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 40px 64px;
  align-items: start;
  padding: 64px 0 40px;
  border-top: 1px solid var(--sch-border);
}
.sch-contact .sch-write__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--sch-primary);
}
.sch-contact .sch-write__intro .sch-h2 { color: var(--sch-ink); }
.sch-contact .sch-form { min-width: 0; }
/* veta "Máte nejaké otázky? ..." ktorú vkladá #FORM[code=contact]# */
.sch-contact .sch-form > p { display: none; }

/* vizitka majiteľa */
.sch-contact .sch-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--sch-border);
}
.sch-contact .sch-person__photo {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sch-surface);
}
.sch-contact .sch-person__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sch-contact .sch-person__name {
  font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sch-ink);
}
.sch-contact .sch-person__role {
  font-size: 14px;
  line-height: 1.45;
  color: var(--sch-muted);
}
.sch-contact .sch-form .contact-form { margin: 0; width: 100%; max-width: none; }
.sch-contact .sch-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.sch-contact .sch-form .form-control-wrapper,
.sch-contact .sch-form .form-control { width: 100%; max-width: none; }
.sch-contact .sch-form .form-group { margin-bottom: 14px; }
.sch-contact .sch-form .form-control {
  border: 1px solid var(--sch-border-input);
  border-radius: 0;
  background: #fff;
}
.sch-contact .sch-form .form-control:focus {
  border-color: var(--sch-ink);
  outline: 2px solid var(--sch-brand);
  outline-offset: 0;
  box-shadow: none;
}
.sch-contact .sch-form .consents .label,
.sch-contact .sch-form .consents p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--sch-muted);
}
.sch-contact .sch-form .btn.btn-primary {
  min-height: 52px;
  padding: 14px 36px;
  background: var(--sch-brand);
  border: 1px solid var(--sch-brand);
  color: var(--sch-ink);
  font-weight: 700;
  border-radius: 0;
}
.sch-contact .sch-form .btn.btn-primary:hover,
.sch-contact .sch-form .btn.btn-primary:focus {
  background: var(--sch-brand-hover);
  border-color: var(--sch-brand-hover);
  color: var(--sch-ink);
}

/* --- mobil a tablet --- */
@media (max-width: 991px) {
  .sch-contact .sch-cards { grid-template-columns: 1fr; padding: 24px 0 48px; }
  .sch-contact .sch-write { grid-template-columns: 1fr; gap: 24px; padding: 48px 0 32px; }
  .sch-contact .sch-map { padding-bottom: 48px; }
}
@media (max-width: 575px) {
  .sch-contact .sch-lead { font-size: 17px; }
  .sch-contact .sch-h2 { font-size: 22px; }
  .sch-contact .sch-card__title { font-size: 18px; }
  .sch-contact .sch-card { padding: 22px 20px; }
  .sch-contact .sch-map__frame { height: 360px; }
}
