/* =========================================================
   Synoma Studio — landing page
   Desktop reference: 1920px (Figma "SR Synoma Studio")
   ========================================================= */

/* Bw Gradual is a commercial typeface. Put licensed webfont files in
   assets/fonts/ (names below); until then Hanken Grotesk is used. */
@font-face { font-family: "Bw Gradual"; src: local("Bw Gradual DEMO Regular"), local("BwGradualDEMO-Regular"), url("../assets/fonts/BwGradual-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bw Gradual"; src: local("Bw Gradual DEMO Regular Italic"), local("BwGradualDEMO-RegularItalic"), url("../assets/fonts/BwGradual-RegularItalic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bw Gradual"; src: local("Bw Gradual DEMO Medium"), local("BwGradualDEMO-Medium"), url("../assets/fonts/BwGradual-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bw Gradual"; src: local("Bw Gradual DEMO Medium Italic"), local("BwGradualDEMO-MediumItalic"), url("../assets/fonts/BwGradual-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Bw Gradual"; src: local("Bw Gradual DEMO Bold"), local("BwGradualDEMO-Bold"), url("../assets/fonts/BwGradual-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Figma color styles */
  --c-dark: #26231d;          /* Synoma dark */
  --c-black: #141310;         /* Synoma black */
  --c-accent: #b9a387;        /* Synoma terracota (highlights) */
  --c-text: #646059;          /* Synoma font on light */
  --c-text-dark: #8e887d;     /* Synoma font on dark */
  --c-header: #f2edd5;        /* Synoma header font */
  --c-beige: #eeece5;         /* Synoma background beige */
  --c-light: #fbfaf3;         /* Synoma sections light */
  --c-btn-2: #c1b39f;         /* Synoma secondary button bg */
  --c-btn-2-border: #766b5a;
  --c-btn-font: #dbc8a8;      /* Synoma primary button font */
  --c-ink: #0e141c;

  --f-sans: "Bw Gradual", "Hanken Grotesk", system-ui, sans-serif;
  --f-serif: "Inria Serif", Georgia, serif;

  /* fluid type, 1920px reference */
  --fs-hero: clamp(46px, 5.83vw, 112px);
  --fs-h2: clamp(42px, 5vw, 96px);
  --fs-h2-xl: clamp(46px, 6.25vw, 120px);
  --fs-h3: clamp(34px, 4.17vw, 80px);
  --fs-xl: clamp(28px, 2.92vw, 56px);
  --fs-l: clamp(22px, 2.08vw, 40px);
  --fs-ml: clamp(20px, 1.875vw, 36px);
  --fs-m: clamp(19px, 1.77vw, 34px);
  --fs-lead: clamp(18px, 1.56vw, 30px);
  --fs-body: clamp(16px, 1.25vw, 24px);
  --fs-small: clamp(15px, 1.04vw, 20px);

  --pad: clamp(16px, 1.67vw, 32px);
  --radius-xl: clamp(24px, 2.08vw, 40px);
  --radius-l: 20px;
  --gap-section: clamp(32px, 2.5vw, 48px);
  --header-h: 85px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 230px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--c-dark);
  background: var(--c-beige);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* paper grain ("Noise & Texture" layers) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .37 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }

/* ---------- shared ---------- */
.h-lg { font-size: var(--fs-h2); font-weight: 400; line-height: 1.2; }
.accent { color: var(--c-accent); }
.serif-accent { font-family: var(--f-serif); font-style: italic; color: var(--c-accent); font-weight: 400; }
.sans-italic { font-style: italic; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(52px, 3.65vw, 70px);
  padding: 0 clamp(28px, 2.5vw, 48px);
  border-radius: 80px;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--c-btn-2); border: 1.5px solid var(--c-btn-2-border); color: #fff; }
.btn--light:hover { background: #b5a68f; }
.btn--dark { background: var(--c-dark); border: 1px solid var(--c-beige); color: var(--c-btn-font); }
.btn--dark:hover { background: #3a352c; }
.btn--sm { height: 55px; padding: 0 32px; font-size: clamp(15px, .98vw, 18.86px); border-width: .8px; }

.pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--c-accent);
  border-radius: 30px;
  background: rgba(242, 237, 213, .2);
  font-size: var(--fs-small);
  line-height: 1;
  color: var(--c-ink);
  white-space: nowrap;
}
.pill--dark { color: var(--c-header); }

.round-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: clamp(52px, 3.37vw, 64.7px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c-beige);
}
.round-icon img { width: 49%; height: auto; }
.round-icon--lg { width: clamp(64px, 4.375vw, 84px); }
.round-icon--lg img { width: 60%; }

.divider { border: 0; height: 1px; background: var(--c-ink); opacity: .3; margin: 0; width: 100%; }

.section-head--center { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 1.67vw, 32px); text-align: center; }
.section-head__sub { color: var(--c-text); }
.quote { color: var(--c-text); line-height: 1.4; text-align: center; }
.quote cite { display: block; font-style: italic; font-weight: 500; color: var(--c-accent); }

.card-section {
  margin-inline: var(--pad);
  background: var(--c-light);
  border-radius: var(--radius-xl);
}
main > section + section { margin-top: var(--gap-section); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: clamp(12px, 1.35vw, 26px);
  left: 50%;
  z-index: 50;
  width: min(1770px, calc(100% - 2 * var(--pad)));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: var(--header-h);
  padding: 0 32px;
  border-radius: 20px;
  background: rgba(126, 118, 104, .62);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  transition: background-color .3s ease;
}
.site-header.is-scrolled .header-bar { background: rgba(38, 35, 29, .82); }
.header-logo img { width: clamp(130px, 8.65vw, 166px); height: auto; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 1.67vw, 32px); }
.main-nav a {
  font-size: clamp(16px, 1.04vw, 20px);
  line-height: 24px;
  color: #fffbe8;
  white-space: nowrap;
  transition: color .2s;
}
.main-nav a:hover { color: var(--c-accent); }
.main-nav a.is-active { font-weight: 700; color: var(--c-light); }

.header-right { display: flex; align-items: center; gap: 24px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--c-header); white-space: nowrap; }
.header-phone__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-light); }
.header-phone__icon img { width: 17px; height: 17px; }
.lang-switch { position: relative; }
.lang-switch__btn { display: flex; align-items: center; gap: 8px; height: 40px; font-size: 20px; color: var(--c-header); }
.lang-switch__flag { width: 24px; height: 18px; }
.lang-switch__caret { width: 11px; height: auto; transform: rotate(180deg); transition: transform .2s ease; filter: brightness(0) invert(94%) sepia(9%) saturate(500%) hue-rotate(5deg); }

