/* ==========================================================================
   md-home.css  –  Môj Dodávateľ, nová homepage
   --------------------------------------------------------------------------
   Všetky triedy majú predponu .mdh- , takže sa nebijú s Bootstrapom ani
   so style.css. Farby a premenné (--md-*) sú definované v md-theme.css.

   Obsah:
     1.  Spoločné (nadpisy, sekcie, tlačidlá)
     2.  Hero + dva promo bloky
     3.  Mobilný slider
     4.  Výhody (USP pás)
     5.  Kategórie
     6.  Kto sme + segmenty
     7.  Zákaznícky portál
     8.  Blog (pripravené, zatiaľ vypnuté)
     9.  Lucart / ESG
    10.  Referencie (pripravené, zatiaľ vypnuté)
    11.  Kontakt
    12.  Ako to funguje + FAQ
    13.  Značky nad pätičkou
    14.  Responzivita
   ========================================================================== */


/* ---------- 1. Spoločné -------------------------------------------------- */
.mdh {
  color: var(--md-ink);
}

.mdh h1,
.mdh h2,
.mdh h3,
.mdh p {
  margin: 0;
}

.mdh-section {
  padding: 48px 0;
}

.mdh-section--tight {
  padding: 32px 0;
}

.mdh-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.mdh-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mdh-eyebrow {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--md-brand);
}

.mdh-eyebrow--light {
  color: rgba(255, 255, 255, .72);
}

.mdh-h2 {
  font-size: clamp(26px, 1.9vw, 34px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--md-ink);
}

.mdh-lead {
  margin-top: 16px !important;
  font-size: 17px;
  line-height: 1.65;
  color: var(--md-ink-70);
}

/* tlačidlá */
.mdh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .18s var(--md-ease), color .18s var(--md-ease),
              transform .18s var(--md-ease), box-shadow .18s var(--md-ease);
}

.mdh-btn:hover {
  text-decoration: none;
}

.mdh-btn:active {
  transform: translateY(1px);
}

.mdh-btn--accent,
.mdh-btn--accent:focus {
  background-color: var(--md-accent);
  color: var(--md-accent-ink);
}

.mdh-btn--accent:hover {
  background-color: var(--md-accent-600);
  color: var(--md-accent-ink);
  box-shadow: 0 8px 20px rgba(245, 166, 35, .32);
}

.mdh-btn--white,
.mdh-btn--white:focus {
  background-color: #fff;
  color: var(--md-brand-800);
}

.mdh-btn--white:hover {
  background-color: #F2FAFB;
  color: var(--md-brand-800);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}

.mdh-btn--sm {
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.mdh-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--md-brand);
}

.mdh-link-arrow:hover {
  color: var(--md-brand-800);
}

.mdh-link-arrow svg {
  transition: transform .18s var(--md-ease);
}

.mdh-link-arrow:hover svg {
  transform: translateX(4px);
}


/* ---------- 2. Hero + promo bloky ---------------------------------------- */
.mdh-hero {
  padding-top: 40px;
}

.mdh-hero__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.mdh-hero__main {
  position: relative;
  min-height: 440px;
  border-radius: var(--md-radius-lg);
  overflow: hidden;
}

.mdh-hero__main .swiper-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mdh-hero__slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* stmavenie zľava – nadpis je čitateľný na akejkoľvek fotke */
.mdh-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 48, 28, .82) 0%,
    rgba(10, 48, 28, .62) 38%,
    rgba(10, 48, 28, .18) 66%,
    rgba(10, 48, 28, 0) 88%);
}

.mdh-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 64px 48px;
  color: #fff;
}

.mdh-hero__title {
  margin-bottom: 20px !important;
  font-size: clamp(32px, 2.6vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  text-wrap: balance;
}

.mdh-hero__title u {
  text-decoration: none;
  box-shadow: inset 0 -.12em 0 var(--md-accent);
}

.mdh-hero__copy p {
  max-width: 42ch;
  margin-bottom: 32px !important;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}

.mdh-hero .swiper-pagination-desktop {
  bottom: 18px;
  z-index: 2;
}

.mdh-hero .swiper-pagination-bullet {
  width: 34px;
  height: 4px;
  border-radius: 99px;
  background-color: rgba(255, 255, 255, .55);
  opacity: 1;
}

.mdh-hero .swiper-pagination-bullet-active {
  background-color: var(--md-accent);
}

.mdh-hero__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.mdh-promo {
  position: relative;
  min-height: 210px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--md-radius-lg);
  overflow: hidden;
  color: #fff;
  transition: transform .18s var(--md-ease), box-shadow .18s var(--md-ease);
}

