/* Odentivo homepage structure lock — layout, placeholders, motion */

:root {
  --od-navy: #0b1830;
  --od-blue: #1676c5;
  --od-blue-deep: #0F5A99;
  --od-mist: #eef7fa;
  --od-muted: #5a6475;
  --od-placeholder-bg: #e8f1f6;
  --od-placeholder-border: rgba(11, 24, 48, 0.12);
  --od-section-y: 120px;
  --od-section-y-lg: 80px;
  --od-container-max: 1140px;
}

/* Shared section rhythm */
.od-section {
  position: relative;
}

.od-section-pad {
  padding-top: var(--od-section-y);
  padding-bottom: var(--od-section-y);
}

@media (max-width: 991px) {
  .od-section-pad {
    padding-top: var(--od-section-y-lg);
    padding-bottom: var(--od-section-y-lg);
  }
}

.od-container-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.od-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--od-navy);
  font-size: 18px;
}

/* Honest placeholders — reserved space, clearly temporary */
.od-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(22, 118, 197, 0.06), rgba(15, 90, 153, 0.08)),
    var(--od-placeholder-bg);
  border: 1px dashed var(--od-placeholder-border);
  border-radius: 16px;
  color: var(--od-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
}

.od-ph--media {
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.od-ph--hero {
  aspect-ratio: 5 / 4;
  min-height: 280px;
  border-radius: 24px;
}

.od-ph--logo {
  width: 140px;
  height: 56px;
  min-height: 56px;
  border-radius: 10px;
  flex: 0 0 auto;
}

.od-ph--rating {
  aspect-ratio: 1 / 1;
  max-width: 72px;
  margin: 0 auto 20px;
  border-radius: 14px;
  min-height: 72px;
}

.od-ph--icon {
  width: 56px;
  height: 56px;
  min-height: 56px;
  border-radius: 14px;
  margin: 0 auto 14px;
}

.od-ph--avatar {
  width: 180px;
  max-width: 40%;
  aspect-ratio: 3 / 4;
  min-height: 160px;
  border-radius: 16px;
}

.od-ph--post {
  aspect-ratio: 16 / 10;
  min-height: 180px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.od-ph__label {
  max-width: 16em;
}

.od-ph-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

/* Partners */
#partneri .cs_brands_wrapper {
  padding: 28px 20px 36px;
}

#partneri .od-partner-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
  padding: 8px 0 4px;
}

@media (min-width: 992px) {
  #partneri .od-partner-track {
    flex-wrap: nowrap;
    overflow: hidden;
  }
}

/* Trust / ratings */
#ocjene .od-trust-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}

#ocjene .od-trust-card .od-ph-copy {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 18em;
}

/* Module / value icons */
.od-module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(22, 118, 197, 0.1);
  color: var(--od-blue, #1676c5);
  font-size: 20px;
}

.od-module-icon.cs_mb_18 {
  margin-bottom: 18px;
}

/* About — company CTAs */
.od-company-list {
  margin-bottom: 0;
}

.od-company-ctas {
  margin-top: 48px;
}

/* About — Šta nam je važno (no decorative cards) */
.od-values {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(22, 118, 197, 0.06), transparent 70%),
    var(--od-mist, #eef7fa);
}

.od-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1040px;
  margin: 0 auto;
}

.od-value-item {
  position: relative;
  text-align: center;
  padding: 8px 36px 12px;
}

.od-value-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  width: 1px;
  height: 76%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(11, 24, 48, 0.12) 20%,
    rgba(11, 24, 48, 0.12) 80%,
    transparent
  );
}

.od-value-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--od-blue, #1676c5);
  font-size: 28px;
  box-shadow: 0 0 0 1px rgba(22, 118, 197, 0.12);
}

.od-value-item__title {
  margin: 0 0 14px;
  color: var(--od-navy, #0b1830);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.od-value-item__body {
  margin: 0 auto;
  max-width: 280px;
  color: var(--od-muted, #5a6475);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .od-values__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 420px;
  }

  .od-value-item {
    padding: 0 12px;
  }

  .od-value-item:not(:last-child)::after {
    display: none;
  }

  .od-value-item:not(:last-child) {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(11, 24, 48, 0.08);
  }
}

/* Klinički moduli — keep floating toolset cards, FA icons */
#integracije .od-module-icon {
  width: 44px;
  height: 44px;
}

#integracije .cs_toolset_logos .cs_iconbox .cs_medium {
  font-size: 13px;
  line-height: 1.25;
  max-width: 7.5em;
}

/* Testimonials */
#iskustva .od-testimonial-ph {
  min-height: 280px;
  display: flex;
  gap: 28px;
  align-items: stretch;
  padding: 28px;
}

@media (max-width: 767px) {
  #iskustva .od-testimonial-ph {
    flex-direction: column;
    align-items: center;
  }

  #iskustva .od-ph--avatar {
    max-width: 140px;
  }
}

#iskustva .od-testimonial-ph__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

#iskustva .od-testimonial-ph__quote,
#iskustva .od-testimonial-ph__meta {
  background: rgba(11, 24, 48, 0.04);
  border-radius: 10px;
  min-height: 18px;
}

#iskustva .od-testimonial-ph__quote {
  min-height: 72px;
  padding: 14px;
  color: var(--od-muted);
  font-size: 14px;
}

#iskustva .od-testimonial-ph__meta {
  width: 55%;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 13px;
  color: var(--od-muted);
}

/* Blog placeholders */
#novosti .od-post-ph {
  height: 100%;
}

#novosti .od-post-ph__meta {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

#novosti .od-post-ph__chip {
  height: 18px;
  width: 88px;
  border-radius: 6px;
  background: rgba(11, 24, 48, 0.06);
}

#novosti .od-post-ph__title {
  min-height: 56px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(11, 24, 48, 0.04);
  color: var(--od-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
}

/* Hero media wrapper keeps reserved space */
.cs_hero_thumbnail .od-ph--hero,
.cs_hero_thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.cs_card_thumbnail .od-ph--media,
.cs_card_thumbnail img {
  width: 100%;
  display: block;
}

/* FAQ dual CTAs already present — tighten group on mobile */
.od-faq-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer cleanup spacing */
.cs_footer .od-footer-blurb {
  color: rgba(255, 255, 255, 0.82);
  max-width: 36em;
}

/* Appear animations (respect reduced motion) */
.od-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.od-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.od-features-tabs .nav-link,
.cs_btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.od-features-tabs .nav-link:hover,
.cs_btn:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .od-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .od-features-tabs .nav-link,
  .cs_btn,
  .od-features-tabs .nav-link:hover,
  .cs_btn:hover {
    transition: none;
    transform: none;
  }

  .wow {
    animation: none !important;
    visibility: visible !important;
  }
}

/* Mobile nav / pricing stack already handled by theme; tighten partner title */
#partneri .cs_brand_title {
  text-align: center;
  line-height: 1.45;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .cs_hero_title.cs_fs_64 {
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
  }

  .cs_section_title.cs_fs_48 {
    font-size: clamp(1.5rem, 6vw, 2.25rem) !important;
  }

  .cs_btns_group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cs_btns_group .cs_btn {
    justify-content: center;
  }
}