.lang-switch.is-open .lang-switch__caret { transform: none; }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 18px);
  right: -16px;
  z-index: 2;
  min-width: 168px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(38, 35, 29, .96);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch__menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px; font-size: 17px; color: #fffbe8; transition: background-color .2s; }
.lang-switch__menu a:hover { background: rgba(255, 255, 255, .08); }
.lang-switch__menu a[aria-current] { color: var(--c-accent); }
.lang-switch__menu img { width: 24px; height: 18px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-light); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--c-dark); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.header-cta { width: 280px; transition: opacity .3s ease, transform .3s ease, background-color .2s; }
.header-cta.is-hidden { opacity: 0; transform: translateY(-10px); pointer-events: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(640px, 63.5vw, 1219px);
  padding: clamp(150px, 15.7vw, 302px) var(--pad) 120px clamp(24px, 5.57vw, 107px);
  margin-bottom: 0;
}
.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 50.26%;
  height: clamp(680px, 66.56vw, 1278px);
  overflow: hidden;
}
.hero__media img {
  position: absolute;
  left: 0;
  top: -13.87%;
  width: 100%;
  height: 108.8%;
  object-fit: cover;
  object-position: bottom;
}
.hero__media::before, .hero__media::after { content: ""; position: absolute; z-index: 1; }
.hero__media::before { left: 0; right: 0; top: 71.65%; height: 23.36%; background: linear-gradient(to bottom, rgba(238, 236, 227, 0), #eeece3); }
.hero__media::after { top: 0; bottom: 0; left: 0; width: 24.56%; background: linear-gradient(to left, rgba(238, 236, 227, 0), #eeece3); }
/* everything below the image crop fades into the page */
.hero__media { -webkit-mask-image: linear-gradient(to bottom, #000 95%, transparent); mask-image: linear-gradient(to bottom, #000 95%, transparent); }

.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 48px; max-width: 833px; }
.hero__title { font-size: var(--fs-hero); font-weight: 400; line-height: 1.1; letter-spacing: -0.026em; }
.hero__text { display: flex; flex-direction: column; gap: 16px; max-width: 682px; color: var(--c-text); line-height: 1.667; }
.hero__title + .hero__text { margin-top: -8px; }

/* =========================================================
   PRIZNANJE (dark)
   ========================================================= */
.recognized {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin-inline: var(--pad);
  height: clamp(440px, 46.9vw, 900px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #141211;
  text-align: center;
}
main > .recognized { margin-top: 0; }
.recognized__bg {
  position: absolute;
  inset: 0;
  /* Fallback pattern. For the exact look export Figma layer "130621 1" (node 271:144)
     as assets/img/recognized-bg.jpg and add it as the first background-image below. */
  background-image:
    radial-gradient(ellipse at center, rgba(255, 255, 255, .07), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1856 900' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.07' stroke-width='2'%3E%3Cpath d='M928 400l50 50-50 50-50-50z'/%3E%3Cpath d='M928 340l110 110-110 110-110-110z'/%3E%3Cpath d='M928 270l180 180-180 180-180-180z'/%3E%3Cpath d='M928 190l260 260-260 260-260-260z'/%3E%3Cpath d='M928 100l350 350-350 350-350-350z'/%3E%3Cpath d='M928 0l450 450-450 450-450-450z'/%3E%3Cpath d='M928-110l560 560-560 560-560-560z'/%3E%3Cpath d='M928-230l680 680-680 680-680-680z'/%3E%3Cpath d='M928-360l810 810-810 810-810-810z'/%3E%3Cpath d='M928-500l950 950-950 950-950-950z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  mix-blend-mode: lighten;
}
.recognized::after { content: ""; position: absolute; inset: 0; background: #20100c; opacity: .35; pointer-events: none; }
.recognized__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 0 24px; }
.recognized__title { font-size: var(--fs-h3); font-weight: 400; line-height: 1.2; letter-spacing: -0.045em; color: var(--c-accent); }
.recognized__subtitle { font-size: var(--fs-lead); line-height: 1; color: var(--c-text-dark); }

/* =========================================================
   STRUČNOST
   ========================================================= */
.expertise { display: flex; flex-direction: column; gap: clamp(36px, 3.75vw, 72px); padding: clamp(40px, 4.17vw, 80px) clamp(20px, 3.33vw, 64px); }
.expertise__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.expertise__text { display: flex; flex-direction: column; gap: 24px; width: min(863px, 100%); }
.expertise__lead { font-size: var(--fs-lead); }
.expertise__facts { color: var(--c-text); line-height: 1.6; }
.expertise__facts .nowrap + .nowrap { margin-left: 1.1em; }
.expertise__facts li:first-child .nowrap:first-child { margin-left: 1.1em; }

/* =========================================================
   KOMBINACIJE JEZIKA
   ========================================================= */
.languages { display: flex; flex-direction: column; gap: clamp(40px, 3.33vw, 64px); padding: clamp(40px, 4.6vw, 88px) var(--pad) 0; }
.languages .h-lg { line-height: 1.2; }
.languages__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lang-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: clamp(240px, 18.3vw, 351px);
  padding: clamp(24px, 2.08vw, 40px);
  border-radius: var(--radius-l);
  background: var(--c-light);
}
.lang-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.lang-card__label { color: var(--c-text); line-height: 1.3; }
.lang-card__value { font-size: var(--fs-xl); line-height: 1.2; color: var(--c-accent); }
.flag-circle { flex: none; width: 48px; height: 48px; border: 1.04px solid var(--c-dark); border-radius: 50%; overflow: hidden; position: relative; }
.flag-circle img { position: absolute; left: -1.04px; top: -1.04px; width: 48.41px; height: 48px; max-width: none; }
.lang-card__arrow { align-self: flex-end; }
.lang-card__arrow--flip { align-self: flex-start; transform: scaleX(-1); }

/* =========================================================
   ACCORDION (shared)
   ========================================================= */
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc-panel > div { overflow: hidden; }
.is-open > .acc-panel { grid-template-rows: 1fr; }
.acc-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(52px, 4.1vw, 79px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: rotate(90deg);
  transition: transform .3s ease, background-color .3s ease;
}
.acc-arrow img { width: 49%; height: auto; }
.is-open .acc-arrow { transform: rotate(-90deg); background: var(--c-beige); }

/* =========================================================
   VRSTE PREVODA
   ========================================================= */
.services { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: clamp(48px, 5.4vw, 104px) clamp(12px, 3.5vw, 65px) 40px; }
.services__title { text-align: center; }
.services__list { width: 100%; }
.service-item + .service-item { border-top: 1px solid rgba(38, 35, 29, .3); }
.service-item__head {
  display: grid;
  grid-template-columns: clamp(44px, 3.65vw, 70px) 1fr clamp(52px, 4.1vw, 79px);
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: clamp(16px, 1.67vw, 32px) clamp(12px, 1.67vw, 32px) clamp(16px, 1.67vw, 32px) clamp(12px, 2.9vw, 56px);
  text-align: center;
  transition: padding .3s ease;
}
.service-item.is-open .service-item__head { padding-top: clamp(20px, 2.08vw, 40px); padding-bottom: 0; align-items: start; }
.service-item__num { font-size: clamp(24px, 2.5vw, 48px); line-height: 1.1; text-align: left; }
.service-item__title { font-size: var(--fs-l); line-height: 1.2; transition: color .3s; }
.service-item.is-open .service-item__title { color: var(--c-accent); }
.service-item__head:hover .service-item__title { color: var(--c-accent); }
.service-item .acc-panel p {
  max-width: 1341px;
  margin: 0 auto;
  padding: 24px clamp(12px, 6.4vw, 125px) clamp(20px, 2.08vw, 40px);
  color: var(--c-text);
  text-align: center;
}

/* =========================================================
   O NAMA
   ========================================================= */
.owner { display: flex; flex-direction: column; gap: clamp(32px, 3.33vw, 64px); padding: clamp(24px, 2.5vw, 48px) clamp(16px, 3.33vw, 64px) 0; }
.owner__heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0 24px; font-size: var(--fs-h2-xl); font-weight: 400; line-height: 1.2; }
.owner__heading em { letter-spacing: -0.02em; }
.owner__card {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4.17vw, 80px);
  padding: clamp(20px, 2.5vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--c-black);
  filter: drop-shadow(0 -16px 12px rgba(125, 125, 125, .2));
}
.owner__left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.owner__cols { display: grid; grid-template-columns: minmax(0, 695fr) minmax(0, 539fr); gap: clamp(28px, 2.6vw, 50px); }
.owner__col { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.owner__bio, .owner__facts { font-size: clamp(15px, .99vw, 19px); line-height: 1.6; color: var(--c-text-dark); }
.owner__facts { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 330px; }
.owner__facts li { display: flex; flex-direction: column; gap: 8px; }
.owner__facts strong { font-weight: 400; position: relative; padding-left: 28.5px; }
.owner__facts strong::before { content: ""; position: absolute; left: 12px; top: .75em; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.owner__highlight { color: #eceae3; }
.owner__name { display: flex; flex-direction: column; gap: 24px; }
.owner__fullname { font-size: clamp(44px, 5.2vw, 100px); line-height: 1.2; color: var(--c-accent); }
.owner__role { font-size: clamp(22px, 2.5vw, 48px); line-height: 1.2; color: var(--c-text-dark); }
.owner__photo {
  position: relative;
  flex: none;
  width: clamp(240px, 17.9vw, 344px);
  aspect-ratio: 344 / 690;
  border-radius: 18px;
  overflow: hidden;
  background: var(--c-beige);
}
.owner__photo img { position: absolute; left: -27%; top: -13.9%; width: 153.2%; height: 135.7%; max-width: none; object-fit: cover; }

/* =========================================================
   PROCES
   ========================================================= */
.process { display: flex; flex-direction: column; gap: clamp(32px, 3.33vw, 64px); padding: clamp(32px, 3.33vw, 64px) clamp(16px, 3.33vw, 64px); }
.process__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.process__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  min-height: clamp(460px, 32.2vw, 619px);
  padding: 32px;
  border-radius: var(--radius-l);
  background: var(--c-light);
}
.process-card h3 { font-size: var(--fs-ml); font-weight: 400; line-height: 1.33; }
.process-card p { max-width: 371px; font-size: var(--fs-small); line-height: 1.5; color: var(--c-text); }
.process-card__next {
  position: absolute;
  z-index: 1;
  right: calc(-10px - clamp(64px, 5.05vw, 97px) / 2);
  bottom: 47px;
  display: grid;
  place-items: center;
  width: clamp(64px, 5.05vw, 97px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c-beige);
}
.process-card__next img { width: 40%; height: auto; }

/* =========================================================
   LOKACIJA
   ========================================================= */
.location { display: flex; align-items: center; gap: 56px; padding: 48px 0 48px clamp(16px, 6.25vw, 120px); }
.location__info { flex: none; width: clamp(300px, 23.8vw, 457px); display: flex; flex-direction: column; align-items: flex-start; }
.location__title { font-size: clamp(44px, 4.43vw, 85px); font-weight: 400; line-height: 1; }
.location__text { margin-top: 32px; color: var(--c-black); line-height: 1.6; }
.location__address { display: flex; align-items: center; gap: 16px; margin-top: 32px; color: var(--c-black); line-height: 1.6; }
.location__address img { width: clamp(44px, 3.04vw, 58px); height: auto; }
.location__info .btn { margin-top: 64px; }

.location__slider { position: relative; flex: 1; min-width: 0; }
.location__track {
  display: flex;
  gap: 41.6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-right: 40px;
}
.location__track::-webkit-scrollbar { display: none; }
.photo {
  position: relative;
  flex: none;
  width: clamp(260px, 29.96vw, 575px);
  aspect-ratio: 575.2 / 719;
  border-radius: 15.7px;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-black);
  scroll-snap-align: start;
}
.photo img { position: absolute; top: var(--top, 0); left: var(--left, 0); width: var(--w, 100%); height: var(--h, 100%); max-width: none; object-fit: cover; }
.photo--light { background: var(--c-beige); }
.photo--tint::before, .photo--tint::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #eceae3; pointer-events: none; }
.photo--tint::before { mix-blend-mode: color; opacity: .7; }
.photo--tint::after { mix-blend-mode: overlay; }
.photo--soft::after { mix-blend-mode: soft-light; opacity: .6; }

.location__nav { position: absolute; right: 39px; bottom: 48px; display: flex; gap: 26px; }
.slider-btn {
  display: grid;
  place-items: center;
  width: clamp(64px, 5.83vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c-light);
  transition: transform .2s ease, opacity .2s ease;
}
.slider-btn:hover { transform: scale(1.05); }
.slider-btn:disabled { opacity: .45; cursor: default; transform: none; }
.slider-btn img { width: 49%; height: auto; }
.flip-x { transform: scaleX(-1); }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(560px, 49.3vw, 946px);
  padding: clamp(80px, 11.6vw, 223px) var(--pad);
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .8;
  background: url("../assets/img/cta-bg.webp") left center / cover no-repeat;
}
.cta__content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.cta__title { max-width: 818px; font-size: var(--fs-hero); font-weight: 400; line-height: 1.2; letter-spacing: -0.032em; }
.cta__text { max-width: 876px; margin-top: -16px; color: var(--c-text); }
.cta__down { animation: bob 2.2s ease-in-out infinite; }
.cta__down img { width: clamp(40px, 2.8vw, 54px); height: auto; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: flex; flex-direction: column; gap: clamp(40px, 3.8vw, 73px); padding: clamp(56px, 5.4vw, 104px) clamp(16px, 9.58vw, 184px); }
.faq .h-lg { font-size: clamp(42px, 5.2vw, 100px); }
.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: var(--radius-l); background: var(--c-light); }
.faq-item__head {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: clamp(18px, 1.67vw, 32px) clamp(16px, 1.72vw, 33px) clamp(18px, 1.67vw, 32px) 24px;
  text-align: left;
}
.faq-item.is-open .faq-item__head { align-items: flex-start; padding-bottom: 0; }
.faq-item__num { flex: none; width: clamp(32px, 2.5vw, 48px); font-size: var(--fs-l); line-height: 1.1; color: var(--c-accent); }
.faq-item__q { flex: 1; font-size: var(--fs-m); line-height: 1.4; transition: color .3s; }
.faq-item.is-open .faq-item__q, .faq-item__head:hover .faq-item__q { color: var(--c-accent); }
.faq-item .acc-arrow { margin: -12px 0; }
.faq-item.is-open .acc-arrow { margin: 0; }
.faq-item .acc-panel p {
  max-width: 1171px;
  padding: 0 clamp(80px, 6vw, 120px) clamp(20px, 1.67vw, 32px) calc(24px + clamp(32px, 2.5vw, 48px) + 24px);
  margin-top: -8px;
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* =========================================================
   FORMA
   ========================================================= */
.request { padding: 0 clamp(16px, 9.58vw, 184px); }
.request__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 34px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(48px, 4.6vw, 88px) 16px clamp(56px, 5.3vw, 102px);
  border-radius: 34px;
  background: var(--c-light);
}
.request__form > * { width: 100%; max-width: 1030px; margin-inline: auto; }
.request__form > .consent { max-width: 1110px; }
.request__title { font-size: clamp(42px, 5.2vw, 100px); text-align: center; margin-bottom: clamp(8px, 1.4vw, 28px); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-group { display: flex; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field--wide { grid-column: span 2; }
.field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  height: clamp(52px, 3.15vw, 60.5px);
  border-radius: 16px;
  background: var(--c-beige);
  transition: box-shadow .2s;
}
.field:focus-within { box-shadow: 0 0 0 1.5px var(--c-btn-2); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 100%;
  padding: 0 24px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  font: inherit;
  font-size: var(--fs-body);
  color: var(--c-dark);
  outline: none;
}
.field ::placeholder { color: rgba(100, 96, 89, .4); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 48px; }
.field--select::after, .field--code::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 9px;
  margin-top: -4.5px;
  background: url("../assets/icons/caret.svg") center / contain no-repeat;
  transform: rotate(180deg);
  pointer-events: none;
}
.field select:invalid, .field select option[value=""] { color: rgba(100, 96, 89, .4); }
.field select option { color: var(--c-dark); }
.field--code { flex: none; width: 159px; }
.field--code select { padding-left: 62px; padding-right: 32px; }
.field--code::after { right: 16px; }
.field__flag { position: absolute; left: 24px; width: 30px; height: 30px; pointer-events: none; }
.field--textarea { height: 178px; align-items: stretch; }
.field--textarea textarea { padding: 24px; resize: vertical; line-height: 1.25; }
.field.is-invalid { box-shadow: 0 0 0 1.5px #b0563f; }

.choice { margin-block: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.choice legend { width: 100%; padding: 0; margin-bottom: 22px; text-align: center; font-size: var(--fs-body); }
.choice__grid { display: grid; gap: 16px; }
.choice__grid--2 { grid-template-columns: repeat(2, 1fr); }
.choice__grid--3 { grid-template-columns: repeat(3, 1fr); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(56px, 3.75vw, 72px);
  padding: 0 16px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: var(--c-beige);
  font-size: var(--fs-body);
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover span { background: #e5e1d6; }
.chip input:checked + span { background: var(--c-btn-2); border-color: var(--c-btn-2-border); color: #fff; font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 186px;
  padding: 24px;
  border: 1px dashed var(--c-btn-2);
  border-radius: 16px;
  background: var(--c-beige);
  text-align: center;
  transition: background-color .2s, border-color .2s;
}
.dropzone.is-dragover { background: #e5e1d6; border-color: var(--c-btn-2-border); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__icon { display: grid; place-items: center; width: 50.7px; height: 50.7px; margin-bottom: 8px; border-radius: 50%; background: var(--c-light); }
.dropzone__icon img { width: 30px; height: 30px; }
.dropzone__hint { font-size: var(--fs-small); color: rgba(100, 96, 89, .4); }
.dropzone__files { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.dropzone__files li { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 30px; background: var(--c-light); font-size: 15px; }
.dropzone__files button { width: 22px; height: 22px; border-radius: 50%; line-height: 1; color: var(--c-text); }
.dropzone__files button:hover { background: var(--c-beige); }
.dropzone__files .is-error { color: #b0563f; }

.consent { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 16px; margin-top: 6px; font-size: var(--fs-small); line-height: 1.5; color: var(--c-ink); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 28px; height: 28px; }
.consent__box { flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--c-beige); display: grid; place-items: center; transition: background-color .2s; }
.consent input:checked + .consent__box { background: var(--c-btn-2); }
.consent input:checked + .consent__box::after { content: ""; width: 12px; height: 7px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-2px) rotate(-45deg); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.consent.is-invalid .consent__box { box-shadow: 0 0 0 1.5px #b0563f; }

.turnstile { display: flex; justify-content: center; }
.turnstile:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.5em; margin-block: -8px; text-align: center; font-size: var(--fs-small); color: var(--c-text); }
.form-status.is-error { color: #b0563f; }
.form-status.is-success { color: #5d7a4a; }
.request__form > .request__submit { width: 230px; margin-top: 10px; }
.request__submit[disabled] { opacity: .6; cursor: progress; }

/* =========================================================
   SARADNJA SA AGENCIJAMA
   ========================================================= */
.agencies { display: flex; flex-direction: column; gap: clamp(40px, 3.75vw, 72px); padding: 0 clamp(16px, 9.58vw, 184px) clamp(32px, 3.33vw, 64px); }
.agencies__intro { display: flex; align-items: center; gap: clamp(32px, 3.33vw, 64px); }
.agencies__title { flex: 0 1 591px; font-size: clamp(42px, 4.58vw, 88px); font-weight: 400; line-height: 1.2; }
.agencies__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; color: var(--c-text); line-height: 1.6; }
.agencies__body .btn { margin-top: 16px; }

.agencies__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.67vw, 32px); }
.stat-card { position: relative; display: flex; border-radius: 28px; background: var(--c-light); }
.stat-card, .stat-card__link {
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: clamp(220px, 15.4vw, 296px);
  padding: clamp(24px, 1.81vw, 34.8px);
}
.stat-card:has(.stat-card__link) { padding: 0; }
.stat-card__link { flex: 1; display: flex; border-radius: inherit; }
.stat-card__value { display: flex; align-items: center; gap: 16px; font-size: var(--fs-xl); line-height: 1.2; white-space: nowrap; }
.stat-card__swap { width: clamp(32px, 2.4vw, 46px); height: auto; fill: none; stroke: var(--c-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat-card__label { font-size: var(--fs-body); line-height: 1.4; }
.stat-card__label span { display: block; margin-top: 4px; font-size: var(--fs-small); line-height: 1.6; color: var(--c-text); }
.stat-card__badge {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 4px;
  vertical-align: -6px;
  -webkit-mask: url("../assets/icons/proz-mask.svg") center / contain no-repeat;
  mask: url("../assets/icons/proz-mask.svg") center / contain no-repeat;
}
.stat-card__link .stat-card__label { padding-right: 72px; }
.stat-card__arrow {
  position: absolute;
  right: clamp(20px, 1.6vw, 30px);
  bottom: clamp(20px, 1.6vw, 30px);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-beige);
  transform: rotate(-45deg);
  transition: transform .25s ease;
}
.stat-card__arrow img { width: 28px; height: auto; }
.stat-card__link:hover .stat-card__arrow { transform: rotate(-45deg) translateX(4px); }

.agencies__tags {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: clamp(24px, 2.08vw, 40px) clamp(20px, 2.9vw, 56px);
  border-radius: 28px;
  background: var(--c-light);
}
.agencies__tags dt { display: flex; align-items: center; min-width: 104px; padding-right: 24px; font-size: var(--fs-small); line-height: 1.6; color: var(--c-text); }
.agencies__tags dd { display: flex; align-items: center; margin: 0; }
.agencies__tags dd ul { display: flex; flex-wrap: wrap; gap: 8px; }
.agencies__tags .pill { padding: 0 16px; }
.agencies__tags dt:first-of-type, .agencies__tags dd:first-of-type { padding-bottom: 32px; }
.agencies__tags dt:last-of-type, .agencies__tags dd:last-of-type { padding-top: 32px; border-top: 1px solid rgba(38, 35, 29, .3); }
.agencies__tags dt:last-of-type { margin-top: 0; }

@media (max-width: 1200px) {
  .agencies__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .agencies, .request { padding-inline: var(--pad); }
  .agencies__intro { flex-direction: column; align-items: flex-start; }
  .agencies__title { flex-basis: auto; }
  .agencies__tags { grid-template-columns: 1fr; gap: 12px 0; }
  .agencies__tags dt:first-of-type { padding-bottom: 0; }
  .agencies__tags dd:first-of-type { padding-bottom: 20px; }
  .agencies__tags dt:last-of-type { padding-top: 20px; }
  .agencies__tags dd:last-of-type { padding-top: 0; border-top: 0; }
}
@media (max-width: 600px) {
  .agencies__stats { grid-template-columns: 1fr; }
  .stat-card, .stat-card__link { min-height: 180px; }
}

/* =========================================================
   PEČAT
   ========================================================= */
.stamp { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: clamp(120px, 14vw, 270px) var(--pad) clamp(140px, 16vw, 300px); }
.stamp__mark { width: clamp(200px, 15vw, 288px); height: auto; overflow: visible; }
.stamp__text { font-family: var(--f-sans); font-size: 30px; font-weight: 500; fill: var(--c-dark); letter-spacing: 2px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 4.5vw, 86px) clamp(16px, 1.94vw, 37px) 36px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--c-black);
}
.footer__top { display: flex; flex-direction: column; gap: 32px; padding: 0 clamp(0px, 2.34vw, 45px); }
.footer__title { max-width: 1394px; font-size: var(--fs-lead); color: var(--c-accent); }
.footer__services { font-size: var(--fs-small); line-height: 1.6; color: var(--c-text-dark); }
.footer__services a:hover { color: var(--c-accent); }
.footer__line { border: 0; height: 1px; margin: clamp(32px, 2.6vw, 50px) 0 41px; background: #d0e3fc; opacity: .2; }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card { display: flex; padding-top: 41.76px; border-radius: var(--radius-l); background: var(--c-btn-2); }
.contact-card__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: clamp(200px, 15.95vw, 306px);
  padding: 24px;
  border-radius: var(--radius-l);
  box-shadow: 0 -6px 14px rgba(0, 0, 0, .15);
}
.contact-card__inner > img, .contact-card__icon { width: clamp(52px, 3.5vw, 67px); height: auto; }
.contact-card__icon { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 251, 228, .34); }
.contact-card__icon img { width: 29%; height: auto; }
.contact-card p { padding-right: 200px; line-height: 1.33; }
.contact-card .btn { position: absolute; right: 24px; bottom: 24px; }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(32px, 2.5vw, 48px); }
.footer__bottom > img { width: 166px; height: auto; }
.footer__meta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__meta p { font-size: var(--fs-small); color: var(--c-text-dark); }
.footer__social { display: flex; align-items: center; gap: 16px; font-size: var(--fs-body); color: var(--c-accent); transition: opacity .2s; }
.footer__social:hover { opacity: .8; }
.footer__social img { width: clamp(38px, 2.45vw, 47px); height: auto; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  .header-phone span:last-child { display: none; }
}

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 20px;
    background: rgba(38, 35, 29, .96);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 14px 16px; border-radius: 12px; font-size: 18px; }
  .main-nav a:hover { background: rgba(255, 255, 255, .06); }

  .process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-card { min-height: 0; }
  .process-card__next { display: none; }

  .owner__card { flex-direction: column-reverse; align-items: stretch; }
  .owner__photo { width: min(344px, 100%); align-self: center; }

  .contact-card p { padding-right: 0; padding-bottom: 72px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  html { scroll-padding-top: 96px; }
  .header-bar { padding: 0 12px 0 20px; }
  .header-cta { display: none; }
  .lang-switch__btn > span { display: none; }

  .hero { display: flex; flex-direction: column; min-height: 0; padding: 120px var(--pad) 56px; }
  .hero__media { position: relative; order: 2; width: calc(100% + 2 * var(--pad)); height: auto; aspect-ratio: 4 / 4.2; margin: 24px calc(-1 * var(--pad)) 0; }
  .hero__media::after { display: none; }
  .hero__media::before { top: auto; bottom: 0; height: 35%; }
  .hero__media { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 18%); }
  .hero__media img { top: -10%; height: 110%; object-position: center 20%; }
  .hero__content { gap: 32px; }
  main > .recognized { margin-top: -40px; }

  .expertise__row { flex-direction: column; }
  .expertise__facts .nowrap + .nowrap, .expertise__facts li:first-child .nowrap:first-child { margin-left: .35em; }

  .languages__grid { grid-template-columns: 1fr; }

  .service-item__head { grid-template-columns: 40px 1fr 48px; text-align: left; }
  .service-item .acc-panel p { text-align: left; padding: 16px 12px 20px 68px; }

  .owner__cols { grid-template-columns: 1fr; gap: 40px; }
  .owner__photo { width: 260px; }
  .owner__facts { min-height: 0; }

  .location { flex-direction: column; align-items: stretch; gap: 40px; padding: 32px 0; }
  .location__info { width: auto; padding: 0 var(--pad); }
  .location__info .btn { margin-top: 32px; }
  .location__track { padding: 0 var(--pad); gap: 16px; scroll-padding-left: var(--pad); }
  .photo { width: min(78vw, 420px); }
  .location__nav { position: static; justify-content: flex-end; margin-top: 16px; padding-right: var(--pad); gap: 12px; }

  .faq { padding-inline: var(--pad); }
  .faq-item__head { gap: 14px; padding-left: 18px; padding-right: 12px; }
  .faq-item .acc-arrow { width: 44px; }
  .faq-item .acc-panel p { padding: 0 20px 20px; margin-top: 8px; }

  .form-grid, .field-row { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .consent { margin: 0; justify-content: flex-start; text-align: left; }

  .contact-cards { grid-template-columns: 1fr; }
  .footer__bottom, .footer__meta { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 600px) {
  .process__list { grid-template-columns: 1fr; }
  .process-card { padding: 24px; gap: 20px; }
  .choice__grid--2, .choice__grid--3 { grid-template-columns: 1fr; }
  .field--code { width: 132px; }
  .field--code select { padding-left: 56px; padding-right: 32px; }
  .field--code::after { right: 14px; }
  .field__flag { left: 18px; }
  .owner__heading { flex-direction: column; }
  .owner__photo { width: 200px; }
  .owner__heading em { align-self: flex-end; }
  .btn--sm { height: 48px; padding: 0 22px; }
}
