/*
 * Field Archive — Landing page brand overrides
 * Primary #918a6c | Cream #f1ebdf | Dark #6b6551
 */

:root {
  --bs-primary: #918a6c;
  --bs-primary-rgb: 145, 138, 108;
  --fa-primary: #918a6c;
  --fa-primary-dark: #6b6551;
  --fa-cream: #f1ebdf;
}

.text-primary,
a.text-primary,
.hero-title.text-primary,
.cta-title.text-primary {
  color: #6b6551 !important;
}

.bg-label-primary {
  background-color: rgba(145, 138, 108, 0.12) !important;
  color: #6b6551 !important;
}

.btn-primary {
  background-color: #918a6c !important;
  border-color: #918a6c !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #6b6551 !important;
  border-color: #6b6551 !important;
}

.btn-label-primary {
  color: #918a6c !important;
  border-color: rgba(145, 138, 108, 0.4) !important;
}

.btn-label-primary:hover {
  background-color: rgba(145, 138, 108, 0.08) !important;
}

.btn-outline-primary {
  color: #918a6c !important;
  border-color: #918a6c !important;
}

.btn-outline-primary:hover {
  background-color: #918a6c !important;
  border-color: #918a6c !important;
  color: #fff !important;
}

.badge.bg-primary {
  background-color: #918a6c !important;
}

.switch-primary .switch-input:checked ~ .switch-toggle-slider {
  background: #918a6c !important;
  border-color: #918a6c !important;
}

.landing-hero {
  background: linear-gradient(165deg, #f1ebdf 0%, #faf8f4 45%, #ffffff 100%) !important;
}

.landing-hero > img[src*="hero-bg"] {
  opacity: 0 !important;
  pointer-events: none;
}

.landing-hero .hero-sub-title {
  color: #5a5340 !important;
}

.landing-navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px);
}

.landing-navbar .nav-link:hover,
.landing-navbar .nav-link.active {
  color: #918a6c !important;
}

.features-icon-box .text-primary svg [fill="#696CFF"],
.features-icon-box .text-primary svg [fill="#696cff"] {
  fill: #918a6c !important;
}

.landing-cta {
  background: linear-gradient(135deg, #f1ebdf 0%, #e8e0d0 100%) !important;
}

.landing-cta img[src*="cta-bg"] {
  opacity: 0 !important;
}

.footer.bg-body {
  background-color: #3d3a32 !important;
}

.footer .footer-title,
.footer .footer-link,
.footer .footer-bottom-text {
  color: rgba(255, 255, 255, 0.85) !important;
}

.footer .footer-link:hover {
  color: #f1ebdf !important;
}

.hero-elements-img {
  display: none !important;
}

#heroDashboardAnimation,
.landing-hero .hero-animation-img {
  display: block !important;
  margin: 2rem auto 0 !important;
  padding: 0 !important;
  block-size: auto !important;
  overflow: visible !important;
  max-width: 920px;
}

#heroDashboardAnimation a {
  pointer-events: none;
  text-decoration: none;
}

.hero-dashboard-img > .animation-img:first-of-type,
.fauna-hero-banner-img {
  display: block !important;
  visibility: visible !important;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: 0 24px 48px rgba(61, 58, 50, 0.15);
}

.fauna-hero-slot {
  display: block !important;
  width: 100%;
  min-height: 280px;
  border-radius: 1.25rem;
}

.fauna-hero-slot--filled {
  min-height: 0;
}

.fauna-hero-slot--empty {
  background: linear-gradient(135deg, #ede8dc 0%, #f5f2eb 55%, #faf8f4 100%);
  border: 2px dashed rgba(145, 138, 108, 0.5);
  box-shadow: inset 0 2px 16px rgba(61, 58, 50, 0.05);
}

.fauna-hero-slot--empty::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.5rem;
  height: 4.5rem;
  opacity: 0.35;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23918a6c' stroke-width='1.25'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909M3.75 21h16.5A2.25 2.25 0 0022.5 18.75V5.25A2.25 2.25 0 0020.25 3H3.75A2.25 2.25 0 001.5 5.25v13.5A2.25 2.25 0 003.75 21z'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  .fauna-hero-slot {
    min-height: 360px;
  }
}

