/* BG Investigation — oblikovni sistem (po CGP/tokens.css in CGP/CGP_PRAVILA.md). */

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

html {
  scroll-behavior: smooth;
  background: var(--bg-paper);
}

body {
  margin: 0;
  /* Ozadje prinese priljena plast body::before; telo mora biti
     prozorno, sicer bi belo ozadje prekrilo tekstil. */
  background: transparent;
  color: var(--bg-navy);
  font-family: var(--bg-font-body);
  font-size: 16px;
  line-height: 25px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--bg-font-heading);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0 0 1.25em;
}

:focus-visible {
  outline: 3px solid var(--bg-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg-gold);
  color: var(--bg-navy);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* ------------------------------------------------------------ razdelki */

.section {
  padding: var(--bg-section-space) var(--bg-gutter);
}

.section--tight {
  padding-top: 0;
  padding-bottom: var(--bg-section-space);
}

.section--paper {
  background: var(--bg-paper);
  color: var(--bg-navy);
}

/* Temni razdelki so prozorni: pod njimi je priljena tekstilna plast,
   zato se ozadje ob scrollu ne premika. */
.section--ink {
  background: transparent;
  color: var(--bg-paper);
}

.section--velvet {
  background: transparent;
  color: var(--bg-paper);
}

/* Razdelek glave: vsi napisi so usredinjeni in zloženi v en stolpec —
   naslov, uvodni odstavek in povezava. */
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  max-width: var(--bg-content-max);
  margin-inline: auto;
  text-align: center;
}

.section__head__title {
  max-width: 44rem;
}

.section__head__intro {
  max-width: 40rem;
}

.section__head__intro p {
  color: #3a4756;
  margin-bottom: 0;
}

.section--ink .section__head__intro p {
  color: var(--bg-silver);
}

.section__head__cta {
  align-self: center;
}

.section__title {
  font-size: 36px;
  line-height: 44px;
  margin-bottom: 1.5rem;
}

.section__title--sm {
  font-size: 28px;
  line-height: 34px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg-gold-on-light);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section--ink .eyebrow,
.section--velvet .eyebrow {
  color: var(--bg-gold);
}

/* ---------------------------------------------------------------- glava */

/* Glava: navy tekstura (CGP: "Ozadje in znak morata biti v ločenih
   elementih", prosojne praznine v črkah morajo razkrivati podlago).
   Znak je prosojna slika, zato je pod njim vidna tekstura.
   Ozadje je prenešeno z enako izvorno sliko in enakim »cover« izrezom
   kot temna plast domače strani, zato glava in vsebina zvenita
   kot ena sama tkanina. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--bg-navy);
  background-image: var(--bg-navy-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(198, 161, 106, 0.28);
}

.site-header__inner {
  max-width: var(--bg-content-max);
  margin: 0 auto;
  padding: 0.75rem var(--bg-gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand__lockup {
  display: block;
  width: 300px;
  max-width: 42vw;
  height: auto;
}

/* Besedno ime je nadomestek za znak samo pod najmanjšo širino (CGP:
   "Pod to mejo uporabi besedno ime podjetja v vsebinski pisavi"). */
.brand__text {
  display: none;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--bg-font-heading);
  font-size: 20px;
  color: var(--bg-paper);
}

.brand__tagline {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg-gold);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav__link {
  color: var(--bg-silver);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--bg-transition), border-color var(--bg-transition);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current='page'] {
  color: var(--bg-gold);
  border-bottom-color: var(--bg-gold);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(198, 161, 106, 0.5);
  color: var(--bg-paper);
  padding: 0.6rem 0.9rem;
  min-height: 44px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--bg-gold);
  transition: transform var(--bg-transition), opacity var(--bg-transition);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------------------------------------------------------------- gumbi */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-family: var(--bg-font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--bg-transition), color var(--bg-transition), border-color var(--bg-transition);
}

.btn--gold {
  background: var(--bg-gold);
  color: var(--bg-navy);
}