.mdh-promo:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--md-shadow-lg);
}

.mdh-promo--hot {
  background: linear-gradient(135deg, #FF6A4D 0%, var(--md-hot) 55%, #E23425 100%);
}

.mdh-promo--brand {
  background: linear-gradient(135deg, #17B0BD 0%, var(--md-brand) 55%, var(--md-brand-800) 100%);
}

.mdh-promo__ico {
  position: absolute;
  right: -26px;
  top: -26px;
  width: 124px;
  height: 124px;
  opacity: .14;
  pointer-events: none;
}

.mdh-promo__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .82;
}

.mdh-promo__title {
  max-width: 17ch;
  margin-top: 12px;
  font-size: 26px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.015em;
}

.mdh-promo__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.mdh-promo__text {
  max-width: 22ch;
  font-size: 14px;
  line-height: 1.4;
  opacity: .85;
}


/* ---------- 3. Mobilný slider -------------------------------------------- */
.slider-mobile .block {
  position: relative;
  min-height: 300px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  border-radius: var(--md-radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center right;
}

.slider-mobile .block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 48, 28, .25) 0%, rgba(10, 48, 28, .85) 100%);
}

.slider-mobile .block > * {
  position: relative;
  z-index: 1;
}

.slider-mobile h1 {
  font-size: 28px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.slider-mobile h1 u {
  text-decoration: none;
  box-shadow: inset 0 -.12em 0 var(--md-accent);
}

.slider-mobile p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 16px;
}


/* ---------- 4. Výhody (USP pás) ------------------------------------------ */
.mdh-usp {
  margin-top: 20px;
}

.mdh-usp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--md-line);
  border-radius: var(--md-radius);
  background-color: #fff;
  box-shadow: var(--md-shadow-sm);
  overflow: hidden;
}

.mdh-usp__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-left: 1px solid var(--md-line-soft);
}

.mdh-usp__item:first-child {
  border-left: 0;
}

.mdh-usp__ico {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background-color: var(--md-brand-soft);
  color: var(--md-brand-800);
  display: grid;
  place-items: center;
}

.mdh-usp__ico svg {
  width: 19px;
  height: 19px;
}

.mdh-usp__title {
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.mdh-usp__text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--md-muted);
}


/* ---------- 5. Kategórie ------------------------------------------------- */
.mdh-cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.mdh-cat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--edge, var(--md-line));
  border-radius: var(--md-radius);
  background-color: var(--tint, #fff);
  color: var(--md-ink);
  transition: border-color .18s var(--md-ease), box-shadow .18s var(--md-ease), transform .18s var(--md-ease);
}

.mdh-cat:hover {
  color: var(--md-ink);
  border-color: var(--md-brand);
  box-shadow: var(--md-shadow-md);
  transform: translateY(-3px);
}

.mdh-cat__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mdh-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition: transform .45s var(--md-ease);
}

.mdh-cat:hover .mdh-cat__media img {
  transform: scale(1.06);
}

.mdh-cat__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px;
}

.mdh-cat__name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
}

.mdh-cat:hover .mdh-cat__name {
  color: var(--md-brand-800);
}

.mdh-cat__desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--md-ink-70);
}

