/* Autovybava.sk – kontaktná stránka
   Všetky pravidlá sú uzavreté v .av-contact, aby neovplyvnili zvyšok webu. */

.av-contact {
  --av-green: #4a9628;
  --av-green-dark: #2f7117;
  --av-green-soft: #f2f8ef;
  --av-text: #20242a;
  --av-muted: #626a73;
  --av-line: #e6e9e5;
  --av-warning-bg: #fff8e8;
  --av-warning-border: #efc45c;
  --av-radius: 16px;
  color: var(--av-text);
  font-size: 16px;
  line-height: 1.65;
}

.av-contact,
.av-contact * {
  box-sizing: border-box;
}

.av-contact a {
  color: inherit;
}

.av-contact__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.25fr);
  gap: 34px;
  align-items: stretch;
  margin: 8px 0 28px;
}

.av-contact__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(25, 40, 20, 0.07);
}

.av-contact__eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin: 0 0 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--av-green-soft);
  color: var(--av-green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.av-contact h2,
.av-contact h3,
.av-contact p {
  margin-top: 0;
}

.av-contact__intro h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.av-contact__lead {
  margin-bottom: 22px;
  color: var(--av-muted);
}

.av-contact__quick {
  display: grid;
  gap: 13px;
  margin: 0 0 23px;
  padding: 0;
  list-style: none;
}

.av-contact__quick li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.av-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--av-green-soft);
  color: var(--av-green-dark);
}

.av-contact__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.av-contact__quick-label {
  display: block;
  color: var(--av-muted);
  font-size: 13px;
  line-height: 1.3;
}

.av-contact__quick-value {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.av-contact__quick-value:hover {
  color: var(--av-green-dark);
}

.av-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.av-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--av-green);
  border-radius: 9px;
  background: var(--av-green);
  color: #fff !important;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.av-contact__button:hover {
  transform: translateY(-1px);
  background: var(--av-green-dark);
  box-shadow: 0 8px 20px rgba(47, 113, 23, 0.18);
}

.av-contact__button--secondary {
  background: #fff;
  color: var(--av-green-dark) !important;
}

.av-contact__button--secondary:hover {
  background: var(--av-green-soft);
}

.av-contact__note {
  margin: 14px 0 0;
  color: var(--av-muted);
  font-size: 13px;
}

.av-contact__photo {
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--av-radius);
  background: #eef1ed;
  box-shadow: 0 12px 32px rgba(25, 40, 20, 0.08);
}

.av-contact__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}

.av-contact__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 26px;
}

.av-contact__card {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  background: #fff;
  box-shadow: 0 7px 22px rgba(25, 40, 20, 0.045);
}

.av-contact__card .av-contact__icon {
  margin-bottom: 15px;
}

.av-contact__card h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.3;
}

.av-contact__card p,
.av-contact__card address {
  margin-bottom: 0;
  color: var(--av-muted);
  font-style: normal;
}

.av-contact__facts {
  display: grid;
  gap: 5px;
  margin: 0;
}

.av-contact__facts div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 7px;
}

.av-contact__facts dt {
  color: var(--av-muted);
  font-weight: 500;
}

.av-contact__facts dd {
  margin: 0;
  color: var(--av-text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.av-contact__warning {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid var(--av-warning-border);
  border-radius: 10px;
  background: var(--av-warning-bg);
  color: #664b08;
  font-weight: 700;
  line-height: 1.45;
}

.av-contact__warning-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.av-contact__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 6px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  background: var(--av-line);
}

.av-contact__trust-item {
  padding: 20px;
  background: #fff;
  text-align: center;
}

.av-contact__trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--av-green-dark);
  font-size: 16px;
}

.av-contact__trust-item span {
  color: var(--av-muted);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .av-contact__hero {
    grid-template-columns: 1fr 1fr;
  }

  .av-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .av-contact {
    font-size: 15px;
  }

  .av-contact__hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .av-contact__intro {
    padding: 22px;
  }

  .av-contact__photo,
  .av-contact__photo img {
    min-height: 260px;
  }

  .av-contact__photo img {
    object-position: center;
  }

  .av-contact__grid,
  .av-contact__trust {
    grid-template-columns: 1fr;
  }

  .av-contact__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .av-contact__button {
    width: 100%;
  }
}
