/* ==========================================================================
   GTS d.o.o. — sections.css
   Stilovi po sekcijama, redom kako se pojavljuju na stranici.
   Responsive pravila stoje na kraju svake sekcije.
   ========================================================================== */

/* ---------- 1. Hero ---------- */

.hero {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  min-height: max(760px, 100vh); min-height: max(760px, 100svh);
}
.hero__bg { position: absolute; top: -96px; bottom: 0; left: 0; right: 0; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero__shade { position: absolute; inset: 0; }
.hero__shade--x { background: linear-gradient(to right, rgba(11, 10, 9, .9) 0%, rgba(11, 10, 9, .6) 42%, rgba(11, 10, 9, .1) 100%); }
.hero__shade--y { background: linear-gradient(to bottom, rgba(11, 10, 9, .6) 0%, transparent 28%, transparent 55%, var(--bg) 100%); }
.hero__grid {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(237, 230, 220, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 230, 220, .05) 1px, transparent 1px);
  background-size: 96px 96px;
}
.hero__corner { position: absolute; z-index: 2; top: 104px; width: 24px; height: 24px; pointer-events: none; border-top: 1px solid rgba(237, 230, 220, .5); }
.hero__corner--l { left: max(8px, calc((100% - var(--container)) / 2 - 16px)); border-left: 1px solid rgba(237, 230, 220, .5); }
.hero__corner--r { right: max(8px, calc((100% - var(--container)) / 2 - 16px)); border-right: 1px solid rgba(237, 230, 220, .5); }

.hero__drawing { position: absolute; z-index: 2; right: max(24px, calc((100% - var(--container)) / 2)); bottom: 176px; width: min(44vw, 580px); }
.hero__drawing svg { width: 100%; height: auto; overflow: visible; }

.hero__content { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 152px 0 48px; }
.hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.hero__heading { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.hero__title { font-size: clamp(44px, 9vw, 128px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.hero__title em { font-weight: 200; font-style: italic; color: var(--cream); }
.hero__line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.12em; }
.hero__line > span { display: block; }
.js [data-mask] { transform: translateY(110%); }
.hero__rule { width: min(100%, 560px); }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; width: min(100%, 600px); margin-top: 16px; }
.hero__text { max-width: 480px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; color: var(--body); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats {
  position: relative; z-index: 2; margin-bottom: 32px;
  background: rgba(11, 10, 9, .62); border: 1px solid rgba(237, 230, 220, .16);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; align-items: center; gap: 16px; padding: 24px 16px; border-left: 1px solid rgba(237, 230, 220, .16); color: var(--ink); transition: background .5s; }
.stat:first-child { border-left: 0; }
.stat:hover { background: rgba(11, 10, 9, .55); color: var(--ink); }
.stat__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat__num { font-size: 11px; letter-spacing: .15em; color: var(--accent); }
.stat__name { font-size: 15px; font-weight: 400; }
.stat__arrow { margin-left: auto; color: var(--accent); }

@media (max-width: 959px) {
  .hero__drawing { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(237, 230, 220, .16); }
}

@media (max-width: 479px) {
  .stat { gap: 12px; padding: 20px 12px; }
  .stat svg { width: 28px; height: 28px; flex: none; }
  .stat__arrow { display: none; }
  .stat__name { overflow-wrap: anywhere; }
}

/* ---------- 2. Zašto GTS ---------- */

.stack { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 96px); }
.stack--tight { gap: clamp(32px, 4vw, 56px); }
.stack--loose { gap: clamp(48px, 6vw, 80px); }

.about__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px 64px; align-items: stretch; }
.about__copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.about__head { display: flex; flex-direction: column; gap: 24px; }
.about__title { font-size: clamp(48px, 7vw, 104px); }
.about__lede { display: flex; flex-direction: column; gap: 32px; }
.about__lede p { max-width: 360px; }
.ruler {
  height: 24px; max-width: 360px;
  background-image: repeating-linear-gradient(90deg, rgba(237, 230, 220, .45) 0 1px, transparent 1px 8px), repeating-linear-gradient(90deg, var(--accent) 0 1px, transparent 1px 40px), linear-gradient(rgba(237, 230, 220, .3), rgba(237, 230, 220, .3));
  background-size: 100% 8px, 100% 16px, 100% 1px; background-repeat: no-repeat;
}
.about__figure { position: relative; padding: 40px 48px 0 0; }
.about__figure .dim--h { position: absolute; top: 0; left: 0; right: 48px; }
.about__figure .dim--v { position: absolute; top: 40px; right: 0; bottom: 0; }
.about__thumb { aspect-ratio: 5 / 4; }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { display: flex; flex-direction: column; gap: 24px; padding: 32px; background: var(--bg); transition: background .6s; }
.pillar:hover { background: var(--surface); }
.pillar__top { display: flex; align-items: flex-start; justify-content: space-between; }
.pillar__idx { font-size: 48px; font-weight: 200; font-style: italic; line-height: 1; color: rgba(237, 230, 220, .16); }
.pillar h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.pillar p { font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.about__more { display: flex; justify-content: flex-end; }

@media (max-width: 1099px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 3. Usluge ---------- */

.services__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.services__title { font-size: clamp(40px, 6vw, 88px); }

.acc { display: flex; border: 1px solid var(--line-strong); height: clamp(440px, 72vh, 660px); height: clamp(440px, 72svh, 660px); }
.acc__item {
  position: relative; display: block; overflow: hidden; flex: 1 1 0%; min-width: 0;
  border-right: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: flex .9s var(--ease), min-height .7s var(--ease);
}
.acc__item:last-child { border-right: 0; }
.acc__item:hover { color: var(--ink); }
.acc__item.is-active { flex: 5 1 0%; }
.acc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(.6); transform: scale(1.12); transition: filter .9s, transform 1.6s var(--ease); }
.is-active .acc__img { filter: brightness(.85) saturate(1); transform: scale(1.04); }
.acc__shade { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(11, 10, 9, .85)); pointer-events: none; }
.acc__num { position: absolute; top: 24px; left: 24px; z-index: 1; font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.acc__vt {
  position: absolute; left: 24px; bottom: 24px; writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 32px); letter-spacing: -.01em; white-space: nowrap;
  transition: opacity .5s;
}
.is-active .acc__vt { opacity: 0; }
.acc__body {
  position: absolute; left: 32px; right: 32px; bottom: 32px; display: flex; flex-direction: column; gap: 16px;
  opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .6s .15s, transform .9s .1s var(--ease);
}
.is-active .acc__body { opacity: 1; transform: none; }
.acc__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4.6vw, 76px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.acc__cta { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .04em; color: var(--accent); }