/* jemné podfarbenie podľa poradia kategórie (ladí s fotkami) */
.mdh-cat:nth-child(6n+1) { --tint: #F7F5F3; --edge: #E6DED7; }
.mdh-cat:nth-child(6n+2) { --tint: #FEF9E5; --edge: #FCECAB; }
.mdh-cat:nth-child(6n+3) { --tint: #F9FAF6; --edge: #EDF0E1; }
.mdh-cat:nth-child(6n+4) { --tint: #EBF5FA; --edge: #BDE0EE; }
.mdh-cat:nth-child(6n+5) { --tint: #FEFCF9; --edge: #F1EADB; }
.mdh-cat:nth-child(6n+6) { --tint: #FFF6E8; --edge: #FFE1B4; }


/* ---------- 6. Kto sme + segmenty ---------------------------------------- */
.mdh-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.mdh-about__copy .mdh-h2 {
  margin-bottom: 24px;
  text-wrap: balance;
}

.mdh-about__copy p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--md-ink-70);
}

.mdh-about__copy p strong {
  color: var(--md-ink);
}

.mdh-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 24px 0 32px;
}

.mdh-tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.mdh-tick svg {
  flex: 0 0 auto;
  color: var(--md-brand);
}

.mdh-segments {
  display: grid;
  gap: 12px;
}

.mdh-segment {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--md-line);
  border-radius: var(--md-radius);
  background-color: #fff;
  color: var(--md-ink);
  transition: border-color .18s var(--md-ease), background-color .18s var(--md-ease), transform .18s var(--md-ease);
}

.mdh-segment:hover {
  color: var(--md-ink);
  border-color: var(--md-brand);
  background-color: #FBFEFE;
  transform: translateX(3px);
}

.mdh-segment__ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background-color: var(--md-brand-soft);
  color: var(--md-brand-800);
  display: grid;
  place-items: center;
}

.mdh-segment__ico svg {
  width: 22px;
  height: 22px;
}

.mdh-segment__body {
  flex: 1 1 auto;
  min-width: 0;
}

.mdh-segment__title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.mdh-segment__text {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--md-muted);
}

.mdh-segment__arrow {
  flex: 0 0 auto;
  color: var(--md-brand);
}


/* ---------- 7. Zákaznícky portál ----------------------------------------- */
.mdh-portal {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: var(--md-radius-lg);
  background: linear-gradient(135deg, var(--md-brand-800) 0%, var(--md-brand-900) 100%);
  color: #fff;
}

/* jemná grafika v pozadí: bodkový raster + mäkký kruh */
.mdh-portal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1.4px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 62%);
          mask-image: linear-gradient(115deg, #000 0%, transparent 62%);
}

.mdh-portal::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 35% 35%, rgba(23, 176, 189, .42), rgba(23, 176, 189, 0) 68%);
}

.mdh-portal > * {
  position: relative;
  z-index: 1;
}

.mdh-portal__title {
  margin-bottom: 16px !important;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #fff;
}

.mdh-portal__text {
  max-width: 42ch;
  margin-bottom: 24px !important;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}

.mdh-portal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mdh-chip {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background-color: rgba(255, 255, 255, .09);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}


/* ---------- 8. Blog (pripravené, zatiaľ vypnuté v start.latte) ----------- */
.mdh-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mdh-post {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--md-line);
  border-radius: var(--md-radius);
  overflow: hidden;
  background-color: #fff;
  color: var(--md-ink);
  transition: border-color .18s var(--md-ease), box-shadow .18s var(--md-ease), transform .18s var(--md-ease);
}

.mdh-post:hover {
  color: var(--md-ink);
  border-color: #CDE9EC;
  box-shadow: var(--md-shadow-md);
  transform: translateY(-3px);
}

.mdh-post__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--md-bg-soft);
}

.mdh-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdh-post__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.mdh-post__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.mdh-post__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--md-muted);
}


/* ---------- 9. Lucart / ESG ---------------------------------------------- */
.mdh-lucart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: var(--md-radius-lg);
  background: linear-gradient(135deg, #17B0BD 0%, var(--md-brand) 60%, var(--md-brand-600) 100%);
  color: #fff;
}

.mdh-lucart__title {
  margin-bottom: 24px !important;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #fff;
  text-wrap: balance;
}

.mdh-lucart__list {
  display: grid;
  gap: 20px;
}

.mdh-lucart__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.mdh-lucart__ico {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
}

.mdh-lucart__item h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.mdh-lucart__item p {
  margin-top: 3px !important;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}


/* ---------- 10. Referencie (pripravené, zatiaľ vypnuté) ------------------ */
.mdh-refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mdh-ref {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--md-line);
  border-radius: var(--md-radius-lg);
  background-color: #fff;
}

.mdh-ref__tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background-color: var(--md-brand-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--md-brand-800);
}

.mdh-ref__result {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.mdh-ref__quote {
  flex: 1 1 auto;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--md-ink-70);
}

.mdh-ref__who {
  padding-top: 16px;
  border-top: 1px solid var(--md-line-soft);
  font-size: 13px;
  color: var(--md-muted);
}

.mdh-ref__who b {
  display: block;
  font-size: 14px;
  color: var(--md-ink);
}


