/* ==========================================================================
   BND Računovodstvo — style.css
   Paleta: mornarska #0e2140 / smaragdnobijela #f7f6f1 / plava #4e9be6
   ========================================================================== */

:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #12264a;
  background: #f7f6f1;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --ink: #12264a;
  --navy: #0e2140;
  --brand-navy: #0e2140;
  --brand-blue: #4e9be6;
  --paper: #f7f6f1;
  --cream: #eeece5;
  --muted: #5c6e90;
  --serif: Georgia, "Times New Roman", serif;
  --content-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #fff;
  background: #2e5f9e;
}

:focus-visible {
  outline: 2px solid #3b7fd0;
  outline-offset: 4px;
}

.site-shell {
  overflow-x: clip;
}

.content-width {
  width: min(var(--content-width), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==================== Prikaz na ulasku u kadar ==================== */

.reveal {
  opacity: 0;
  transform: translateY(19px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

/* ==================== Dugmad i linkovi ==================== */

.button {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 19px;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4px;
  transition: transform 180ms ease;
}

.button:hover svg {
  transform: translateX(4px);
}

.button--light {
  color: var(--ink);
  background: #f5f2e9;
}

.button--light:hover {
  background: #dfeaf6;
}

.button--outline {
  border-color: rgb(18 38 74 / 40%);
  color: var(--ink);
}

.button--outline:hover {
  border-color: var(--brand-navy);
  background: rgb(18 38 74 / 6%);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgb(18 38 74 / 27%);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 180ms ease;
}

.text-link svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35px;
  transition: transform 200ms ease;
}

.text-link:hover {
  border-color: #2e76c4;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link--light {
  color: #fff;
  border-bottom-color: rgb(255 255 255 / 40%);
}

.text-link--light:hover {
  border-color: #7fb9f0;
}

.eyebrow {
  margin: 0;
  color: #2e76c4;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.eyebrow--light {
  color: #6fadec;
}

/* ==================== Zaglavlje i navigacija ==================== */

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(247 246 241 / 96%);
  border-bottom: 1px solid rgb(18 38 74 / 9%);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.4vw, 50px);
  margin-left: auto;
}

.desktop-nav a {
  font-size: 12px;
  font-weight: 500;
  color: #4d6080;
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: #2e76c4;
}

.desktop-nav a.nav-link--active {
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--brand-blue);
}

.header-contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding-left: 22px;
  border-left: 1px solid rgb(18 38 74 / 16%);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms ease;
}

.header-contact:hover {
  color: #2e76c4;
}

.header-contact svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35px;
  transition: transform 200ms ease;
}

.header-contact:hover svg {
  transform: translateX(4px);
}

.mobile-menu {
  display: none;
}

/* ==================== BND logotip (lockup) ==================== */

