/* ==========================================================================
   STOĽAR MARCIN — hlavná stránka v4 (remeselný luxus)
   ========================================================================== */
:root {
  --cream: #F5F0E8; --cream-2: #EDE4D6; --sand: #E3D3BD; --tan: #EBD9C3;
  --ink: #1B1714; --ink-2: #4E463F; --ink-3: #8A7F75;
  --dark: #141210; --dark-2: #1F1B17; --walnut: #3A2A1D;
  --orange: #B5642B; --orange-2: #9A5222; --orange-soft: #F3E3D1;
  --gold: #D9A441; --gold-2: #B98A2E;
  --f-cond: "Barlow Condensed", "Inter Tight", sans-serif;
}
.display em, .script { font-family: inherit; font-style: normal; color: var(--gold-2); font-size: inherit; line-height: inherit; }
.kota--pill { background: transparent; padding: 0; color: var(--gold-2); font-family: var(--f-cond); font-size: 15px; letter-spacing: .22em; }
.kota--pill::before { background: var(--gold); width: 24px; height: 2px; border-radius: 0; }
.sekcia--les .kota--pill { background: transparent; color: var(--gold); }
.btn { border-radius: 4px; box-shadow: none; }
.btn--gold { --bg: var(--gold-2); --fg: #fff; }
.btn--gold:hover { --bg: var(--gold); --fg: var(--ink); }
.btn--sq { border-radius: 2px; text-transform: uppercase; letter-spacing: .16em; font-family: var(--f-cond); font-size: 15px; font-weight: 600; padding: 0 34px; }
.btn--line { border-radius: 4px; }
.h2 { font-size: clamp(34px, 4vw, 56px); }

/* ---------- čísla ---------- */
.cisla { background: var(--tan); }
.cisla__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: clamp(36px, 5vw, 64px) 0; text-align: center; }
.cislo { padding: 8px 16px; border-left: 1px solid rgba(27, 23, 20, .12); }
.cislo:first-child { border-left: 0; }
.cislo__h { display: block; font-family: var(--f-cond); font-weight: 500; font-size: clamp(56px, 7vw, 104px); line-height: .95; letter-spacing: -0.01em; color: var(--ink); }
.cislo__p { display: block; margin-top: 10px; font-size: 15px; color: var(--orange-2); letter-spacing: .02em; }
@media (max-width: 760px) { .cisla__grid { grid-template-columns: 1fr 1fr; gap: 24px 0; } .cislo:nth-child(3) { border-left: 0; } }

