/* =========================================================================
   Bau Nermin — Renoviranje & Sanacija
   Design system & stylesheet
   ========================================================================= */

:root {
  /* Brand palette */
  --ink:        #16242a;
  --ink-2:      #1d2f37;
  --ink-3:      #26404a;
  --amber:      #f4b01e;
  --amber-600:  #e09c00;
  --amber-text: #8a5a00; /* darker amber for small text on light bg (WCAG AA ~5.7:1 on white) */
  --amber-050:  #fff7e4;
  --paper:      #ffffff;
  --sand:       #f6f1e8;
  --sand-2:     #ece3d3;
  --line:       #e8dfd0;
  --footer-bg:  #efe9dd;
  --line-dark:  #313640;
  --text:       #1f2d34;
  --muted:      #5f6a70;
  --muted-2:    #93a0a6;
  --success:    #2e8b57;

  /* Typography */
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(20,22,26,.06), 0 2px 8px rgba(20,22,26,.05);
  --shadow-md: 0 8px 24px rgba(20,22,26,.10), 0 2px 6px rgba(20,22,26,.06);
  --shadow-lg: 0 24px 60px rgba(20,22,26,.18);
  --ring: 0 0 0 4px rgba(244,176,30,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(244,176,30,.55); border-radius: 6px; }
.section--ink :focus-visible, .hero :focus-visible { outline-color: #fff; }

/* Skip link */
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* Pause/play control for decorative background videos */
.vid-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 4; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28); background: rgba(15,17,20,.62); backdrop-filter: blur(6px); color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.vid-toggle:hover { background: rgba(15,17,20,.88); transform: scale(1.05); }
.vid-toggle svg { width: 18px; height: 18px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
section[id], #top { scroll-margin-top: 84px; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #eef0f3; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--muted); }
.section--ink p { color: #b7bdc7; }
strong { color: var(--text); }
.section--ink strong { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--amber-text);
}
.section--ink .eyebrow { color: var(--amber); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: 16px; font-size: 1.1rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--amber); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(244,176,30,.35); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.section--ink .btn--ghost, .hero .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { box-shadow: none; background: rgba(20,22,26,.04); }
.section--ink .btn--ghost:hover, .hero .btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { box-shadow: 0 12px 26px rgba(20,22,26,.28); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.section--ink .link-arrow { color: #fff; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,244,238,.9); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(20,22,26,.06); background: rgba(247,244,238,.96); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand svg, .brand img { height: 56px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); line-height: 1; white-space: nowrap; }
/* Big centered brand sign-off at the very bottom (blended, no box) */
.footer-brand { display: flex; justify-content: center; padding: clamp(30px, 5vw, 52px) 0 8px; }
.footer .brand img { height: 82px; transition: transform .3s var(--ease); }
.footer .brand:hover img { transform: translateY(-3px); }
@media (max-width: 560px) { .footer .brand img { height: 60px; } }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 9px; border-radius: 8px; font-weight: 600; font-size: .875rem; color: var(--text); white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--sand-2); color: var(--ink); }
.nav-links a.active { background: var(--sand-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Language toggle */
.lang-toggle { display: inline-flex; padding: 4px; background: var(--sand-2); border-radius: 999px; gap: 2px; }
.lang-toggle button {
  border: 0; background: transparent; color: #565b63; font-weight: 700; font-size: .8rem;
  padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; transition: background .2s, color .2s;
}
.lang-toggle button.is-active { background: var(--ink); color: #fff; }

.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--amber-600); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, rgba(18,32,38,.96) 0%, rgba(18,32,38,.82) 42%, rgba(18,32,38,.46) 100%),
    linear-gradient(0deg, rgba(18,32,38,.92) 0%, rgba(18,32,38,.12) 40%, rgba(18,32,38,.42) 100%),
    radial-gradient(1000px 520px at 90% 2%, rgba(244,176,30,.18), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { width: 100%; padding-block: clamp(96px, 12vh, 140px) clamp(32px, 5vh, 56px); }
.hero-copy { max-width: 700px; }
.hero .vid-toggle { top: 90px; right: 20px; left: auto; bottom: auto; z-index: 3; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .85rem; font-weight: 600; color: #dfe3e9;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(46,139,87,.25); }
.hero h1 { margin-top: 22px; color: #fff; }
.hero h1 .hl { color: var(--amber); }
.hero-sub { margin-top: 20px; font-size: 1.18rem; color: #c3c9d2; max-width: 34ch; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { margin-top: 40px; display: flex; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; }
.hero-stats .stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; line-height: 1; }
.hero-stats .stat .num span { color: var(--amber); }
.hero-stats .stat .lbl { margin-top: 6px; font-size: .86rem; color: #9aa0a8; }

/* Hero media (video) */
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(244,176,30,.12), transparent 62%),
    url("../assets/img/frame-motif.svg") center 44% / 110px no-repeat,
    linear-gradient(160deg, #1a1d24, #0e1013);
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; position: relative; }
.hero-media .frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,12,15,.55) 100%);
}
.hero-media .tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: rgba(15,17,20,.72); backdrop-filter: blur(6px);
  color: #fff; font-size: .82rem; font-weight: 600; border: 1px solid rgba(255,255,255,.14);
}
.hero-media .tag svg { width: 15px; height: 15px; color: var(--amber); }
.hero-media .badge-float {
  position: absolute; right: -14px; top: 26px; z-index: 3;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; max-width: 220px;
}
.hero-media .badge-float .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--amber-050); display: grid; place-items: center; flex-shrink: 0; }
.hero-media .badge-float .ic svg { width: 20px; height: 20px; color: var(--amber-600); }
.hero-media .badge-float b { font-family: var(--font-display); font-size: .98rem; display: block; }
.hero-media .badge-float small { color: var(--muted); font-size: .78rem; }

