:root {
  --blue: #004183;
  --gold: #d69b64;
  --gold-dark: #ad6d3e;
  --text: #0f1013;
  --muted: #4a4f56;
  --header-height: 90px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: #ffffff;
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 120px);
  padding: 48px clamp(1.5rem, 4vw, 4rem) 1.5rem;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top right, rgba(0, 65, 131, 0.08), transparent 50%);
}

.hero__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: auto;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__logo-wrap {
  position: relative;
  display: inline-flex;
}

.hero__logo {
  max-height: 86px;
  width: auto;
  filter: saturate(0.6);
  display: block;
}

.hero__logo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.25) 20%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0));
  transform: translateX(-150%) skewX(-25deg);
  opacity: 0;
  pointer-events: none;
  animation: heroLogoShine 2s ease-in-out infinite;
}

@keyframes heroLogoShine {
  0% {
    opacity: 0;
    transform: translateX(-160%) skewX(-25deg);
  }
  40% {
    opacity: 0.5;
    transform: translateX(10%) skewX(-25deg);
  }
  80% {
    opacity: 0.35;
    transform: translateX(80%) skewX(-25deg);
  }
  100% {
    opacity: 0;
    transform: translateX(220%) skewX(-25deg);
  }
}

.hero__header-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero__nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.25rem;
}

.hero__nav a {
  color: var(--text);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.hero__nav a i {
  margin-right: 0.35rem;
  font-size: 0.9rem;
}

.hero__nav a:hover {
  transform: scale(1.05);
  opacity: 1;
}

.hero__nav-social {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.hero__nav-social a {
  color: var(--blue);
  font-size: 1.15rem;
  transition: transform 0.6s ease, opacity 0.4s ease;
  animation: iconPulse 6s ease-in-out infinite;
}

.hero__nav-social a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

@keyframes iconPulse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 40px clamp(1rem, 3vw, 3rem) 1rem;
  }

  .hero__header-menu {
    align-items: flex-start;
  }

  .hero__nav {
    flex-wrap: wrap;
    gap: 0.9rem;
  }
}

.hero__header-tagline {
  font-size: 0.95rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #004183;
  font-weight: 600;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.6rem, 2.6vw, 2.75rem);
  align-items: center;
  flex: 1;
  margin-top: clamp(1rem, 2vw, 1.75rem);
}

.hero__content {
  max-width: 540px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlide 1.1s ease forwards;
}

.hero__eyebrow {
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 700;
}

.hero__content h1 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0.8rem 0 1rem;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 10px 30px rgba(0, 65, 131, 0.25);
}

.btn--secondary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #d69b64, #af703f);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(0, 65, 131, 0.3);
  color: var(--blue);
  box-shadow: none;
}

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

.hero__details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero__visual {
  min-height: 360px;
  border-radius: 32px;
  position: relative;
  overflow: visible;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlide 1.1s ease 0.2s forwards;
  box-shadow: inset 0 0 0 1px rgba(0, 65, 131, 0.12);
}

.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 65, 131, 0.15), rgba(255, 255, 255, 0.1));
  mix-blend-mode: multiply;
}

.hero__visual-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__visual-media--active {
  opacity: 1;
}

.hero__carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 65, 131, 0.7);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero__carousel-btn:hover {
  transform: translateY(-50%) scale(1.05);
  opacity: 0.9;
}

.hero__carousel-btn--prev {
  left: -45px;
}

.hero__carousel-btn--next {
  right: -45px;
}

.hero__carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 65, 131, 0.65);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero__carousel-btn::after {
  content: '';
}

.hero__carousel-btn:hover {
  transform: translateY(-50%) scale(1.05);
  opacity: 0.85;
}

.hero__carousel-btn--prev {
  left: 24px;
}

.hero__carousel-btn--next {
  right: 24px;
}

.hero__visual-frame {
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  background-image: url('slider-2.png');
  background-size: cover;
  background-position: center;
}

.hero__visual-label {
  font-size: 0.75rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  color: #fff;
}

