:root {
  --primary: #0f7f68;
  --primary-dark: #0a5347;
  --accent: #f1a23a;
  --accent-soft: #fff4df;
  --ink: #14231f;
  --muted: #60706a;
  --line: #dbe8e2;
  --soft: #f5faf7;
  --white: #ffffff;
  --dark: #10231f;
  --shadow: 0 18px 45px rgba(12, 47, 39, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

section {
  scroll-margin-top: 88px;
}

.section-pad {
  padding: 96px 0;
}

.bg-soft {
  background: var(--soft);
}

.navbar {
  min-height: 74px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(219, 232, 226, .75);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, min-height .25s ease;
}

.navbar.navbar-scrolled {
  min-height: 66px;
  box-shadow: 0 10px 30px rgba(11, 64, 52, .08);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.navbar-brand strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.1;
}

.navbar-brand small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.1;
}

.brand-mark {
  width: 124px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(15, 127, 104, .12);
  box-shadow: 0 10px 24px rgba(15, 127, 104, .12);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar .nav-link {
  color: #263b35;
  font-weight: 650;
  padding: .6rem .75rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(15, 127, 104, .16);
}

.btn {
  border-radius: 8px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  box-shadow: 0 12px 26px rgba(15, 127, 104, .22);
}

.btn-outline-light {
  --bs-btn-color: var(--white);
  --bs-btn-border-color: rgba(255, 255, 255, .72);
  --bs-btn-hover-color: var(--primary-dark);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-border-color: var(--white);
}

.nav-cta {
  min-width: 126px;
}

.hero-section {
  min-height: 88vh;
  padding-top: 74px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 35, 31, .92), rgba(12, 35, 31, .68) 48%, rgba(12, 35, 31, .34)),
    url("../assets/img/kutna-garnitura-2.webp") center / cover fixed;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, var(--primary), var(--accent), #4fb8c0);
}

.min-vh-hero {
  min-height: calc(88vh - 74px);
  padding: 72px 0 80px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: #c6fff2;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.section-kicker-light {
  color: #a8eadb;
}

.hero-section h1 {
  max-width: 850px;
  margin: 0 0 22px;
  font-size: 5.8rem;
  line-height: .96;
  font-weight: 850;
}

.hero-lead {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.hero-logo-panel {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 36px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(255, 255, 255, .78);
  backdrop-filter: none;
}

.hero-logo-panel img {
  width: min(100%, 360px);
  height: auto;
  object-fit: contain;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
}

h2 {
  margin: 0 0 18px;
  font-size: 3.25rem;
  line-height: 1.05;
  font-weight: 820;
  color: var(--ink);
}

.text-white h2,
.text-white p {
  color: var(--white);
}

.section-heading p,
.section-text {
  color: var(--muted);
  font-size: 1.06rem;
}

.intro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.intro-badges span {
  padding: 9px 13px;
  color: var(--primary-dark);
  background: var(--accent-soft);
  border: 1px solid #f4ddb4;
  border-radius: 8px;
  font-weight: 750;
}

.service-card,
.process-step,
.contact-panel,
.contact-form {
  height: 100%;
  border-radius: 8px;
}

.service-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15, 127, 104, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 127, 104, .36);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #dff5ee;
  font-size: 1.45rem;
}

.service-card h3,
.process-step h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 800;
}

.service-card p,
.process-step p {
  margin: 0;
  color: var(--muted);
}

.visual-break {
  padding: 118px 0;
  color: var(--white);
  background:
    linear-gradient(rgba(10, 36, 31, .78), rgba(10, 36, 31, .78)),
    url("../assets/img/kutna-sjeda-prije-poslije.webp") center / cover fixed;
}

.visual-break-content {
  max-width: 760px;
}

.visual-break span {
  display: inline-block;
  margin-bottom: 12px;
  color: #c6fff2;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-break h2 {
  color: var(--white);
}

.result-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.result-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

.result-card-tall img {
  aspect-ratio: 4 / 5;
}