@media (max-width: 899px) {
  .acc { flex-direction: column; height: auto; overflow-anchor: none; }
  .acc__item { transition: none; }
  .acc__img { filter: none; transition: transform 1s var(--ease), opacity .5s; opacity: .55; will-change: transform; }
  .is-active .acc__img { filter: none; opacity: .95; }
  .acc__item { flex: none; min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .acc__item:last-child { border-bottom: 0; }
  .acc__item.is-active { flex: none; min-height: 200px; }
  .acc__vt { display: none; }
  .acc__body { left: 24px; right: 24px; bottom: 20px; gap: 8px; opacity: 1; transform: none; }
  .acc__title { font-size: clamp(22px, 6.4vw, 32px); }
  .acc__item:not(.is-active) .acc__cta { display: none; }
}

/* ---------- 4. Izrada (3D kuhinja uz skrol) ---------- */

html.is-vlock, html.is-vlock body, html.is-vlock .build, html.is-vlock .site-header { touch-action: none; overscroll-behavior: none; }
.build { position: relative; height: 340vh; border-top: 1px solid var(--line); }
.build__sticky { position: sticky; top: 0; display: flex; align-items: center; overflow: hidden; height: 100vh; height: 100svh; }
.build__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(184, 144, 95, .14), transparent 70%),
    linear-gradient(rgba(237, 230, 220, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 230, 220, .04) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}