.hero__visual-note {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .hero__header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__cta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__visual {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@keyframes heroLogoShine {
  0% {
    opacity: 0;
    transform: translateX(-120%) skewX(-10deg);
  }
  45% {
    opacity: 1;
    transform: translateX(120%) skewX(-10deg);
  }
  100% {
    opacity: 0;
    transform: translateX(240%) skewX(-10deg);
  }
}

@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content {
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 3rem);
}

.authority-block,
.services,
.why,
.benefits,
.final-cta {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}

/* =============================== fix definitivo doble borde =============================== */
section.why,
section.benefits,
section[class*="section"] {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.section-inner.section-inner--soft {
  background: #f7f9fc;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

section.services {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.services .section-inner {
  background: #fff;
  border: none;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
}

.services {
  background: transparent;
  border: none;
  box-shadow: none;
}

.services .section-inner {
  background: #ffffff;
  border: none;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
}

.why {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.authority-block {
  margin-top: 0.8rem;
}

.section-inner {
  padding: clamp(1.5rem, 2vw, 2rem);
  border-radius: 28px;
  border: 1px solid rgba(0, 65, 131, 0.08);
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
}

.section-inner--soft {
  background: #f5f6fb;
  overflow: hidden;
  position: relative;
  border-radius: 28px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.08);
}

.why .section-inner--soft {
  padding: 72px clamp(1.75rem, 3vw, 2.5rem);
}

.why__layout {
  display: flex;
  gap: clamp(2rem, 3vw, 3rem);
  align-items: stretch;
}

.why__text {
  flex: 1;
}

.why-us__image {
  flex: 0 0 320px;
  border-radius: 24px;
  background-image: linear-gradient(60deg, rgba(0, 65, 131, 0.7) 10%, rgba(0, 5, 101, 0.3) 40%, rgba(0, 65, 131, 0) 80%), url('ARIANA%20SUMARI%20SMOLJAK1.jpeg');
  background-size: cover;
  background-position: right center;
  opacity: 0.55;
  position: relative;
  overflow: hidden;
}

.why-us__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

@media (max-width: 768px) {
  .why__layout {
    flex-direction: column;
  }

  .why-us__image {
    display: none;
  }
}

.authority-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.authority-block__label {
  font-size: 0.8rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.authority-block__item span {
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  text-transform: none;
  display: block;
  color: var(--muted);
}

.authority-block__item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.authority-block__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(0, 65, 131, 0.3);
  background: #f5f6fb;
  color: #004183;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 65, 131, 0.15);
  flex-shrink: 0;
}

.authority-block__icon i {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.authority-block__icon:hover i {
  animation-duration: 2s;
  transform: rotate(6deg);
}

@keyframes iconSwing {
  0% {
    transform: rotate(-6deg);
  }
  50% {
    transform: rotate(6deg);
  }
  100% {
    transform: rotate(-6deg);
  }
}

.section-heading {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.section-heading__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

.section-heading__text {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

.section-heading--dense {
  margin-bottom: 1.25rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(0, 65, 131, 0.12);
}

.services,
.why,
.benefits,
.final-cta {
  padding: clamp(1.75rem, 2vw, 2rem);
  border-radius: 28px;
  border: 1px solid rgba(0, 65, 131, 0.08);
  background: #fff;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
}

.services {
  padding-top: clamp(1.5rem, 2vw, 1.75rem);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 65, 131, 0.05);
  min-height: 190px;
  background: #f6f7fb;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card__media {
  border-radius: 16px;
  overflow: hidden;
  height: 140px;
  position: relative;
  border: 1px solid rgba(0, 65, 131, 0.12);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card__media img:hover {
  transform: scale(1.05);
}

.service-card h3 {
  margin: 0;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 1.25rem;
  color: var(--text);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 65, 131, 0.15);
}

.footer-logo-img {
  max-width: 180px;
  margin-top: 0.75rem;
  display: block;
}

.section-inner--soft {
  position: relative;
  z-index: 1;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why__grid article {
  background: #f7f8fc;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
}

.why__grid h4 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--text);
}

.why__grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.benefits__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 65, 131, 0.08);
  min-height: 160px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card__icon {
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 65, 131, 0.1);
  color: var(--blue);
}

.benefit-card h4 {
  margin: 0;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 1.1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 65, 131, 0.15);
}

.final-cta {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid rgba(0, 65, 131, 0.15);
  border-radius: 28px;
  background: #fff;
}

.final-cta__inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.final-cta__inner h2 {
  margin: 0;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.final-cta__inner p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 420px;
}

@media (max-width: 768px) {
  .content {
    padding: 2rem 1.5rem;
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .why .section-inner--soft {
    padding: 56px 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 32px 1.1rem;
  }

  .hero__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__nav {
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero__nav-social {
    order: -1;
  }

  .section-inner--soft {
    padding: 48px 1.25rem;
  }

  .content {
    gap: 1.2rem;
  }

  .team-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-card__media {
    width: 110px;
    height: 110px;
  }
}

.site-footer {
  background: #004183;
  color: #fff;
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.footer-col__title {
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-col__desc {
  margin: 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links li {
  margin: 0;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.footer-social a i {
  color: #d69b64;
  margin-right: 0.4rem;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.site-footer__bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 1rem;
  text-align: center;
  letter-spacing: 0.2rem;
  font-size: 0.75rem;
}

.team {
  border: 1px solid rgba(0, 65, 131, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
  padding: clamp(2rem, 2.5vw, 3rem);
}

.team-final-cta {
  margin-top: 2rem;
}

.team__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.team-card {
  border-radius: 18px;
  border: 1px solid rgba(0, 65, 131, 0.08);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #f7f8fc;
  min-height: 150px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card__media {
  width: 125px;
  height: 125px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 65, 131, 0.2);
}
.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7e9f0;
  font-weight: 600;
  letter-spacing: 0.2rem;
  font-size: 1rem;
  color: #1c2550;
}

.team-card__role {
  margin: 0;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--blue);
}

.team-card h4 {
  margin: 0.3rem 0 0;
  font-size: 1.15rem;
  font-family: 'Playfair Display', 'Times New Roman', serif;
}