/* ---------- Trust / logos strip ---------- */
.trust { background: var(--ink); border-top: 1px solid var(--line-dark); }
.trust .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: #cfd4dc; font-weight: 600; font-size: .95rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--amber); flex-shrink: 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--amber); transition: width .35s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sand-2); }
.svc:hover::before { width: 100%; }
.svc-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--amber-050); display: grid; place-items: center; margin-bottom: 20px; }
.svc-ic svg { width: 28px; height: 28px; color: var(--amber-600); }
.svc h3 { margin-bottom: 10px; }
.svc p { font-size: .98rem; }
.svc .svc-list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc .svc-list li { font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--sand); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--media-right .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 4/5;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(244,176,30,.12), transparent 62%),
    url("../assets/img/frame-motif.svg") center 44% / 110px no-repeat,
    linear-gradient(160deg, #1a1d24, #0e1013); }
.split-media video, .split-media img { width: 100%; height: 100%; object-fit: cover; }
.about-points { margin-top: 28px; display: grid; gap: 16px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.about-points .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--amber-050); display: grid; place-items: center; margin-top: 2px; }
.about-points .tick svg { width: 15px; height: 15px; color: var(--amber-600); }
.about-points b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.about-points span { color: var(--muted); font-size: .96rem; }
.signature { margin-top: 30px; display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--amber); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.signature b { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; display: block; }
.signature span { color: var(--muted); font-size: .9rem; }