/* Puščica v gumbih in povezavah — SVG, zato je enaka v vseh
   brskalnikih in ne pade v kvadrat (tofu). */
.arrow {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.125em;
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: #d8b782;
}

.btn--outline {
  background: transparent;
  color: var(--bg-paper);
  border-color: var(--bg-gold);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--bg-gold);
  color: var(--bg-navy);
}

.section--paper .btn--outline {
  color: var(--bg-navy);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bg-navy);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--bg-gold);
  padding-bottom: 2px;
  min-height: 44px;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--bg-gold-on-light);
}

/* ---------------------------------------------------------------- hero */

/* Hero na domači strani nima več velikega znaka: razdelek drži samo
   napis (ozadje je tekstil celotne strani). Prostor je zato skrčen
   na vsebino — brez praznih vrstic in brez lepljivega okvira.
   Napis je poravnan z levim robom vsebine, enako kot naslovi
   razdelkov spodaj. */
.hero {
  background: var(--bg-navy);
  color: var(--bg-paper);
  overflow: clip;
}

.page-home .hero {
  background: transparent;
}

.hero__frame {
  max-width: var(--bg-content-max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4rem) var(--bg-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.hero__content {
  max-width: 42rem;
  width: 100%;
}

.hero__title {
  font-size: 48px;
  line-height: 54px;
  margin-bottom: 1.5rem;
}

.hero__content .eyebrow {
  text-align: center;
}

.hero__title-accent {
  color: var(--bg-gold);
}

.hero__lead {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: var(--bg-silver);
  font-size: 20px;
  line-height: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------- kartice */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--bg-content-max);
  margin-inline: auto;
}

.grid-cards--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  border: 1px solid #d9d4cb;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #efebe4;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__media--contain {
  background: #f2f1ee;
  padding: 12px;
}

.service-card__media--contain img {
  object-fit: contain;
}

.service-card__title {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 0.5rem;
}

.service-card__text {
  color: #3a4756;
  margin-bottom: 1rem;
  flex: 1 1 auto;
}

.service-card__link {
  align-self: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg-navy);
  border-bottom: 1px solid var(--bg-gold);
  padding-bottom: 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-card__link:hover,
.service-card__link:focus-visible {
  color: var(--bg-gold-on-light);
}

/* ---------------------------------------------------------------- o nas */

.about {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.about__p {
  color: var(--bg-silver);
  max-width: 40rem;
  margin-inline: auto;
}

.about__panel {
  background-color: var(--bg-ink);
  background-image: var(--bg-navy-image);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(198, 161, 106, 0.35);
  padding: 2.5rem 2rem;
  display: grid;
  place-items: center;
  min-height: 220px;
}

.about__panel img {
  width: 100%;
  max-width: 22rem;
  height: auto;
}

/* ------------------------------------------------------------ prednosti */

.section--advantages {
  text-align: center;
}

.section--advantages > .eyebrow,
.section--advantages > .section__title {
  max-width: var(--bg-content-max);
  margin-inline: auto;
}

/* Uvodni odstavek razdelka prednosti. Na temnih pasih je srebrna barva,
   osredinjen in omejen na širino odstavka. */
.section__lead {
  color: var(--bg-silver);
  max-width: 46rem;
  margin: 0 auto;
}

.advantages {
  list-style: none;
  margin: 3rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--bg-content-max);
}

.advantage {
  border-left: 1px solid rgba(198, 161, 106, 0.4);
  padding-left: 24px;
  text-align: center;
}

.advantage:first-child {
  border-left: 0;
  padding-left: 0;
}

.advantage__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.advantage__title {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 0.5rem;
  color: var(--bg-paper);
}

.advantage__text {
  color: var(--bg-silver);
  margin: 0;
}

/* --------------------------------------------------------------- kontakt */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: center;
  max-width: var(--bg-content-max);
  margin: 0 auto;
  text-align: center;
}

