/* ============================================= */
/* CSS SPREMENLJIVKE                             */
/* ============================================= */
:root {
  --blue: #0077cc;
  --blue-dark: #005fa3;
  --blue-deeper: #003f73;
  --blue-light: #e6f2fc;
  --text: #1a1a2e;
  --text-muted: #5a6478;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: rgba(0,119,204,0.12);
  --radius: 14px;
  --radius-sm: 8px;
}

/* ============================================= */
/* RESET                                         */
/* ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: auto;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  text-decoration: none;
}

/* ============================================= */
/* NAVBAR                                        */
/* ============================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(12px);
  height: 70px;
  padding: 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

@media (max-width: 768px) {
  .navbar { position: relative; }
  .tagline { font-size: 0.9rem; letter-spacing: 0; }
}

.navbar .dropdown:hover .dropdown-content {
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  text-decoration: none;
}

.branding img {
  height: 38px;
  width: 38px;
  border-radius: 10px;
  object-fit: contain;
  padding: 4px;
}

.navbar-monogram {
  width: 34px;
  height: 34px;
  background: var(--blue-deeper);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 13px;
  font-weight: 400;
  color: #7ec8f7;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.navbar-cta {
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.navbar-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,119,204,0.3);
}

.tagline {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  transition: color 0.2s;
}

.tagline-short { display: none; }
.tagline-full { display: inline; }

@media (max-width: 768px) {
  .tagline-short { display: inline; }
  .tagline-full { display: none; }
}

.tagline:hover {
  color: #7ec8f7;
}

/* ─── MENU ─── */
.menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.menu a, .dropbtn {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Outfit', sans-serif;
}

.menu a:hover, .dropbtn:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.menu a.active {
  color: #7ec8f7;
  font-weight: 500;
}

/* ─── DROPDOWN ─── */
.dropdown {
  position: relative;
}

.dropbtn::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  vertical-align: 2px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  min-width: 200px;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  z-index: 9999;
  overflow: hidden;
  padding-top: 8px;
}

.dropdown-content a {
  display: block;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  transition: all 0.15s;
}

.dropdown-content a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.hamburger.active {
  transform: rotate(90deg);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--text);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  animation: slideDown 0.3s ease-in-out;
}

.mobile-menu a, .mobile-dropbtn {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.65rem 0;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
}

.mobile-dropbtn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.mobile-dropbtn::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.mobile-dropbtn.open::after {
  transform: rotate(-135deg);
}

.mobile-menu a:hover, .mobile-dropbtn:hover {
  color: #7ec8f7;
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  border-left: 2px solid rgba(255,255,255,0.15);
  margin-top: 0.25rem;
}

.mobile-dropdown-content a {
  padding: 0.45rem 0;
  font-size: 0.9rem;
}

.mobile-dropdown-content.show {
  display: flex;
}

/* ============================================= */
/* ANIMACIJE                                     */
/* ============================================= */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================= */
/* HERO                                          */
/* ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,30,60,0.62) 0%, rgba(0,60,120,0.38) 60%, rgba(0,0,0,0.15) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  text-align: center;
}

.hero-box {
  background: rgba(0, 20, 50, 0.52);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  text-align: center;
  max-width: 640px;
  width: 100%;
}

.hero-box h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-box h1 em { font-style: italic; color: #7ec8f7; }

.hero-box p {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,119,204,0.3);
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  transition: all 0.2s;
}

.btn-outline:hover { background: rgba(255,255,255,0.2); }

/* ============================================= */
/* ABOUT + VIDEO SECTION                         */
/* ============================================= */
.about-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.video-column {
  position: relative;
  background: #0a1628;
  min-height: 520px;
  overflow: hidden;
}

.video-slide { display: none; position: absolute; inset: 0; }
.video-slide.active { display: block; }
.video-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,10,30,0.8));
  padding: 2rem 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v-dots { display: flex; gap: 6px; }

.v-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.v-dot.active { background: #fff; transform: scale(1.2); }

.v-arrows { display: flex; gap: 8px; }

.v-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.v-arrow:hover { background: rgba(255,255,255,0.28); }

.about-text {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.about-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
  transition: all 0.2s;
}

.service-item:hover { border-color: var(--blue); background: var(--blue-light); }
a.service-item { cursor: pointer; text-decoration: none; color: inherit; }

.service-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ============================================= */
/* STATS SECTION                                 */
/* ============================================= */
.stats-section {
  background: var(--blue-deeper);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,119,204,0.35) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(0,60,120,0.3) 0%, transparent 60%);
}