.brand-lockup {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.bnd-wordmark {
  display: block;
}

.bnd-wordmark .bnd-ink {
  fill: currentColor;
}

.brand-lockup--light {
  color: var(--brand-navy);
}

.brand-lockup--dark {
  color: #ffffff;
}

.brand-divider {
  width: 1px;
  height: 34px;
  background: var(--brand-blue);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: 1;
  color: inherit;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1;
  color: #8a97ad;
  text-transform: uppercase;
}

.brand-lockup--dark .brand-tag {
  color: rgb(255 255 255 / 52%);
}

.brand-lockup--light .bnd-wordmark {
  width: 60px;
  height: 31px;
}

.brand-lockup--hero {
  align-items: center;
  gap: 18px;
  margin-bottom: 27px;
}

.brand-lockup--hero .bnd-wordmark {
  width: 128px;
  height: 66px;
}

.brand-lockup--hero .brand-sub {
  font-size: 12.5px;
  letter-spacing: 0.5em;
  color: rgb(255 255 255 / 88%);
}

.brand-lockup--hero .brand-tag {
  font-size: 9px;
  letter-spacing: 0.34em;
}

.brand-lockup--footer .bnd-wordmark {
  width: 52px;
  height: 27px;
}

.brand-lockup--footer .brand-sub {
  font-size: 8.5px;
  letter-spacing: 0.3em;
}

.brand-lockup--footer .brand-tag {
  font-size: 6.8px;
}

/* ==================== Hero s tri fotografije ==================== */

.hero {
  position: relative;
  display: flex;
  min-height: clamp(690px, calc(100svh - 82px), 875px);
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--navy);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__image {
  z-index: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: -2%;
  opacity: 0;
  background-position: center 54%;
  background-size: cover;
  animation: hero-crossfade 21s ease-in-out infinite both;
}

.hero__slide:nth-child(1) {
  background-image: url("images/hero-office.jpg");
  animation-delay: -1.68s;
}

.hero__slide:nth-child(2) {
  background-image: url("images/hero-2.jpg");
  background-position: center 50%;
  animation-delay: 5.32s;
}

.hero__slide:nth-child(3) {
  background-image: url("images/hero-3.jpg");
  background-position: center 45%;
  animation-delay: 12.32s;
}

.hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(9 21 43 / 83%) 0%, rgb(10 22 44 / 76%) 37%, rgb(11 23 45 / 49%) 66%, rgb(11 23 45 / 21%) 100%),
    linear-gradient(0deg, rgb(9 20 41 / 28%) 0%, transparent 34%, rgb(9 20 41 / 8%) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 82px 94px;
}

.hero__content {
  max-width: 720px;
  animation: rise-in 850ms cubic-bezier(0.2, 0.7, 0.2, 1) 100ms both;
}

