/* ============================================================
   NEST man's fashion — dizajn sistem
   Paleta: topla monohromatska osnova + crveni akcenat brenda
   ============================================================ */

@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/PlayfairDisplay-500.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/PlayfairDisplay-600.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/PlayfairDisplay-500i.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/Inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Inter-600.woff2') format('woff2'); }

:root {
  --black: #0a0a0a;
  --charcoal: #272726;
  --gray: #7d7d7d;
  --border: #d6d6d6;
  --offwhite: #f9f8f6;
  --white: #ffffff;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ease-slide: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-head: cubic-bezier(0.075, 0.82, 0.165, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.1px;
  color: var(--charcoal);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- Najava (announcement bar) ---------- */
.announce {
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 16px;
}
.announce span { color: var(--red); font-weight: 600; margin: 0 6px; }

/* ---------- Zaglavlje ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header.hide { animation: headerOut 0.2s var(--ease-head) both; }
.site-header.show { animation: headerIn 0.4s var(--ease-head) both; }
@keyframes headerIn  { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes headerOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav > li > a,
.main-nav > li > button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: none;
  border: none;
  cursor: pointer;
  padding: 28px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  transition: color 0.2s ease;
}
.main-nav > li > a::after,
.main-nav > li > button::after {
  content: '';
  position: absolute;
  left: 0; bottom: 20px;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s var(--ease-head);
}
.main-nav > li > a:hover,
.main-nav > li > button:hover { color: var(--red); }
.main-nav > li > a:hover::after,
.main-nav > li > button:hover::after { width: 100%; }
.main-nav > li > a.active { color: var(--red); }
.main-nav > li > a.active::after { width: 100%; }
.nav-caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }

/* Mega panel */
.has-mega { position: static; }
.mega-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 40px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: transform 0.4s var(--ease-head), opacity 0.4s var(--ease-head), visibility 0.4s;
}
.has-mega:hover .mega-panel,
.has-mega:focus-within .mega-panel,
.has-mega.open .mega-panel { opacity: 1; transform: translateY(0); visibility: visible; }
.mega-inner {
  max-width: 1320px; margin: 0 auto; padding: 36px 24px 40px;
  display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px;
}
.mega-intro .mega-kicker {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 12px;
}
.mega-intro p {
  font-family: var(--serif);
  font-size: 24px; line-height: 1.35; color: var(--charcoal);
}
.mega-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; }
.mega-links a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.mega-links a small { font-size: 10px; letter-spacing: 1px; color: var(--gray); text-transform: none; }
.mega-links a:hover { color: var(--red); padding-left: 8px; }
.mega-all { grid-column: 1 / -1; margin-top: 18px; }
.mega-all a {
  display: inline-block; border: 1px solid var(--charcoal); padding: 11px 30px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.mega-all a:hover { background: var(--charcoal); color: var(--white); }

/* Hamburger */
.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 34px; height: 26px; position: relative; z-index: 320;
}
.burger span {
  position: absolute; left: 4px; right: 4px; height: 2px;
  background: var(--charcoal); transition: 0.3s var(--ease-head);
}
.burger span:nth-child(1) { top: 5px; }
.burger span:nth-child(2) { top: 12px; }
.burger span:nth-child(3) { top: 19px; }
.burger.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

/* Mobilni panel */
.mobile-panel {
  position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw);
  background: var(--white); z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-head);
  padding: 100px 32px 40px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel > a, .mobile-panel > .m-cat-toggle {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 15px 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  background: none; border-left: none; border-right: none; border-top: none;
  cursor: pointer; font-family: var(--sans); font-weight: 500; color: var(--charcoal);
  text-align: left;
}
.mobile-panel > a:hover { color: var(--red); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-head); }
.m-sub.open { max-height: 480px; }
.m-sub a {
  display: block; padding: 11px 0 11px 16px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
  border-bottom: 1px solid #ececec;
}
.m-sub a:hover { color: var(--red); }
.mobile-contact { margin-top: auto; padding-top: 32px; font-size: 13px; color: var(--gray); }
.mobile-contact a { color: var(--red); font-weight: 600; }
.overlay {
  position: fixed; inset: 0; background: rgba(10,10,10,0.45); z-index: 250;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
}
.overlay.open { opacity: 1; visibility: visible; }