/* ---------- 11. Kontakt -------------------------------------------------- */
.mdh-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.mdh-contact__aside {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--md-radius-lg);
  overflow: hidden;
  color: #fff;
}

.mdh-contact__aside > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mdh-contact__aside::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(180deg, rgba(6, 71, 79, 0) 0%, rgba(6, 71, 79, .92) 26%, var(--md-brand-900) 46%);
}

.mdh-contact__aside-in {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 32px;
}

.mdh-contact__aside h3 {
  margin-bottom: 16px !important;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.mdh-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mdh-steps li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  line-height: 1.45;
}

.mdh-steps svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--md-accent);
}

.mdh-rep {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.mdh-rep__avatar {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .34);
}

.mdh-rep__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.mdh-rep__role {
  max-width: 34ch;
  margin: 2px 0 6px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .75);
}

.mdh-rep__phone {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.mdh-rep__phone:hover {
  color: #fff;
  text-decoration: underline;
}

/* formulár – základný vzhľad polí je v md-theme.css (.mdh-form) */
.mdh-form {
  align-self: center;
}

.mdh-form h3 {
  margin-bottom: 20px !important;
  font-size: 18px;
  font-weight: 700;
}

.mdh-form .row {
  margin-left: -8px;
  margin-right: -8px;
}

.mdh-form .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

.mdh-form__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.mdh-form__foot .mdh-btn {
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

.mdh-form__foot p {
  max-width: 26ch;
  font-size: 12px;
  line-height: 1.45;
  color: var(--md-muted);
}


/* ---------- 12. Ako to funguje + FAQ ------------------------------------- */
.mdh-howto {
  padding: 64px 0;
  border-top: 1px solid var(--md-line-soft);
  background-color: #fff;
}

.mdh-terms {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  align-items: stretch;
}

.mdh-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mdh-tile {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--md-line-soft);
  border-radius: var(--md-radius-lg);
  background-color: var(--md-bg-soft);
  transition: transform .2s var(--md-ease), box-shadow .2s var(--md-ease);
}

.mdh-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--md-shadow-md);
}

.mdh-tile__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mdh-tile__ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background-color: #fff;
  color: var(--md-brand-600);
  display: grid;
  place-items: center;
}

.mdh-tile__ico svg {
  width: 18px;
  height: 18px;
}

.mdh-tile__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--md-muted);
}

.mdh-tile__value {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--md-ink);
}

.mdh-tile__value em {
  font-style: normal;
  color: var(--md-brand-600);
}

.mdh-tile__value small {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--md-muted);
}

.mdh-tile__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--md-ink-70);
}

/* tmavá dlaždica „24 h" */
.mdh-tile--dark {
  border-color: transparent;
  background: linear-gradient(150deg, var(--md-brand-600) 0%, var(--md-brand-800) 100%);
  color: #fff;
}

.mdh-tile--dark .mdh-tile__ico {
  background-color: rgba(255, 255, 255, .14);
  color: #fff;
}

.mdh-tile--dark .mdh-tile__label {
  color: rgba(255, 255, 255, .7);
}

.mdh-tile--dark .mdh-tile__value {
  font-size: 44px;
  color: #fff;
}

.mdh-tile--dark .mdh-tile__note {
  color: rgba(255, 255, 255, .82);
}

.mdh-timeline {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.mdh-timeline li {
  position: relative;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .75);
}

.mdh-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--md-accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, .25);
}

.mdh-timeline li:first-child::before {
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .2);
}

.mdh-timeline b {
  display: block;
  font-size: 13.5px;
  color: #fff;
}

/* doprava – pás */
.mdh-meter {
  height: 8px;
  margin-top: auto;
  border-radius: 99px;
  background-color: #E4E1E1;
  overflow: hidden;
}

.mdh-meter i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #CDE9EC 0%, var(--md-brand) 70%, var(--md-accent) 100%);
}

.mdh-meter__scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--md-muted);
}

.mdh-meter__scale span:last-child {
  text-align: right;
}

.mdh-meter__scale b {
  display: block;
  font-size: 13px;
  color: var(--md-ink);
}

/* kam dodávame */
.mdh-rows {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mdh-rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 11px;
  border-radius: 8px;
  background-color: #fff;
  font-size: 12.5px;
  color: var(--md-muted);
}

