:root {
  --ink: #102338;
  --ink-soft: #395064;
  --blue: #0d5f8c;
  --blue-deep: #06334f;
  --aqua: #65c3d0;
  --sand: #f3eadf;
  --stone: #f8f4ee;
  --clay: #c97b51;
  --white: #ffffff;
  --line: rgba(16, 35, 56, 0.12);
  --shadow: 0 24px 70px rgba(16, 35, 56, 0.16);
  --radius-lg: 32px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--stone);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 12% 18%, rgba(101, 195, 208, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(201, 123, 81, 0.12), transparent 26rem),
    linear-gradient(135deg, #fbf7f0 0%, #ecf5f6 100%);
}

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

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Fraunces", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.4rem;
}

p {
  color: var(--ink-soft);
}

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

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
  display: inline-block;
  width: 42px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section-kicker.light,
.visual-cta .section-kicker {
  color: #b9f4ff;
}

.lead-text {
  color: #334b5d;
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
}

.btn {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 18px 36px rgba(13, 95, 140, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #0a73a8, #052b43);
  box-shadow: 0 22px 44px rgba(13, 95, 140, 0.34);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.main-nav {
  padding: 18px 0;
  background: rgba(248, 244, 238, 0.82);
  border-bottom: 1px solid rgba(16, 35, 56, 0.08);
  backdrop-filter: blur(18px);
  transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.main-nav.nav-scrolled {
  padding: 10px 0;
  background: rgba(248, 244, 238, 0.96);
  box-shadow: 0 16px 40px rgba(16, 35, 56, 0.09);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark:hover {
  color: var(--ink);
}

.brand-icon {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--white);
  place-items: center;
  border-radius: 16px 16px 22px 16px;
  background: linear-gradient(145deg, var(--blue), var(--aqua));
  box-shadow: 0 14px 30px rgba(13, 95, 140, 0.24);
  font-family: "Fraunces", serif;
  font-weight: 800;
}

.brand-mark strong {
  display: block;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-mark small {
  display: block;
  margin-top: 0.12rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 95, 140, 0.2);
}

.nav-link {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 800;
}

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

.nav-cta {
  color: var(--white);
  background: var(--ink);
  padding: 0.7rem 1.1rem;
}

.nav-cta:hover {
  color: var(--white);
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(6, 26, 42, 0.93) 0%, rgba(6, 42, 65, 0.86) 45%, rgba(16, 35, 56, 0.2) 100%),
    url("../assets/img/keramika-postavljanje.jpg") center/cover no-repeat;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-copy {
  padding-top: 100px;
}

.hero h1,
.hero p {
  color: var(--white);
}

.hero p {
  max-width: 640px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-facts {
  display: grid;
  max-width: 660px;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.4rem;
}

.hero-facts div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: var(--white);
  font-size: 0.98rem;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.hero-gallery {
  position: relative;
  min-height: 620px;
}

.hero-card {
  position: absolute;
  object-fit: cover;
  border: 12px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-card-main {
  right: 0;
  bottom: 18%;
  width: min(78%, 520px);
  height: 520px;
  border-radius: 48px 48px 16px 48px;
}

.hero-card-side {
  left: 0;
  bottom: 7%;
  width: 46%;
  height: 300px;
  border-radius: 16px 40px 40px 40px;
}

.hero-note {
  position: absolute;
  right: 7%;
  bottom: 9%;
  min-width: 220px;
  padding: 1.05rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 24px;
  background: rgba(6, 51, 79, 0.88);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.hero-note span,
.hero-note strong {
  display: block;
  color: var(--white);
}

.hero-note span {
  color: #b9f4ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note strong {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  line-height: 1.05;
}

.intro {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 3.1rem;
}

.section-heading p {
  max-width: 680px;
  margin: 1rem auto 0;
  font-size: 1.08rem;
}

.offer-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0)),
    var(--stone);
}

.offer-card {
  position: relative;
  height: 100%;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(16, 35, 56, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.offer-card::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  content: "";
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(101, 195, 208, 0.16), rgba(201, 123, 81, 0.12));
  transform: rotate(12deg);
}

.offer-card:hover {
  border-color: rgba(13, 95, 140, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.offer-card i {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1.4rem;
  color: var(--blue);
  place-items: center;
  border-radius: 18px;
  background: #e4f4f6;
  font-size: 1.55rem;
}

.offer-card h3 {
  margin-bottom: 0.85rem;
}

.offer-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.split-section {
  background: #fffaf3;
}

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

.stack-main,
.stack-floating {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.stack-main {
  top: 0;
  left: 0;
  width: 82%;
  height: 540px;
  border-radius: 52px 18px 52px 52px;
}

.stack-floating {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 290px;
  border: 10px solid #fffaf3;
  border-radius: 18px 42px 42px 42px;
}

.benefit-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.1rem;
  padding: 1.2rem;
  border: 1px solid rgba(16, 35, 56, 0.1);
  border-radius: 24px;
  background: var(--white);
}

.benefit-item span {
  display: grid;
  width: 52px;
  height: 52px;
  color: var(--white);
  place-items: center;
  border-radius: 18px;
  background: var(--ink);
  font-family: "Fraunces", serif;
  font-weight: 800;
}

.benefit-item h3 {
  margin-bottom: 0.35rem;
}

.benefit-item p {
  margin-bottom: 0;
}

.visual-cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(95deg, rgba(6, 26, 42, 0.72), rgba(6, 51, 79, 0.82)),
    url("../assets/img/keramicarske-plocice-radovi.jpg") center/cover fixed no-repeat;
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(101, 195, 208, 0.24), transparent 24rem),
    linear-gradient(90deg, transparent, rgba(6, 26, 42, 0.72));
}

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

.visual-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.faq-section {
  background: rgba(255, 255, 255, 0.5);
}

.custom-accordion {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.custom-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(16, 35, 56, 0.08);
}

.custom-accordion .accordion-button {
  padding: 1.35rem 1.55rem;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--blue);
  background: #eef8fa;
}

.custom-accordion .accordion-body {
  color: var(--ink-soft);
  background: var(--white);
}

.contact-section {
  background:
    linear-gradient(180deg, #fffaf3 0%, #eaf6f7 100%);
}

.contact-card,
.inquiry-panel {
  border: 1px solid rgba(16, 35, 56, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 35, 56, 0.1);
  border-radius: 18px;
  background: rgba(248, 244, 238, 0.8);
  color: var(--ink);
  font-weight: 800;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-list a:hover {
  border-color: rgba(13, 95, 140, 0.26);
  background: #e7f6f8;
  transform: translateX(4px);
}

.contact-list i {
  color: var(--blue);
  font-size: 1.2rem;
}

.hours-box {
  padding: 1.2rem;
  border-radius: 22px;
  background: var(--ink);
}

.hours-box h3,
.hours-box span,
.hours-box strong {
  color: var(--white);
}

.hours-box h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.hours-box div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hours-box span {
  color: rgba(255, 255, 255, 0.72);
}

.inquiry-panel {
  overflow: hidden;
}

.inquiry-panel form {
  padding: clamp(1.4rem, 3vw, 2.3rem);
}

.form-label {
  color: var(--ink);
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 54px;
  border: 1px solid rgba(16, 35, 56, 0.13);
  border-radius: 16px;
  color: var(--ink);
  background-color: rgba(248, 244, 238, 0.74);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(13, 95, 140, 0.42);
  box-shadow: 0 0 0 0.2rem rgba(13, 95, 140, 0.12);
}

textarea.form-control {
  min-height: 150px;
}

.form-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.map-wrap {
  height: 310px;
  border-top: 1px solid rgba(16, 35, 56, 0.1);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.88) contrast(1.04);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.site-footer strong,
.site-footer span,
.site-footer a {
  color: var(--white);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  display: inline-block;
  margin-left: 1.2rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--aqua);
}

.footer-year {
  display: inline-block;
  margin-left: 1.2rem;
}

@media (max-width: 1199.98px) {
  .hero-gallery {
    min-height: 540px;
  }

  .hero-card-main {
    height: 470px;
  }
}

@media (max-width: 991.98px) {
  .main-nav .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(16, 35, 56, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
  }

  .hero {
    min-height: auto;
    padding: 118px 0 70px;
  }

  .hero .min-vh-100 {
    min-height: auto !important;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-gallery {
    min-height: 520px;
  }

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

  .image-stack {
    min-height: 540px;
  }

  .stack-main {
    height: 470px;
  }

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

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

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.2rem);
  }

  .brand-mark small {
    display: none;
  }

  .hero {
    padding: 106px 0 58px;
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    min-height: 420px;
  }

  .hero-card {
    border-width: 8px;
  }

  .hero-card-main {
    width: 88%;
    height: 340px;
    border-radius: 34px 34px 12px 34px;
  }

  .hero-card-side {
    width: 54%;
    height: 210px;
  }

  .hero-note {
    right: 0;
    bottom: 0;
    min-width: 190px;
  }

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

  .image-stack {
    min-height: 410px;
  }

  .stack-main {
    width: 88%;
    height: 360px;
    border-radius: 34px 14px 34px 34px;
  }

  .stack-floating {
    width: 56%;
    height: 190px;
    border-width: 7px;
  }

  .benefit-item {
    grid-template-columns: 1fr;
  }

  .visual-cta {
    padding: 92px 0;
  }

  .site-footer,
  .site-footer .text-lg-end {
    text-align: center;
  }

  .site-footer a,
  .footer-year {
    margin: 0.6rem 0.55rem 0;
  }
}

@media (max-width: 420px) {
  .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-mark strong {
    font-size: 0.92rem;
  }

  .hero-gallery {
    min-height: 380px;
  }

  .hero-card-main {
    height: 310px;
  }

  .hero-card-side {
    height: 170px;
  }
}