.contact__lead {
  color: var(--bg-silver);
  max-width: 34rem;
  margin-inline: auto;
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact__list--stack li {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(198, 161, 106, 0.25);
}

.contact__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg-gold);
  font-weight: 700;
}

.contact__value,
.contact__list a {
  color: var(--bg-paper);
  text-decoration: none;
  font-size: 18px;
}

.contact__list a:hover,
.contact__list a:focus-visible {
  color: var(--bg-gold);
}

.contact__note {
  color: #4a5563;
  font-size: 14px;
  margin-top: 1.5rem;
}

.section--ink .contact__note {
  color: var(--bg-silver);
}

/* --------------------------------------------------------------- obrazec */

.contact-form {
  background: #fff;
  border: 1px solid #d9d4cb;
  padding: 32px;
  color: var(--bg-navy);
  text-align: center;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field__label--inline {
  font-weight: 400;
  letter-spacing: 0;
}

.field__input {
  font: inherit;
  color: var(--bg-navy);
  background: #fbfaf7;
  border: 1px solid #cfc9be;
  border-radius: 0;
  padding: 0.75rem 0.9rem;
  min-height: 48px;
  width: 100%;
}

.field__input:focus {
  border-color: var(--bg-gold);
  background: #fff;
}

.field__input--textarea {
  min-height: 140px;
  resize: vertical;
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 20px;
}

.field__check {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--bg-gold);
}

.field__error {
  color: #9a2b2b;
  font-size: 13px;
  margin: 0;
}

/* Označeno polje: rdeča obroba + poudarjeno, da je napaka vidna. */
.field__input.is-invalid {
  border-color: #9a2b2b;
  background: #fdf7f7;
}

.field__check.is-invalid {
  outline: 2px solid #9a2b2b;
  outline-offset: 2px;
}

.field__hint {
  color: #6c6558;
  font-size: 13px;
  margin: 0.35rem 0 0;
}

.contact-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-form__note {
  font-size: 13px;
  color: #4a5563;
  margin: 0;
  max-width: 22rem;
}

.form-banner {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--bg-gold);
  background: #fbfaf7;
  font-weight: 700;
}

.form-banner--ok {
  border-left-color: #1f6b45;
  color: #1f6b45;
}

.form-banner--error {
  border-left-color: #9a2b2b;
  color: #9a2b2b;
}

.contact-form__status {
  margin: 1rem 0 0;
  font-weight: 700;
}

.contact-form__status.is-ok {
  color: #1f6b45;
}

.contact-form__status.is-error {
  color: #9a2b2b;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------- podstran storitve */

.page-head {
  border-bottom: 1px solid #ded8cd;
}

.page-head__inner {
  max-width: var(--bg-content-max);
  margin: 0 auto;
  text-align: center;
}

.page-head__lead {
  font-size: 20px;
  line-height: 30px;
  color: #3a4756;
  max-width: 46rem;
  margin-inline: auto;
}

.page-head--ink {
  background: transparent;
  color: var(--bg-paper);
  border-bottom: 0;
}

.page-head--ink .page-head__lead {
  color: var(--bg-silver);
}

.page-head__meta {
  font-size: 14px;
  color: #6b7480;
}

.breadcrumb {
  font-size: 14px;
  color: #6b7480;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: inherit;
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  max-width: var(--bg-content-max);
  margin: 0 auto;
}

.service-hero__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #efebe4;
}

.service-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-hero__media--contain {
  background: #f2f1ee;
  padding: 24px;
}

.service-hero__media--contain img {
  object-fit: contain;
}

.service-hero__text {
  text-align: center;
}

.service-hero__text p {
  color: #2b3542;
}

.service-hero__kicker {
  font-family: var(--bg-font-heading);
  font-size: 24px;
  line-height: 30px;
  color: var(--bg-gold-on-light);
  margin-bottom: 1.5rem;
}

.related {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--bg-content-max);
}

.related__item {
  text-align: center;
}

