/**
 * Sorbet palette
 * #CCCCCC gray | #EDECEC muted | #B7C396 sage | #FEFEFE white
 * #E0E7D7 mist   | #BA9A91 rose
 */
:root {
  --sorbet-gray: #cccccc;
  --sorbet-muted: #edecec;
  --sorbet-sage: #b7c396;
  --sorbet-white: #fefefe;
  --sorbet-mist: #e0e7d7;
  --sorbet-rose: #ba9a91;
  --sorbet-sage-dark: #8f9f72;
  --sorbet-text: #4a4540;
  --sorbet-text-muted: #7a756e;
  --nexa-blue: #455ce8;
  --nexa-blue-deep: #3d4fd4;

  --theme-primary-color: #b7c396;
  --secondary-color: #ba9a91;
  --text-color: #7a756e;
  --primary-light: rgba(183, 195, 150, 0.25);
  --headings-color: #4a4540;
  --main-text-color: #4a4540;
  --alt-text-color: #4a4540;
  --light-color: #e0e7d7;
  --light-bg: #fefefe;
  --light-bg-2: #edecec;
  --gray-100: #edecec;
  --theme-border-color: #cccccc;
  --border-gray: #cccccc;
  --light-stroke: #edecec;
  --hm2-primary-light: #8f9f72;
}

body {
  background-color: #fefefe !important;
}

body,
p,
li {
  color: #7a756e;
}

.progress-wrap {
  box-shadow: inset 0 0 0 2px rgba(204, 204, 204, 0.55) !important;
}

.elementor-kit-15 {
  --e-global-color-primary: #b7c396;
  --e-global-color-secondary: #ba9a91;
  --e-global-color-text: #7a756e;
  --e-global-color-accent: #8f9f72;
}

.white-btn::before,
.primary-btn::before,
[class*="primary-btn"]::before {
  background-color: #b7c396 !important;
}

.hm2-hero-content h1 span {
  color: #8f9f72 !important;
}

.crete-ajax-s-offcanvas,
#crete-search-box-popup,
.crete-ajax-s-offcanvas .crete-search-result {
  background: #e0e7d7 !important;
}

.mayosis-standard-bar {
  background: #ba9a91 !important;
}

button,
input[type="button"],
input[type="submit"],
[type="button"],
[type="submit"],
.piv-lrn-button {
  background-color: #b7c396 !important;
  border-color: #b7c396 !important;
}

a:hover {
  color: #8f9f72 !important;
}

.cr2-footer-brands {
  background: #6b7355 !important;
}

.emerce-single-blog-header {
  background: #edecec !important;
}

.footer-section .footer-copyright,
.footer-section .footer-top {
  border-color: #ba9a91 !important;
}

.footer-widget .widget-title::before,
.footer-sidebar .widget-title:before {
  background-color: #b7c396 !important;
}

/* Hero: blue wave + white base (matches brand layout) */
.hm2-hero-section {
  background-color: #fefefe !important;
}

.hm2-hero-section .hero-shape,
.hm2-hero-section img.position-absolute.start-0.top-0.z--1 {
  opacity: 0 !important;
  visibility: hidden !important;
}

.hm2-hero-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(68%, 980px);
  height: 100%;
  min-height: 560px;
  background: linear-gradient(
    145deg,
    #fefefe 0%,
    #eef1ff 18%,
    var(--nexa-blue) 52%,
    var(--nexa-blue-deep) 100%
  );
  border-bottom-left-radius: 50% 44%;
  pointer-events: none;
}

.hm2-hero-section .circle-shape-1 {
  background-color: rgba(255, 255, 255, 0.35) !important;
}

.hm2-hero-section .circle-shape-2 {
  background-color: rgba(183, 195, 150, 0.85) !important;
}

.hm2-hero-section .circle-shape-3 {
  background-color: rgba(224, 231, 215, 0.9) !important;
}

/* Testimonials: saturated blue section + sage cards */
.cr2-feedback-section,
[class*="feedback-section"][class*="cr2"] {
  background: linear-gradient(
    262deg,
    rgba(224, 231, 215, 0.45) 26%,
    rgba(69, 92, 232, 0) 82%
  ),
  var(--nexa-blue) !important;
}

.cr2-feedback-vertical-slider .cr2-feedback-single {
  background-color: #b7c396 !important;
  opacity: 0.92 !important;
}

.cr2-feedback-vertical-slider .slick-center .cr2-feedback-single {
  background-color: #fefefe !important;
}

