:root {
  --blue: #003b7a;
  --blue-dark: #003b7a;
  --blue-soft: #ffffff;
  --text: #000000;
  --muted: #000000;
  --border: #d9d9d9;
  --bg: #ffffff;
  --alt: #ffffff;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; /* Safari / iOS */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE / Edge */
  user-select: none;         /* Standard */
}

.allow-user-select {
  -webkit-user-select: text; /* Safari / iOS */
  -moz-user-select: text;    /* Firefox */
  -ms-user-select: text;     /* IE / Edge */
  user-select: text;         /* Standard */
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

#o-i {
  background-color: #003b7a;
  color: goldenrod;
  font-size: 0.8em;
  text-align: center;
  padding: 25px 0px;
}

#i-o-back {
  position: relative;
  left: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  height: 10px;
  border-radius: 4px;
  border: 1px solid goldenrod;
  color: rgb(242, 246, 248);
  font-size: 0.6em;
  float: left;
  padding: 10px;
} #i-o-back:hover {
  background: goldenrod;
  color: white;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.topbar {
  background: var(--blue);
  border-bottom: 1px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* #site-logo {
  width: 200px;d
  background-color: yellow;
  background-position: center;
  background-size: 300% !important;
} */

.brand img {
  width: 300px;
  height: 70px;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav a {
  padding: 10px 0;
  color: #fff;
}

.hero {
  background: #fff;
  color: var(--text);
  padding: 64px 0;
}

.hero__grid {
  display: block;
}

.hero__content {
  border: 1px solid var(--border);
  background: #fff;
  padding: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
}

.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 62ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.button {
  border: 1px solid var(--blue);
  padding: 14px 18px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 0;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--solid {
  background: var(--blue);
  color: #fff;
}

.button--ghost {
  background: transparent;
  color: var(--blue);
}

.hero__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero__stats li {
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px;
}

.hero__stats strong {
  display: block;
  margin-bottom: 6px;
}

.hero__stats span {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.section {
  padding: 72px 0;
}

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

.section__heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section__heading .eyebrow {
  color: var(--blue);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.contact-box,
.table-wrap {
  border: 1px solid var(--border);
  background: #fff;
}

.card {
  padding: 22px;
  min-height: 180px;
}

.card p,
.section__note,
.contact-box p {
  color: var(--muted);
  line-height: 1.7;
}

.table-wrap {
  overflow-x: auto;
}

.pricing {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.pricing th,
.pricing td {
  border-bottom: 1px solid var(--border);
  padding: 16px;
  text-align: left;
  vertical-align: middle;
}

.pricing th {
  background: var(--blue);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

.pricing tr:nth-child(even) td {
  background: #fff;
}

.pricing__img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  /* border: 1px solid var(--border); */
  background: #fff;
}

.price-tag {
  text-align: center !important;
  font-weight: 500;
  color: var(--blue-dark);
}

.price-tag--special {
  font-weight: 550;
  color: #14bb22;
}

#jyskPricingTh {
  /* text-align: center; */
  background-color: #14bb22 !important;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.gallery__item {
  position: relative;
  margin: 0;
  aspect-ratio: 35 / 30;
  /* border: 1px solid var(--border); */
  background: #fff;
  overflow: hidden;
  box-shadow: #000000 5px 5px 20px 3px;
}

.gallery__watermark {
  opacity: 50%;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 50%;
  height: 50px;
  background-image: url('../assets/logo_skreconepl_mebelek.png');
  background-position: center;
  background-size: cover;
  /* border: 1px solid var(--border); */
  color: white;
  font-weight: 500;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery__item .gallery__hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.gallery__item:hover .gallery__hover,
.gallery__item:focus-within .gallery__hover {
  opacity: 1;
}

.gallery__item:hover .gallery__base,
.gallery__item:focus-within .gallery__base {
  opacity: 0;
}

.gallery__caption {
  position: absolute;
  left: 0px;
  right: 14px;
  bottom: 14px;
  width: 50%;
  background: #003b7ab2;
  /* border: 1px solid var(--border); */
  color: white;
  font-weight: 500;
  padding: 10px 12px;
  font-size: 0.92rem;
  /* text-shadow: black 1px 1px 2px; */
}

.section--contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.contact-box {
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-box__row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-box__row:last-child {
  border-bottom: 0;
}

.contact-box__row span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  background: #fff;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .cards,
  .gallery,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    gap: 18px;
  }

  .gallery__item {
    width: 100%;
    aspect-ratio: 16 / 16;
  }

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

@media (max-width: 960px) {
  .topbar .container {
    width: 100%;
    max-width: none;
  }

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

  .brand {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  .brand img {
    width: 100%;
    height: 56px;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
  }

  .nav a {
    padding: 14px 4px;
    text-align: center;
  }

  .hero,
  .section {
    padding: 52px 0;
  }

  .hero__content {
    padding: 22px;
  }

  .footer__inner {
    flex-direction: column;
  }

  .pricing {
    min-width: 0px;
    font-size: 0.8em;
  }
  .pricing__img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    /* border: 1px solid var(--border); */
    background: #fff;
  }

  .gallery__watermark {
    width: 30%;
    height: 30px;
  }
}