.result-card:hover img {
  transform: scale(1.04);
}

.result-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(10, 35, 31, .78);
  backdrop-filter: blur(10px);
  font-weight: 750;
}

.bg-dark-panel {
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(48, 182, 200, .24), transparent 36%),
    linear-gradient(135deg, #0d211d, #18392f);
}

.process-step {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 850;
}

.process-step h3,
.process-step p {
  color: var(--white);
}

.process-step p {
  color: rgba(255, 255, 255, .74);
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-stack-main,
.image-stack-small {
  position: absolute;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-stack-main {
  inset: 0 auto auto 0;
  width: 76%;
  height: 430px;
}

.image-stack-small {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 310px;
  border: 10px solid var(--white);
}

.benefit-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.benefit-list div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.benefit-list i {
  color: var(--primary);
  font-size: 1.35rem;
}

.clean-accordion {
  display: grid;
  gap: 12px;
}

.clean-accordion .accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.clean-accordion .accordion-button {
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  box-shadow: none;
}

.clean-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-dark);
  background: #e9f8f3;
}

.clean-accordion .accordion-button:focus {
  box-shadow: 0 0 0 .18rem rgba(15, 127, 104, .16);
}

.accordion-body {
  color: var(--muted);
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 35, 31, .94), rgba(13, 35, 31, .82)),
    url("../assets/img/sjedeca-garnitura-prije-poslije.webp") center / cover;
}

.contact-section h2,
.contact-section p {
  color: var(--white);
}

.contact-panel,
.contact-form {
  padding: 34px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background-color .2s ease, transform .2s ease;
}

.contact-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .17);
}

.contact-links i {
  color: #c6fff2;
  font-size: 1.2rem;
}

.form-label {
  color: rgba(255, 255, 255, .88);
  font-weight: 750;
}

.form-control,
.form-select {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  color: var(--white);
  background-color: rgba(255, 255, 255, .1);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, .58);
}

.form-control:focus,
.form-select:focus {
  color: var(--white);
  border-color: #c6fff2;
  background-color: rgba(255, 255, 255, .13);
  box-shadow: 0 0 0 .2rem rgba(198, 255, 242, .16);
}

.form-select option {
  color: var(--ink);
}

.site-footer {
  padding: 42px 0 26px;
  color: rgba(255, 255, 255, .76);
  background: #091713;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-brand {
  color: var(--white);
  font-weight: 850;
  margin-bottom: 10px;
}

.footer-grid p {
  max-width: 420px;
  margin: 0;
}

.footer-links,
.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, .74);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  color: rgba(255, 255, 255, .58);
  font-size: .95rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 14px 0 18px;
  }

  .hero-section {
    min-height: auto;
    background-attachment: scroll;
  }

  .min-vh-hero {
    min-height: 78vh;
    padding: 56px 0 66px;
  }

  .hero-section h1 {
    font-size: 4.25rem;
  }

  .hero-lead {
    font-size: 1.14rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-card {
    display: block;
  }

  .hero-logo-panel {
    min-height: 260px;
    padding: 28px;
  }

  .visual-break {
    background-attachment: scroll;
  }

  .image-stack {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .image-stack-main,
  .image-stack-small {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border: 0;
  }

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

  .footer-links,
  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .section-pad {
    padding: 70px 0;
  }

  .navbar {
    min-height: 68px;
  }

  .brand-mark {
    width: 104px;
    height: 38px;
  }

  .hero-section {
    padding-top: 68px;
  }

  .min-vh-hero {
    min-height: 70vh;
    padding: 36px 0 44px;
  }

  .hero-section h1 {
    font-size: 2.85rem;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-points {
    display: none;
  }

  .hero-points span {
    width: 100%;
  }

  .service-card,
  .contact-panel,
  .contact-form,
  .process-step {
    padding: 24px;
  }

  .visual-break {
    padding: 86px 0;
  }

  .result-card img,
  .result-card-tall img {
    aspect-ratio: 4 / 3;
  }

  .footer-bottom {
    display: grid;
  }
}
