/* ==========================================================================
   Signalizacija Magovnik — Shared Stylesheet
   Brand: Antracit + Signal žuta + Bijela
   Fontovi: Barlow Condensed (display) + Inter (body)
   ========================================================================== */

/* ── DESIGN TOKENS ───────────────────────────────────────────────────────── */
:root {
  --yellow:           #F5C400;
  --yellow-dark:      #C49E00;
  --anthracite:       #1C1C1E;
  --anthracite-mid:   #2C2C2E;
  --anthracite-light: #3A3A3C;
  --grey-pale:        #F0F0F0;
  --grey-mid:         #D0D0D0;
  --grey-text:        #6E6E73;
  --white:            #FFFFFF;
  --success:          #2D7A3A;
  --danger:           #C43A3A;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:    76px;
  --radius:   4px;
  --radius-lg:8px;
  --ease:     0.2s ease;
  --max-w:    1200px;
  --pad-x:    clamp(20px, 5vw, 48px);
  --sec-pad:  clamp(72px, 10vw, 128px);

  --shadow-sm: 0 2px 8px rgba(28,28,30,.08);
  --shadow-md: 0 8px 24px rgba(28,28,30,.12);
  --shadow-lg: 0 16px 48px rgba(28,28,30,.16);
}

/* ── RESET & BASE ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--anthracite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--yellow); color: var(--anthracite);
  padding: 12px 20px; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.skip-link:focus { left: 0; }

/* ── LAYOUT ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--pad-x);
}
.section       { padding: var(--sec-pad) 0; }
.section--dark { background: var(--anthracite); color: var(--white); }
.section--pale { background: var(--grey-pale); }

.lane { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; }
.lane-seg { height: 5px; background: var(--yellow); border-radius: 2px; }
.lane-seg.long  { flex: 3; }
.lane-seg.short { flex: 1; opacity: .35; }

.section-label {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800; line-height: 1.03;
  letter-spacing: -.01em; margin-bottom: 20px;
}
.section-body {
  font-size: 17px; line-height: 1.7;
  color: var(--grey-text); max-width: 720px;
}
.section--dark .section-body { color: var(--grey-mid); }

/* ── LOGO MARK ───────────────────────────────────────────────────────────── */
.logo-mark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-mark__small {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--yellow);
}
.logo-mark__main {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--white); margin-top: 1px;
}
.logo-mark__stripe {
  width: 100%; height: 5px;
  background: var(--yellow); margin-top: 5px;
}

