/* =========================================================
   Mody Nick Daniel – one page
   ========================================================= */

/* ---------- Pisave (gostovane lokalno, licenca SIL OFL) ---------- */
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #ffd81f;
  --yellow-dark: #f2c500;
  --ink: #161616;
  --ink-soft: #3b3b3b;
  --muted: #6b6560;
  --cream: #f8f5ef;
  --sand: #efe9e1;
  --line: #e2dbd1;
  --dark: #141414;
  --dark-2: #1d1d1d;
  --fb: #1877f2;

  --font-head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(20, 20, 20, .10);
  --header-h: 76px;
  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1, h2 { font-family: var(--font-head); font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--yellow-dark); outline-offset: 3px; }

/* ---------- Ikone ---------- */
.ico { width: 18px; height: 18px; flex: none; }
.ico-lg { width: 26px; height: 26px; }
.ico-xl { width: 44px; height: 44px; }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  font: 600 15px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 999px; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(242, 197, 0, .28); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .15); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-fb { background: var(--fb); color: #fff; }
.btn-fb:hover { background: #0f63d1; }

/* =========================================================
   GLAVA
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 245, 239, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .07); border-color: var(--line); }

.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand img { width: 150px; height: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a:not(.btn) {
  position: relative; display: block; padding: 6px 0;
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink);
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transition: transform .25s;
}
.main-nav a:not(.btn):hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { font-weight: 600; }
.nav-cta { display: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  color: #fff; background: #232323;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 720px);
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-jeans.jpg") 70% 38% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, .88) 0%, rgba(12, 12, 12, .72) 34%, rgba(12, 12, 12, .25) 62%, rgba(12, 12, 12, .05) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .25), transparent 40%);
}
.hero-inner { position: relative; padding-top: 56px; padding-bottom: 56px; }
.hero-logo { width: 220px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); margin-bottom: 22px; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.hero-lead { font-size: 17px; max-width: 440px; color: rgba(255, 255, 255, .92); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-note { display: flex; gap: 16px; align-items: flex-start; max-width: 420px; }
.hero-note .ico { color: var(--yellow); width: 38px; height: 38px; margin-top: 2px; }
.hero-note p { margin: 0; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.hero-note strong { color: #fff; font-size: 16px; }

/* =========================================================
   PONUDBA / JEANS
   ========================================================= */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .38em; text-transform: uppercase;
  margin-bottom: 18px; color: var(--ink);
}
.offer-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.offer h2 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 18px; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 460px; }

.tailor-card {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--sand); border-radius: var(--radius-lg);
  padding: 24px 26px; margin: 30px 0 34px;
}
.tailor-card .ico { margin-top: 4px; }
.tailor-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; font-family: var(--font-body); }
.tailor-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: step; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.steps li + li::before {
  content: "→"; position: absolute; left: -12px; top: 18px;
  color: #b3aaa0; font-size: 18px; transform: translateX(-50%);
}
.step-ico {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
  margin-bottom: 8px;
}
.step-ico .ico { width: 28px; height: 28px; }
.step-num { font-weight: 600; font-size: 14px; }
.step-label { font-size: 14px; line-height: 1.3; color: var(--ink-soft); }