.hero h1 {
  margin: 0;
  max-width: 740px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(58px, 6.15vw, 86px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.99;
}

.hero h1 em {
  color: #7fb9f0;
  font-weight: 400;
}

.hero__description {
  max-width: 500px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 16px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 34px;
}

.hero__secondary-link {
  padding-block: 7px;
  border-bottom: 1px solid rgb(255 255 255 / 40%);
  color: rgb(255 255 255 / 86%);
  font-size: 12px;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.hero__secondary-link:hover {
  border-color: #7fb9f0;
  color: #b7d7f7;
}

.hero__scroll {
  position: absolute;
  right: 0;
  bottom: 31px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgb(255 255 255 / 72%);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.hero__scroll-line {
  width: 42px;
  height: 1px;
  background: rgb(255 255 255 / 62%);
  transform-origin: left;
  transition: transform 200ms ease;
}

.hero__scroll:hover .hero__scroll-line {
  transform: scaleX(1.3);
}

/* ==================== Početna: uvod ==================== */

.intro-section {
  padding-block: 142px 146px;
  background: var(--paper);
}

.intro-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(275px, 0.68fr);
  align-items: end;
  gap: clamp(62px, 10vw, 154px);
}

.intro-section h2 {
  max-width: 690px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.intro-section h2 em {
  color: #2e76c4;
  font-weight: 400;
}

.intro-section__copy {
  padding-bottom: 7px;
}

.intro-section__copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* ==================== Početna: pregled usluga ==================== */

.services-section {
  padding-block: 125px 128px;
  background: var(--cream);
}

.services-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(260px, 0.64fr);
  align-items: end;
  gap: clamp(55px, 9vw, 136px);
}

.services-section h2 {
  max-width: 680px;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.services-section h2 em {
  color: #2e76c4;
  font-weight: 400;
}

.services-section__lead {
  max-width: 400px;
  margin: 0;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.service-list {
  margin-top: 61px;
  border-top: 1px solid rgb(18 38 74 / 17%);
}

.service-row-reveal {
  border-bottom: 1px solid rgb(18 38 74 / 17%);
}

.service-row {
  display: grid;
  min-height: 137px;
  grid-template-columns: 72px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 24px;
  padding-block: 23px;
}

.service-row__number {
  color: #6c8ab2;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.service-row__content {
  display: grid;
  grid-template-columns: minmax(260px, 1.03fr) minmax(250px, 0.84fr);
  align-items: center;
  gap: clamp(32px, 6vw, 92px);
}

.service-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.25vw, 29px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.2;
  transition: color 180ms ease;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.service-row__link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(18 38 74 / 24%);
  border-radius: 50%;
  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}

.service-row__link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3px;
  transition: transform 200ms ease;
}

.service-row:hover h3 {
  color: #2e76c4;
}

.service-row:hover .service-row__link {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.service-row:hover .service-row__link svg {
  transform: translateX(2px);
}

.services-more {
  margin-top: 46px;
}

/* ==================== Početna: o nama (tamno) ==================== */

.about-section {
  padding-block: 128px 116px;
  color: #fff;
  background: var(--navy);
}

.about-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.82fr);
  align-items: start;
  gap: clamp(68px, 11vw, 158px);
}

.about-section h2 {
  max-width: 620px;
  margin-top: 23px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.about-section h2 em {
  color: #7fb9f0;
  font-weight: 400;
}

.about-section__story {
  padding-top: 30px;
}

.about-section__story > p {
  margin: 0;
  color: rgb(255 255 255 / 75%);
  font-size: 14px;
  line-height: 1.9;
}

.about-section__story > p + p {
  margin-top: 18px;
}

.about-section__signature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
}

.about-section__signature > span {
  width: 31px;
  height: 1px;
  margin-top: 9px;
  background: var(--brand-blue);
}

.about-section__signature p {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.15;
}

.about-section__signature small {
  display: block;
  margin-top: 6px;
  color: rgb(255 255 255 / 58%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.working-style {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 78px;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.working-style__item {
  padding: 24px 29px 0 0;
}

.working-style__item + .working-style__item {
  padding-left: 31px;
  border-left: 1px solid rgb(255 255 255 / 20%);
}

.working-style__number {
  color: #6fadec;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.working-style h3 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}

.working-style p {
  max-width: 280px;
  margin: 9px 0 0;
  color: rgb(255 255 255 / 67%);
  font-size: 12px;
  line-height: 1.7;
}

.about-more {
  margin-top: 46px;
}

/* ==================== Podnaslovi podstranica ==================== */

.page-header {
  position: relative;
  overflow: hidden;
  padding-block: 86px 80px;
  color: #fff;
  background: var(--navy);
}

.page-header__inner {
  position: relative;
  max-width: 700px;
}

.page-header h1 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.2vw, 66px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.page-header h1 em {
  color: #7fb9f0;
  font-weight: 400;
}

.page-header__lead {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgb(255 255 255 / 74%);
  font-size: 15px;
  line-height: 1.8;
}

.page-header__actions {
  margin-top: 30px;
}

.page-header__slash,
.cta-band__slash {
  position: absolute;
  width: 480px;
  height: 22px;
  background: rgb(78 155 230 / 13%);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-header__slash--1 {
  top: -34px;
  right: 14%;
}

.page-header__slash--2 {
  top: 26px;
  right: -96px;
  background: rgb(255 255 255 / 5%);
}

/* ==================== Sekcije podstranica ==================== */

.section-light,
.section-cream,
.section-navy {
  padding-block: 92px;
}

.section-light {
  background: var(--paper);
}

.section-cream {
  background: var(--cream);
}

.section-navy {
  color: #fff;
  background: var(--navy);
}

.section-head {
  max-width: 660px;
}

.section-head h2 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-head h2 em {
  color: #2e76c4;
  font-weight: 400;
}

.section-navy .section-head h2 em {
  color: #7fb9f0;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-navy .section-head p {
  color: rgb(255 255 255 / 70%);
}

/* ==================== Usluge: detalji ==================== */

.service-details {
  margin-top: 48px;
  border-top: 1px solid rgb(18 38 74 / 15%);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(230px, 400px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 88px);
  padding-block: 46px;
  border-bottom: 1px solid rgb(18 38 74 / 15%);
}

.service-detail__num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: #9db4d6;
}

.service-detail h3 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.service-detail__lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-detail__body > p {
  margin: 0;
  max-width: 540px;
  color: #4a5c80;
  font-size: 14px;
  line-height: 1.85;
}

.checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 30px;
  max-width: 580px;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  color: #3c517a;
  font-size: 13.5px;
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  background: var(--brand-blue);
  transform: rotate(45deg);
}

/* ==================== Naš pristup: koraci ==================== */

.steps {
  margin-top: 44px;
  border-top: 1px solid rgb(18 38 74 / 15%);
}

.step {
  display: grid;
  grid-template-columns: 92px minmax(240px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding-block: 36px;
  border-bottom: 1px solid rgb(18 38 74 / 15%);
}

.step__num {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: #9db4d6;
}

.step h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

/* ==================== O nama: osnivač ==================== */

.about-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(56px, 9vw, 120px);
}

.about-main h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.about-main__role {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-main__text p {
  margin: 22px 0 0;
  max-width: 560px;
  color: #4a5c80;
  font-size: 15px;
  line-height: 1.85;
}

.about-main .about-section__signature {
  margin-top: 30px;
}

.about-main .about-section__signature small {
  color: var(--muted);
}

.about-side {
  padding-top: 10px;
  padding-left: clamp(36px, 5vw, 64px);
  border-left: 1px solid rgb(18 38 74 / 16%);
}

.about-side h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 400;
}

.about-side p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

/* ==================== Cita-traka (poziv na akciju) ==================== */

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: 86px;
  color: #fff;
  background: var(--navy);
}

.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.cta-band__slash {
  right: 4%;
  bottom: -70px;
}

.cta-band h2 {
  margin: 0;
  max-width: 600px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-band h2 em {
  color: #7fb9f0;
  font-weight: 400;
}

.cta-band__note {
  max-width: 380px;
  margin: 16px 0 0;
  color: rgb(255 255 255 / 66%);
  font-size: 13.5px;
  line-height: 1.7;
}

.cta-band__actions {
  flex: 0 0 auto;
}

/* ==================== Kontakt ==================== */

.contact-page {
  padding-block: 92px;
  color: #fff;
  background: var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.75fr);
  align-items: start;
  gap: clamp(52px, 7vw, 104px);
}

.contact-form {
  padding-top: 9px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px;
}

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgb(255 255 255 / 31%);
  transition: border-color 180ms ease;
}

.form-field:focus-within {
  border-color: #7fb9f0;
}

.form-field > span {
  color: #7fb9f0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 1px 0 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgb(255 255 255 / 43%);
  opacity: 1;
}

.form-field select {
  padding-right: 22px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237fb9f0' fill='none' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat right center;
  cursor: pointer;
}

.form-field select option {
  color: var(--ink);
  background: #fff;
}

.form-field--message {
  margin-top: 38px;
}

.form-field textarea {
  min-height: 79px;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.contact-form__note {
  max-width: 260px;
  margin: 0;
  color: rgb(255 255 255 / 58%);
  font-size: 10px;
  line-height: 1.7;
}

.contact-form .button {
  flex: 0 0 auto;
}

.contact-info {
  padding: 30px 28px;
  border: 1px solid rgb(255 255 255 / 16%);
  background: #132a4e;
}

.contact-info__item {
  padding-block: 19px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.contact-info__item:first-child {
  padding-top: 2px;
}

.contact-info__item:last-child {
  padding-bottom: 2px;
  border-bottom: 0;
}

.contact-info__label {
  margin: 0;
  color: #7fb9f0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-info__value {
  margin: 8px 0 0;
  color: #fff;
  font-size: 15px;
}

.contact-info__value a {
  border-bottom: 1px solid rgb(255 255 255 / 35%);
  transition: border-color 180ms ease;
}

.contact-info__value a:hover {
  border-color: #7fb9f0;
}

.contact-info__note {
  margin: 10px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ==================== Podnožje ==================== */

.site-footer {
  color: #fff;
  background: var(--navy);
}

.site-footer__inner {
  display: grid;
  min-height: 92px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 35px;
  border-top: 1px solid rgb(255 255 255 / 17%);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-self: center;
}

.site-footer__nav a {
  color: rgb(255 255 255 / 64%);
  font-size: 10px;
  transition: color 180ms ease;
}

.site-footer__nav a:hover {
  color: #7fb9f0;
}

.site-footer__copyright {
  margin: 0;
  color: rgb(255 255 255 / 54%);
  font-size: 10px;
}

.site-footer__inner > a.top-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgb(255 255 255 / 76%);
  font-size: 10px;
  transition: color 180ms ease;
}

.site-footer__inner > a.top-link:hover {
  color: #7fb9f0;
}

.site-footer__inner > a.top-link svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35px;
  transition: transform 200ms ease;
}

.site-footer__inner > a.top-link:hover svg {
  transform: translateX(4px);
}

/* ==================== Animacije ==================== */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-in {
  from {
    opacity: 0.35;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-crossfade {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }

  8% {
    opacity: 1;
  }

  33.33% {
    opacity: 1;
  }

  41.33% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* ==================== Tablet ==================== */

@media (max-width: 980px) {
  .content-width {
    width: min(var(--content-width), calc(100% - 56px));
  }

  .site-header__inner {
    min-height: 76px;
  }

  .desktop-nav {
    gap: 23px;
  }

  .hero {
    min-height: clamp(660px, calc(100svh - 76px), 830px);
  }

  .hero__slide {
    background-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(58px, 7.2vw, 74px);
  }

  .intro-section__inner,
  .services-section__heading {
    gap: 54px;
  }

  .service-row__content {
    grid-template-columns: minmax(225px, 0.95fr) minmax(210px, 0.8fr);
    gap: 30px;
  }

  .about-section__intro {
    gap: 70px;
  }

  .page-header {
    padding-block: 72px 66px;
  }

  .service-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .step {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .step p {
    grid-column: 2;
    margin-top: 6px;
  }

  .about-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-side {
    padding-left: 0;
    padding-top: 36px;
    border-left: 0;
    border-top: 1px solid rgb(18 38 74 / 16%);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-info {
    max-width: 560px;
  }

  .site-footer__inner {
    grid-template-columns: auto minmax(130px, 1fr) auto;
    gap: 24px;
  }
}

/* ==================== Mobilno ==================== */

@media (max-width: 720px) {
  html {
    scroll-padding-top: 72px;
  }

  .content-width {
    width: calc(100% - 44px);
  }

  .site-header__inner {
    min-height: 72px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 43px;
    height: 43px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid rgb(18 38 74 / 19%);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 15px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .mobile-menu[open] .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .mobile-menu[open] .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 8px 22px 18px;
    border-bottom: 1px solid rgb(18 38 74 / 12%);
    background: var(--paper);
    box-shadow: 0 18px 24px rgb(14 30 60 / 8%);
    animation: rise-in 180ms ease both;
  }

  .mobile-menu[open] .mobile-nav {
    display: flex;
  }

  .mobile-nav a {
    display: flex;
    min-height: 51px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgb(18 38 74 / 10%);
    color: var(--ink);
    font-size: 13px;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
  }

  .mobile-nav svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4px;
  }

  .hero {
    min-height: max(690px, calc(100svh - 72px));
  }

  .hero__slide {
    background-position: 60% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgb(9 21 43 / 86%) 0%, rgb(10 22 44 / 75%) 52%, rgb(11 23 45 / 44%) 100%),
      linear-gradient(0deg, rgb(9 20 41 / 40%) 0%, transparent 38%);
  }

  .hero__inner {
    padding-block: 72px 82px;
  }

  .hero__content {
    max-width: 560px;
  }

  .brand-lockup--hero {
    gap: 15px;
    margin-bottom: 24px;
  }

  .brand-lockup--hero .bnd-wordmark {
    width: 104px;
    height: 54px;
  }

  .hero h1 {
    font-size: clamp(43px, 8.8vw, 63px);
    line-height: 1.02;
  }

  .hero__description {
    max-width: 440px;
    margin-top: 23px;
    font-size: 14px;
    line-height: 1.75;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-top: 27px;
  }

  .hero__scroll {
    right: auto;
    bottom: 23px;
    left: 0;
  }

  .intro-section {
    padding-block: 96px 101px;
  }

  .intro-section__inner,
  .services-section__heading,
  .about-section__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .intro-section h2,
  .services-section h2,
  .about-section h2 {
    font-size: clamp(40px, 8vw, 55px);
  }

  .intro-section__copy {
    max-width: 510px;
  }

  .services-section {
    padding-block: 96px 100px;
  }

  .services-section__lead {
    max-width: 500px;
  }

  .service-list {
    margin-top: 42px;
  }

  .service-row {
    min-height: 0;
    grid-template-columns: 35px minmax(0, 1fr) 38px;
    gap: 12px;
    padding-block: 23px;
  }

  .service-row__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .service-row h3 {
    font-size: 22px;
  }

  .service-row p {
    max-width: 480px;
    font-size: 12px;
  }

  .service-row__link {
    width: 36px;
    height: 36px;
  }

  .about-section {
    padding-block: 96px 90px;
  }

  .about-section__intro {
    gap: 14px;
  }

  .about-section__story {
    max-width: 560px;
    padding-top: 0;
  }

  .about-section__story > p {
    font-size: 13px;
  }

  .working-style {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 49px;
  }

  .working-style__item,
  .working-style__item + .working-style__item {
    padding: 19px 0 20px;
    border-bottom: 1px solid rgb(255 255 255 / 17%);
    border-left: 0;
  }

  .working-style__item:last-child {
    border-bottom: 0;
  }

  .working-style h3 {
    margin-top: 11px;
    font-size: 22px;
  }

  .working-style p {
    max-width: 480px;
    margin-top: 6px;
  }

  .section-light,
  .section-cream,
  .section-navy,
  .contact-page {
    padding-block: 74px;
  }

  .checklist {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    grid-template-columns: 52px minmax(0, 1fr);
    padding-block: 28px;
  }

  .step__num {
    font-size: 32px;
  }

  .cta-band {
    padding-block: 68px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-section-legacy {
    padding-block: 97px 100px;
  }

  .site-footer__inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 14px;
    padding-block: 23px;
  }

  .site-footer__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-block: 10px 4px;
  }

  .site-footer__inner > a.top-link {
    grid-row: 1;
    justify-self: end;
  }

  .site-footer__copyright {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
  }
}

/* ==================== Uski mobiteli ==================== */

@media (max-width: 460px) {
  .content-width {
    width: calc(100% - 38px);
  }

  .brand-lockup--light {
    gap: 11px;
  }

  .brand-lockup--light .bnd-wordmark {
    width: 46px;
    height: 24px;
  }

  .brand-lockup--light .brand-sub {
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  .brand-divider {
    height: 26px;
  }

  .brand-lockup--hero .bnd-wordmark {
    width: 88px;
    height: 46px;
  }

  .brand-lockup--hero .brand-sub {
    font-size: 10px;
    letter-spacing: 0.42em;
  }

  .brand-lockup--hero .brand-tag {
    font-size: 7.5px;
  }

  .hero {
    min-height: max(650px, calc(100svh - 72px));
  }

  .hero__slide {
    background-position: 59% center;
  }

  .hero h1 {
    font-size: clamp(40px, 10.7vw, 49px);
  }

  .hero__description {
    max-width: 355px;
  }

  .button {
    min-height: 52px;
    gap: 15px;
    padding-inline: 15px;
    font-size: 11px;
  }

  .contact-form__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .form-field--message {
    margin-top: 28px;
  }

  .contact-form__footer {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 15px;
  }
}

/* ==================== Smanjene animacije ==================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero__slide:first-child {
    opacity: 1;
  }
}