/* ── NAVIGATION ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--nav-h);
  background: var(--anthracite);
  border-bottom: 3px solid var(--yellow);
  display: flex; align-items: center;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--pad-x);
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-family: var(--font-display); font-size: 15px;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--grey-mid); transition: color var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link.active { color: var(--yellow); }

.nav__phone {
  font-family: var(--font-body); font-size: 15px;
  font-weight: 600; color: var(--white);
  display: flex; align-items: center; gap: 6px;
}
.nav__phone svg { width: 14px; height: 14px; fill: var(--yellow); }

.nav__cta {
  font-family: var(--font-display); font-size: 14px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--yellow); color: var(--anthracite);
  padding: 11px 24px; border-radius: var(--radius);
  transition: background var(--ease), transform var(--ease);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--yellow-dark); transform: translateY(-1px); }

.nav__toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; flex-direction: column; gap: 5px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform var(--ease), opacity var(--ease); }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav--open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--anthracite);
    padding: 16px var(--pad-x) 24px;
    border-bottom: 3px solid var(--yellow);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav--open .nav__link {
    padding: 12px 0; width: 100%; font-size: 18px;
    border-bottom: 1px solid var(--anthracite-light);
  }
  .nav--open .nav__cta { margin-top: 16px; width: 100%; text-align: center; }
  .nav--open .nav__phone { display: flex; padding: 12px 0; }
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 16px;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 16px 32px; border-radius: var(--radius);
  border: 2px solid; cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.btn-primary {
  background: var(--yellow); color: var(--anthracite);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark); border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,196,0,.25);
}
.btn-secondary {
  background: transparent; color: var(--white);
  border-color: var(--anthracite-light);
}
.btn-secondary:hover { border-color: var(--white); }
.btn-secondary--dark { color: var(--anthracite); border-color: var(--anthracite); }
.btn-secondary--dark:hover { background: var(--anthracite); color: var(--white); }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  margin-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  background: var(--anthracite);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg,
    var(--yellow) 0, var(--yellow) 80px,
    transparent 80px, transparent 120px);
}
.hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 5vw, 64px);
  position: relative; z-index: 2;
  width: 100%; max-width: 760px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 12px;
  font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 24px;
}
.hero__badge::before {
  content: ''; display: block; width: 32px; height: 3px; background: var(--yellow);
}
.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 800; line-height: .95; letter-spacing: -.02em;
  color: var(--white); margin-bottom: 8px;
}
.hero__h1 span { color: var(--yellow); display: block; }
.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--grey-mid); margin: 24px 0 40px;
  line-height: 1.65; max-width: 480px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; background: var(--anthracite-mid);
}
.hero__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__stats {
  position: absolute; top: 32px; right: 24px;
  display: flex; flex-direction: column; gap: 12px; z-index: 2;
}
.hero__stat {
  background: rgba(28,28,30,.88);
  border: 1px solid var(--anthracite-light);
  border-left: 3px solid var(--yellow);
  padding: 14px 20px; border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.hero__stat-num {
  font-family: var(--font-display); font-size: 30px;
  font-weight: 800; color: var(--white); line-height: 1;
}
.hero__stat-label {
  font-size: 11px; color: var(--grey-text);
  margin-top: 3px; letter-spacing: .04em;
}

@media (max-width: 900px) {
  .hero { min-height: 78vh; }
  .hero__content { max-width: 100%; }
  .hero__stats {
    flex-direction: row; top: auto;
    bottom: 16px; right: 12px; left: 12px;
  }
  .hero__stat { flex: 1; }
}

/* ── PAGE HERO (smaller — for sub-pages) ─────────────────────────────────── */
.page-hero {
  margin-top: var(--nav-h);
  background: var(--anthracite);
  color: var(--white);
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--yellow) 0, var(--yellow) 60px,
    transparent 60px, transparent 90px);
}
.page-hero__badge {
  font-family: var(--font-display); font-size: 12px;
  font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 16px;
  display: inline-block;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800; line-height: 1.03;
  letter-spacing: -.01em; margin-bottom: 16px;
  max-width: 900px;
}
.page-hero__sub {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--grey-mid); max-width: 720px;
  line-height: 1.65;
}

/* ── BREADCRUMBS ─────────────────────────────────────────────────────────── */
.breadcrumbs {
  background: var(--grey-pale);
  padding: 14px 0;
  font-size: 13px;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--grey-text); }
.breadcrumbs li:not(:last-child)::after {
  content: '›'; color: var(--grey-mid); margin-left: 4px;
}
.breadcrumbs a { color: var(--grey-text); transition: color var(--ease); }
.breadcrumbs a:hover { color: var(--anthracite); }
.breadcrumbs li[aria-current="page"] { color: var(--anthracite); font-weight: 500; }

/* ── SERVICE CARDS ───────────────────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; margin-top: 56px;
}
.service-card {
  border: 1px solid var(--grey-mid); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  position: relative; display: flex; flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--ease);
}
.service-card:hover {
  border-color: var(--anthracite);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__visual {
  width: 100%; height: 190px;
  overflow: hidden; display: block;
  background: var(--anthracite);
}
.service-card__visual svg { width: 100%; height: 100%; display: block; }
.service-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card__title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: .02em; margin-bottom: 10px;
}
.service-card__desc {
  font-size: 15px; color: var(--grey-text);
  line-height: 1.65; margin-bottom: 20px; flex: 1;
}
.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  font-family: var(--font-display); font-size: 12px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--grey-pale); color: var(--anthracite);
  padding: 4px 10px; border-radius: 3px;
}
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 14px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--yellow-dark); margin-top: auto;
  transition: gap var(--ease);
}
.service-card__link:hover { gap: 12px; }

/* ── STATS BAND ──────────────────────────────────────────────────────────── */
.stats-band { background: var(--yellow); padding: 52px 0; }
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px; text-align: center;
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 800; color: var(--anthracite); line-height: 1;
}
.stat-item__label {
  font-size: 15px; font-weight: 500;
  color: var(--anthracite); opacity: .78; margin-top: 8px;
}

