/* ============================================================
   BODY ONE — pilates studio, Varaždin
   Paleta izvedena iz loga: zlato #E0B93E + topla tamnosmeđa #372F2A.
   Tamna tema.
   ============================================================ */

:root {
  /* --- Boje (iz loga) --- */
  --gold:      #e0b93e;
  --gold-300:  #ecce6d;
  --gold-200:  #f3dd8f;
  --gold-600:  #c99b2a;

  --brown:     #372f2a;

  /* Tamni tonovi baze (topli, near-black) */
  --bg-950:    #14100c;
  --bg-900:    #191410;
  --bg-850:    #1f1913;
  --bg-800:    #251d16;
  --bg-700:    #2e251c;

  --cream:     #f4ecdc;
  --ink:       #14100c;

  /* --- Semantika --- */
  --bg:            var(--bg-900);
  --bg-alt:        var(--bg-950);
  --surface:       #221b14;
  --text:          var(--cream);
  --text-muted:    #b3a892;
  --accent:        var(--gold);
  --line:          rgba(224, 185, 62, 0.16);
  --line-soft:     rgba(244, 236, 220, 0.10);

  /* --- Tipografija --- */
  --font-display: "Anton", "Archivo", sans-serif;
  --font-body:    "Archivo", system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;

  /* --- Razmaci / radijusi / sjene --- */
  --wrap: 1200px;
  --gap: clamp(16px, 3vw, 28px);
  --sec-y: clamp(64px, 9vw, 128px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow: 0 22px 60px -26px rgba(0, 0, 0, 0.8);
  --shadow-soft: 0 14px 38px -22px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(224,185,62,.18), 0 18px 44px -24px rgba(224,185,62,.4);

  /* --- Easing / trajanja --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 560ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 5vw, 48px); }
.section { padding-block: var(--sec-y); }
section[id] { scroll-margin-top: 84px; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9999;
  opacity: 0.04; mix-blend-mode: soft-light;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 10000;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ---------- Tipografski helperi ---------- */
.eyebrow, .section-label, .c-label, .form-title {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}
.section-label { color: var(--accent); margin-bottom: 14px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
}
.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--text-muted); max-width: 54ch; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 40ch; }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  min-height: 48px;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  will-change: transform;
}
.btn svg { flex-shrink: 0; }
.btn-sm { padding: 11px 20px; min-height: 42px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-300); transform: translateY(-2px); box-shadow: var(--glow); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(244,236,220,.28); }
.btn-ghost:hover { background: var(--gold); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gold); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: color-mix(in srgb, var(--bg-950) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color var(--dur) var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.12rem; line-height: 0.95; letter-spacing: 0.03em;
  display: flex; flex-direction: column;
}
.brand-sub {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 0.56rem; letter-spacing: 0.24em; color: var(--gold);
  margin-top: 4px;
}
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a {
  font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); position: relative; padding: 4px 0;
  transition: color 300ms var(--ease);
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--accent); transition: width 300ms var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform 300ms var(--ease), opacity 300ms var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--bg-950); color: var(--cream); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 88% 8%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 52%),
    radial-gradient(90% 80% at 0% 100%, color-mix(in srgb, var(--brown) 80%, transparent), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr 0.85fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 104px);
}
.hero-copy { min-width: 0; }
.hero .eyebrow { color: var(--gold-200); margin-bottom: 22px; }
.hero-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 10vw, 7rem); line-height: 1.02; letter-spacing: 0.005em;
  margin-bottom: 24px; padding-top: 0.08em;
}
.hero-title .line { display: block; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: clamp(1.02rem, 1.7vw, 1.28rem); color: var(--text-muted); max-width: 44ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.rating { display: flex; align-items: center; gap: 10px; }
.rating-num { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.rating-txt { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.hero-addr { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--text-muted); border-bottom: 1px solid transparent; transition: border-color 300ms, color 300ms; }
.hero-addr:hover { border-color: var(--gold-200); color: var(--gold-200); }

.hero-media { min-width: 0; }
.hero-video-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 3 / 4; max-height: 560px; margin-inline: auto;
  border: 1px solid var(--line);
}
.hero-video-frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-badge {
  position: absolute; left: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--bg-950) 78%, transparent);
  backdrop-filter: blur(6px);
  color: var(--cream); font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.hero-video-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 70%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- STUDIO ---------- */
.studio { background: var(--bg-900); }
.studio-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-list { display: grid; gap: 16px; margin-top: 32px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feat-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); border: 1px solid var(--line); }
.feat-ico svg { width: 22px; height: 22px; }
.feature-list strong { display: block; font-size: 1.02rem; }
.feature-list span { color: var(--text-muted); font-size: 0.94rem; }
.studio-media { position: relative; }
.studio-media > img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); aspect-ratio: 4 / 5; object-fit: cover; min-height: 0; border: 1px solid var(--line-soft); }
.studio-quote {
  position: absolute; left: -10px; bottom: -26px; max-width: 80%;
  background: var(--gold); color: var(--ink);
  padding: 22px 24px 20px; border-radius: var(--r-md); box-shadow: var(--shadow);
}
.studio-quote .q-mark { font-family: var(--font-display); font-size: 2.4rem; line-height: 0.4; color: var(--brown); display: block; height: 22px; }
.studio-quote p { font-size: 1.02rem; font-weight: 500; }
.studio-quote .q-src { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: color-mix(in srgb, var(--brown) 80%, transparent); margin-top: 8px; display: block; }

