:root {
  --bg: #f5f9fc;
  --surface: #ffffff;
  --surface-soft: #eaf4fb;
  --text: #163047;
  --muted: #58738a;
  --primary: #1a91d1;
  --primary-dark: #126f9f;
  --accent: #b32025;
  --accent-dark: #8f1a1f;
  --border: #d7e7f2;
  --shadow: 0 14px 34px rgba(15, 67, 105, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(26, 145, 209, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fcff 0%, #eef6fb 100%);
}

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

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background-color: rgba(248, 252, 255, 0.88);
  border-bottom: 1px solid rgba(215, 231, 242, 0.8);
}

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

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-image {
  display: block;
  width: 200px;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--primary-dark);
}

.menu-toggle-icon {
  position: relative;
  display: block;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.2s ease;
}

.menu-toggle-icon::before {
  top: -6px;
}

.menu-toggle-icon::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #b32025;
  font-style: normal;
  text-align: center;
}

.logo-sub {
  margin-top: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b32025;
  line-height: 0.88;
  text-align: center;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.hero {
  padding: 84px 0 56px;
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.93), rgba(248, 252, 255, 0.78) 46%, rgba(248, 252, 255, 0.54)),
    url("hero-water-background-web.jpg") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.eyebrow,
.section-tag,
.card-label {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", serif;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.hero-text,
.section p,
.info-card p,
.benefit-box p,
.partners-text,
.contact-details p,
.footer-inner p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.05rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

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

.button-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background-color: var(--accent-dark);
}

.button-secondary {
  border-color: var(--border);
  background-color: rgba(255, 255, 255, 0.65);
}

.hero-card,
.info-card,
.benefit-box,
.contact-form,
.image-placeholder {
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 32px;
  border-radius: 22px;
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 1.8rem;
}

.hero-product-image {
  margin: 14px 0 10px;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #ffffff;
}

.hero-product-image img {
  width: 100%;
  max-width: 100%;
  height: 380px;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

.offer-highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 20px;
}

.offer-highlight strong {
  color: var(--accent);
  font-size: 1.2rem;
}

.offer-highlight span,
.hero-card-note {
  color: var(--muted);
  line-height: 1.6;
}

.hero-card-note {
  margin: 18px 0 0;
}

.offer-strip {
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.offer-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 22px 0;
}

.offer-strip-item {
  display: grid;
  gap: 4px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
}

.offer-strip-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.offer-strip-item strong {
  color: var(--text);
  font-size: 1rem;
}

.offer-strip-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.water-visual {
  overflow: hidden;
}

.water-visual-scene {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(8, 35, 48, 0.52), rgba(8, 35, 48, 0.12)),
    url("vrsacke-planine-web.jpg") center / cover no-repeat;
}

.water-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.water-visual-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 31, 42, 0.08), rgba(7, 31, 42, 0.3));
}

.water-mountain {
  display: none;
}

.water-mountain-back {
  display: none;
}

.water-mountain-front {
  display: none;
}

.water-stream {
  position: absolute;
  left: -10%;
  bottom: -36px;
  width: 120%;
  height: 118px;
  background: repeating-linear-gradient(166deg, rgba(255, 255, 255, 0.3) 0 2px, transparent 2px 34px);
  opacity: 0.65;
  transform: rotate(-2deg) skewX(-12deg);
  animation: stream-flow 8s linear infinite;
}

.water-stream::after {
  content: "";
  position: absolute;
  inset: 18px 0 auto;
  height: 32px;
  background: repeating-linear-gradient(166deg, rgba(255, 255, 255, 0.42) 0 2px, transparent 2px 28px);
  filter: blur(2px);
  animation: stream-flow 5s linear infinite reverse;
}

.water-stream {
  display: none;
}

.water-visual-content {
  position: relative;
  z-index: 2;
  padding-top: 74px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(16, 65, 84, 0.32);
}

.water-visual-content .eyebrow {
  color: #ffffff;
}

.water-visual-content h2 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

@keyframes stream-flow {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 180px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .water-video {
    display: none;
  }

  .water-stream,
  .water-stream::after {
    animation: none;
  }
}

.section {
  padding: 78px 0;
}