.stats-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }

.stats-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.stats-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: #fff;
  font-weight: 400;
  margin-bottom: 3.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.stat-card:hover { background: rgba(255,255,255,0.1); }

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  color: #7ec8f7;
  font-weight: 400;
  line-height: 1;
}

.stat-unit { color: rgba(126,200,247,0.7); font-size: 1.4rem; }

.stat-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  line-height: 1.4;
  max-width: 120px;
  margin: 0 auto;
}

/* ============================================= */
/* PARTNERS                                      */
/* ============================================= */
.partners-section {
  padding: 5rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.partners-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--text);
  font-weight: 400;
  margin-bottom: 3rem;
}

.partners-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.partner-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.partner-tile:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(0,119,204,0.1); }

.partners-grid img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: all 0.3s;
}

.partner-tile:hover img { filter: grayscale(0%) opacity(1); }

/* ─── PARTNERJI PAGE — full color, larger tiles ─── */
.partners-page-section {
  padding: 1rem 2rem 5rem;
}

.partners-page-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.partners-page-grid .partner-tile {
  padding: 1.75rem 1.5rem;
  min-height: 110px;
  border-radius: var(--radius);
}

.partners-page-grid img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.partners-page-grid .partner-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,119,204,0.12);
}

@media (max-width: 900px) {
  .partners-page-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .partners-page-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partners-page-grid .partner-tile { min-height: 90px; padding: 1.25rem 1rem; }
  .partners-page-grid img { max-height: 48px; }
}

/* Compact page header for partnerji page */
.page-header-compact {
  padding: 1.75rem 2rem 0.5rem;
}

.partners-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ─── PARTNERJI HERO ─── */
.partnerji-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 3rem;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  max-width: 100%;
}

.partnerji-hero-left .section-label { margin-bottom: 0.4rem; }

.partnerji-hero-left h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.partnerji-hero-left p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
  margin: 0;
}