/* ---------- USLUGE ---------- */
.programs { background: var(--bg-alt); }
.programs-grid { display: grid; grid-template-columns: minmax(0, 540px); justify-content: center; gap: var(--gap); }
.program-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--line); }
.program-card.is-featured { background: linear-gradient(160deg, var(--bg-700), var(--surface)); border-color: var(--line); box-shadow: var(--glow); }
.p-badge {
  align-self: flex-start; font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--gold); color: var(--ink); padding: 5px 10px; border-radius: var(--r-pill); margin-bottom: 18px; font-weight: 700;
}
.p-ico { width: 46px; height: 46px; color: var(--gold); margin-bottom: 16px; }
.p-ico svg { width: 100%; height: 100%; }
.p-title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; line-height: 1; letter-spacing: 0.01em; margin-bottom: 10px; }
.p-desc { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 20px; flex-grow: 1; }
.p-price { font-family: var(--font-mono); font-size: 0.9rem; color: var(--gold-200); padding-top: 16px; border-top: 1px solid var(--line-soft); }
.p-price b { font-size: 1.08rem; color: var(--gold); }

.note { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); }

/* ---------- GALERIJA ---------- */
.gallery { background: var(--bg-900); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: var(--gap); }
.g-item { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line-soft); }
.g-item img { width: 100%; height: 100%; object-fit: cover; min-height: 0; min-width: 0; transition: transform 700ms var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- TRENERICA ---------- */
.team { background: var(--bg-alt); }
.team-grid { display: grid; grid-template-columns: minmax(0, 480px); justify-content: center; gap: var(--gap); }
.team-photo img { object-position: center; }
.team-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.team-photo { position: relative; background: var(--bg-800); min-height: 240px; min-width: 0; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.team-body { padding: 26px 26px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.team-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.7rem; line-height: 1; letter-spacing: 0.01em; }
.team-role { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin: 8px 0 12px; }
.team-bio { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- RECENZIJE ---------- */
.reviews { background: var(--bg-900); }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vw, 52px); }
.google-badge { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 22px; box-shadow: var(--shadow-soft); transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.google-badge:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.google-badge strong { display: block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.02em; }
.google-badge span { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.review-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px 28px 26px; display: flex; flex-direction: column; }
.review-card.is-hidden { display: none; }
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 1.04rem; color: var(--text); flex-grow: 1; }
.review-foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); color: var(--ink); font-size: 1.1rem; flex-shrink: 0; background: var(--gold); }
.review-name { font-weight: 600; font-size: 0.96rem; }
.review-when { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.reviews-more { margin-top: 32px; display: flex; justify-content: center; }

/* ---------- KONTAKT ---------- */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 20px; margin: 32px 0 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.c-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); border: 1px solid var(--line); }
.c-ico svg { width: 21px; height: 21px; }
.c-label { display: block; color: var(--gold-200); margin-bottom: 3px; }
.contact-list a, .contact-list .hours-today { color: var(--cream); font-size: 1.02rem; border-bottom: 1px solid transparent; transition: border-color 300ms; overflow-wrap: anywhere; }
.contact-list li > div { min-width: 0; }
.contact-list a:hover { border-color: var(--gold-200); }
.hours-table { display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.hours-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.92rem; padding: 5px 0; }
.hours-row .day { color: var(--text-muted); text-transform: capitalize; }
.hours-row .val { font-family: var(--font-mono); font-size: 0.84rem; letter-spacing: 0.03em; }
.hours-row.closed .val { color: var(--gold-200); }
.hours-row.is-today .day, .hours-row.is-today .val { color: var(--cream); font-weight: 700; }

.booking-card { background: linear-gradient(165deg, var(--bg-800), var(--surface)); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.booking-card .form-title { color: var(--accent); margin-bottom: 14px; }
.booking-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; letter-spacing: 0.01em; margin-bottom: 14px; }
.booking-text { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 26px; }
.booking-or { display: flex; align-items: center; gap: 14px; margin: 16px 0; color: var(--text-muted); font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; }
.booking-or::before, .booking-or::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.booking-socials { display: flex; gap: 10px; margin-top: 26px; justify-content: center; }
.booking-socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); transition: background-color 300ms, color 300ms, transform 300ms; }
.booking-socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.booking-socials svg { width: 20px; height: 20px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--bg-950); color: var(--cream); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line-soft); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; letter-spacing: 0.02em; }
.footer-tag { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold-200); text-transform: uppercase; letter-spacing: 0.1em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); transition: color 300ms; }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-soft); color: var(--cream); transition: background-color 300ms, color 300ms, transform 300ms; }
.footer-social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px 28px; border-top: 1px solid var(--line-soft); }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.03em; }

/* ---------- REVEAL animacije ---------- */
/* Zadano vidljivo (bez JS-a ili ako main.js zakaže). Skriva se i animira samo uz .js klasu. */
.reveal { opacity: 1; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-850); border-bottom: 1px solid var(--line-soft);
    padding: 8px clamp(18px, 5vw, 48px) 20px;
    transform: translateY(-120%); transition: transform 380ms var(--ease); box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 15px 0; font-size: 0.92rem; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 340px; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-media { margin-bottom: 40px; }
  .studio-quote { position: static; max-width: 100%; margin-top: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .team-card { grid-template-columns: minmax(0, 1fr); }
  .team-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .team-photo img { object-position: center 42%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-item.hide-mobile { display: none; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  :root { --dur: 340ms; } /* ~40% brže na mobitelu */
  .footer-bottom { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