/* ── PROCESS ─────────────────────────────────────────────────────────────── */
.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; margin-top: 56px;
  position: relative;
}
.process__steps::before {
  content: ''; position: absolute;
  top: 26px; left: calc(12.5% + 1px); right: calc(12.5% + 1px);
  height: 2px; background: var(--grey-mid);
}
.process-step { text-align: center; padding: 0 20px; }
.process-step__num {
  width: 52px; height: 52px;
  background: var(--anthracite); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px;
  font-weight: 800; color: var(--yellow);
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  border: 3px solid var(--grey-pale);
}
.section:not(.section--pale) .process-step__num { border-color: var(--white); }
.process-step__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process-step__desc  { font-size: 14px; color: var(--grey-text); line-height: 1.6; }
@media (max-width: 640px) {
  .process__steps::before { display: none; }
  .process-step { text-align: left; display: flex; gap: 16px; padding: 0; margin-bottom: 24px; }
  .process-step__num { flex-shrink: 0; margin: 0; }
}

/* ── ABOUT ───────────────────────────────────────────────────────────────── */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center; margin-top: 56px;
}
.about__image-wrap { position: relative; }
.about__image {
  width: 100%; aspect-ratio: 4/3;
  background: var(--anthracite-mid); border-radius: var(--radius-lg);
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
}
.about__scene { width: 100%; height: 100%; display: block; }
.about__badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--yellow); color: var(--anthracite);
  border-radius: var(--radius); padding: 16px 20px;
  font-family: var(--font-display); text-align: center;
  box-shadow: var(--shadow-md);
}
.about__badge-num { font-size: 28px; font-weight: 800; line-height: 1; }
.about__badge-text { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.about__highlights { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.about__highlight { display: flex; gap: 16px; align-items: flex-start; }
.about__highlight-icon {
  width: 36px; height: 36px; background: var(--yellow);
  border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.about__highlight-icon svg { width: 18px; height: 18px; fill: var(--anthracite); }
.about__highlight-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.about__highlight-text { font-size: 14px; color: var(--grey-text); line-height: 1.6; }
@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__badge { bottom: 12px; right: 12px; }
}

/* ── GALLERY ─────────────────────────────────────────────────────────────── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px; margin-top: 56px;
}
.gallery-item {
  background: var(--anthracite-mid); border-radius: var(--radius-lg);
  overflow: hidden; position: relative; cursor: pointer;
  border: 0; padding: 0;
}
.gallery-item:first-child { grid-row: span 2; }
.gallery-item__img {
  width: 100%; height: 100%; min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-mid) 100%);
  position: relative;
}
.gallery-item:first-child .gallery-item__img { min-height: 416px; }
.gallery-item__img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0, var(--yellow) 30px, transparent 30px, transparent 46px);
}
.gallery-item__icon {
  display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: .5;
}
.gallery-item__icon svg { width: 40px; height: 40px; fill: var(--white); }
.gallery-item__icon span {
  font-size: 11px; color: var(--white);
  letter-spacing: .08em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 600;
}
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(28,28,30,.78);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; opacity: 0; transition: opacity var(--ease);
}
.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay { opacity: 1; }
.gallery-item__type {
  font-family: var(--font-display); font-size: 11px;
  font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 4px;
}
.gallery-item__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white); }
@media (max-width: 640px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-item:first-child .gallery-item__img { min-height: 220px; }
}

/* ── CONTACT FORM ────────────────────────────────────────────────────────── */
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); margin-top: 56px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-display); font-size: 13px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white);
}
.section--dark .form-group label { color: var(--white); }
.contact-form .form-group label .required { color: var(--yellow); }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body); font-size: 15px;
  background: var(--anthracite-mid);
  border: 1px solid var(--anthracite-light);
  color: var(--white); padding: 12px 16px;
  border-radius: var(--radius);
  transition: border-color var(--ease);
  appearance: none; width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-text); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--yellow); }
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) { border-color: var(--danger); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-group--row { grid-template-columns: 1fr; } }

