/* SALTMARIS titulní strana, verze 2026-10-17. Zdroj pravdy: 14_web-saltmaris/01_saltmaris-com/html-bloky/titulni-strana/.
   Načítá se přes Vzhled a obsah > Editor > HTML kód. Šablona má html { font-size: 10px }, velikosti písma jen v px.
   Barvy podle stávajících bloků e-shopu (o-nas, kontakty). */

.hp {
  --hp-deep: #0f2d32; --hp-teal: #0f7a8c; --hp-mist: #f3f8f9; --hp-sand: #f4efe6; --hp-line: #dceaec; --hp-muted: #5b6b6e;
  font-family: Nunito, sans-serif; font-size: 16px; line-height: 1.6; color: #1f1f1f;
}
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp :where(h2, h3, p, ol, ul) { margin: 0; padding: 0; }
.hp img { display: block; max-width: 100%; }
.hp a { text-decoration: none; }
.hp a:hover { text-decoration: none; }
.hp-sec { margin: 72px 0; }
.hp-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.hp-head h1, .hp-head h2, .hp-why h2, .hp-show h2 { margin: 0; font-size: 34px; line-height: 1.2; font-weight: 700; color: #1f1f1f; }
.hp-head p { margin-top: 10px; font-size: 17px; color: var(--hp-muted); }
.hp-kicker { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hp-teal); }

/* Pruh výhod */
.hp-ben { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; }
.hp-ben__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--hp-mist); color: #1f1f1f; transition: background-color .25s ease; }
a.hp-ben__item:hover { background: #e6f1f3; color: #1f1f1f; }
.hp-ben__ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 0; line-height: 0; }
.hp-ben__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--hp-teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-ben__txt strong { display: block; font-size: 16px; line-height: 1.3; font-weight: 800; }
.hp-ben__txt small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.35; color: var(--hp-muted); }

/* Kategorie */
.hp-cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hp-cat { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--hp-line); color: #1f1f1f; transition: transform .3s ease, box-shadow .3s ease; }
.hp-cat:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(15, 45, 50, .45); color: #1f1f1f; }
.hp-cat__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hp-mist); }
.hp .hp-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.hp .hp-cat:hover .hp-cat__img img { transform: scale(1.04); }
.hp-cat--pack .hp-cat__img { background: #fff; }
.hp .hp-cat--pack .hp-cat__img img { object-fit: contain; padding: 14px; }
.hp-cat__txt { display: block; padding: 14px 18px 18px; }
.hp-cat__txt strong { display: block; font-size: 18px; line-height: 1.3; font-weight: 800; }
.hp-cat__txt strong::after { content: "\2192"; margin-left: 6px; color: var(--hp-teal); display: inline-block; transition: transform .25s ease; }
.hp-cat:hover .hp-cat__txt strong::after { transform: translateX(4px); }
.hp-cat__txt small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--hp-muted); }

/* Proč SALTMARIS */
.hp-why { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px; border-radius: 22px; background: var(--hp-sand); }
.hp-why__img { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.hp .hp-why__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hp-why__lead { margin-top: 12px; font-size: 17px; color: #3d4a4c; }
.hp-steps { list-style: none; margin: 24px 0 28px; display: grid; gap: 14px; }
.hp-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--hp-muted); }
.hp-steps li::before { content: none !important; }
.hp-steps strong { display: block; font-size: 16px; color: #1f1f1f; font-weight: 800; }
.hp-steps__num { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--hp-teal); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }

/* Tlačítka */
.hp-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; background: var(--hp-deep); color: #fff; font-size: 16px; font-weight: 800; border: 2px solid var(--hp-deep); transition: background-color .25s ease, color .25s ease; }
.hp-btn:hover { background: var(--hp-teal); border-color: var(--hp-teal); color: #fff; }
.hp-btn--ghost { background: transparent; color: var(--hp-deep); }
.hp-btn--ghost:hover { background: var(--hp-deep); border-color: var(--hp-deep); color: #fff; }

/* Showroom */
.hp-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hp-show p { margin-top: 12px; font-size: 17px; color: #3d4a4c; }
.hp-show .hp-show__addr { font-size: 15px; color: var(--hp-muted); }
.hp-show__addr strong { display: block; font-size: 17px; color: #1f1f1f; }
.hp-show__hours { list-style: none; margin: 18px 0 26px; max-width: 360px; border-top: 1px solid var(--hp-line); }
.hp-show__hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--hp-line); font-size: 15px; }
.hp-show__hours li::before { content: none !important; }
.hp-show__hours li span:last-child { font-weight: 800; }
.hp-show__img { position: relative; padding: 0 0 48px 64px; }
.hp .hp-show__a { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; }
.hp .hp-show__b { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 6px solid #fff; box-shadow: 0 18px 40px -22px rgba(15, 45, 50, .5); }

/* Titulní strana: nahrazené bloky šablony (obsah zůstává v administraci) */
body.in-index.hp-ready .benefitBanner.position--benefitHomepage,
body.in-index.hp-ready .body-banners { display: none !important; }

@media (max-width: 1199px) {
  .hp-ben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-why, .hp-show { gap: 36px; }
}
@media (max-width: 991px) {
  .hp-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hp-why, .hp-show { grid-template-columns: 1fr; }
  .hp-why { padding: 24px; }
  .hp-show__img { order: -1; max-width: 560px; }
}
@media (max-width: 600px) {
  .hp-sec { margin: 52px 0; }
  .hp-head h1, .hp-head h2, .hp-why h2, .hp-show h2 { font-size: 26px; }
  .hp-head p, .hp-why__lead, .hp-show p { font-size: 16px; }
  .hp-ben { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .hp-ben__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .hp-ben__ico { flex-basis: 36px; width: 36px; height: 36px; }
  .hp-ben__ico svg { width: 18px; height: 18px; }
  .hp-ben__txt strong { font-size: 14px; }
  .hp-ben__txt small { font-size: 13px; }
  .hp-cats__grid { gap: 10px; }
  .hp-cat { border-radius: 12px; }
  .hp-cat__txt { padding: 10px 12px 12px; }
  .hp-cat__txt strong { font-size: 16px; }
  .hp-cat__txt small { font-size: 13px; }
  .hp .hp-cat--pack .hp-cat__img img { padding: 8px; }
  .hp-why { padding: 16px 16px 24px; border-radius: 18px; }
  .hp-btn { flex: 1 1 100%; }
  .hp-show__img { padding: 0 0 36px 40px; }
}