/* ---------- Hero slajder ---------- */
.hero { position: relative; height: calc(100vh - 76px); min-height: 560px; max-height: 980px; overflow: hidden; background: var(--black); }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s var(--ease-slide), visibility 0.8s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  transform: translateX(0) scale(1.02);
}
.slide.active img { animation: slideIn 0.8s var(--ease-slide) both; }
.slide.leaving img { animation: slideOut 0.8s var(--ease-slide) both; }
@keyframes slideIn  { from { opacity: 0.35; transform: translateX(16px) scale(1.04); } to { opacity: 1; transform: translateX(0) scale(1.02); } }
@keyframes slideOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0.35; transform: translateX(-16px); } }
.slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.62) 0%, rgba(10,10,10,0.18) 45%, rgba(10,10,10,0.12) 100%);
}
.slide-caption {
  position: absolute; left: 6vw; bottom: 11vh; z-index: 5;
  color: var(--white); max-width: 640px;
}
.slide-caption .kicker {
  display: inline-block;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  border-left: 2px solid var(--red); padding-left: 14px; margin-bottom: 18px;
}
.slide-caption h1, .slide-caption h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 76px); line-height: 1.06;
  margin-bottom: 22px; text-wrap: balance;
}
.slide-caption p { font-size: 15px; color: rgba(255,255,255,0.82); max-width: 460px; margin-bottom: 30px; }
.btn {
  display: inline-block; min-width: 185px; text-align: center;
  padding: 14px 34px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--white); color: var(--white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn.btn-red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.btn-dark { border-color: var(--charcoal); color: var(--charcoal); }
.btn.btn-dark:hover { background: var(--charcoal); color: var(--white); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5); background: rgba(10,10,10,0.18);
  color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }
.hero-dots {
  position: absolute; bottom: 34px; right: 6vw; z-index: 10;
  display: flex; gap: 12px;
}
.hero-dots button {
  width: 34px; height: 3px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s ease;
}
.hero-dots button.active { background: var(--red); }
.hero-count {
  position: absolute; bottom: 26px; left: 6vw; z-index: 10;
  color: rgba(255,255,255,0.75); font-size: 11px; letter-spacing: 2px;
}
.hero-count b { color: var(--white); font-weight: 500; }

/* ---------- Sekcije ---------- */
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.dark { background: var(--black); color: var(--white); }
.section.white { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker-line {
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px; font-weight: 600;
}
.kicker-line::before { content: ''; width: 42px; height: 1px; background: var(--red); }
.section-head.center .kicker-line { justify-content: center; }
.section-head.center .kicker-line::after { content: ''; width: 42px; height: 1px; background: var(--red); }
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 54px); line-height: 1.12; color: var(--black);
  text-wrap: balance;
}
.dark .section-title { color: var(--white); }
.section-sub { margin-top: 18px; color: var(--gray); font-size: 15px; max-width: 560px; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* Uvodni tekst */
.intro-narrow { max-width: 640px; margin: 0 auto; text-align: center; }
.intro-narrow p.lead {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.4; color: var(--charcoal);
}
.intro-narrow p.lead em { color: var(--red); }
.intro-narrow .small { margin-top: 22px; color: var(--gray); }

/* ---------- Mreža kategorija ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px;
}
.cat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cat-card { display: block; }
.cat-media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; background: #e9e7e3;
}
.cat-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-head);
}
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-media .cat-tag {
  position: absolute; left: 16px; top: 16px;
  background: var(--white); color: var(--charcoal);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 12px;
}
.cat-info { padding: 18px 2px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cat-info h3 {
  font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--black);
  transition: color 0.2s ease;
}
.cat-card:hover .cat-info h3 { color: var(--red); }
.cat-info span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); white-space: nowrap; }

/* ---------- Editorial split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.split.rev > .split-media { order: 2; }
.split-media { overflow: hidden; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 0.8s var(--ease-head);
}
.split:hover .split-media img { transform: scale(1.04); }
.split-body .kicker-line { margin-bottom: 16px; }
.split-body h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15; color: var(--black); margin-bottom: 20px; text-wrap: balance;
}
.split-body p { color: var(--gray); margin-bottom: 16px; }
.split-body .btn { margin-top: 14px; }

/* Statistika / vrednosti */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.value { border-top: 1px solid rgba(255,255,255,0.22); padding-top: 26px; }
.value .num { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--white); }
.value .num i { font-style: normal; color: var(--red); }
.value h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin: 14px 0 8px; color: var(--white); }
.value p { font-size: 13.5px; color: rgba(255,255,255,0.62); }

/* ---------- Stranica: naslovna traka ---------- */
.page-hero {
  background: var(--black); color: var(--white);
  padding: 84px 0 76px; position: relative; overflow: hidden;
}
.page-hero .crumbs {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.page-hero .crumbs a:hover { color: var(--red); }
.page-hero .crumbs b { color: var(--red); font-weight: 500; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 68px); line-height: 1.05;
}
.page-hero p { margin-top: 16px; max-width: 560px; color: rgba(255,255,255,0.68); }
.page-hero .ph-mark {
  position: absolute; right: -40px; bottom: -70px;
  font-family: var(--serif); font-size: 300px; line-height: 1; color: rgba(255,255,255,0.045);
  pointer-events: none; user-select: none; font-weight: 600;
}