.landing-hero-blank {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  block-size: 0 !important;
}

/* Compact hero: navbar clearance only, no extra bottom gap */
#landingHero.landing-hero.section-py {
  padding-block: 7.5rem 2rem !important;
}

@media (min-width: 992px) {
  #landingHero.landing-hero {
    padding-block-start: 8rem !important;
  }
}

@media (max-width: 767.98px) {
  #landingHero.landing-hero.section-py {
    padding-block: 5.5rem 1.5rem !important;
  }
}

#landingFeatures.landing-features.section-py {
  padding-block-start: 3rem !important;
}

.landing-pricing .card.border-primary {
  border-color: #918a6c !important;
}

.landing-pricing .card.popular,
.landing-pricing .card.border-primary.shadow-xl {
  border-color: #918a6c !important;
  box-shadow: 0 8px 32px rgba(145, 138, 108, 0.2) !important;
}

.landing-pricing .price-duration-toggler,
.landing-pricing .pricing-plans-item {
  display: none !important;
}

.landing-team .team-image-box img {
  max-height: 130px !important;
  width: auto !important;
  object-fit: contain !important;
  opacity: 0.9;
}

.landing-team .bg-label-info,
.landing-team .bg-label-danger,
.landing-team .bg-label-success {
  background-color: rgba(145, 138, 108, 0.1) !important;
}

.landing-team .border-info-subtle,
.landing-team .border-danger-subtle,
.landing-team .border-success-subtle,
.landing-team .border-primary-subtle {
  border-color: rgba(145, 138, 108, 0.25) !important;
}

.landing-reviews .client-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

.landing-faq .faq-image {
  max-width: 300px;
  filter: drop-shadow(0 16px 32px rgba(107, 101, 81, 0.12));
}

.section-title-img {
  opacity: 0.35;
  filter: sepia(0.4) hue-rotate(10deg);
}

.landing-fun-facts .border-primary {
  border-color: #918a6c !important;
}

.landing-fun-facts .text-primary {
  color: #918a6c !important;
}

.landing-fun-facts .border-info,
.landing-fun-facts .border-warning {
  border-color: rgba(145, 138, 108, 0.45) !important;
}

.landing-fun-facts .text-info,
.landing-fun-facts .text-warning {
  color: #6b6551 !important;
}

.footer .col-lg-3:last-child,
.footer a[href="javascript:void(0);"] img[src*="apple-icon"],
.footer a[href="javascript:void(0);"] img[src*="google-play"] {
  display: none !important;
}

.footer .app-brand-logo,
.footer .app-brand-text {
  display: none !important;
}

html[dir="rtl"] .landing-navbar .navbar-nav {
  margin-right: auto !important;
  margin-left: 0 !important;
}

html[dir="rtl"] .scaleX-n1-rtl {
  transform: scaleX(1) !important;
}

html[dir="rtl"] .hero-btn-item {
  left: auto !important;
  right: calc(100% + 12px) !important;
}

.fauna-navbar-brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.landing-navbar .app-brand-text,
.footer .app-brand-text {
  display: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(145, 138, 108, 0.08) !important;
  color: #6b6551 !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(145, 138, 108, 0.2) !important;
}

/* Platform services cards */
.platform-service-card {
  border-radius: 1rem !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.platform-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(107, 101, 81, 0.12) !important;
}

.platform-service-card__image {
  height: 180px;
  background: linear-gradient(165deg, #f1ebdf 0%, #faf8f4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.platform-service-card__image img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
}

.platform-service-card__placeholder {
  font-size: 3rem;
  color: #918a6c;
  opacity: 0.5;
}

.platform-service-detail__image {
  max-height: 320px;
  background: linear-gradient(165deg, #f1ebdf 0%, #faf8f4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.platform-service-detail__image img {
  max-height: 220px;
  object-fit: contain;
}