.process-card {
  background-color: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.alt-section {
  background-color: rgba(234, 244, 251, 0.7);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
}

.water-section {
  background-color: #eaf4fb;
  background:
    linear-gradient(
      90deg,
      rgba(248, 252, 255, 0.84) 0%,
      rgba(248, 252, 255, 0.68) 48%,
      rgba(248, 252, 255, 0.38) 100%
    ),
    url("vrsacka-kula-wide-clean-web.jpg") center / cover no-repeat;
}

.water-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

.water-copy h2 {
  margin: 0 0 22px;
}

.water-copy {
  max-width: 820px;
}

.water-origin-image {
  margin: 0;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.water-origin-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.water-origin-image figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.water-data {
  padding: 28px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.water-data h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.mineral-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
}

.mineral-table caption {
  margin-bottom: 10px;
  text-align: left;
  color: var(--muted);
  font-size: 0.9rem;
}

.mineral-table th,
.mineral-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.94rem;
}

.mineral-table th {
  font-weight: 600;
}

.mineral-table td {
  text-align: right;
  font-weight: 700;
}

.water-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 28px;
}

.card-grid,
.benefits-grid {
  display: grid;
  gap: 22px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

#benefits {
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.72), rgba(248, 252, 255, 0.54)),
    url("aqua-nova-delivery-background.jpg") center / cover no-repeat;
}

#benefits .container {
  width: min(940px, calc(100% - 48px));
}

#benefits .benefit-box {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
}

.info-card,
.benefit-box {
  padding: 26px;
  border-radius: 18px;
}

.info-card h3,
.benefit-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.image-panel {
  display: block;
}

.image-section {
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.54) 0%, rgba(248, 252, 255, 0.87) 34%, rgba(248, 252, 255, 0.94) 50%, rgba(248, 252, 255, 0.87) 66%, rgba(248, 252, 255, 0.54) 100%),
    url("aqua-nova-dom-kancelarija.jpg") center / cover no-repeat;
}

.image-panel > div:first-child {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

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

.process-card {
  padding: 28px;
  border-radius: 18px;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-weight: 800;
}

.process-card h3 {
  margin: 0 0 12px;
}

.process-card p,
.image-benefits li {
  color: var(--muted);
  line-height: 1.7;
}

.image-benefits {
  width: fit-content;
  margin: 22px auto 0;
  padding-left: 18px;
  text-align: left;
}

.image-placeholder {
  min-height: 320px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(26, 145, 209, 0.18), rgba(255, 255, 255, 0.95)),
    #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.image-placeholder-device {
  display: none;
}

.image-placeholder-device img {
  width: 100%;
  max-width: 320px;
  height: 100%;
  max-height: 500px;
  margin: 0 auto;
  object-fit: contain;
}

.contact-section {
  padding-bottom: 94px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.contact-form {
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 250, 255, 1));
}

.jotform-form-wrap {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background-color: var(--surface);
  box-shadow: var(--shadow);
}

.jotform-frame {
  display: block;
  width: 100%;
  height: 980px;
  border: 0;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-intro {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--primary-dark);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font: inherit;
  color: var(--text);
  background-color: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(26, 145, 209, 0.2);
  border-color: var(--primary);
}

.button-full {
  width: 100%;
}

.social-links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--text);
  font-weight: 700;
}

.social-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.instagram-icon {
  border: 2px solid var(--primary-dark);
  border-radius: 7px;
}

.instagram-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid var(--primary-dark);
  border-radius: 50%;
}

.instagram-icon::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 4px;
  height: 4px;
  background-color: var(--primary-dark);
  border-radius: 50%;
}

.tiktok-icon::before,
.tiktok-icon::after {
  content: "";
  position: absolute;
  background-color: var(--primary-dark);
}

.tiktok-icon::before {
  left: 10px;
  top: 2px;
  width: 3px;
  height: 14px;
  border-radius: 2px;
}

.tiktok-icon::after {
  left: 10px;
  top: 2px;
  width: 9px;
  height: 3px;
  border-radius: 2px;
  box-shadow: -5px 12px 0 1px var(--primary-dark);
}

.form-message {
  min-height: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--primary-dark);
}

.site-footer {
  padding: 36px 0;
  background-color: #102c3f;
  color: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer-brand,
.footer-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 800;
  color: #ffffff;
}