/* ---------- Why us / features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { transform: translateY(-4px); border-color: rgba(244,176,30,.45); }
.feature .fic { width: 50px; height: 50px; border-radius: 12px; background: rgba(244,176,30,.12); display: grid; place-items: center; margin-bottom: 18px; }
.feature .fic svg { width: 26px; height: 26px; color: var(--amber); }
.feature h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: #aeb4bd; font-size: .95rem; }

/* ---------- Work / gallery ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); display: flex; flex-direction: column;
  background: linear-gradient(160deg, #1a1d24, #0e1013); }
/* video keeps a 16/11 frame with its native controls fully accessible; caption sits below */
.work-card video { width: 100%; aspect-ratio: 16/11; object-fit: cover; display: block; background: #000; }
.work-card .work-meta { padding: 18px 20px; color: #fff; }
.work-card .work-meta h3 { color: #fff; font-size: 1.15rem; }
.work-card .work-meta p { color: #d5d9df; font-size: .9rem; margin-top: 4px; }
/* pill is a non-interactive badge so it never blocks the video controls */
.work-card .pill { position: absolute; top: 14px; left: 14px; z-index: 2; pointer-events: none; background: var(--amber); color: var(--ink); font-weight: 700; font-size: .76rem; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.gallery-note { margin-top: 28px; text-align: center; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; width: 46px; height: 46px; border-radius: 12px;
  background: var(--ink); color: var(--amber); display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .95rem; }
.step:not(:last-child) .n::after { content: ""; position: absolute; top: 23px; left: 58px; right: -10px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.review .stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--amber); }
.review .stars svg { width: 18px; height: 18px; }
.review p { color: var(--text); font-size: 1.02rem; line-height: 1.6; }
.review .rev-by { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 12px; }
.review .rev-by .av { width: 42px; height: 42px; border-radius: 50%; background: var(--sand-2); color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.review .rev-by b { display: block; font-size: .95rem; color: var(--ink); }
.review .rev-by span { font-size: .82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  padding: 24px 4px; background: none; border: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.faq-q .ic { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q .ic::after { transform: rotate(90deg); } /* vertical bar -> collapsed shows a plus */
.faq-q .ic { position: relative; }
.faq-q[aria-expanded="true"] .ic { background: var(--amber); border-color: var(--amber); }
.faq-q[aria-expanded="true"] .ic::after { transform: rotate(0deg); } /* both bars horizontal -> minus */
.faq-a { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.faq-a .faq-a-inner { padding: 0 4px 24px; color: var(--muted); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info .ci-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.contact-info .ci-item:last-child { border-bottom: 0; }
.contact-info .ci-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: rgba(244,176,30,.12); display: grid; place-items: center; }
.contact-info .ci-ic svg { width: 22px; height: 22px; color: var(--amber); }
.contact-info .ci-item .lbl { font-size: .82rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.contact-info .ci-item a, .contact-info .ci-item p { color: #fff; font-size: 1.08rem; font-weight: 600; margin-top: 2px; }
.contact-info .ci-item a:hover { color: var(--amber); }
.contact-hours { margin-top: 26px; padding: 20px 22px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.contact-hours .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; color: #cfd4dc; }
.contact-hours .row span:last-child { color: #fff; font-weight: 600; }

.form-card { background: var(--paper); color: var(--text); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { margin-bottom: 24px; font-size: .96rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field label .req { color: var(--amber-text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--sand); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); background: #fff; box-shadow: var(--ring); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #6b7079; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; }
.form-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--amber-600); flex-shrink: 0; }
.form-consent label { font-size: .84rem; color: var(--muted); }
.form-consent a { color: var(--amber-text); text-decoration: underline; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e9f6ee; color: #1f6b41; border: 1px solid #bfe6cd; }
.form-status.err { display: block; background: #fdecec; color: #a5342f; border: 1px solid #f4c9c6; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--amber);
  padding: clamp(38px, 6vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 50%; background: rgba(20,22,26,.06); }
.cta-band h2 { color: var(--ink); max-width: 18ch; position: relative; }
.cta-band p { color: #5c4a12; margin-top: 10px; font-weight: 500; position: relative; }
.cta-band .cta-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; position: relative; }
.cta-phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); white-space: nowrap; }
.cta-phone svg { width: 20px; height: 20px; }
.cta-phone:hover { text-decoration: underline; }

/* ---------- Galerija ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; transition: transform .4s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid--preview { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gallery-grid--preview { grid-template-columns: repeat(2, 1fr); } }
.gallery-more { text-align: center; margin-top: clamp(28px, 4vw, 40px); }
.gallery-empty { text-align: center; max-width: 560px; margin: 0 auto; padding: 20px 0 30px; }
.gallery-empty .ic { width: 76px; height: 76px; border-radius: 20px; background: var(--amber-050); display: grid; place-items: center; margin: 0 auto 22px; }
.gallery-empty .ic svg { width: 38px; height: 38px; color: var(--amber-600); }
.gallery-empty h3 { margin-bottom: 10px; }
.gallery-empty p { margin-bottom: 24px; }

/* ---------- Page hero (unutrašnje stranice) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding-block: clamp(118px, 13vw, 150px) clamp(40px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 420px at 88% 0%, rgba(244,176,30,.18), transparent 62%), linear-gradient(180deg, #16242a, #1d2f37); }
.page-hero .crumbs { font-size: .85rem; color: #9aa0a8; margin-bottom: 12px; font-weight: 600; }
.page-hero .crumbs a { color: var(--amber); }
.page-hero .crumbs a:hover { text-decoration: underline; }
.page-hero .crumbs span { margin: 0 7px; color: #5a6069; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: #b7bdc7; margin-top: 12px; font-size: 1.1rem; max-width: 62ch; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); color: #6f665a; padding-block: clamp(52px, 7vw, 84px) 0; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer .brand { color: var(--ink); }
.footer-about p { margin-top: 14px; font-size: .95rem; max-width: 34ch; color: #6f665a; }
.footer .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: #5a5147; transition: background .2s, color .2s, border-color .2s; }
.footer .socials a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.footer .socials svg { width: 18px; height: 18px; }
.footer h4 { color: var(--ink); font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: #6f665a; font-size: .95rem; padding: 5px 0; }
.footer-col a:hover { color: var(--amber-text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; margin-top: 6px; font-size: .86rem; color: #8a8072; border-top: 1px solid var(--line); }
.footer-bottom a { color: #6f665a; } .footer-bottom a:hover { color: var(--amber-text); }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; gap: 12px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); color: #fff; transition: transform .25s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab .wa { background: #25d366; }
.fab .call { background: var(--ink); display: none; }
.fab a svg { width: 26px; height: 26px; }

/* ---------- Reveal animation (only when JS is on, so no-JS shows content) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* Image tiles pop in individually (subtle scale) and lift on hover */
.js .gallery-grid a.reveal { transform: translateY(28px) scale(.94); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.js .gallery-grid a.reveal.in { transform: none; }
.gallery-grid a:hover { box-shadow: var(--shadow-lg); border-color: var(--amber); }

/* Review cards: smooth hover lift feedback */
.js .review.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s var(--ease); }
.review { transition: box-shadow .35s var(--ease); }
.review:hover { box-shadow: var(--shadow-lg); }

/* ---------- Mobile menu panel ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 80; overflow: hidden; background: rgba(20,22,26,.5); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .panel { position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 86vw); background: #fff;
  box-shadow: var(--shadow-lg); padding: 26px 24px; transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; }
.mobile-menu.open .panel { transform: none; }
.mobile-menu .m-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-menu .m-close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.4rem; color: var(--ink); }
.mobile-menu nav a { display: block; padding: 15px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .m-foot { margin-top: auto; padding-top: 24px; }
.mobile-menu .m-foot .btn { width: 100%; margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child) .n::after { display: none; }
  .reviews { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
/* hide header phone before it crowds the nav (8 longer German nav items need the room) */
@media (max-width: 1660px) { .nav-phone { display: none; } }

/* switch to the hamburger menu before the longer German nav items overflow */
@media (max-width: 1180px) {
  .nav-links, .nav-phone, .nav-actions > .btn { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .nav-links, .nav-phone, .nav-actions > .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav { gap: 10px; height: 74px; }
  .brand img, .brand svg { height: 44px; }
  .nav-actions { gap: 8px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin-inline: auto; width: 100%; order: -1; }
  .hero-media .frame { aspect-ratio: 16/12; }
  .hero-media .badge-float { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--media-right .split-media { order: -1; }
  .split-media .frame { max-width: 460px; aspect-ratio: 16/12; }
  .contact-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .services-grid, .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust .container { justify-content: flex-start; gap: 16px 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-top { grid-template-columns: 1fr; }
  .fab .call { display: grid; }
  .hero-stats { gap: 22px 32px; }
}

/* ---------- Impressum / pravne informacije ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-bottom: 10px; }
.legal h3 { font-size: 1.05rem; margin-top: 30px; margin-bottom: 6px; color: var(--ink); }
.legal p { color: var(--text); line-height: 1.75; }
.legal a { color: #b07d10; text-decoration: underline; }
.legal a:hover { text-decoration: none; }
