/* EuroTel BH — Corporate B2B styles
   Primary: blue | Accent: red | Clean, professional */

:root {
  --color-primary: #1a365d;
  --color-primary-dark: #0f2744;
  --color-accent: #c53030;
  --color-accent-hover: #9b2c2c;
  --color-text: #2d3748;
  --color-text-light: #4a5568;
  --color-bg: #ffffff;
  --color-bg-alt: #f7fafc;
  --color-bg-muted: #edf2f7;
  --color-border: #e2e8f0;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1140px;
  --section-padding: 4.5rem 0;
  --radius: 6px;
  --btn-radius: 999px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Navbar: floating SaaS-style glass ===== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: 1000px;
  z-index: 1000;
  padding: 0 1rem;
}

.navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: 0 1.5rem;
  min-height: 56px;
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: padding 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, min-height 0.3s ease;
}

.navbar-inner.nav-scrolled {
  padding: 0.4rem 1.25rem;
  min-height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  grid-column: 1;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.navbar-logo:hover {
  opacity: 0.88;
}

.navbar-logo-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: min(220px, 50vw);
}

/* EuroFin logo na stranici računovodstva (širi horizontalni znak) */
.navbar-logo-img--eurofin {
  height: 34px;
  max-width: min(200px, 52vw);
  object-fit: contain;
  object-position: left center;
}

.navbar-nav {
  grid-column: 3;
  justify-self: center;
}

.navbar-list {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.35em 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.navbar-list a:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

/* ===== Hero: minimal centered SaaS-style ===== */
.hero-centered {
  --hero-icon-size: 88px;
  --hero-center-size: 100px;
  --hero-glass-radius: 24px;
  --hero-glass-radius-center: 28px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafbfc;
  background-image: radial-gradient(circle at center, rgba(26, 54, 93, 0.07) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  background-position: 0 0;
  color: var(--color-text);
  padding: 8rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero-centered .hero-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  min-height: calc(90vh - 7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2rem;
}

.hero-centered .hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 0.75rem;
  margin-bottom: 3rem;
  flex-shrink: 0;
}

.hero-centered .hero-title {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-centered .hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-light);
  margin: 0 0 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--btn-radius);
  box-shadow: 0 4px 20px rgba(197, 48, 48, 0.22);
  transition: background 0.2s, box-shadow 0.2s;
}

.hero-centered .btn-hero:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 6px 24px rgba(197, 48, 48, 0.3);
}

.btn-arrow {
  font-size: 1.1em;
}

.hero-icon-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  min-height: 280px;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-icons {
  position: relative;
  width: min(82vw, 380px);
  height: min(82vw, 380px);
  max-width: 380px;
  max-height: 380px;
}

.hero-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  stroke: rgba(26, 54, 93, 0.25);
  stroke-width: 1.5;
  z-index: 0;
}

.hero-icons-orbit {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  z-index: 1;
}