.offer-photos {
  display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: 1fr 1fr; gap: 12px;
  height: 540px;
}
.ph { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ph:hover img { transform: scale(1.04); }
.ph-tall { grid-row: 1 / 3; }
.ph-tall img { object-position: 22% 50%; }
.offer-photos .ph:nth-child(3) img { object-position: 100% 50%; }

/* =========================================================
   ŽENSKA / MOŠKA MODA
   ========================================================= */
.categories { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--cream); }
.cat { position: relative; min-height: 420px; overflow: hidden; display: flex; align-items: center; }
.cat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat:hover .cat-img { transform: scale(1.03); }
.cat-women .cat-img { object-position: 78% 30%; }
.cat-men .cat-img { object-position: 70% 25%; }
.cat::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(244, 238, 232, .97) 0%, rgba(244, 238, 232, .88) 36%, rgba(244, 238, 232, .1) 64%, transparent 100%);
}
.cat-men::before {
  background: linear-gradient(90deg, rgba(236, 233, 229, .97) 0%, rgba(236, 233, 229, .88) 36%, rgba(236, 233, 229, .1) 64%, transparent 100%);
}
.cat-body { position: relative; z-index: 2; padding: 48px 56px; }
.cat h2 { font-size: clamp(34px, 3.6vw, 44px); text-transform: uppercase; line-height: 1; }
.cat h2::after { content: ""; display: block; width: 36px; height: 3px; background: var(--yellow-dark); margin: 20px 0 16px; }
.cat ul { margin-bottom: 26px; }
.cat li { font-size: 15.5px; line-height: 1.65; }

/* =========================================================
   O NAS
   ========================================================= */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about h2 { font-size: clamp(32px, 3.8vw, 46px); margin-bottom: 20px; }
.about-text > p:not(.lead):not(.eyebrow) { color: var(--ink-soft); max-width: 560px; }
.about-text .lead { margin-bottom: 16px; max-width: 560px; }
.about-points { margin-top: 26px; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.about-points .ico {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
}

/* =========================================================
   VEDNO KAJ NOVEGA
   ========================================================= */
.news { padding: 72px 0; }
.news-grid { display: grid; grid-template-columns: minmax(300px, .8fr) 2fr; gap: 40px; align-items: center; }
.news h2 { font-size: clamp(30px, 3.2vw, 38px); margin-bottom: 14px; }
.news-text .btn { white-space: nowrap; }
.news-text p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }

.gallery-wrap { position: relative; min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 7px 15px; border-radius: 999px; cursor: pointer;
  font: 500 13.5px/1.2 var(--font-body);
  transition: background-color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: thin;
}
.gallery li { flex: 0 0 auto; scroll-snap-align: start; }
.gallery li.is-hidden { display: none; }
.gallery a { display: block; height: 300px; border-radius: 8px; overflow: hidden; background: var(--sand); }
.gallery img { height: 100%; width: auto; object-fit: cover; transition: transform .4s ease, filter .3s; }
.gallery a:hover img { transform: scale(1.05); }