.related__item a {
  display: block;
  padding: 16px;
  border: 1px solid #d9d4cb;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
}

.related__item a:hover,
.related__item a:focus-visible {
  border-color: var(--bg-gold);
}

/* ------------------------------------------------------------ kontaktna */

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
  max-width: var(--bg-content-max);
  margin: 0 auto;
  text-align: center;
}

.contact-page__details .section__title {
  margin-bottom: 1.5rem;
}

.contact-page__details .contact__list li {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2ddd2;
  text-align: center;
}

.contact-page__details .contact__label {
  color: var(--bg-gold-on-light);
}

.contact-page__details .contact__value,
.contact-page__details .contact__list a {
  color: var(--bg-navy);
  font-size: 18px;
}

.contact-page__details .contact__list a:hover,
.contact-page__details .contact__list a:focus-visible {
  color: var(--bg-gold-on-light);
}

/* ---------------------------------------------------------------- prose */

.prose {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.prose__section {
  margin-bottom: 2.5rem;
}

.prose__section h2 {
  font-size: 28px;
  line-height: 34px;
  margin-bottom: 0.75rem;
}

/* ----------------------------------------------------------------- noga */

.site-footer {
  background: transparent;
  color: var(--bg-silver);
  border-top: 1px solid rgba(198, 161, 106, 0.28);
}

.site-footer__inner {
  max-width: var(--bg-content-max);
  margin: 0 auto;
  padding: 3rem var(--bg-gutter);
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.site-footer__lockup {
  width: 280px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.site-footer__nav a {
  color: var(--bg-silver);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--bg-gold);
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: #8b949e;
  border-top: 1px solid rgba(198, 161, 106, 0.2);
  padding-top: 1.25rem;
}

/* ----------------------------------------------------------- odzivnost */

@media (max-width: 1100px) {
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-cards--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .advantage:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .nav__list {
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .hero__frame,
  .about,
  .contact,
  .contact-page,
  .service-hero,
  .section__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__frame {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    padding-top: 1rem;
  }

  .hero__content {
    grid-column: 1;
    grid-row: 1;
    text-align: center;
    max-width: 40rem;
  }

  .hero__content .eyebrow {
    text-align: center;
  }

  .section__head__cta {
    justify-self: start;
    align-self: start;
  }
  .hero__title {
    font-size: 34px;
    line-height: 40px;
  }

  .hero__lead {
    font-size: 18px;
    line-height: 28px;
  }

  .section__title {
    font-size: 28px;
    line-height: 34px;
  }

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

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

  .site-footer__nav ul {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  :root {
    --bg-header-h: 4.4375rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-navy);
    border-bottom: 1px solid rgba(198, 161, 106, 0.28);
    padding: 1rem var(--bg-gutter) 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(198, 161, 106, 0.18);
  }

  /* CGP: "Pod to mejo [280 CSS px] uporabi besedno ime podjetja v
     vsebinski pisavi." Na mobilni širini 280 px znak + gumb ne prideta
     v vrstico, zato glava prikaže besedno ime. Kovinski znak ostane
     v celoti v predstavitvenem razdelku. */
  .brand__lockup {
    display: none;
  }

  .brand__text {
    display: flex;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__tagline {
    font-size: 10px;
  }

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

  .contact-form {
    padding: 24px 20px;
  }

  .advantage,
  .advantage:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(198, 161, 106, 0.3);
    padding-top: 24px;
  }

  .advantage:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 400px) {
  .brand__lockup {
    width: 150px;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================================================================
   Domača stran — tekstilno ozadje po celotni strani.
   Vsebina (naslovi, kartice, noga) drsi čez tekstil; svetle
   kartice in obrazec ostanejo kot svetli otoki, da je besedilo
   vedno berljivo.
   ================================================================== */

/* Tekstilna plast je priljena oknu (fixed) in je enaka na vseh
   straneh: vsebina drsi čez njejo, ozadje pa stoji. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg-navy);
  background-image: var(--bg-navy-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-home {
  background: transparent;
  color: var(--bg-paper);
}

/* Razdelki ne prekrivajo tekstila. */
.page-home .hero,
.page-home .section--paper,
.page-home .section--ink,
.page-home .section--velvet {
  background: transparent;
  background-image: none;
}

.page-home .section--paper {
  color: var(--bg-paper);
}

.page-home .section__head__intro p,
.page-home .contact__note {
  color: var(--bg-silver);
}

.page-home .eyebrow {
  color: var(--bg-gold);
}

.page-home .link-arrow {
  color: var(--bg-paper);
}

/* Kartica storitve — prozoren temni panel z zlatim robom, da
   tekstil ostane viden skozi kartico. */
.page-home .service-card {
  background: rgba(17, 26, 36, 0.72);
  border-color: rgba(198, 161, 106, 0.3);
  backdrop-filter: blur(3px);
}

.page-home .service-card__title {
  color: var(--bg-paper);
}

.page-home .service-card__text {
  color: var(--bg-silver);
}

.page-home .service-card__link {
  color: var(--bg-paper);
}

.page-home .service-card__media {
  background: rgba(17, 26, 36, 0.55);
}

.page-home .service-card__media--contain {
  background: #f2f1ee;
}

/* Noga se nadaljuje iz tekstila. */
.page-home .site-footer {
  background: transparent;
  border-top: 1px solid rgba(198, 161, 106, 0.28);
}

/* ==================================================================
   Storitve — pod naslovom (kjer so slike storitev) je navy.
   Naslovna plošča ostane bela, pas s slikami pa je navy, kartice pa
   prozorne temne plošče, kot na domači strani.
   ================================================================== */

/* Opis storitve (odstavek, kicker, gumb) stoji tri prazne vrstice
   pod belim pasom z naslovom — odmik je med pasom in besedilom, ne
   znotraj belega pasa. Pas tako ohrani svojo prvotno višino, besedilo
   pa ni več stisnjeno ob njegovem robu.

   Odmik je na razdelku z opisom (prvi section--tight za page-head),
   zato premakne tudi sliko storitve — celoten blok opisa gre navzdol
   skupaj. Enako velja za vseh 11 storitev. */
.page-service .page-head + .section--tight {
  padding-top: calc(3 * var(--bg-empty-line));
}

.page-services .section--tight,
.page-service .section--tight {
  background: transparent;
  color: var(--bg-paper);
  text-align: center;
}

.page-services .service-card,
.page-service .service-card {
  background: rgba(17, 26, 36, 0.72);
  border-color: rgba(198, 161, 106, 0.3);
  backdrop-filter: blur(3px);
}

.page-services .service-card__title,
.page-service .service-card__title {
  color: var(--bg-paper);
}

.page-services .service-card__text,
.page-service .service-card__text {
  color: var(--bg-silver);
}

.page-services .service-card__link,
.page-service .service-card__link {
  color: var(--bg-paper);
}

.page-services .service-card__media,
.page-service .service-card__media {
  background: rgba(17, 26, 36, 0.55);
}

/* Izvirni posnetek aparata ostane na svetli podlagi. */
.page-services .service-card__media--contain,
.page-service .service-card__media--contain {
  background: #f2f1ee;
}

/* Podstran storitve — besedilo, naslov in povezave na navy podlagi. */
.page-service .service-hero__text p {
  color: var(--bg-silver);
}

.page-service .service-hero__kicker {
  color: var(--bg-gold);
}

.page-service .service-hero__media {
  background: rgba(17, 26, 36, 0.55);
}

.page-service .service-hero__media--contain {
  background: #f2f1ee;
}

.page-service .related__item a {
  background: rgba(17, 26, 36, 0.72);
  border-color: rgba(198, 161, 106, 0.3);
  color: var(--bg-paper);
}

@media print {
  .site-header,
  .nav,
  .site-footer,
  .contact-form {
    display: none;
  }
}
