/* Úvodná stránka my3d-art.hu — jasná hierarchia, veľa vzduchu, jedna dominantná vec na obrazovke */
:root { --h-ink: #2b2723; --h-sub: #6d6459; --h-line: #eee7dd; --h-krem: #f6f1e9; --h-zlata: #b08d57; --h-zelena: #3f8f5a; }
main { max-width: 1120px; }

/* hero */
.h-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 28px 0 36px; }
.h-kicker { color: var(--h-zlata); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82em; margin-bottom: 12px; }
.h-hero h1 { font-size: clamp(2em, 4.4vw, 3.1em); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; }
.h-lead { color: var(--h-sub); font-size: 1.12em; max-width: 480px; margin-bottom: 26px; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.h-btn { display: inline-block; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 600;
  color: var(--h-ink); border: 1.5px solid var(--h-ink); transition: background .2s, color .2s; }
.h-btn:hover { background: var(--h-ink); color: #fff; }
.h-btn-fo { background: var(--h-ink); color: #fff; }
.h-btn-fo:hover { background: #000; }
.h-hero-kep img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; display: block;
  box-shadow: 0 24px 60px rgba(43,39,35,.14); }

/* pás dôvery */
.h-bizalom { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 6px 0 56px;
  padding: 16px 20px; background: var(--h-krem); border-radius: 16px; font-size: .95em; color: var(--h-ink); }
.h-bizalom li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

/* nadpisy sekcií */
.h-cim { font-size: clamp(1.5em, 3vw, 2.1em); letter-spacing: -.015em; text-align: center; margin-bottom: 26px; }
.h-podcim { text-align: center; color: var(--h-sub); margin: -16px 0 22px; }
.h-podcim a { color: var(--h-ink); font-weight: 600; }

/* dlaždice príležitostí */
.h-alkalmak { margin-bottom: 64px; }
.h-dlazdice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.h-dlazdica { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; }
.h-dlazdica img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.h-dlazdica:hover img { transform: scale(1.04); }
.h-dlazdica span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; color: #fff; font-weight: 700;
  font-size: 1.1em; background: linear-gradient(transparent, rgba(0,0,0,.55)); }

/* skupiny produktov */
.h-skupina { margin-bottom: 60px; scroll-margin-top: 90px; }
.h-skupina-hlava { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--h-line); padding-bottom: 12px; margin-bottom: 22px; }
.h-skupina-hlava h2 { font-size: 1.55em; letter-spacing: -.01em; }
.h-skupina-hlava p { color: var(--h-sub); }
.h-mriezka { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.h-karta { text-decoration: none; color: var(--h-ink); display: flex; flex-direction: column; gap: 8px; }
.h-karta-foto { position: relative; border-radius: 16px; overflow: hidden; background: var(--h-krem); }
.h-karta-foto img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform .5s; }
.h-karta:hover .h-karta-foto img { transform: scale(1.04); }
.h-karta h3 { font-size: 1em; font-weight: 600; line-height: 1.3; margin-top: 4px; }
.h-cena { color: var(--h-sub); }
.h-odznak { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--h-ink); font-size: .78em; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }

/* ako to funguje */
.h-postup { background: var(--h-krem); border-radius: 24px; padding: 44px 28px; margin: 10px 0 64px; }
.h-postup ol { list-style: none; counter-reset: k; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 960px; margin: 0 auto; }
.h-postup li { counter-increment: k; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.h-postup li::before { content: counter(k); width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 50%; background: var(--h-ink);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.h-postup li span { color: var(--h-sub); }

/* instagram */
.h-insta { margin-bottom: 64px; }
.h-insta-mriezka { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.h-insta-mriezka img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; transition: opacity .2s; }
.h-insta-mriezka a:hover img { opacity: .85; }

/* časté otázky */
.h-gyik { max-width: 760px; margin: 0 auto 48px; }
.h-gyik details { border-bottom: 1px solid var(--h-line); padding: 16px 4px; }
.h-gyik summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.h-gyik summary::-webkit-details-marker { display: none; }
.h-gyik summary::after { content: '+'; font-weight: 400; font-size: 1.3em; line-height: 1; color: var(--h-sub); }
.h-gyik details[open] summary::after { content: '–'; }
.h-gyik details p { color: var(--h-sub); margin-top: 10px; }

@media (max-width: 860px) {
  .h-hero { grid-template-columns: 1fr; gap: 26px; padding-top: 8px; text-align: center; }
  .h-lead { margin-left: auto; margin-right: auto; }
  .h-cta { justify-content: center; }
  .h-dlazdice, .h-mriezka { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .h-insta-mriezka { grid-template-columns: repeat(3, 1fr); }
  .h-postup ol { grid-template-columns: 1fr; }
  .h-bizalom { justify-content: flex-start; gap: 10px 20px; margin-bottom: 44px; }
}
@media (max-width: 420px) {
  .h-btn { width: 100%; text-align: center; }
}
