:root {
  --bg: #ffffff;
  --fg: #0b0b0b;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --card: #f6f6f6;

  /* accent blue for small details */
  --accent: #1e3a8a; /* možeš promijeniti */
  --accentSoft: rgba(43, 108, 255, 0.12);

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 0.92rem;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
  background: var(--fg);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn:hover {
  opacity: 0.92;
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  background: var(--card);
}
.btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}
.brand__logo {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand__fallback {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--fg);
  color: #fff;
  display: none;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav a {
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.nav a:hover {
  color: var(--fg);
  background: var(--accentSoft);
}
.nav__cta {
  color: var(--fg);
  border: 1px solid var(--line);
  background: var(--card);
}
.nav__cta:hover {
  background: var(--accentSoft);
  border-color: rgba(43, 108, 255, 0.25);
}

.navToggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
  cursor: pointer;
}

.mobileNav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobileNav__inner {
  display: flex;
  flex-direction: column;
  padding: 10px 0 16px;
  gap: 8px;
}
.mobileNav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card);
}

/* HERO */
.hero {
  position: relative;
  padding: 64px 0 30px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.78)
    ),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(2.05) contrast(1.05);
  transform: scale(1.03);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
  align-items: start;
}
.hero__copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}
.hero__copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.hero__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
/*
.hero__card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.hero__card h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}*/
.quick .field {
  margin-bottom: 10px;
}

/* SECTIONS */
.section {
  padding: 44px 0;
}
.section--alt {
  background: #fafafa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  margin-bottom: 18px;
}
.section__head h2 {
  margin: 0 0 6px;
  font-size: 1.75rem;
}

/* CARDS / FORMS */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--card);
}
.card--white {
  background: #fff;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
label {
  font-weight: 800;
}
input,
textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 1rem;
  background: #fff;
  outline: none;
}
input:focus,
textarea:focus {
  border-color: rgba(43, 108, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(43, 108, 255, 0.1);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0 14px;
  color: var(--muted);
}
.check input {
  margin-top: 4px;
}

.linkBtn {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  font-weight: 800;
}
.linkBtn:hover {
  text-decoration: underline;
}

/* SERVICES */
.services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}
.service__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}
.service__title h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.service__title p {
  margin: 0;
}
.service__body {
  border-top: 1px solid var(--line);
  background: #fcfcfc;
}
.service__bodyInner {
  padding: 14px 16px 18px;
}
.bullets {
  margin: 0 0 12px;
  padding-left: 18px;
}
.bullets li {
  margin: 6px 0;
  color: var(--muted);
}
.bullets--tight li {
  margin: 5px 0;
}

.linkCta {
  border: none;
  background: transparent;
  padding: 8px 0;
  color: var(--accent);
  cursor: pointer;
  font-weight: 900;
  font-size: 1rem;
}
.linkCta:hover {
  text-decoration: underline;
}

.calcPanel {
  margin-top: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
}
.calcPanel h4 {
  margin: 0 0 6px;
}

.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.calc__form {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
}
.calc__result {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
}
.twoCol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.calc__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.resultCard h4 {
  margin: 0 0 10px;
}
.resultGrid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resultRow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.resultRow--big strong {
  font-size: 1.15rem;
}
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 6px 0;
}

/* CTA strip */
/*.ctaStrip {
  margin-top: 16px;
  border: 1px solid rgba(43, 108, 255, 0.18);
  background: linear-gradient(
    90deg,
    rgba(43, 108, 255, 0.08),
    rgba(255, 255, 255, 1)
  );
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ctaStrip p {
  margin: 0;
  color: var(--muted);
}
.ctaStrip strong {
  color: var(--fg);
}*/

/* ABOUT */
.aboutGrid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}
.aboutCard {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.aboutCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(43, 108, 255, 0.22);
}
.timeline {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.timeline__item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.timeline__year {
  font-weight: 900;
  color: var(--accent);
}
.timeline__text p {
  margin: 4px 0 0;
}

.aboutAside {
  background: #fff;
}
.aboutAside h3 {
  margin: 0 0 8px;
}

/* REVIEWS */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.review {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}
.review__stars {
  color: var(--accent);
  letter-spacing: 1px;
}
.review__text {
  margin: 10px 0 10px;
}
.review__who {
  margin: 0;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faqItem {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faqQ {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-weight: 900;
  cursor: pointer;
}
.faqQ:hover {
  background: var(--accentSoft);
}
.faqA {
  border-top: 1px solid var(--line);
  padding: 0 16px 14px;
}
.faqA p {
  margin: 10px 0 0;
}

/* CONTACT (blur background) */
.contactSection {
  position: relative;
  padding: 48px 0;
  overflow: hidden;
}
.contactBg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.8)),
    url("images/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(10px) saturate(1.05);
  transform: scale(1.08);
}
.contactWrap {
  position: relative;
}
.contactHead {
  max-width: 760px;
  margin-bottom: 14px;
}
.contactHead h2 {
  margin: 0 0 6px;
  font-size: 1.75rem;
}
.contactGrid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
}
.miniRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.miniBox {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

/* FOOTER */
.footer {
  background: #0b0b0b;
  color: #fff;
  padding: 22px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__meta {
  margin: 6px 0 0;
  opacity: 0.8;
  font-size: 0.92rem;
}
.footerLink {
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 12px;
}
.footerLink:hover {
  background: rgba(255, 255, 255, 0.08);
  outline: 1px solid rgba(43, 108, 255, 0.35);
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 400;
}
.modal.show {
  display: block;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.modal__card {
  position: relative;
  max-width: 760px;
  margin: 6vh auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.modal__head h3 {
  margin: 0;
}
.iconBtn {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
}
.iconBtn:hover {
  background: var(--accentSoft);
}
.modal__body {
  padding: 14px 16px 18px;
}
.prose p {
  margin: 0 0 10px;
  color: var(--muted);
}
.prose ul {
  margin: 0 0 10px;
  color: var(--muted);
  padding-left: 18px;
}
.prose h4 {
  margin: 14px 0 8px;
}

/* COOKIE */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 500;
  display: none;
}
.cookie.show {
  display: block;
}
.cookie__inner {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.cookie__text p {
  margin: 4px 0 0;
  color: var(--muted);
}
.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .calc {
    grid-template-columns: 1fr;
  }
  .aboutGrid {
    grid-template-columns: 1fr;
  }
  .reviews {
    grid-template-columns: 1fr;
  }
  .contactGrid {
    grid-template-columns: 1fr;
  }
  .ctaStrip {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 680px) {
  .nav {
    display: none;
  }
  .navToggle {
    display: inline-flex;
  }
  .twoCol {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .header .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
}
/* honeypot */
.hp {
  display: none !important;
}