.build__wrap {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 56px;
  width: min(1560px, calc(100% - var(--gutter))); max-height: 100%; margin-inline: auto; padding: 80px 0 16px;
}
.build__text { display: flex; flex-direction: column; gap: 32px; flex: 1 1 300px; max-width: 420px; min-width: 0; }
.build__caps { position: relative; height: clamp(150px, 22vh, 232px); }
.build__cap { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 16px; opacity: 0; transition: opacity .6s, transform .8s var(--ease); }
.build__cap:first-child { opacity: 1; }
.build__cap-num { font-size: clamp(72px, 9vw, 120px); font-weight: 200; font-style: italic; line-height: .9; color: var(--accent); }
.build__cap h3 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.build__cap p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.build__steps { display: flex; gap: 8px; }
.build__step { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.build__step-label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.build__step-label.is-active { color: var(--ink); }
.build__step-bar { position: relative; display: block; height: 1px; background: var(--line); }
.build__step-fill { position: absolute; left: 0; top: 0; width: 0; height: 1px; background: var(--accent); }

.build__stage { position: relative; flex: 2 1 440px; min-width: 0; height: clamp(340px, calc(100vh - 170px), 780px); height: clamp(340px, calc(100svh - 170px), 780px); }
.build__world {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(ellipse 76% 76% at 50% 50%, #000 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 76% at 50% 50%, #000 68%, transparent 100%);
}
.build__world canvas, .build__world > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.build__world > img { object-fit: cover; }
.build__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 899px) {
  .build__world { -webkit-mask-image: none; mask-image: none; }
  .build__wrap { flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 12px; height: 100%; padding-top: 72px; }
  .build__text { flex: 0 0 auto; max-width: none; gap: 16px; }
  .build__caps { height: 176px; }
  .build__stage { flex: 1 1 0; min-height: 0; height: auto; }
}
@media (max-width: 899px) { .build__step-word { display: none; } }

/* ---------- 5. Projekti ---------- */

.projects { position: relative; padding-block: var(--section-y); border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 40% at 85% 0, rgba(184, 144, 95, .12), transparent 70%); }
.projects__inner { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.projects__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.projects__titlewrap { display: flex; flex-direction: column; gap: 24px; }
.projects__title { font-size: clamp(56px, 10vw, 152px); line-height: .95; font-weight: 500; letter-spacing: -0.04em; }
.projects__title em { font-weight: 200; font-style: italic; color: var(--cream); }

.filters { display: flex; flex-wrap: wrap; gap: 8px 32px; padding-bottom: 12px; }
.filter { position: relative; padding: 8px 0; font-size: 16px; font-weight: 400; letter-spacing: .02em; color: var(--muted); transition: color .4s; }
.filter:hover, .filter.is-active { color: var(--ink); }
.filter::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.filter.is-active::after { transform: none; }

.track {
  display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 32px);
  padding: 0 max(24px, calc((100% - var(--container)) / 2)) 80px;
  scroll-padding-left: max(24px, calc((100% - var(--container)) / 2));
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  user-select: none; -webkit-user-select: none; cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; }

.card { flex: none; width: clamp(280px, 30vw, 440px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; }
.card.is-offset { margin-top: 64px; }
.card[hidden] { display: none; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); background: var(--surface); }
.card__par { position: absolute; top: 0; bottom: 0; left: -12%; width: 124%; will-change: transform; }
.card__par img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; transition: transform 1.8s var(--ease); }
.card:hover .card__par img { transform: scale(1.07); }
.card__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, rgba(11, 10, 9, .78)); pointer-events: none; }
.card__tag { position: absolute; top: 0; left: 16px; padding: 16px 8px; background: var(--cream); color: var(--bg); font-size: 11px; font-weight: 500; letter-spacing: .15em; writing-mode: vertical-rl; pointer-events: none; }
.card__num { position: absolute; left: 16px; bottom: 8px; font-size: 72px; font-weight: 200; font-style: italic; line-height: 1; color: var(--ink); pointer-events: none; }
.card__body { display: flex; flex-direction: column; gap: 4px; }
.card__name { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.card__desc { font-size: 14px; line-height: 1.6; color: var(--muted); }

.projects__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: -32px; }
.projects__counter { min-width: 72px; font-size: 14px; font-weight: 400; letter-spacing: .15em; color: var(--ink); }
.progress { position: relative; flex: 1; min-width: 120px; height: 1px; background: var(--line); }
.progress__bar { position: absolute; left: 0; top: -1px; width: 100%; height: 3px; background: var(--accent); transform: scaleX(.04); transform-origin: left; }
.arrows { display: flex; gap: 8px; }

/* ---------- 6. Proces ---------- */