.form-group--checkbox {
  flex-direction: row; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--grey-mid); line-height: 1.5;
}
.form-group--checkbox input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--yellow);
  flex-shrink: 0;
}
.form-group--checkbox label {
  font-family: var(--font-body); font-size: 13px;
  font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--grey-mid); cursor: pointer;
}
.form-group--checkbox label a { color: var(--yellow); text-decoration: underline; }

/* Honeypot — hidden from real users, visible to bots */
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0; pointer-events: none;
}

.form-message {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 14px; line-height: 1.5; display: none;
}
.form-message--success {
  background: rgba(45,122,58,.15);
  border: 1px solid var(--success);
  color: #7AE48F;
}
.form-message--error {
  background: rgba(196,58,58,.15);
  border: 1px solid var(--danger);
  color: #F08585;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; }
.contact-detail__icon {
  width: 40px; height: 40px;
  background: var(--anthracite-mid); border: 1px solid var(--anthracite-light);
  border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail__icon svg { width: 18px; height: 18px; fill: var(--yellow); }
.contact-detail__label {
  font-size: 11px; font-family: var(--font-display); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey-text); margin-bottom: 2px;
}
.contact-detail__value { font-size: 16px; font-weight: 500; color: var(--white); }
.contact-detail__value a { transition: color var(--ease); }
.contact-detail__value a:hover { color: var(--yellow); }

.map-placeholder {
  background: var(--anthracite-mid); border-radius: var(--radius-lg);
  height: 200px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--anthracite-light); overflow: hidden; position: relative;
}
.map-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(255,255,255,.02) 30px, rgba(255,255,255,.02) 31px),
    repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(255,255,255,.02) 30px, rgba(255,255,255,.02) 31px);
}
.map-placeholder__content { text-align: center; position: relative; z-index: 1; padding: 20px; }
.map-placeholder__pin { font-size: 32px; margin-bottom: 8px; }
.map-placeholder__text { font-size: 13px; color: var(--grey-text); }
.map-placeholder__link {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--yellow);
  margin-top: 6px; display: inline-block; transition: color var(--ease);
}
.map-placeholder__link:hover { color: var(--yellow-dark); }
@media (max-width: 768px) { .contact__grid { grid-template-columns: 1fr; } }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer { background: #111113; color: var(--white); padding: 56px 0 32px; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--anthracite-light);
}
.footer__brand-desc { font-size: 14px; color: var(--grey-text); line-height: 1.7; margin-top: 16px; }
.footer__col-title {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--grey-mid); margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__link { font-size: 14px; color: var(--grey-text); transition: color var(--ease); }
.footer__link:hover { color: var(--yellow); }
.footer__contact-item {
  font-size: 14px; color: var(--grey-text);
  display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px;
}
.footer__contact-item svg { width: 14px; height: 14px; fill: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.footer__contact-item a:hover { color: var(--yellow); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 13px; color: var(--grey-text); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { font-size: 13px; color: var(--grey-text); transition: color var(--ease); }
.footer__legal a:hover { color: var(--white); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ── FLOATING CTA ────────────────────────────────────────────────────────── */
.float-cta { position: fixed; bottom: 20px; right: 20px; z-index: 99; display: none; }
.float-cta a {
  display: flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--anthracite);
  font-family: var(--font-display); font-size: 15px;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 14px 22px; border-radius: 48px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: transform var(--ease);
}
.float-cta a:hover { transform: scale(1.04); }
@media (max-width: 640px) { .float-cta { display: block; } }

/* ── COOKIE BANNER ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 110;
  background: var(--anthracite);
  border-top: 3px solid var(--yellow);
  color: var(--white);
  padding: 20px var(--pad-x);
  box-shadow: 0 -8px 24px rgba(0,0,0,.3);
  transform: translateY(120%);
  transition: transform .3s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.cookie-banner__text { font-size: 14px; line-height: 1.55; color: var(--grey-mid); }
.cookie-banner__text strong { color: var(--white); }
.cookie-banner__text a { color: var(--yellow); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  font-family: var(--font-display); font-size: 13px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 20px; border-radius: var(--radius); border: 2px solid;
  cursor: pointer; transition: all var(--ease); white-space: nowrap;
}
.cookie-btn--accept { background: var(--yellow); color: var(--anthracite); border-color: var(--yellow); }
.cookie-btn--accept:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.cookie-btn--reject { background: transparent; color: var(--white); border-color: var(--anthracite-light); }
.cookie-btn--reject:hover { border-color: var(--white); }
@media (max-width: 760px) {
  .cookie-banner__inner { grid-template-columns: 1fr; }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* ── CONTENT (long-form text on legal/FAQ pages) ─────────────────────────── */
.content {
  max-width: 820px; margin: 0 auto;
}
.content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700; line-height: 1.15;
  margin: 56px 0 16px;
  letter-spacing: -.005em;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700; line-height: 1.2;
  margin: 32px 0 12px;
}
.content p {
  font-size: 17px; line-height: 1.7;
  color: var(--anthracite); margin-bottom: 16px;
}
.content p + p { margin-top: 0; }
.content ul, .content ol {
  margin: 0 0 20px 24px;
  font-size: 17px; line-height: 1.7;
}
.content ul li, .content ol li {
  list-style: disc; margin-bottom: 8px;
  color: var(--anthracite);
}
.content ol li { list-style: decimal; }
.content a {
  color: var(--yellow-dark); text-decoration: underline;
  text-underline-offset: 3px;
}
.content a:hover { color: var(--anthracite); }
.content strong { color: var(--anthracite); font-weight: 600; }
.content table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: 15px;
}
.content table th, .content table td {
  border-bottom: 1px solid var(--grey-mid);
  padding: 12px 14px; text-align: left; vertical-align: top;
}
.content table th {
  background: var(--grey-pale);
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.content blockquote {
  border-left: 4px solid var(--yellow);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  font-style: italic; color: var(--grey-text);
}
.content .updated {
  display: inline-block;
  font-size: 13px; color: var(--grey-text);
  background: var(--grey-pale);
  padding: 6px 12px; border-radius: var(--radius);
  margin-bottom: 32px;
}

/* ── FAQ ACCORDION ───────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.faq-item[open] { border-color: var(--anthracite); box-shadow: var(--shadow-sm); }
.faq-item summary {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  padding: 20px 56px 20px 24px;
  cursor: pointer;
  position: relative;
  list-style: none;
  letter-spacing: -.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400; color: var(--yellow-dark);
  transition: transform var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--yellow-dark); }
.faq-item__body {
  padding: 0 24px 24px;
  font-size: 16px; line-height: 1.7;
  color: var(--grey-text);
}
.faq-item__body p { margin-bottom: 12px; }
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-item__body ul { margin: 8px 0 12px 20px; }
.faq-item__body ul li { list-style: disc; margin-bottom: 6px; }

/* ── INDUSTRIES GRID ─────────────────────────────────────────────────────── */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 48px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.section--dark .industry-card {
  background: var(--anthracite-mid); border-color: var(--anthracite-light);
}
.industry-card:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  box-shadow: var(--shadow-sm);
}
.industry-card__icon {
  width: 44px; height: 44px; background: var(--yellow);
  border-radius: var(--radius); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.industry-card__icon svg { width: 22px; height: 22px; fill: var(--anthracite); }
.industry-card__title {
  font-family: var(--font-display); font-size: 18px;
  font-weight: 700; margin-bottom: 8px;
}
.industry-card__desc { font-size: 14px; color: var(--grey-text); line-height: 1.6; }
.section--dark .industry-card__desc { color: var(--grey-mid); }

/* ── PARTNER STRIP ───────────────────────────────────────────────────────── */
.partner-strip {
  background: var(--grey-pale);
  padding: 40px 0;
  border-top: 1px solid var(--grey-mid);
  border-bottom: 1px solid var(--grey-mid);
}
.partner-strip__inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px;
  align-items: center;
}
.partner-strip__label {
  font-family: var(--font-display); font-size: 12px;
  font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--grey-text);
}
.partner-strip__text {
  font-size: 16px; color: var(--anthracite);
  line-height: 1.6;
}
.partner-strip__text strong { color: var(--anthracite); }
.partner-strip__link {
  font-family: var(--font-display); font-size: 14px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--yellow-dark);
}
.partner-strip__link:hover { color: var(--anthracite); }
@media (max-width: 760px) {
  .partner-strip__inner { grid-template-columns: 1fr; text-align: left; }
}