.partnerji-hero-right {
  font-family: 'DM Serif Display', serif;
  font-size: 6rem;
  font-weight: 400;
  color: var(--blue);
  opacity: 0.12;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

@media (max-width: 600px) {
  .partnerji-hero { padding: 1.75rem 1.5rem; }
  .partnerji-hero-right { display: none; }
}

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
.site-footer {
  background: #0a1628;
  color: rgba(255,255,255,0.65);
  padding: 4rem 2rem 2rem;
  font-size: 0.9rem;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img { height: 42px; margin-bottom: 1rem; display: block; }
.footer-brand p { line-height: 1.6; color: rgba(255,255,255,0.5); font-size: 0.88rem; }
.footer-col h4 { color: #fff; font-weight: 600; margin-bottom: 1.1rem; font-size: 0.9rem; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #7ec8f7; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.6rem; }
.footer-contact-icon { color: var(--blue); flex-shrink: 0; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #7ec8f7; }

/* ============================================= */
/* OSTALE KOMPONENTE (kontakt, projekti itd.)    */
/* ============================================= */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 10px 0;
  gap: 20px;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  box-sizing: border-box;
  text-align: center;
}

.top-card { width: 90%; max-width: 900px; }
.half-card { width: 45%; min-width: 250px; }
.contact-card h3 { margin-top: 0; color: #333; }
.contact-card p { margin: 5px 0; color: #555; }
.contact-card a:hover { text-decoration: underline; color: #007BFF; }

.map-container { width: 100%; padding: 20px; box-sizing: border-box; }
.map-container iframe { width: 100%; height: 30em; border: 0; border-radius: 10px; }

.main { width: 100%; background-color: #ffffff; padding: 0; margin: 0; }
.main h1 { margin-bottom: 1rem; }
.main h2 { margin-bottom: 0.5rem; }
.main p { margin-bottom: 0.25rem; }
.main img { margin-bottom: 0.5rem; }

.project-list {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-item {
  background: #fff;
  border-radius: 8px;
  border: 1.5px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  padding: 30px 35px;
  transition: box-shadow 0.3s ease;
  cursor: default;
  text-align: center;
}

.project-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.project-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: #0066cc; }
.project-desc { font-size: 1rem; line-height: 1.5; color: #555; white-space: pre-wrap; }

/* ============================================= */
/* RESPONSIVE                                    */
/* ============================================= */
@media (max-width: 768px) {
  .menu { display: none; }
  .navbar-cta { display: none; }
  .hamburger { display: block; }
  .mobile-menu.active { display: flex; }
  .navbar { padding: 0 1.5rem; }
  /* .tagline { display: none; } */
  .main { padding: 1rem 1.5rem; }
  .main h1, .main h2, .main p, .main img { margin-bottom: 1rem; }
  .half-card { width: 100%; }
  .footer-col { margin-bottom: 2rem; }
}

@media (max-width: 900px) {
  .about-section { grid-template-columns: 1fr; }
  .about-text { padding: 2.5rem 1.5rem; }
  .video-column { min-height: 0; height: 100svh; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { height: 100svh; }
  .hero-box { padding: 1.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .services-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .project-list { grid-template-columns: 1fr; }
  body { padding: 10px; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .navbar { padding: 0 1.5rem; }
  .menu a { padding: 0.4rem 0.75rem; }
}

/* ============================================= */
/* PONUDBA PAGE                                  */
/* ============================================= */
.page-header {
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
}

.page-header-over-bg {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  padding-bottom: 2rem;
}

.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  text-align: center;
  padding: 0;
}



.page-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-header-split h1,
.page-header-split p,
.page-header-split .section-label {
  text-align: left !important;
  margin-left: 0;
  margin-right: 0;
}

.page-header-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-header-split {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}



.page-header-logo-col img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
}



@media (max-width: 600px) {
  .page-header-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-header-logo-col img { margin: 0 auto; }
  .page-header-text-col h1,
  .page-header-text-col p { text-align: center; }
}


/* ─── PONUDBA HERO ─── */
.ponudba-hero {
  background: linear-gradient(135deg, #0a1628 0%, var(--blue-deeper) 55%, var(--blue) 100%);
  padding: 3.5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.ponudba-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(0,119,204,0.25) 0%, transparent 60%);
}

.ponudba-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.ponudba-hero .section-label { color: rgba(255,255,255,0.55); margin-bottom: 0.5rem; }

.ponudba-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
}

.ponudba-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.ponudba-hero-cta {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.services-section-bg {
  position: relative;
  background: var(--white);
}

.services-section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/proizvodnja.png') center center / cover no-repeat;
  opacity: 0.35;
  background-attachment: fixed;
  z-index: 0;
}

.services-section-bg > * {
  position: relative;
  z-index: 1;
}

/* ─── PONUDBA HERO OVER BG ─── */
.ponudba-hero-over-bg {
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.ponudba-hero-over-inner {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,255,255,0.45);
  border-radius: var(--radius);
  padding: 1.5rem 2.5rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
}

.ponudba-hero-over-inner h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.ponudba-hero-over-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ponudba-hero-over-inner .section-label { color: var(--blue); }

.ponudba-hero-over-inner h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.ponudba-hero-over-inner p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.ponudba-scroll-btn {
  display: inline-block;
}

/* ─── SERVICE CARD GRID ─── */
.svc-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,119,204,0.18);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.svc-card:hover {
  border-color: rgba(0,119,204,0.3);
  box-shadow: 0 8px 28px rgba(0,119,204,0.1);
  transform: translateY(-3px);
}

.svc-card.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  box-shadow: 0 8px 28px rgba(0,119,204,0.14);
  transform: translateY(-3px);
}

.svc-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 1.75rem;
}

.svc-card-img img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.2s;
}

.svc-card:hover .svc-card-img img,
.svc-card.selected .svc-card-img img { transform: scale(1.06); }

.svc-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc-card-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.svc-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}

.service-pill {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  border: 1.5px solid var(--blue);
  background: rgba(0,119,204,0.1);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
  align-self: center;
}

.svc-card:hover .service-pill {
  background: var(--blue);
  color: #fff;
}
.svc-card.selected .service-pill {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.svc-card.selected .service-pill::before { content: '✓ '; }

/* ─── FEATURED CARD ─── */
.svc-card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  border: 2px solid var(--blue);
  box-shadow: 0 4px 24px rgba(0,119,204,0.12);
  background: rgba(220,230,240,0.72);
}

.svc-card-img-featured {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 2rem;
}

.svc-card-img-featured img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.2s;
}

.svc-card-featured:hover .svc-card-img-featured img,
.svc-card-featured.selected .svc-card-img-featured img { transform: scale(1.06); }

.svc-card-body-featured {
  padding: 2rem 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  position: relative;
}

.svc-card-featured .service-pill {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  margin-right: 0;
}

.svc-featured-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
}

.svc-card-body-featured h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.svc-card-body-featured p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card-featured { flex-direction: column; }
  .svc-card-img-featured { width: 100%; height: 160px; }
  .svc-card-featured .service-pill {
    position: static;
    transform: none;
    align-self: center;
    margin-right: 0;
    margin-top: 1rem;
  }
  .svc-card-body-featured {
    flex-direction: column;
    align-items: center;
  }
  .svc-featured-text { align-items: center; text-align: center; }
  .service-featured-badge { align-self: center; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; padding: 1rem 1rem 3rem; gap: 10px; }
  .svc-card-img { height: 170px; padding: 0.75rem; }
  .svc-card-img img { max-height: 130px; max-width: 85%; }
  .svc-card-img-featured { height: 170px; padding: 0.75rem; }
  .svc-card-img-featured img { max-height: 130px; }
  .service-featured-badge { align-self: center; margin-left: auto; margin-right: auto; }
  .svc-card-body { padding: 0.75rem 1.25rem 1.25rem; text-align: center; align-items: center; }
  .svc-card-body h2 { text-align: center; }
  .svc-card-body p { text-align: center; }
  .svc-card-body .service-pill { align-self: center; }
}


.service-featured-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}