.process__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px 64px; align-items: end; }
.process__copy { display: flex; flex-direction: column; gap: 32px; }
.process__title { max-width: 680px; font-size: clamp(36px, 5vw, 64px); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.process__cta { align-self: flex-start; font-size: 15px; font-weight: 400; }
.process__figure { position: relative; justify-self: end; display: flex; gap: 24px; width: min(100%, 380px); padding-right: 48px; }
.process__figure .frame { flex: 1; }
.process__thumb { aspect-ratio: 3 / 4; }
.process__thumb img { object-position: 35% 50%; }
.process__figure .dim--v { position: absolute; top: 0; right: 0; bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step { display: flex; flex-direction: column; gap: 24px; padding: 32px 24px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .6s; }
.step:hover { background: var(--surface); }
.step__top { display: flex; align-items: center; gap: 16px; }
.step__num { font-size: 12px; font-weight: 400; letter-spacing: .15em; color: var(--accent); }
.step__rule { flex: 1; height: 1px; background: var(--line); }
.step__text { display: flex; flex-direction: column; gap: 8px; }
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.step p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Tablet: tri kartice u prvom redu, "Izrada" i "Montaža" dele drugi red */
@media (min-width: 640px) and (max-width: 1099px) {
  .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .step:nth-child(-n+3) { grid-column: span 2; }
  .step:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 639px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 7. Materijali ---------- */

.materials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(48px, 6vw, 96px); align-items: start; }
.materials__col { display: flex; flex-direction: column; gap: 48px; }
.materials__head { display: flex; flex-direction: column; gap: 24px; }
.materials__title { font-size: clamp(36px, 4.6vw, 60px); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.materials__lead { max-width: 520px; text-wrap: pretty; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 152px), 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); transition: border-color .5s; }
.tile:hover { border-color: var(--accent); }
.tile svg { stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 17px; font-weight: 500; }
.tile p { font-size: 14px; line-height: 1.6; color: var(--muted); }

.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.swatch { display: flex; flex-direction: column; gap: 12px; }
.swatch__chip { overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--line); }
.swatch__fill { display: block; width: 100%; height: 100%; transition: transform 1.8s var(--ease); }
.swatch__chip:hover .swatch__fill { transform: scale(1.08); }
.swatch__meta { display: flex; flex-direction: column; gap: 4px; }
.swatch__name { font-size: 14px; font-weight: 400; line-height: 1.4; }
.swatch__code { font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--accent); }