/* ── CTA SECTION ─────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--anthracite);
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--yellow) 0, var(--yellow) 60px,
    transparent 60px, transparent 90px);
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800; line-height: 1.05;
  color: var(--white); margin-bottom: 16px;
}
.cta-section__sub {
  font-size: 17px; color: var(--grey-mid);
  max-width: 580px; margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-section__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── MEDIA BANNER (foto na pod-stranicama) ───────────────────────────────── */
.media-banner {
  width: 100%; max-height: 460px; overflow: hidden;
  position: relative; background: var(--anthracite);
}
.media-banner img {
  width: 100%; height: 100%; max-height: 460px;
  object-fit: cover; display: block;
}
.media-banner__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px var(--pad-x) 16px;
  background: linear-gradient(0deg, rgba(28,28,30,.85), transparent);
  color: var(--grey-mid);
  font-family: var(--font-display); font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
}

/* ── HERO PHOTO ──────────────────────────────────────────────────────────── */
.hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero__photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--anthracite) 0%, rgba(28,28,30,.94) 28%, rgba(28,28,30,.62) 52%, rgba(28,28,30,.22) 78%, rgba(28,28,30,.05) 100%),
    linear-gradient(0deg, rgba(28,28,30,.50) 0%, rgba(28,28,30,0) 28%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__photo-overlay {
    background: linear-gradient(180deg, rgba(28,28,30,.55) 0%, rgba(28,28,30,.78) 100%);
  }
}