.gallery-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.gal-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background-color .2s;
}
.gal-btn:hover { background: var(--yellow); border-color: var(--yellow); }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { background: var(--dark); color: #fff; padding: 48px 0; }
.contact-title { font-size: clamp(28px, 3vw, 36px); margin-bottom: 28px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 24px; align-items: stretch; }
.contact-col {
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg); padding: 26px 26px 28px;
}
.col-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7); margin-bottom: 20px;
}
.col-title .ico { color: var(--yellow); }
.contact-list { display: grid; gap: 16px; margin-bottom: 24px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.contact-list .ico { color: #fff; margin-top: 1px; width: 22px; height: 22px; }
.contact-list a { text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--yellow); }

.hours dl { margin: 0; display: grid; gap: 0; }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hours dl div:last-child { border-bottom: 0; }
.hours dt { color: rgba(255, 255, 255, .72); }
.hours dd { margin: 0; font-weight: 600; white-space: nowrap; }

.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; background: #e4efe2; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 18px; color: var(--ink); }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -100%);
  color: #e53935; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3));
}
.map-pin .ico { width: 46px; height: 46px; }
.map-card {
  position: absolute; left: calc(50% + 26px); top: calc(40% - 64px);
  background: #fff; border-radius: 8px; padding: 10px 14px;
  font-size: 13px; line-height: 1.4; box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
.map-card strong { display: block; font-size: 13.5px; }
.btn-dark { position: relative; background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.map-hint { position: relative; margin: 10px 0 0; font-size: 12px; color: #4b5a49; }

/* =========================================================
   NOGA
   ========================================================= */
.site-footer { background: #0c0c0c; color: rgba(255, 255, 255, .6); padding: 32px 0; font-size: 13.5px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-logo { width: 120px; }
.footer-company { margin: 0; flex: 1; }
.footer-copy { margin: 0; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-links a:hover { color: var(--yellow); text-decoration: underline; }

/* =========================================================
   PRAVNE STRANI (zasebnost, impresum)
   ========================================================= */
.legal-header .header-inner { justify-content: space-between; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.legal { padding: 64px 0 88px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 12px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; font-family: var(--font-body); }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); text-decoration-color: var(--yellow-dark); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal a:hover { color: #000; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; margin: 0 0 8px; }
.info-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.info-card dt { color: var(--muted); }
.info-card dd { margin: 0; font-weight: 500; }
.note { background: var(--sand); border-left: 4px solid var(--yellow-dark); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 24px 0; }
.note p { margin: 0; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 10, 10, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); font-size: 14px; margin-top: 14px; text-align: center; max-width: 640px; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s, color .2s;
}
.lightbox button:hover { background: var(--yellow); color: var(--ink); }
.lightbox .ico { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
body.no-scroll { overflow: hidden; }

/* ---------- Animacija ob pomiku ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   ODZIVNOST
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav ul { gap: 22px; }
  .offer-grid { gap: 40px; }
  .cat-body { padding: 40px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 128px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .1);
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px 24px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a:not(.btn) { padding: 14px 0; font-size: 16px; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a.is-active { color: #000; box-shadow: inset 4px 0 0 var(--yellow); padding-left: 12px; }
  .nav-cta { display: inline-flex; align-self: flex-start; }

  .offer-grid, .about-grid, .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid .map { grid-column: 1 / -1; }
  .offer-photos { height: 460px; }
  .about-photo { aspect-ratio: 16 / 11; max-height: 460px; }
  .categories { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }

  .hero { min-height: 0; }
  .hero-bg { background-position: 62% 45%; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(12, 12, 12, .35) 0%, rgba(12, 12, 12, .62) 38%, rgba(12, 12, 12, .8) 100%);
  }
  .hero-inner { padding-top: 120px; padding-bottom: 40px; }
  .hero-logo { display: none; }
  .hero h1 { font-size: 38px; margin-bottom: 16px; }
  .hero-lead { font-size: 16px; margin-bottom: 24px; }
  .hero-actions { margin-bottom: 30px; }
  .hero-actions .btn { flex: 1 1 auto; }

  .tailor-card { padding: 20px; gap: 16px; }
  .tailor-card .ico-xl { width: 34px; height: 34px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .steps li + li::before { display: none; }

  .offer-photos { height: 380px; gap: 8px; }

  /* kategorije: fotografija zgoraj, besedilo spodaj */
  .categories { gap: 0; }
  .cat { min-height: 0; flex-direction: column; align-items: stretch; background: var(--sand); }
  .cat-men { background: #ebe8e4; }
  .cat::before { display: none; }
  .cat-img { position: static; height: 300px; }
  .cat-body { padding: 28px 20px 36px; }
  .cat h2 br { display: none; }
  .cat h2::after { margin: 14px 0 12px; }
  .cat ul { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
  .cat li { background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px 12px; font-size: 14px; line-height: 1.5; }

  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  .gallery a { height: 240px; }
  .gallery-nav { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-col { padding: 22px 20px; }
  .map { min-height: 320px; }
  .map-pin { top: 30%; }
  .map-card { left: 50%; top: 32%; transform: translateX(-50%); text-align: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-company { flex: none; }
  .footer-right { align-items: flex-start; text-align: left; }
  .legal { padding: 40px 0 64px; }
  .info-card { padding: 20px; }
  .info-card dl { grid-template-columns: 1fr; gap: 2px; }
  .info-card dd { margin-bottom: 10px; }

  .lightbox { padding: 64px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