/* ─── INQUIRY CHIPS ─── */
.inquiry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.inquiry-chip {
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.inquiry-chip:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.inquiry-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.inquiry-chip.active::before { content: '✓ '; }

/* ─── INQUIRY FORM ─── */
.inquiry-section {
  background: var(--blue-deeper);
  padding: 4rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.inquiry-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/lines.png') center center / cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}

.inquiry-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(0, 20, 50, 0.65);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 3rem 3.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}

.inquiry-inner .section-label {
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
}

.inquiry-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.inquiry-inner > p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.selected-services-display {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
  min-height: 36px;
}

.selected-tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.selected-tag button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

.selected-tag button:hover { color: #fff; }

.no-selection-hint {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  font-style: italic;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inquiry-form input,
.inquiry-form textarea {
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: border 0.2s, background 0.2s;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 120px;
}

.inquiry-form .btn-primary {
  align-self: flex-start;
  padding: 0.85rem 2.5rem;
}

@media (max-width: 1024px) {
  .services-wrapper { grid-template-columns: repeat(2, 1fr); }
  .services-row-2 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}

@media (max-width: 600px) {
  .services-wrapper { grid-template-columns: 1fr; padding: 1rem; }
  .services-row-2 { grid-template-columns: 1fr; max-width: 100%; }
}

/* ============================================= */
/* REFERENCE PAGE                                */
/* ============================================= */

/* ─── PAGE ─── */
.ref-page {
  position: relative;
  min-height: 100vh;
  background: var(--blue-deeper);
}

.ref-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('img/lines.png') center center / cover no-repeat;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.ref-page > * { position: relative; z-index: 1; }

/* ─── HEADER ─── */
.ref-page-header {
  text-align: center;
  padding: 4rem 2rem 2.5rem;
}

.ref-page-header .section-label { color: rgba(255,255,255,0.55); }

.ref-page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
}

.ref-page-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ─── GRID ─── */
.ref-controls {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.ref-ctrl-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.ref-ctrl-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.ref-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}

/* ─── CARD ─── */
.ref-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ref-card:hover {
  border-color: rgba(126,200,247,0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.ref-card.open {
  border-color: rgba(126,200,247,0.5);
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
}

.ref-card-head {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  text-align: center;
}

.ref-logo-slot {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.ref-logo-slot img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ref-logo-slot .logo-placeholder {
  font-size: 1.2rem;
  font-weight: 700;
  color: #7ec8f7;
  font-family: 'DM Serif Display', serif;
}

.ref-card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}

.ref-card-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(126,200,247,0.8);
  font-weight: 500;
}

.ref-toggle-arrow {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #7ec8f7;
  border-bottom: 1.5px solid #7ec8f7;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.ref-card.open .ref-toggle-arrow { transform: rotate(-135deg); }

/* ─── BODY ─── */
.ref-card-body {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0,0,0,0.25);
}

.ref-card.open .ref-card-body { max-height: 500px; }

.ref-card-body li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  padding: 0.5rem 1.25rem 0.5rem 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.ref-card-body li::before {
  content: '›';
  position: absolute;
  left: 1rem;
  color: #7ec8f7;
  font-weight: 600;
}

@media (max-width: 900px) {
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .ref-grid { grid-template-columns: 1fr; padding: 1rem 1rem 3rem; }
}



/* ============================================= */
/* O NAS PAGE                                    */
/* ============================================= */

/* ─── HERO ─── */
.onas-hero {
  background: linear-gradient(135deg, #0a1628 0%, var(--blue-deeper) 45%, #0a3a6e 100%);
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem 0;
}

.onas-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(0,119,204,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(126,200,247,0.1) 0%, transparent 40%);
}

.onas-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126,200,247,0.4), transparent);
}