/* ── SERVICE CARD PHOTO ──────────────────────────────────────────────────── */
.service-card__visual img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.service-card:hover .service-card__visual img { transform: scale(1.05); }

/* ── GALLERY PHOTO (override placeholder) ────────────────────────────────── */
.gallery-item__img { padding: 0; overflow: hidden; }
.gallery-item__img img {
  width: 100%; height: 100%; min-height: inherit;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.gallery-item:hover .gallery-item__img img,
.gallery-item:focus-visible .gallery-item__img img { transform: scale(1.06); }
.gallery-item__overlay { pointer-events: none; }

/* ── LIGHTBOX ────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(17,17,19,.94);
  display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox__img {
  max-width: 100%; max-height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  border: 3px solid var(--anthracite-light);
}
.lightbox__close,
.lightbox__nav {
  position: absolute; background: rgba(28,28,30,.85);
  border: 1px solid var(--anthracite-light); color: var(--white);
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--yellow); color: var(--anthracite); border-color: var(--yellow); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__caption {
  position: absolute; bottom: 18px; left: 0; right: 0;
  text-align: center; color: var(--grey-mid);
  font-family: var(--font-display); font-size: 14px;
  letter-spacing: .05em; text-transform: uppercase;
}
@media (max-width: 560px) {
  .lightbox__nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox__nav--prev { left: 6px; } .lightbox__nav--next { right: 6px; }
}

/* ── REDUCED MOTION ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── PRINT ───────────────────────────────────────────────────────────────── */
@media print {
  .nav, .cookie-banner, .float-cta, .hero__visual { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: none; }
  .section { padding: 24px 0; }
}