.footer-inner a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner a:hover {
  color: #ffffff;
}

@media (max-width: 920px) {
  .hero-grid,
  .section-grid,
  .water-grid,
  .process-grid,
  .image-panel,
  .contact-grid,
  .footer-inner,
  .card-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

  .offer-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
  }

  .offer-strip-item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 72px;
    padding: 6px 0;
    align-items: center;
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    gap: 10px 16px;
    font-size: 0.95rem;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .js .main-nav {
    display: none;
  }

  .js .main-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 10px;
  }

  .main-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.72);
  }

  .logo-image {
    width: 150px;
    height: 58px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 2.9rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .section {
    padding: 52px 0;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-product-image {
    min-height: 360px;
    height: clamp(360px, 105vw, 420px);
    margin: 10px 0;
  }

  .hero-product-image img {
    height: 100%;
  }

  .offer-strip-grid {
    gap: 14px 18px;
  }

  .offer-strip-item {
    padding-left: 12px;
  }

  .water-visual-scene {
    min-height: 290px;
    aspect-ratio: 4 / 3;
  }

  .water-visual-content {
    padding-top: 44px;
  }

  .water-visual-content h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .water-section {
    padding: clamp(175px, 50vw, 300px) 0 52px;
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.02), rgba(248, 252, 255, 0.08) 52%, #f8fcff 100%) center top / 100% clamp(175px, 50vw, 300px) no-repeat,
      url("vrsacka-kula-wide-clean-web.jpg") center top / 100% auto no-repeat,
      #f8fcff;
  }

  #benefits {
    padding: clamp(175px, 50vw, 300px) 0 52px;
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.02), rgba(248, 252, 255, 0.1) 52%, #f8fcff 100%) center top / 100% clamp(175px, 50vw, 300px) no-repeat,
      url("aqua-nova-delivery-background.jpg") center top / 100% auto no-repeat,
      #f8fcff;
  }

  #benefits .container {
    width: min(100% - 24px, 940px);
  }

  #benefits .benefit-box {
    background-color: #ffffff;
    backdrop-filter: none;
  }

  .image-section {
    padding: clamp(175px, 50vw, 300px) 0 52px;
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.02), rgba(248, 252, 255, 0.1) 52%, #f8fcff 100%) center top / 100% clamp(175px, 50vw, 300px) no-repeat,
      url("aqua-nova-dom-kancelarija.jpg") center top / 100% auto no-repeat,
      #f8fcff;
  }

  .info-card,
  .benefit-box,
  .process-card,
  .contact-form {
    padding: 22px;
  }

  .contact-details p,
  .footer-inner p,
  .footer-inner a {
    overflow-wrap: anywhere;
  }

  .jotform-frame {
    height: 1040px;
  }

  .hero-card,
  .info-card,
  .benefit-box,
  .contact-form,
  .image-placeholder {
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  .hero-product-image {
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .hero-product-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .water-section,
  #benefits,
  .image-section {
    padding: 52px 0;
  }

  .water-section,
  .image-section {
    min-height: clamp(480px, 145vw, 700px);
  }

  .water-section {
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.66) 0%, rgba(248, 252, 255, 0.72) 55%, rgba(248, 252, 255, 0.92) 87%, #f8fcff 100%) center top / 100% clamp(480px, 145vw, 700px) no-repeat,
      url("vrsacka-kula-mobile.jpg") center top / 100% auto no-repeat,
      #f8fcff;
  }

  #benefits {
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.66) 0%, rgba(248, 252, 255, 0.72) 55%, rgba(248, 252, 255, 0.92) 87%, #f8fcff 100%) center top / 100% clamp(480px, 145vw, 700px) no-repeat,
      url("aqua-nova-delivery-mobile.jpg") center top / 100% auto no-repeat,
      #f8fcff;
  }

  #benefits .benefit-box {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(2px);
  }

  .image-section {
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.66) 0%, rgba(248, 252, 255, 0.72) 55%, rgba(248, 252, 255, 0.92) 87%, #f8fcff 100%) center top / 100% clamp(480px, 145vw, 700px) no-repeat,
      url("aqua-nova-dom-kancelarija-mobile.jpg") center top / 100% auto no-repeat,
      #f8fcff;
  }
}