.hero-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--hero-center-size);
  height: var(--hero-center-size);
  border-radius: var(--hero-glass-radius-center);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.8),
    0 6px 28px rgba(26, 54, 93, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-icon-center svg {
  width: 44px;
  height: 44px;
}

.hero-icon {
  position: absolute;
  width: var(--hero-icon-size);
  height: var(--hero-icon-size);
  border-radius: var(--hero-glass-radius);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.65),
    0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-icon svg {
  width: 40px;
  height: 40px;
}

.hero-icon-1 { top: 6%;  left: 50%; transform: translateX(-50%); color: #b45309; }
.hero-icon-2 { top: 22%; right: 10%; color: #1d4ed8; }
.hero-icon-3 { top: 22%; left: 10%;  color: #4338ca; }
.hero-icon-4 { bottom: 22%; right: 10%; color: #047857; }
.hero-icon-5 { bottom: 22%; left: 10%;  color: #be185d; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* Sections */
.section {
  padding: var(--section-padding);
}

.section:nth-child(even) {
  background: var(--color-bg-alt);
}

.section.section-tring {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* ===== Partners / Trusted by ===== */
.section-partners {
  background: #f7fafc !important;
  padding: 80px 1.5rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.section-partners.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.partners-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  text-align: center;
  margin: 0 0 2.25rem;
}

.partners-logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 2.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.partners-logos::-webkit-scrollbar {
  display: none;
}

.partners-logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.partners-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.partners-logo svg {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.partners-logo-shape svg {
  max-width: 100px;
}

/* ===== Inner page template ===== */
.page-hero {
  padding: 80px 1.5rem 40px;
  background: #ffffff;
  text-align: center;
}

.page-hero .page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 20px;
}

.page-hero .back-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.page-hero .back-link:hover {
  color: var(--color-accent);
}

.page-image {
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem;
  background: #ffffff;
}

.page-image .container {
  max-width: min(960px, 100%);
  margin: 0 auto;
}

/* Ista „ploča“ slike na svim podstranicama — različiti omjeri izvornih JPG-ova ujednačeni preko cover */
.page-image-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: clamp(14px, 2.2vw, 20px);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1), 0 4px 14px rgba(15, 23, 42, 0.05);
  background: var(--color-bg-muted);
  aspect-ratio: 16 / 9;
  min-height: 160px;
}

.page-image-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

figure.page-image-frame {
  margin-block: 0;
}

@media (max-width: 600px) {
  .page-image-frame {
    aspect-ratio: 4 / 3;
    min-height: 200px;
    border-radius: 14px;
  }

  .page-image {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 380px) {
  .page-image-frame {
    min-height: 180px;
  }
}

.page-content {
  padding: 0 1.5rem 80px;
  background: #ffffff;
}

.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.page-content-inner h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
}

.page-content-inner h2.page-content-contact-heading {
  margin-top: 3.25rem;
  margin-bottom: 1.35rem;
  text-align: center;
  font-size: 1.65rem;
  font-weight: 700;
}

.page-content-inner p {
  margin: 0 0 1.25rem;
}

.page-content-inner .page-contact-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.section-title-light {
  color: #fff !important;
}

.section-intro {
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 560px;
}

/* Centrirani naslovi i uvod u sekcijama Usluge i Kontakt */
.section-services .section-title,
.section-contact .section-title {
  text-align: center;
}

.section-services .section-intro,
.section-contact .section-intro {
  text-align: center;
}

/* ===== Zajednička pozadina s animiranim krugovima za POS + O nama ===== */
.sections-wave-wrap {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  background: -moz-linear-gradient(-45deg, #ffffff 0%, #f8f9fa 100%);
  background: -webkit-linear-gradient(-45deg, #ffffff 0%, #f8f9fa 100%);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.sections-wave-wrap .circles-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Centar animacije: točno u sredini POS + O nama (left/top 50% + translate -50%) */
.sections-wave-wrap .circle-small,
.sections-wave-wrap .circle-medium,
.sections-wave-wrap .circle-large,
.sections-wave-wrap .circle-xlarge,
.sections-wave-wrap .circle-xxlarge {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: 0;
  margin-top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-sizing: border-box;
}

.sections-wave-wrap .circle-small {
  -webkit-animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation-timing-function: cubic-bezier(.6, 0, .4, 1);
  animation-delay: 0s;
  width: 600px;
  height: 600px;
  background: rgba(148, 163, 184, 0.15);
  opacity: 0.4;
}

.sections-wave-wrap .circle-medium {
  -webkit-animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation-timing-function: cubic-bezier(.6, 0, .4, 1);
  animation-delay: 0.3s;
  width: 1100px;
  height: 1100px;
  background: rgba(148, 163, 184, 0.12);
  opacity: 0.3;
}

.sections-wave-wrap .circle-large {
  -webkit-animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation-timing-function: cubic-bezier(.6, 0, .4, 1);
  animation-delay: 0.6s;
  width: 1700px;
  height: 1700px;
  background: rgba(148, 163, 184, 0.1);
  opacity: 0.2;
}

.sections-wave-wrap .circle-xlarge {
  -webkit-animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation-timing-function: cubic-bezier(.6, 0, .4, 1);
  animation-delay: 0.9s;
  width: 2400px;
  height: 2400px;
  background: rgba(148, 163, 184, 0.08);
  opacity: 0.1;
}

.sections-wave-wrap .circle-xxlarge {
  -webkit-animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation: circle-small-scale 3s ease-in-out infinite alternate;
  animation-timing-function: cubic-bezier(.6, 0, .4, 1);
  animation-delay: 1.2s;
  width: 3200px;
  height: 3200px;
  background: rgba(148, 163, 184, 0.05);
  opacity: 0.05;
}

@-webkit-keyframes circle-small-scale {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(1);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes circle-small-scale {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.sections-wave-wrap .section {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.sections-wave-wrap .section .container {
  position: relative;
  z-index: 1;
}

/* ===== O nama (ispod POS, iznad Kontakta) ===== */
.section-about {
  text-align: center;
  padding: 4rem 0;
}

.section-about .section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.about-content {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.about-content p {
  margin: 0 0 0.9rem;
  color: var(--color-text-light);
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
}

.about-image {
  margin: 0 auto 2.5rem;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  background: var(--color-bg-muted);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-stat {
  text-align: center;
  padding: 1rem 0.5rem;
}

.about-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.about-stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.35;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: block;
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.service-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.service-icon-hgi {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-primary);
}

.service-icon-hgi .hgi-stroke {
  font-size: 2rem;
  color: inherit;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
}

.service-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
}

.service-card:hover .service-link {
  text-decoration: underline;
}

.section-tring {
  color: #fff;
}

.tring-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.tring-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  min-width: 180px;
  text-align: center;
}

.tring-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tring-content p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.tring-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  max-width: 320px;
}

.tring-cta-group .btn {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.tring-stat {
  text-align: center;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  min-width: 200px;
}

.tring-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.tring-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== POS software homepage section ===== */
.section-pos {
  padding: 5.5rem 0;
}

.pos-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  background: rgba(15, 23, 42, 0.03);
  border-radius: var(--radius);
  min-width: 180px;
  text-align: center;
}

.pos-heading {
  margin: 0 0 1.25rem;
  font-size: 2.1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.pos-header {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pos-header .pos-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.pos-header .pos-intro {
  margin-left: auto;
  margin-right: auto;
}

.pos-header .pos-heading {
  margin-bottom: 0.75rem;
}

.pos-intro {
  font-size: 0.95rem;
  color: var(--color-text-light);
  max-width: 520px;
}

.pos-intro a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pos-intro a:hover {
  color: var(--color-accent);
}

.pos-header .pos-cta-group {
  margin-top: 1.5rem;
}

.pos-content p {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.pos-content p:last-of-type {
  margin-bottom: 0;
}

.pos-subtitle {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
}

.pos-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
  list-style: disc;
  color: var(--color-text-light);
  font-size: 0.98rem;
  line-height: 1.6;
}

.pos-list li {
  margin-bottom: 0.5rem;
}

.pos-list li:last-child {
  margin-bottom: 0;
}

.pos-split {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.pos-split:last-of-type {
  margin-bottom: 0;
}

.pos-split--reverse {
  flex-direction: row-reverse;
}

.pos-split-text {
  flex: 1.1;
}

.pos-split-media {
  flex: 1;
}

.pos-split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
  object-fit: cover;
}

.pos-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  align-items: stretch;
}

.pos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.9rem;
  border-radius: var(--btn-radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pos-btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(197, 48, 48, 0.25);
}

.pos-btn-primary:hover {
  background: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(197, 48, 48, 0.32);
}

.pos-btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(26, 54, 93, 0.22);
}

.pos-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.03);
  border-color: var(--color-primary);
}

.section-pos .pos-cta-group .pos-btn {
  flex: 1 1 0;
  min-width: 0;
}

/* Jedno CTA u split blokovima — puna širina kolone teksta */
.section-pos .pos-split .pos-cta-group {
  width: 100%;
}

.section-pos .pos-split .pos-cta-group .pos-btn-primary {
  width: 100%;
  flex: 1 1 100%;
  min-height: 52px;
  padding: 1.05rem 2rem;
  font-size: 1rem;
}

.pos-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pos-visual-card {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.07), transparent 55%), #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.4rem 1.6rem 1.6rem;
}

.pos-visual-header {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.pos-visual-pill {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #e2e8f0;
}

.pos-visual-body {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 1.2rem;
}

.pos-visual-row {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.15), rgba(148, 163, 184, 0.15));
}

.pos-visual-row-main {
  height: 18px;
  width: 70%;
}

.pos-visual-row-group {
  display: grid;
  grid-template-rows: repeat(3, auto);
  gap: 0.55rem;
}

.pos-visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.pos-visual-metric {
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(37, 99, 235, 0.03));
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.pos-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.pos-feature {
  padding: 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.pos-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.pos-feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.contact-form {
  position: relative;
  max-width: 640px;
  margin: 0 auto 2.75rem;
  padding: 1.75rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form-hint {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.contact-form-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.15);
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-submit {
  border: none;
}

.contact-subheading {
  margin: 2.5rem 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

.contact-service {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
}

.contact-service .contact-subheading {
  margin: 0 0 0.75rem;
}

.contact-service-text {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--color-text-light);
}

.contact-service-phone {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-service-phone a {
  color: var(--color-primary);
}

.contact-service-phone a:hover {
  color: var(--color-accent);
}

@media (max-width: 600px) {
  .contact-form-fields {
    grid-template-columns: 1fr;
  }

  .contact-form .contact-form-submit {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}

.contact-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

@media (max-width: 400px) {
  .contact-grid {
    gap: 0.75rem;
  }

  .contact-item {
    padding: 1rem;
  }

  .contact-item a,
  .contact-item address {
    font-size: 0.92rem;
  }
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 0.35rem;
}

.contact-label--stack {
  margin-top: 1rem;
}

.contact-label--place {
  font-weight: 800;
}

.contact-item a,
.contact-item address {
  font-size: 1rem;
  color: var(--color-primary);
  font-style: normal;
}

.contact-item a:hover {
  color: var(--color-accent);
}

.footer {
  padding: 1.5rem 0;
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.footer-text {
  margin: 0;
  font-size: 0.9rem;
}

/* Service page layout */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 2.5rem 0;
}

.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-header .back-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.page-header .back-link:hover {
  color: #fff;
}

.page-content {
  padding: var(--section-padding);
}

.page-content .container {
  max-width: 720px;
}

.page-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 1.5rem 0 0.5rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  margin: 0 0 1rem;
  color: var(--color-text);
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 1.5rem);
    top: 12px;
  }

  .navbar-inner {
    grid-template-columns: 1fr auto;
    padding: 0.5rem 1rem;
  }

  .navbar-inner.nav-scrolled {
    padding: 0.4rem 1rem;
  }

  .navbar-logo {
    grid-column: 1;
  }

  .navbar-logo-img {
    height: 32px;
    max-width: min(180px, 48vw);
  }

  .navbar-logo-img--eurofin {
    height: 28px;
    max-width: min(170px, 55vw);
  }

  .navbar-nav {
    grid-column: 2;
    justify-self: end;
  }

  .navbar-list {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: calc(100% - 3rem);
    max-width: 360px;
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .navbar-list.is-open {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .navbar-list li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .navbar-list li:last-child {
    border-bottom: none;
  }

  .navbar-list a {
    display: block;
    padding: 0.75rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-centered {
    min-height: 85vh;
    padding: 4rem 1rem 2rem;
    --hero-icon-size: 72px;
    --hero-center-size: 84px;
    --hero-glass-radius: 20px;
    --hero-glass-radius-center: 24px;
  }

  .hero-centered .hero-inner {
    min-height: calc(85vh - 4.5rem);
  }

  .hero-centered .hero-content {
    margin-bottom: 2rem;
  }

  .hero-icon-layer {
    height: 50%;
    min-height: 260px;
  }

  .hero-icons {
    width: min(88vw, 300px);
    height: min(88vw, 300px);
    max-width: 300px;
    max-height: 300px;
  }

  .hero-icon-center svg {
    width: 36px;
    height: 36px;
  }

  .hero-icon svg {
    width: 32px;
    height: 32px;
  }

  .hero-centered .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-centered .hero-subtitle {
    font-size: 1rem;
  }

  .section-partners {
    padding: 60px 1rem;
  }

  .partners-logos {
    gap: 1.75rem 2rem;
  }

  .partners-logo {
    height: 42px;
  }

  .tring-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tring-content {
    text-align: center;
  }

  .tring-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .tring-content p {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .tring-cta-group {
    margin-left: auto;
    margin-right: auto;
  }

  .tring-visual {
    justify-content: center;
  }

  /* O nama: na telefonu/tabletu statistike u jednu kolonu, slika puna širina */
  /* Animirani krugovi - smanjeni na tablet/mobile, centar i dalje u sredini */
  .sections-wave-wrap .circle-small {
    width: 400px;
    height: 400px;
  }

  .sections-wave-wrap .circle-medium {
    width: 750px;
    height: 750px;
  }

  .sections-wave-wrap .circle-large {
    width: 1150px;
    height: 1150px;
  }

  .sections-wave-wrap .circle-xlarge {
    width: 1600px;
    height: 1600px;
  }

  .sections-wave-wrap .circle-xxlarge {
    width: 2100px;
    height: 2100px;
  }

  .section-about {
    padding: 3rem 0;
  }

  .about-content {
    margin-bottom: 1.5rem;
  }

  .about-image {
    margin-bottom: 2rem;
    border-radius: 12px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-stat {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }

  .about-stat:last-child {
    border-bottom: none;
  }

  .about-stat-number {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

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

  /* Animirani krugovi - još manji na malim telefonima, centar i dalje u sredini */
  .sections-wave-wrap .circle-small {
    width: 320px;
    height: 320px;
    opacity: 0.25;
  }

  .sections-wave-wrap .circle-medium {
    width: 600px;
    height: 600px;
    opacity: 0.2;
  }

  .sections-wave-wrap .circle-large {
    width: 900px;
    height: 900px;
    opacity: 0.15;
  }

  .sections-wave-wrap .circle-xlarge {
    width: 1250px;
    height: 1250px;
    opacity: 0.1;
  }

  .sections-wave-wrap .circle-xxlarge {
    width: 1650px;
    height: 1650px;
    opacity: 0.06;
  }

  .section-about {
    padding: 2.5rem 0;
  }

  .about-content p {
    font-size: 0.95rem;
  }

  .about-stat-number {
    font-size: 1.5rem;
  }
}

/* POS section: mobile / tablet layout */
@media (max-width: 768px) {
  .section-pos {
    padding: 3.5rem 0;
  }

  .pos-header {
    max-width: 100%;
    text-align: center;
  }

  .pos-header .pos-heading {
    font-size: 1.7rem;
  }

  .pos-header .pos-cta-group {
    justify-content: center;
  }

  .pos-split {
    flex-direction: column;
    gap: 1.75rem;
  }

  .pos-split--reverse {
    flex-direction: column;
  }

  .pos-split-text,
  .pos-split-media {
    flex: none;
    width: 100%;
  }

  .pos-split-media img {
    border-radius: 16px;
  }

  .section-pos .pos-cta-group {
    flex-direction: column;
  }

  .section-pos .pos-cta-group .pos-btn {
    width: 100%;
  }
}