.swatch__fill--wood { background: repeating-linear-gradient(92deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 7px), repeating-linear-gradient(88deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 19px), linear-gradient(180deg, var(--a), var(--b)); }
.swatch__fill--halifax { --a: #d9cbb2; --b: #c9b998; }
.swatch__fill--kendal { --a: #94623a; --b: #7a4d2b; }
.swatch__fill--marble { background: linear-gradient(115deg, transparent 40%, rgba(120, 115, 108, .28) 41%, transparent 43%), linear-gradient(62deg, transparent 58%, rgba(120, 115, 108, .2) 59%, transparent 61.5%), linear-gradient(160deg, #ece8e0, #d9d4ca); }
.swatch__fill--concrete { background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .07), transparent 50%), radial-gradient(circle at 75% 70%, rgba(0, 0, 0, .25), transparent 55%), #4a4846; }
.swatch__fill--graphite { background: linear-gradient(160deg, #242321, #141312); }
.swatch__fill--truffle { background: linear-gradient(160deg, #6a5748, #52423a); }

.materials__links { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.materials__links a { font-size: 15px; font-weight: 400; }

@media (max-width: 639px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 8. Brojevi ---------- */

.numbers { border-block: 1px solid var(--line); }
.numbers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px 48px; padding-block: 64px; }
.numbers__item { display: flex; flex-direction: column; gap: 8px; }
.numbers__value { font-size: clamp(56px, 7vw, 88px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; color: var(--cream); }
.numbers__label { font-size: 15px; color: var(--muted); }

/* ---------- 9. Partneri ---------- */

.partners { padding-block: var(--section-y); overflow: hidden; }
.partners__inner { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 64px); }
.partners__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px 64px; align-items: end; }
.partners__titlewrap { display: flex; flex-direction: column; gap: 24px; }
.partners__title { font-size: clamp(32px, 4.4vw, 56px); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.partners__note { max-width: 400px; justify-self: end; }
.partners__rows { display: flex; flex-direction: column; gap: 32px; }
.partners__row { display: flex; flex-direction: column; gap: 16px; }
.partners__strip {
  padding: 24px 0; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand { gap: 48px; padding-right: 48px; }
.brand__name { font-size: clamp(40px, 6vw, 80px); font-weight: 500; letter-spacing: .04em; line-height: 1; color: var(--ink); opacity: .5; transition: opacity .5s; }
.brand__name:hover { opacity: 1; }
.brand--outline .brand__name { color: transparent; -webkit-text-stroke: 1px var(--ink); }

/* ---------- 10. Poziv na akciju ---------- */

.cta { position: relative; overflow: hidden; padding-block: clamp(96px, 12vw, 192px); text-align: center; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.cta__shade { position: absolute; inset: 0; background: rgba(11, 10, 9, .72); }
.cta::before, .cta::after { content: ''; position: absolute; left: 0; right: 0; height: 128px; pointer-events: none; z-index: 1; }
.cta::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.cta::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta__title { font-size: clamp(36px, 5.6vw, 72px); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.cta__text { max-width: 520px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; color: var(--body); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 16px; }

/* ---------- 11. Kontakt ---------- */

.contact__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px 64px; align-items: end; }
.contact__titlewrap { display: flex; flex-direction: column; gap: 24px; }
.contact__title { font-size: clamp(40px, 6vw, 88px); line-height: 1.02; text-wrap: balance; }
.contact__note { max-width: 360px; justify-self: end; }
.contact__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 32px; align-items: stretch; }
.contact__info { display: flex; flex-direction: column; gap: 16px; }

.info-card { display: grid; grid-template-columns: 80px minmax(0, 1fr); border: 1px solid var(--line); background: var(--bg); transition: border-color .5s, background .5s; }
.info-card:hover { border-color: rgba(184, 144, 95, .6); background: var(--surface); }
.info-card__icon { display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.info-card__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; min-width: 0; }
.info-card__label { font-size: 11px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.info-card__label b { margin-right: 8px; font-weight: 400; color: var(--accent); }
.info-card__value { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; line-height: 1.3; }
.info-card__value > span { color: var(--accent); }
.info-card__value a { max-width: 100%; overflow-wrap: anywhere; }

.info-card__hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; font-size: clamp(17px, 1.8vw, 20px); font-weight: 400; line-height: 1.3; }
.info-card__hours dt { color: var(--muted); }
.info-card__hours dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }

.map { position: relative; flex: 1; min-height: 260px; margin-top: 8px; }
.map__frame { position: absolute; inset: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map__frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.9); }
.map__badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg); border: 1px solid rgba(237, 230, 220, .2); font-size: 13px; font-weight: 400; pointer-events: none; }
.map__badge::before { content: ''; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }

.form-card { position: relative; padding: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); }
.form-card__bar { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.form-card__bar i { display: block; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.form { display: flex; flex-direction: column; gap: 32px; }
.form__head { display: flex; flex-direction: column; gap: 8px; }
.form__head h3 { font-size: clamp(28px, 3vw, 36px); font-weight: 500; letter-spacing: -0.02em; }
.form__head p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.form__alt { font-size: 14px; }
.form__status { display: none; flex-direction: column; gap: 16px; padding: 48px 0; }
.form__status-icon { font-size: 32px; font-weight: 200; font-style: italic; line-height: 1; color: var(--accent); }
.form__status h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; }
.form__status p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.form-card.is-sent .form { display: none; }
.form-card.is-sent .form__status { display: flex; }

@media (max-width: 479px) {
  .info-card__hours { grid-template-columns: 1fr; gap: 0; }
  .info-card__hours dd { margin-bottom: 8px; }
  .info-card { grid-template-columns: 56px minmax(0, 1fr); }
  .info-card__body { padding: 20px 16px; }
}

/* ---------- 12. Footer (efekat zavese) ---------- */

.footer-spacer { height: 0; }
.footer {
  position: relative; z-index: 0; display: flex; flex-direction: column; overflow: hidden;
  min-height: clamp(560px, 100vh, 900px); min-height: clamp(560px, 100svh, 900px);
  background: var(--bg); border-top: 1px solid var(--line-strong);
}
.footer.is-fixed { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; }
.footer__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(184, 144, 95, .22), transparent 70%),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(184, 144, 95, .1), transparent 70%),
    linear-gradient(rgba(237, 230, 220, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 230, 220, .035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
}
.footer__hline, .footer__vline { position: absolute; background: rgba(184, 144, 95, .5); pointer-events: none; opacity: 0; transition: opacity .3s; }
.footer__hline { left: 0; right: 0; top: 0; height: 1px; }
.footer__vline { top: 0; bottom: 0; left: 0; width: 1px; }

.footer__bar { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 16px 24px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer__readout { color: var(--accent); font-variant-numeric: tabular-nums; }

.footer__band { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-strong); }
.footer__band--a { padding: 8px 0; border-top: 1px solid var(--line-strong); }
.footer__band--b { padding: 16px 0; }
.footer__big { gap: 48px; padding-right: 48px; }
.footer__big-text { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 11vw, 176px); line-height: 1; letter-spacing: -.03em; white-space: nowrap; color: var(--ink); }
.footer__big--outline .footer__big-text { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.footer__slash { font-family: var(--font-serif); font-style: italic; font-size: clamp(48px, 7vw, 112px); line-height: 1; color: var(--accent); }
.footer__word { gap: 32px; padding-right: 32px; }
.footer__word-text { font-family: var(--font-serif); font-style: italic; font-size: clamp(28px, 3.4vw, 48px); line-height: 1; color: var(--soft); white-space: nowrap; }

.footer__grid { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; gap: 32px 64px; width: min(1360px, calc(100% - var(--gutter))); margin-inline: auto; padding-block: 24px; }
.contact-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.contact-row { display: flex; flex-direction: column; align-self: stretch; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line-strong); }
.contact-row__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.contact-row__value {
  align-self: flex-start; max-width: 100%; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: transparent;
  background-image: linear-gradient(90deg, var(--accent), var(--accent)), linear-gradient(90deg, var(--ink), var(--ink));
  background-size: 0% 100%, 100% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size .9s var(--ease);
}
.contact-row:hover .contact-row__value { background-size: 100% 100%, 100% 100%; }
.contact-row__value--xl { font-size: clamp(40px, min(7.4vw, 12vh), 120px); }
.contact-row__value--lg { font-size: clamp(32px, min(4.6vw, 8vh), 76px); }
.contact-row__value--md { font-size: clamp(24px, min(3.2vw, 5.6vh), 52px); }
@supports (height: 1svh) {
  .contact-row__value--xl { font-size: clamp(40px, min(7.4vw, 12svh), 120px); }
  .contact-row__value--lg { font-size: clamp(32px, min(4.6vw, 8svh), 76px); }
  .contact-row__value--md { font-size: clamp(24px, min(3.2vw, 5.6svh), 52px); }
}

.footer__side { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: clamp(0px, 2vh, 24px); }
.footer__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.footer__address { display: flex; flex-direction: column; gap: 12px; }
.footer__address a { font-size: 20px; font-weight: 300; line-height: 1.4; }
.footer__nav { display: flex; flex-direction: column; align-self: stretch; gap: 4px; }
.footer__nav .footer__label { margin-bottom: 8px; }
.footer__nav a { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 16px; font-weight: 300; color: var(--ink); transition: color .4s, padding-left .5s var(--ease); }
.footer__nav a:hover { color: var(--accent); padding-left: 12px; }
.footer__nav a span { min-width: 20px; font-size: 10px; letter-spacing: .1em; color: var(--accent); }
.footer__magnet { display: inline-block; transition: transform .35s var(--ease); }

.footer__legal { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 16px 24px; border-top: 1px solid var(--line-strong); }
.footer__legal small { font-size: 13px; color: var(--soft); }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal nav a { font-size: 13px; color: var(--soft); }
.footer__legal nav a:hover { color: var(--ink); }
.footer__top { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--ink); }
.footer__saw { display: block; width: 56px; height: 56px; will-change: transform; }

@media (max-width: 1099px) {
  .footer__grid { gap: 32px 48px; }
}
@media (max-width: 899px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
  .footer__bar, .footer__legal { padding-inline: 16px; }
  .footer__legal nav { gap: 8px 16px; }
}