/* Stable shared header and homepage hero layout. */
:root { --nexa-ink: #182447; --nexa-blue: #455ce8; --nexa-blue-deep: #3448cf; }
html { scroll-behavior: smooth; }
.header-section {
  position: relative !important;
  z-index: 20 !important;
  top: auto !important;
  width: 100%;
  background: #fff !important;
  box-shadow: 0 4px 24px rgba(24,36,71,.08);
}
.header-section .infobar { display: none !important; }
.header-section > .container { max-width: 1320px; }
.header-section .crete-navbar { min-height: 108px; padding: 8px 18px; border-radius: 0; background: #fff !important; }
.header-section .crete-navbar .row { min-height: 108px; align-items: center; }
.header-section .logo-wrapper { display: flex; align-items: center; }
.header-section .logo-wrapper img,
.header-section .crete-navbar .logo-wrapper img {
  display: block; width: 142px !important; height: auto !important;
  max-width: 100%; max-height: none !important; object-fit: contain;
}
.crete-navmenu { padding-left: 0 !important; }
.crete-main-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.crete-main-nav > li > a { padding: 11px 15px !important; border-radius: 999px; color: #35405d !important; font-weight: 650; }
.crete-main-nav > li > a:hover,
.crete-main-nav > li.active > a,
.crete-main-nav > li.current-menu-item > a { color: var(--nexa-blue) !important; background: #eef0ff; }
.crete-navmenu > ul > li > a::before {
  bottom: 7px !important;
  height: 2px !important;
  background-color: var(--nexa-blue) !important;
}
.crete-navmenu > ul > li > a > span { position: relative; z-index: 1; }
.header-right .primary-btn { padding: 12px 20px; border-radius: 999px; background: var(--nexa-blue) !important; color: #fff !important; }
.header-toggle { background: #f0f2fa !important; border-radius: 50%; }
.header-toggle span { background-color: var(--nexa-ink) !important; }

/* Keep the homepage hero below the shared navbar and give its columns room. */
body.home .hm2-hero-section {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(115deg, #14234f 0%, #1b3478 56%, #344fbe 100%) !important;
  isolation: isolate;
}
body.home .hm2-hero-section::before {
  z-index: -1 !important; inset: 0 0 0 auto; width: 55%; height: 100%; min-height: 0;
  border-radius: 0 !important; clip-path: none;
  background: radial-gradient(ellipse at 62% 50%, rgba(114,137,255,.65), rgba(69,92,232,.12) 66%, transparent 100%) !important;
}
body.home .hm2-hero-section > .container { position: relative; z-index: 1; max-width: 1320px; }
body.home .hm2-hero-section .row { min-height: 0; align-items: center !important; row-gap: 36px; }
body.home .hm2-hero-content { max-width: 100%; padding: 0 !important; }
body.home .hm2-hero-content h1 {
  max-width: 740px; margin: 0 0 24px !important; color: #fff !important;
  font-size: clamp(3rem, 5.5vw, 5.2rem) !important; line-height: 1.02 !important; letter-spacing: -.055em;
}
body.home .hm2-hero-content h1 span { color: #c4d1ff !important; }
body.home .hm2-hero-content p { max-width: 580px; margin-bottom: 28px !important; color: rgba(255,255,255,.78) !important; font-size: 1.05rem; line-height: 1.75; }
body.home .hm2-hero-content .primary-btn,
body.home .hm2-hero-content .outline-secondary { min-height: 54px; padding: 14px 22px; border-radius: 999px; }
body.home .hm2-hero-content .primary-btn { background: #fff !important; color: #182447 !important; }
body.home .hm2-hero-content .outline-secondary { border-color: rgba(255,255,255,.5) !important; background: transparent !important; color: #fff !important; }
body.home .hm2-hero-section .hero-image { display: flex; justify-content: center; align-items: center; margin: 0; }
body.home .hm2-hero-section .hero-image img {
  display: block; width: min(100%, 520px); height: auto; max-height: 560px; object-fit: contain;
  border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 40px rgba(0,0,0,.2));
}
body.home .hm2-hero-section .hero-shape,
body.home .hm2-hero-section img.position-absolute.start-0.top-0.z--1 { display: none !important; }
body.home .hm2-hero-section .circle-shape-1 { background: rgba(255,255,255,.05) !important; }
body.home .hm2-hero-section .circle-shape-2 { background: #b7c396 !important; }
body.home .hm2-hero-section .circle-shape-3 { background: rgba(255,255,255,.7) !important; }

@media (max-width: 1199.98px) {
  .header-section .crete-navbar { padding-inline: 10px; }
  .header-section .logo-wrapper img,
  .header-section .crete-navbar .logo-wrapper img { width: 120px !important; }
  body.home .hm2-hero-content h1 { font-size: clamp(2.8rem, 5.5vw, 4.2rem) !important; }
}
@media (max-width: 991.98px) {
  .header-section .crete-navbar, .header-section .crete-navbar .row { min-height: 96px; }
  .header-section .crete-navbar .row > .col-lg-2.col-6 { flex: 0 0 68%; width: 68%; }
  .header-section .crete-navbar .row > .col-xl-3.col-lg-1.col-6 { flex: 0 0 32%; width: 32%; }
  .header-section .logo-wrapper img,
  .header-section .crete-navbar .logo-wrapper img { width: 112px !important; }
  body.home .hm2-hero-section { padding: 64px 0 58px !important; }
  body.home .hm2-hero-section::before { inset: auto 0 0; width: 100%; height: 45%; }
  body.home .hm2-hero-content h1 { max-width: 720px; font-size: clamp(2.8rem, 7vw, 4.6rem) !important; }
  body.home .hm2-hero-section .hero-image img { width: min(82%, 440px); max-height: 440px; }
}
@media (max-width: 575.98px) {
  .header-section .crete-navbar, .header-section .crete-navbar .row { min-height: 82px; }
  .header-section .logo-wrapper img,
  .header-section .crete-navbar .logo-wrapper img { width: 98px !important; }
  .header-section .header-right { gap: 8px !important; }
  body.home .hm2-hero-section { padding: 48px 0 42px !important; }
  body.home .hm2-hero-section .row { row-gap: 22px; }
  body.home .hm2-hero-content h1 { font-size: clamp(2.6rem, 11vw, 3.6rem) !important; }
  body.home .hm2-hero-content p { font-size: .98rem; }
  body.home .hm2-hero-section .hero-image img { width: min(94%, 360px); max-height: 360px; }
}