.onas-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.onas-hero-top {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 2.5rem;
}

.onas-hero-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.onas-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.onas-hero-text .section-label {
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.onas-hero-text h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.onas-hero-text h1 span {
  color: #7ec8f7;
}

.onas-hero-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 520px;
}

/* ─── STATS BAR ─── */
.onas-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
}

.onas-hero-stat {
  flex: 1;
  text-align: center;
  padding: 1.25rem 1rem;
}

.onas-hero-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: #7ec8f7;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.onas-hero-stat-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.onas-hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ─── CONTENT BG ─── */
.onas-content-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

@media (max-width: 600px) {
  .onas-hero-top { grid-template-columns: 1fr; text-align: center; }
  .onas-hero-logo { margin: 0 auto; }
  .onas-hero-text p { margin: 0 auto; }
  .onas-hero-stats { flex-wrap: wrap; }
  .onas-hero-stat { min-width: 50%; }
  .onas-hero-stat-divider { display: none; }
}
.onas-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ─── INFO CARDS ─── */
.onas-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  margin-bottom: 1.5rem;
}

.onas-card:last-child { margin-bottom: 0; }

.onas-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.onas-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.onas-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.onas-card p:last-child { margin-bottom: 0; }

.onas-services-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.onas-services-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.6rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.onas-services-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ─── IMAGE PLACEHOLDER ─── */
.onas-image-slot {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onas-image-fullwidth {
  border-radius: 0;
  margin-bottom: 0;
  margin-top: 0;
  border-left: none;
  border-right: none;
  min-height: 380px;
  width: 100%;
}

/* ─── ONAS PHOTO SLIDESHOW ─── */
.onas-slideshow {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 420px;
  overflow: hidden;
  background: transparent;
  border-radius: var(--radius);
}

.onas-slide {
  display: none;
  position: absolute;
  inset: 0;
}

.onas-slide.active { display: block; }

.onas-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.onas-slide-caption {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
}

.onas-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}

.onas-slide-arrow:hover {
  background: var(--white);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(0,119,204,0.2);
}

.onas-slide-prev { left: calc(50% - 420px); }
.onas-slide-next { right: calc(50% - 420px); }

@media (max-width: 900px) {
  .onas-slide-prev { left: 1rem; }
  .onas-slide-next { right: 1rem; }
}

.onas-slide-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  align-items: center;
  z-index: 2;
}

.onas-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.onas-dot.active {
  background: var(--blue);
  transform: scale(1.2);
}

.onas-slideshow-wrap {
  padding: 0 2rem 3rem;
  background: transparent;
}

@media (max-width: 600px) {
  .onas-slideshow { height: 260px; }
}

.onas-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.onas-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  opacity: 0.4;
  padding: 3rem;
  text-align: center;
}

.onas-image-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.onas-image-placeholder span {
  font-size: 0.85rem;
}

/* ─── TEAM CARDS ─── */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.team-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(0,119,204,0.08);
  transform: translateX(4px);
}

.team-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: #7ec8f7;
  font-weight: 400;
}

.team-info { flex: 1; }

.team-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.team-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.team-contact-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.team-contact-link:hover { color: var(--blue); }

.team-contact-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ─── STATS STRIP ─── */
.onas-stats {
  background: var(--blue-deeper);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.onas-stats::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,119,204,0.3) 0%, transparent 60%);
}

.onas-stats-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
}

.onas-stat {
  background: rgba(0,80,160,0.25);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
}