.mdh-rows b {
  font-weight: 700;
  color: var(--md-ink);
}

/* platba */
.mdh-pills {
  list-style: none;
  margin: 0;
  padding: 3px;
  display: flex;
  gap: 3px;
  align-self: flex-start;
  border-radius: 999px;
  background-color: #fff;
}

.mdh-pills li {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--md-ink-70);
}

.mdh-pills li.is-on {
  background-color: var(--md-ink);
  color: #fff;
}

/* FAQ */
.mdh-faq__title {
  margin-bottom: 8px !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--md-brand);
}

.mdh-faq__item {
  border-bottom: 1px solid var(--md-line);
}

.mdh-faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--md-ink);
}

.mdh-faq__item summary::-webkit-details-marker {
  display: none;
}

.mdh-faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-right: 2px solid var(--md-brand);
  border-bottom: 2px solid var(--md-brand);
  transform: rotate(45deg);
  transition: transform .2s var(--md-ease);
}

.mdh-faq__item[open] summary::after {
  transform: rotate(-135deg);
}

.mdh-faq__item summary:hover {
  color: var(--md-brand-600);
}

.mdh-faq__item summary:focus-visible {
  outline: 2px solid var(--md-accent);
  outline-offset: 3px;
}

.mdh-faq__item p {
  max-width: 62ch;
  padding: 0 24px 16px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--md-ink-70);
}


/* ---------- 13. Značky nad pätičkou -------------------------------------- */
.mdh-brands {
  border-top: 1px solid var(--md-line-soft);
  background-color: var(--md-bg-soft);
}

.mdh-brands__in {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  padding: 24px 0;
}

.mdh-brand {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mdh-brand__name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--md-ink);
}

a.mdh-brand:hover .mdh-brand__name {
  color: var(--md-brand-800);
}

.mdh-brand__note {
  font-size: 12px;
  line-height: 1.45;
  color: var(--md-muted);
}


/* ---------- 14. Responzivita --------------------------------------------- */
@media (max-width: 1400px) {
  .mdh-portal {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 1200px) {
  .mdh-hero__grid {
    grid-template-columns: 1fr;
  }

  .mdh-hero__side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .mdh-hero__main {
    min-height: 400px;
  }

  .mdh-usp__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mdh-usp__item:nth-child(3) {
    border-left: 0;
  }

  .mdh-usp__item:nth-child(n+3) {
    border-top: 1px solid var(--md-line-soft);
  }

  .mdh-about__grid,
  .mdh-contact,
  .mdh-lucart {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mdh-lucart {
    padding: 48px 32px;
  }

  .mdh-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .mdh-cats {
    grid-template-columns: repeat(3, 1fr);
  }

  .mdh-terms {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mdh-refs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  /* na mobile je nad homepage fixný pás s vyhľadávaním (pôvodné správanie) */
  .mdh-usp {
    margin-top: 24px;
  }

  .mdh-section {
    padding: 40px 0;
  }

  .mdh-section--tight {
    padding: 20px 0;
  }

  .mdh-brands__in {
    flex-wrap: wrap;
    gap: 20px 32px;
  }
}

@media (max-width: 640px) {
  .mdh-cats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mdh-posts,
  .mdh-usp__grid,
  .mdh-bento {
    grid-template-columns: 1fr;
  }

  .mdh-usp__item {
    border-left: 0;
    border-top: 1px solid var(--md-line-soft);
  }

  .mdh-usp__item:first-child {
    border-top: 0;
  }

  .mdh-portal,
  .mdh-lucart {
    padding: 40px 24px;
  }

  .mdh-lucart__title {
    font-size: 27px;
  }

  .mdh-contact__aside {
    min-height: 420px;
  }

  .mdh-contact__aside-in {
    padding: 24px;
  }

  .mdh-segment {
    padding: 16px 18px;
    gap: 14px;
  }

  .mdh-segment__arrow {
    display: none;
  }

  .mdh-tile {
    min-height: 0;
    padding: 20px;
  }

  .mdh-tile--dark .mdh-tile__value {
    font-size: 38px;
  }

  .mdh-howto {
    padding: 48px 0;
  }

  .mdh-brand {
    flex: 1 1 100%;
  }

  .mdh-about .mdh-btn,
  .mdh-form__foot .mdh-btn {
    width: 100%;
  }
}