/* ---------- Galerija proizvoda (masonry) ---------- */
.gallery { columns: 3; column-gap: 24px; }
.gallery figure {
  break-inside: avoid; margin-bottom: 24px; overflow: hidden; position: relative;
  background: #e9e7e3;
}
.gallery img { width: 100%; transition: transform 0.7s var(--ease-head); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(10,10,10,0.55), transparent);
  color: var(--white); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* Uskoro stranica */
.soon {
  position: relative; min-height: 72vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.soon > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soon::after { content: ''; position: absolute; inset: 0; background: rgba(10,10,10,0.58); }
.soon-inner { position: relative; z-index: 2; padding: 90px 0; max-width: 620px; }
.soon-inner h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 58px); line-height: 1.1; margin-bottom: 18px; }
.soon-inner p { color: rgba(255,255,255,0.8); margin-bottom: 30px; }

/* ---------- O nama ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-list { border-top: 1px solid var(--border); }
.contact-list .row {
  display: grid; grid-template-columns: 150px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-list .row dt {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray);
  padding-top: 4px;
}
.contact-list .row dd { font-size: 16px; color: var(--charcoal); }
.contact-list .row dd a { color: var(--red); font-weight: 600; }
.contact-list .row dd a:hover { text-decoration: underline; }
.map-wrap { position: relative; overflow: hidden; }
.map-wrap img { width: 100%; }
.map-wrap .map-btn {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--white); color: var(--charcoal);
  padding: 12px 24px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: background 0.2s ease, color 0.2s ease;
}
.map-wrap .map-btn:hover { background: var(--red); color: var(--white); }
.map-note { font-size: 11px; color: var(--gray); margin-top: 10px; }
.map-note a { text-decoration: underline; }

/* ---------- CTA traka ---------- */
.cta-strip { text-align: center; }
.cta-strip h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12; margin-bottom: 16px;
}
.cta-strip p { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 34px; }
.cta-strip .phone-big {
  display: block; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px);
  color: var(--white); margin-bottom: 34px; letter-spacing: 0.04em;
}
.cta-strip .phone-big:hover { color: var(--red); }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.72); }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr; gap: 40px;
  padding: 76px 0 56px;
}
.footer-brand .f-logo {
  font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--white);
  letter-spacing: 0.06em; line-height: 1;
}
.footer-brand .f-logo b { color: var(--red); font-weight: 600; }
.footer-brand .f-tag {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-top: 6px; display: block;
}
.footer-brand p { margin-top: 22px; font-size: 13.5px; max-width: 300px; }
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white);
  margin-bottom: 20px; font-weight: 600;
}
.footer-col a { display: block; padding: 6px 0; font-size: 13.5px; transition: color 0.2s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: var(--red); padding-left: 6px; }
.footer-col address { font-style: normal; font-size: 13.5px; line-height: 2; }
.footer-col address a { display: inline; padding: 0; color: var(--red); font-weight: 600; }
.social-link {
  display: flex !important; align-items: center; gap: 11px;
  padding: 8px 0 !important;
}
.social-link svg {
  width: 19px; height: 19px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s var(--ease-head);
}
.social-link:hover svg { transform: translateY(-2px); }
.social-link:hover { padding-left: 0 !important; }
.mobile-socials { display: flex; gap: 22px; margin-top: 14px; }
.mobile-socials a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--charcoal); font-weight: 500;
}
.mobile-socials a:hover { color: var(--red); }
.mobile-socials svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 16px;
  font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.42);
}

/* ---------- Reveal animacije ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-head), transform 0.8s var(--ease-head); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal].in { transform: translateX(0); }

/* ---------- Odzivnost ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .mega-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > .split-media { order: 0; }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery { columns: 2; }
  .section { padding: 76px 0; }
  .hero-arrow { display: none; }
  .cat-grid, .cat-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cat-grid, .cat-grid.cols-3 { grid-template-columns: 1fr; gap: 40px; }
  .cat-info { flex-wrap: wrap; gap: 4px 12px; }
  .cat-info h3 { font-size: 24px; }
  .cat-info span { white-space: normal; }
  .gallery { columns: 1; }
  .slide-caption { left: 24px; right: 24px; bottom: 90px; }
  .hero-dots { right: 24px; }
  .hero-count { left: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
}