.onas-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: #7ec8f7;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.onas-stat-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 900px) {
  .onas-layout { grid-template-columns: 1fr; }
  .onas-stats-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .onas-services-list { grid-template-columns: 1fr; }
  .onas-stats-inner { grid-template-columns: 1fr; }
  .onas-layout { padding: 1rem 1rem 3rem; }
}

/* ============================================= */
/* KONTAKT PAGE                                  */
/* ============================================= */
.kontakt-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.kontakt-col-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

/* ─── EKIPA ─── */
.kontakt-ekipa { display: flex; flex-direction: column; gap: 0.6rem; }

.kontakt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.kontakt-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(0,119,204,0.1);
  transform: translateY(-2px);
}

.kontakt-card-director {
  background: var(--blue-light);
  border-color: rgba(0,119,204,0.3);
  border-left: 3px solid var(--blue);
  padding: 1.25rem 1.5rem;
}

.kontakt-card-sm { padding: 0.85rem 1.1rem; }

.kontakt-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deeper), #0a4a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: #7ec8f7;
  box-shadow: 0 2px 8px rgba(0,40,100,0.2);
}

.kontakt-avatar-sm {
  width: 36px;
  height: 36px;
  font-size: 0.8rem;
}

.kontakt-info { flex: 1; min-width: 0; }

.kontakt-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.15rem;
}

.kontakt-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.kontakt-card-director .kontakt-name { font-size: 1.1rem; }

.kontakt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
}

.kontakt-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.kontakt-link:hover { color: var(--blue); }

.kontakt-link svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none; stroke-width: 2;
  flex-shrink: 0;
}

/* ─── FORMA ─── */
.kontakt-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.kf-row { margin-bottom: 1rem; }
.kf-row:last-of-type { margin-bottom: 0; }

.kf-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.kf-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.kf-input, .kf-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border 0.2s, background 0.2s;
  box-sizing: border-box;
}

.kf-input:focus, .kf-textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.kf-textarea { resize: vertical; min-height: 130px; }

.kf-submit {
  margin-top: 1.25rem;
  width: 100%;
  text-align: center;
}

/* ─── MAP ─── */
.kontakt-map-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.kontakt-map-section .section-label { margin-bottom: 0.4rem; }

.kontakt-map-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .kontakt-main { grid-template-columns: 1fr; padding: 1.5rem 1rem 2rem; }
  .map-frame iframe { height: 300px; }
  .kontakt-map-section { padding: 0 1rem 3rem; }
}

/* ============================================= */
/* LANG SWITCHER                                 */
/* ============================================= */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 3px;
}

.lang-btn {
  background: none;
  border: none;
  border-radius: 4px;
  padding: 3px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  opacity: 0.5;
  filter: grayscale(30%);
}

.lang-btn:hover { opacity: 0.85; filter: grayscale(0%); }

.lang-btn.active {
  opacity: 1;
  filter: grayscale(0%);
  box-shadow: 0 0 0 2px var(--blue);
  border-radius: 4px;
}

.lang-btn svg { display: block; border-radius: 2px; }

.lang-btn .fi {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  display: block;
  background-size: cover;
}

.lang-switcher-mobile {
  display: none;
}

/* Lang switcher in navbar on mobile — centered */
.lang-switcher-navbar-mobile {
  display: none;
}

@media (max-width: 768px) {
  .lang-switcher:not(.lang-switcher-navbar-mobile) { display: none; }
  .lang-switcher-navbar-mobile {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ============================================= */
/* LARGE SCREENS (1600px+)                       */
/* ============================================= */
@media (min-width: 1600px) {
  html { font-size: 17px; }

  .svc-grid { max-width: 1400px; }
  .ref-grid { max-width: 1400px; }
  .onas-layout { max-width: 1400px; }
  .ref-controls { max-width: 1400px; }
  .partners-page-grid { max-width: 1400px; }
  .inquiry-inner { max-width: 800px; }
  .onas-hero-inner { max-width: 1400px; }
  .stats-inner { max-width: 1400px; }
}

@media (min-width: 2400px) {
  html { font-size: 19px; }

  .svc-grid { max-width: 1800px; }
  .ref-grid { max-width: 1800px; }
  .onas-layout { max-width: 1800px; }
  .ref-controls { max-width: 1800px; }
  .partners-page-grid { max-width: 1800px; }
  .onas-hero-inner { max-width: 1800px; }
  .stats-inner { max-width: 1800px; }
  .inquiry-inner { max-width: 900px; }
}