/* ---------- projekty cez celú šírku ---------- */
.stlpce { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: clamp(460px, 72vh, 760px); }
.stlpec { position: relative; display: block; overflow: hidden; color: var(--ink); text-decoration: none; background: var(--cream-2); }
.stlpec img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; }
.stlpec::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 240, 232, .96) 0%, rgba(245, 240, 232, .75) 22%, rgba(245, 240, 232, 0) 48%); z-index: 1; transition: opacity .5s; }
.stlpec__text { position: absolute; left: clamp(20px, 2.4vw, 40px); top: clamp(24px, 3vw, 44px); right: 20px; z-index: 2; }
.stlpec__eyebrow { display: block; font-family: var(--f-cond); font-size: 16px; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 8px; }
.stlpec__h { margin: 0; font-family: var(--f-cond); font-weight: 600; font-size: clamp(30px, 3.2vw, 48px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.stlpec__more { position: absolute; left: clamp(20px, 2.4vw, 40px); bottom: 28px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.stlpec__more svg { width: 18px; height: 18px; }
.stlpec:hover img { transform: scale(1.06); }
.stlpec:hover .stlpec__more { opacity: 1; transform: none; }
.stlpec + .stlpec { border-left: 2px solid var(--cream); }
@media (max-width: 900px) { .stlpce { grid-template-columns: 1fr 1fr; height: auto; } .stlpec { aspect-ratio: 3 / 4; } .stlpec + .stlpec { border-left: 0; } .stlpec { outline: 2px solid var(--cream); } }

/* ---------- o nás (foto + bodky + odznak) ---------- */
.onas2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.onas2__foto { position: relative; margin-left: 28px; }
.onas2__foto::before { content: ""; position: absolute; right: -34px; bottom: 60px; width: 60px; height: 260px; background-image: radial-gradient(var(--gold) 2.2px, transparent 2.6px); background-size: 20px 20px; z-index: 0; }
.onas2__foto img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; border-radius: 6px; }
.odznak { position: absolute; z-index: 2; left: -28px; bottom: 56px; display: flex; align-items: center; gap: 16px; background: var(--dark); color: #fff; padding: 22px 28px 22px 22px; border-radius: 6px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.odznak svg { width: 46px; height: 46px; color: var(--gold); }
.odznak b { display: block; font-family: var(--f-cond); font-weight: 600; font-size: 34px; line-height: 1; }
.odznak span { font-size: 14px; color: rgba(255, 255, 255, .75); }
.onas2__text .kota { margin-bottom: 16px; }
.onas2__text h2 { font-family: var(--f-cond); font-weight: 600; font-size: clamp(44px, 5.6vw, 84px); line-height: .95; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 24px; }
.onas2__text h2 span { color: var(--gold-2); }
.onas2__text p { color: var(--ink-2); margin: 0 0 16px; max-width: 36em; font-size: 17.5px; }
.fajky { list-style: none; margin: 26px 0 32px; padding: 0; display: grid; gap: 12px; }
.fajky li { display: flex; align-items: center; gap: 12px; font-size: 16.5px; }
.fajky li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gold-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23B98A2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.onas2__akcie { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .onas2 { grid-template-columns: 1fr; } .onas2__foto { margin-left: 20px; margin-right: 20px; } .odznak { left: -20px; } }

/* ---------- materiály — rez kmeňa + vejár dekorov ---------- */
.sekcia--materialy { background: var(--cream-2); overflow: hidden; }
.materialy { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vejar { position: relative; width: 100%; aspect-ratio: 1 / 1.05; max-width: 620px; margin-inline: auto; justify-self: center; }
.vejar svg { width: 100%; height: 100%; overflow: visible; }
.vejar__tien { filter: drop-shadow(0 30px 40px rgba(60, 35, 10, .35)); }
.klin { transform-origin: 300px 330px; transform: rotate(0deg) scale(.6); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s var(--ease), filter .3s; cursor: pointer; }
.is-in .klin, .no-js .klin { transform: rotate(var(--rot)) scale(1); opacity: 1; }
.klin:hover, .klin.is-on { filter: brightness(1.08) drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.vejar__meno { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); background: var(--dark); color: #fff; padding: 10px 18px; border-radius: 4px; font-family: var(--f-cond); font-size: 18px; letter-spacing: .06em; white-space: nowrap; }
.vejar__meno small { display: block; font-family: var(--f-text); font-size: 12px; letter-spacing: 0; color: rgba(255, 255, 255, .7); }
.vejar__popis { position: absolute; font-family: var(--f-cond); font-size: clamp(18px, 2vw, 26px); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.vejar__popis--l { left: -4%; top: 18%; transform: rotate(-62deg); transform-origin: left center; }
.vejar__popis--r { right: -2%; bottom: 30%; transform: rotate(62deg); transform-origin: right center; }
.materialy__text .kota { margin-bottom: 16px; }
.materialy__text h2 { font-family: var(--f-cond); font-weight: 600; font-size: clamp(40px, 4.6vw, 68px); line-height: .98; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 20px; }
.materialy__text p { color: var(--ink-2); margin: 0 0 24px; max-width: 34em; }
.mat-zoznam { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid rgba(27, 23, 20, .15); }
.mat-zoznam li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(27, 23, 20, .15); font-size: 15px; color: var(--ink-2); }
.mat-zoznam b { font-family: var(--f-cond); font-size: 19px; letter-spacing: .04em; color: var(--ink); text-transform: uppercase; }
.kovanie { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-3); }
.kovanie span { padding: 8px 14px; border: 1px solid rgba(27, 23, 20, .2); border-radius: 4px; font-family: var(--f-cond); font-size: 16px; letter-spacing: .08em; color: var(--ink); }
@media (max-width: 900px) { .materialy { grid-template-columns: 1fr; } .vejar__popis { display: none; } .mat-zoznam li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- konfigurátor (tmavá) ---------- */
.sekcia--konf { background: var(--dark); color: var(--cream); }
.sekcia--konf .kota--pill { color: var(--gold); }
.sekcia--konf .konf-ukazka .h2 { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: .98; font-size: clamp(40px, 4.6vw, 68px); color: #fff; }
.sekcia--konf .konf-ukazka .h2 em { display: inline; color: var(--gold); }
.sekcia--konf .lead { color: rgba(245, 240, 232, .72); }
.konf-body2 { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.konf-body2 li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.konf-body2 .cislo2 { font-family: var(--f-cond); font-size: 30px; color: var(--gold); line-height: 1; padding-top: 2px; }
.konf-body2 b { display: block; font-size: 16px; color: #fff; margin-bottom: 2px; }
.konf-body2 span { font-size: 14.5px; color: rgba(245, 240, 232, .65); }
.sekcia--konf .konf-akcie p, .sekcia--konf .konf-akcie a:not(.btn) { color: rgba(245, 240, 232, .8); }
.sekcia--konf .mini { border-radius: 8px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.sekcia--konf .mini__pata { background: var(--gold-2); }
.sekcia--konf .mini__pata .kruh { background: var(--dark); color: var(--gold); }

/* ---------- prečo my — číslovaný zoznam ---------- */
.preco { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.preco__foto { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.preco__foto img { width: 100%; height: 100%; object-fit: cover; }
.preco__foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; color: #fff; font-weight: 600; font-size: 15px; background: linear-gradient(180deg, transparent, rgba(20, 18, 16, .85)); }
.preco__text .kota { margin-bottom: 16px; }
.preco__text h2 { font-family: var(--f-cond); font-weight: 600; font-size: clamp(40px, 4.6vw, 68px); line-height: .98; text-transform: uppercase; margin: 0 0 12px; }
.preco__text h2 span { color: var(--gold-2); }
.preco__text > p { color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.dovod2 { border-bottom: 1px solid rgba(27, 23, 20, .15); }
.dovod2 summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; align-items: center; gap: 14px; padding: 20px 0; }
.dovod2 summary::-webkit-details-marker { display: none; }
.dovod2__c { font-family: var(--f-cond); font-size: 20px; color: var(--ink-3); letter-spacing: .04em; }
.dovod2__h { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 1.8vw, 25px); letter-spacing: -0.02em; }
.dovod2__arr { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); transition: background .25s, color .25s, transform .35s var(--ease); }
.dovod2__arr svg { width: 16px; height: 16px; }
.dovod2[open] { background: var(--white); border-radius: 10px; border-color: transparent; padding-inline: 18px; margin-inline: -18px; box-shadow: var(--shadow-sm); }
.dovod2[open] .dovod2__c { color: var(--gold-2); }
.dovod2[open] .dovod2__arr { background: var(--gold-2); color: #fff; transform: rotate(45deg); }
.dovod2 p { margin: 0; padding: 0 0 22px 58px; color: var(--ink-2); }
@media (max-width: 900px) { .preco { grid-template-columns: 1fr; } .preco__foto { aspect-ratio: 4 / 3; } .dovod2 p { padding-left: 0; } }

/* ---------- ako pracujeme — 5 krokov vodorovne ---------- */
.sekcia--postup { background: var(--walnut); color: var(--cream); background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; }
.sekcia--postup .kota--pill { color: var(--gold); }
.sekcia--postup .hlava .h2 { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: .98; font-size: clamp(40px, 4.6vw, 68px); color: #fff; }
.sekcia--postup .lead { color: rgba(245, 240, 232, .72); }
.kroky5 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.krok5 { padding: 32px 22px 36px 0; border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 22px; position: relative; }
.krok5:first-child { border-left: 0; padding-left: 0; }
.krok5__c { display: block; font-family: var(--f-cond); font-size: 64px; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.krok5 h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: #fff; line-height: 1.15; }
.krok5 p { margin: 0; font-size: 14.5px; color: rgba(245, 240, 232, .72); }
.krok5__tag { display: inline-block; margin-top: 12px; font-family: var(--f-cond); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(217, 164, 65, .5); padding: 4px 10px; border-radius: 3px; }
.postup-cta { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); }
.postup-cta p { margin: 0; color: rgba(245, 240, 232, .72); max-width: 44em; }
@media (max-width: 1000px) { .kroky5 { grid-template-columns: 1fr 1fr; } .krok5:nth-child(odd) { border-left: 0; padding-left: 0; } .krok5 { border-top: 1px solid rgba(255, 255, 255, .15); } .krok5:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 560px) { .kroky5 { grid-template-columns: 1fr; } .krok5 { border-left: 0; padding-left: 0; } .krok5:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, .15); } }

/* ---------- zlatý CTA pás ---------- */
.cta-pas2 { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; min-height: 128px; overflow: hidden; background: var(--dark); }
.cta-pas2::after { content: ""; position: absolute; top: 0; bottom: 0; left: 38%; right: 0; background: linear-gradient(90deg, #9C6A24, #B8862B); clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%); }
.cta-pas2__l { position: relative; z-index: 1; padding: 24px var(--gutter); }
.cta-pas2__l .znacka { color: #fff; }
.cta-pas2__r { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 20px 32px; padding: 24px var(--gutter) 24px 90px; color: #fff; font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); }
.cta-pas2__r .btn { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.cta-pas2__r .btn:hover { --bg: var(--dark); --fg: #fff; border-color: var(--dark); }
@media (max-width: 900px) { .cta-pas2 { grid-template-columns: 1fr; } .cta-pas2::after { left: 0; clip-path: none; top: 50%; } .cta-pas2__r { justify-content: flex-start; padding-left: var(--gutter); } }

/* ---------- galéria — bežiaci pás ---------- */
.sekcia--galeria { padding-block: clamp(56px, 7vw, 96px); overflow: hidden; }
.galeria-hlava { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.galeria-hlava h2 { font-family: var(--f-cond); font-weight: 600; font-size: clamp(40px, 4.6vw, 68px); line-height: .98; text-transform: uppercase; margin: 0; }
.galeria-hlava h2 span { color: var(--gold-2); }
.pas-foto { display: flex; gap: 16px; width: max-content; animation: bez 70s linear infinite; }
.pas-foto:hover { animation-play-state: paused; }
.pas-foto--r { animation-direction: reverse; animation-duration: 85s; margin-top: 16px; }
.pas-foto a { display: block; flex: none; height: clamp(160px, 22vw, 260px); border-radius: 8px; overflow: hidden; }
.pas-foto img { height: 100%; width: auto; display: block; transition: transform .8s var(--ease); }
.pas-foto a:hover img { transform: scale(1.05); }
@keyframes bez { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pas-foto { animation: none; } }

/* ---------- FAQ ---------- */
.faq__hlava .h2 { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: .98; font-size: clamp(40px, 4.6vw, 64px); }
.otazka summary::after { border-radius: 4px; }

/* ---------- kontakt — polovičný rez kmeňa ---------- */
.sekcia--kontakt { background: var(--cream-2); }
.sekcia--kontakt::before { display: none; }
.sekcia--kontakt .deko--drevo { display: none; }
.kmen-rez { position: absolute; left: -12%; top: 50%; transform: translateY(-50%); width: clamp(260px, 32vw, 520px); opacity: .95; pointer-events: none; z-index: 0; }
.kontakt__info .h2 { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: .98; font-size: clamp(40px, 4.6vw, 66px); }
.kontakt__info .h2 em { display: block; color: var(--gold-2); }
.tel-karta { border-radius: 6px; }
.tel-karta .kruh { background: var(--gold-2); }
.info-karta { background: #fff; border-radius: 6px; }
.mapa { border-radius: 6px; background: #fff; }
.formular { border-radius: 8px; }
.formular__hlava h3 { font-family: var(--f-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 34px; }
.pole input, .pole select, .pole textarea { border-radius: 4px; }
.cip span { border-radius: 4px; }
.cip input:checked + span { background: var(--gold-2); border-color: var(--gold-2); }
.konf-banner { border-radius: 6px; }
@media (max-width: 1100px) { .kmen-rez { display: none; } }

/* ---------- päta ---------- */
.pata { border-radius: 0; margin: 0; }
.pata__wordmark { background: linear-gradient(180deg, rgba(217, 164, 65, .5), rgba(217, 164, 65, .04)); -webkit-background-clip: text; background-clip: text; }
.pata h4 { color: var(--gold); font-family: var(--f-cond); font-size: 16px; letter-spacing: .2em; }

/* doladenie */
h2 em { font-style: normal; color: var(--gold-2); }
.kmen-rez { left: -16%; top: auto; bottom: -8%; transform: none; opacity: .6; }
.vejar__popis--l { left: 2%; top: 22%; }
.vejar__popis--r { right: 2%; bottom: 34%; }

.vejar__popis--r { right: -9%; bottom: 36%; }
@media (max-width: 560px) { .mini__kroky { display: none; } .dovod2[open] { margin-inline: 0; padding-inline: 14px; } }

/* ==========================================================================
   Fakty v2 — pravítko, 3D meter a ceruzka, napočítanie čísel
   ========================================================================== */
.fakty { position: relative; overflow: hidden; background: var(--tan); padding: clamp(84px, 9vw, 128px) 0 clamp(64px, 7vw, 104px);
  background-image: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, .55), transparent 60%),
    repeating-linear-gradient(176deg, rgba(120, 78, 34, 0) 0 22px, rgba(120, 78, 34, .035) 22px 23px, rgba(120, 78, 34, 0) 23px 47px); }
.fakty__pravitko { position: absolute; left: 0; right: 0; top: 0; height: 34px; background: linear-gradient(180deg, #F2C14E, #DCA53A); box-shadow: 0 8px 20px -10px rgba(58, 36, 16, .5); overflow: hidden; }
.fakty__pravitko span { position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, #2A2014 0 1.5px, transparent 1.5px 100px) 0 0 / 100% 20px no-repeat,
    repeating-linear-gradient(90deg, #2A2014 0 1.2px, transparent 1.2px 50px) 0 0 / 100% 13px no-repeat,
    repeating-linear-gradient(90deg, rgba(42, 32, 20, .75) 0 1px, transparent 1px 10px) 0 0 / 100% 8px no-repeat;
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2, .7, .1, 1); }
.fakty.is-on .fakty__pravitko span, .no-js .fakty__pravitko span { transform: none; }
.fakty__ghost { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; user-select: none; white-space: nowrap;
  font-family: var(--f-cond); font-weight: 700; font-size: clamp(130px, 22vw, 360px); line-height: .8; letter-spacing: -.01em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.6px rgba(120, 78, 34, .16); }
.fakty__in { position: relative; z-index: 2; }
.fakty__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fakt2 { position: relative; padding: 28px 26px 26px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .8); border-radius: 10px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 26px 50px -30px rgba(58, 36, 16, .55);
  opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease), box-shadow .4s; }
.fakty.is-on .fakt2, .no-js .fakt2 { opacity: 1; transform: none; }
.fakty.is-on .fakt2:nth-child(2) { transition-delay: .1s; } .fakty.is-on .fakt2:nth-child(3) { transition-delay: .2s; } .fakty.is-on .fakt2:nth-child(4) { transition-delay: .3s; }
.fakt2:hover { box-shadow: 0 34px 60px -28px rgba(58, 36, 16, .65); }
.fakt2::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.fakt2:hover::after { transform: scaleX(1); }
.fakt2__ikona { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: var(--gold); margin-bottom: 18px; }
.fakt2__ikona svg { width: 21px; height: 21px; }
.fakt2__h { display: flex; align-items: baseline; font-family: var(--f-cond); font-weight: 600; font-size: clamp(60px, 6.4vw, 96px); line-height: .9; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fakt2__h em, .fakt2__h i { font-style: normal; color: var(--gold-2); }
.fakt2__h em { font-size: .62em; margin-left: 2px; }
.fakt2__p { display: block; margin-top: 12px; font-weight: 700; font-size: 16px; color: var(--ink); }
.fakt2__s { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-3); }
.fakt2--zlato { background: var(--dark); border-color: var(--dark); }
.fakt2--zlato .fakt2__ikona { background: var(--gold); color: var(--dark); }
.fakt2--zlato .fakt2__h { color: #fff; }
.fakt2--zlato .fakt2__h em { color: var(--gold); }
.fakt2--zlato .fakt2__p { color: #fff; }
.fakt2--zlato .fakt2__s { color: rgba(255, 255, 255, .6); }
.fakt2--zlato::after { background: var(--gold); transform: scaleX(1); }

.fakty__deko { position: absolute; z-index: 1; pointer-events: none; }
.fakty__meter { width: clamp(200px, 21vw, 320px); right: -30px; top: 6px; }
.fakty__ceruzka { width: clamp(180px, 17vw, 260px); left: -24px; bottom: -14px; }
.fakty__hojdanie { transform-box: fill-box; transform-origin: 50% 100%; animation: hojd 7s ease-in-out infinite; }
.fakty__hojdanie--b { animation-duration: 9s; animation-delay: -2s; }
@keyframes hojd { 0%, 100% { rotate: 0deg; } 50% { rotate: 2.4deg; } }
.fakty__meter { transform: translateY(-30px) rotate(-6deg); opacity: 0; transition: transform 1.2s var(--ease) .3s, opacity .8s .3s; }
.fakty__ceruzka { transform: translateX(-30px); opacity: 0; transition: transform 1.2s var(--ease) .45s, opacity .8s .45s; }
.fakty.is-on .fakty__meter, .fakty.is-on .fakty__ceruzka, .no-js .fakty__deko { transform: none; opacity: 1; }

@media (max-width: 1100px) { .fakty__meter { width: 180px; right: -50px; top: 10px; } .fakty__ceruzka { display: none; } }
@media (max-width: 900px) { .fakty__grid { grid-template-columns: 1fr 1fr; gap: 12px; } .fakt2 { padding: 22px 18px 20px; } .fakt2__ikona { width: 38px; height: 38px; margin-bottom: 12px; } }
@media (max-width: 600px) { .fakty__meter { width: 130px; right: -40px; top: 18px; opacity: .9; } .fakty__ghost { font-size: 120px; } .fakt2__h { font-size: 54px; } }
@media (prefers-reduced-motion: reduce) { .fakty__hojdanie { animation: none; } .fakty__pravitko span, .fakt2, .fakty__deko { transition: none; transform: none; opacity: 1; } }
/* doladenie faktov */
.fakty__ghost { -webkit-text-stroke: 2px rgba(120, 78, 34, .22); top: 58%; }
.fakty__meter { width: clamp(220px, 19vw, 300px); right: 1.5%; top: 34px; }
.fakty__ceruzka { left: 1%; bottom: 6px; }
.fakty { padding-bottom: clamp(84px, 8vw, 120px); }
@media (max-width: 1100px) { .fakty__meter { width: 170px; right: -30px; top: 30px; } }
.fakty__meter { z-index: 3; width: clamp(200px, 16vw, 250px); right: 3.5%; top: 14px; }
.fakty__ceruzka { z-index: 3; width: clamp(200px, 16vw, 250px); }
@media (max-width: 1100px) { .fakty__meter { width: 150px; right: 0; top: 20px; } }
@media (max-width: 600px) { .fakty__meter { width: 110px; right: -18px; top: 34px; } .fakty { padding-top: 96px; } }
