/* EST Impact Systems Consulting — institutional overlay (loads after style.css) */

:root {
  --est-navy: #0f172a;
  --est-slate: #334155;
  --est-accent: #0c4a6e;
  --est-line: rgba(255, 255, 255, 0.12);
  --est-btn-radius: 10px;
  --est-btn-orange: #e25419;
  --est-btn-orange-hover: #ea5f25;
  --est-btn-teal: #0c4a6e;
}

/*
  One sticky shell (utility bar + nav) stays pinned on scroll. At top: nav row is
  transparent over hero; after scroll: solid bar like reference (content slides under).
*/
header#stickyTop.est-header-shell {
  z-index: 1040 !important;
  padding: 0 !important;
  margin: 0;
  background: transparent !important;
  border-bottom: none !important;
}

.est-nav-bar {
  padding-top: 19px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent !important;
}

header#stickyTop .navbar,
header#stickyTop .navbar .container {
  background: transparent !important;
}

header#stickyTop.stickyBg {
  background: #21242e !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

header#stickyTop.stickyBg .est-nav-bar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

header#stickyTop:not(.stickyBg) .navbar .nav-link,
header#stickyTop:not(.stickyBg) .est-brand-sub,
header#stickyTop:not(.stickyBg) .est-brand-offer,
header#stickyTop:not(.stickyBg) .est-brand-by {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}

header#stickyTop:not(.stickyBg) .est-brand-name {
  filter: drop-shadow(0 1px 14px rgba(0, 0, 0, 0.55));
}

@media (max-width: 991px) {
  header#stickyTop.est-header-shell {
    background: transparent !important;
  }

  header#stickyTop.stickyBg {
    background: #21242e !important;
  }
}

/* Hero must sit fully behind transparent nav (stacked brand + top bar spacing). !important beats style.css mobile margin-top:0 */
.banner_wrap {
  position: relative;
  z-index: 1;
  margin-top: -168px !important;
}

@media (min-width: 576px) {
  .banner_wrap {
    margin-top: -215px !important;
  }
}

/* Homepage hero video: fluid band below header; media fills cover; poster on small screens */
.banner_wrap.est-hero-video-wrap {
  margin-top: 0 !important;
  overflow: hidden;
  background: #0f172a;
  position: relative;
}

/* Home: solid dark header (body.est-page-home set in header.php; :has kept as fallback) */
body.est-page-home header#stickyTop.est-header-shell:not(.stickyBg),
body:has(.est-hero-video-wrap) header#stickyTop.est-header-shell:not(.stickyBg) {
  background: #21242e !important;
}

body.est-page-home header#stickyTop:not(.stickyBg) .est-nav-bar,
body:has(.est-hero-video-wrap) header#stickyTop:not(.stickyBg) .est-nav-bar {
  background: #21242e !important;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.est-page-home header#stickyTop:not(.stickyBg) .navbar .nav-link,
body.est-page-home header#stickyTop:not(.stickyBg) .est-brand-sub,
body.est-page-home header#stickyTop:not(.stickyBg) .est-brand-offer,
body.est-page-home header#stickyTop:not(.stickyBg) .est-brand-by,
body:has(.est-hero-video-wrap) header#stickyTop:not(.stickyBg) .navbar .nav-link,
body:has(.est-hero-video-wrap) header#stickyTop:not(.stickyBg) .est-brand-sub,
body:has(.est-hero-video-wrap) header#stickyTop:not(.stickyBg) .est-brand-offer,
body:has(.est-hero-video-wrap) header#stickyTop:not(.stickyBg) .est-brand-by {
  text-shadow: none;
}

body.est-page-home header#stickyTop:not(.stickyBg) .est-brand-name,
body:has(.est-hero-video-wrap) header#stickyTop:not(.stickyBg) .est-brand-name {
  filter: none;
}

.banner_wrap.est-hero-video-wrap > .est-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #0f172a;
}

.banner_wrap.est-hero-video-wrap .carousel {
  position: relative;
  z-index: 1;
}

.banner_wrap.est-hero-video-wrap .carousel,
.banner_wrap.est-hero-video-wrap .carousel-inner {
  height: 100%;
}

.banner_wrap.est-hero-video-wrap .carousel .carousel-inner .carousel-item {
  position: relative;
  overflow: hidden;
  /* Desktop/tablet: cinematic 1920×800 feel, fluid with viewport */
  height: clamp(22.5rem, 48vw, 50rem);
  min-height: 22.5rem;
  background: transparent;
}

/* Shared video stays playing while only text slides change */
.banner_wrap.est-hero-video-wrap .est-hero-video,
.banner_wrap.est-hero-video-wrap .est-hero-video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  object-fit: cover;
  object-position: 78% center;
  display: block;
}

.banner_wrap.est-hero-video-wrap .est-hero-video {
  z-index: 1;
}

.banner_wrap.est-hero-video-wrap .est-hero-video-poster {
  z-index: 0;
}

.banner_wrap.est-hero-video-wrap .carousel .carousel-inner .carousel-item .container {
  position: relative;
  z-index: 5;
  height: 100%;
}

.banner_wrap.est-hero-video-wrap:not(.in_page_banner) .carousel .carousel-inner .carousel-item .carousel_info {
  top: 32%;
  transform: translateY(-50%);
  max-width: min(40rem, 100%);
  padding-right: 0.5rem;
}

/* Tablet */
@media (max-width: 991.98px) {
  .banner_wrap.est-hero-video-wrap .carousel .carousel-inner .carousel-item {
    height: clamp(24rem, 62vw, 36rem);
  }

  .banner_wrap.est-hero-video-wrap .est-hero-video,
  .banner_wrap.est-hero-video-wrap .est-hero-video-poster {
    object-position: 72% center;
  }
}

/* Phones: taller usable band; crop toward pipeline; poster only (no heavy MP4) */
@media (max-width: 767.98px) {
  .banner_wrap.est-hero-video-wrap .carousel .carousel-inner .carousel-item {
    height: clamp(26rem, 78svh, 34rem);
    min-height: 26rem;
  }

  .banner_wrap.est-hero-video-wrap .est-hero-video {
    display: none;
  }

  .banner_wrap.est-hero-video-wrap .est-hero-video-poster {
    z-index: 1;
    /* Keep Collection→Transformation readable in the crop */
    object-position: 62% 45%;
  }

  .banner_wrap.est-hero-video-wrap:not(.in_page_banner) .carousel .carousel-inner .carousel-item .carousel_info {
    top: 30%;
    bottom: auto;
    transform: translateY(-50%);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    max-width: 100%;
  }

  .banner_wrap.est-hero-video-wrap .est-hero-cta .btn {
    min-height: 2.75rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .banner_wrap.est-hero-video-wrap .carousel .carousel-inner .carousel-item {
    height: clamp(28rem, 85svh, 36rem);
  }

  .banner_wrap.est-hero-video-wrap .est-hero-video-poster {
    object-position: 58% 42%;
  }

  .banner_wrap.est-hero-video-wrap:not(.in_page_banner) .carousel .carousel-inner .carousel-item .carousel_info {
    top: 28%;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner_wrap.est-hero-video-wrap .est-hero-video {
    display: none;
  }

  .banner_wrap.est-hero-video-wrap .est-hero-video-poster {
    z-index: 1;
  }
}

/* Hero copy: CSS entrance on load + each carousel message (transform only — opacity is CSS, not keyframes) */
@keyframes est-hero-in-right {
  from {
    transform: translate3d(-1.25rem, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes est-hero-in-left {
  from {
    transform: translate3d(1.25rem, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes est-hero-in-up {
  from {
    transform: translate3d(0, 0.85rem, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

/* Visible by default on active slide — never rely on animation for opacity (CDN / OS “reduce motion” safe) */
.banner_wrap.est-hero-video-wrap .carousel_info .est-hero-anim {
  opacity: 1;
}

.banner_wrap.est-hero-video-wrap .carousel_info .est-hero-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.65rem;
}

.banner_wrap.est-hero-video-wrap .carousel-item.active .carousel_info .est-hero-anim,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-start .carousel_info .est-hero-anim,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-next.carousel-item-start .carousel_info .est-hero-anim,
.banner_wrap.est-hero-video-wrap .carousel-item.active.carousel-item-end .carousel_info .est-hero-anim {
  opacity: 1;
}

.banner_wrap.est-hero-video-wrap .carousel-item.active .carousel_info .est-hero-anim--kicker,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-start .carousel_info .est-hero-anim--kicker,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-next.carousel-item-start .carousel_info .est-hero-anim--kicker,
.banner_wrap.est-hero-video-wrap .carousel-item.active.carousel-item-end .carousel_info .est-hero-anim--kicker {
  animation: est-hero-in-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.banner_wrap.est-hero-video-wrap .carousel-item.active .carousel_info .est-hero-anim--title,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-start .carousel_info .est-hero-anim--title,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-next.carousel-item-start .carousel_info .est-hero-anim--title,
.banner_wrap.est-hero-video-wrap .carousel-item.active.carousel-item-end .carousel_info .est-hero-anim--title {
  animation: est-hero-in-right 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.banner_wrap.est-hero-video-wrap .carousel-item.active .carousel_info .est-hero-anim--copy,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-start .carousel_info .est-hero-anim--copy,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-next.carousel-item-start .carousel_info .est-hero-anim--copy,
.banner_wrap.est-hero-video-wrap .carousel-item.active.carousel-item-end .carousel_info .est-hero-anim--copy {
  animation: est-hero-in-left 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.banner_wrap.est-hero-video-wrap .carousel-item.active .carousel_info .est-hero-anim--cta,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-start .carousel_info .est-hero-anim--cta,
.banner_wrap.est-hero-video-wrap .carousel-item.carousel-item-next.carousel-item-start .carousel_info .est-hero-anim--cta,
.banner_wrap.est-hero-video-wrap .carousel-item.active.carousel-item-end .carousel_info .est-hero-anim--cta {
  animation: est-hero-in-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

/* Inactive slides stay hidden; active always readable even if keyframes fail */
.banner_wrap.est-hero-video-wrap .carousel-item:not(.active) .carousel_info .est-hero-anim {
  animation: none;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .banner_wrap.est-hero-video-wrap .carousel_info .est-hero-anim,
  .banner_wrap.est-hero-video-wrap .carousel-item.active .carousel_info .est-hero-anim--kicker,
  .banner_wrap.est-hero-video-wrap .carousel-item.active .carousel_info .est-hero-anim--title,
  .banner_wrap.est-hero-video-wrap .carousel-item.active .carousel_info .est-hero-anim--copy,
  .banner_wrap.est-hero-video-wrap .carousel-item.active .carousel_info .est-hero-anim--cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Hero CTA pair: matched size, soft radius, depth, motion (scoped to banner only) */
.banner_wrap .est-hero-cta {
  align-items: stretch;
}

.banner_wrap .est-hero-cta .btn {
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

@media (min-width: 576px) {
  .banner_wrap .est-hero-cta .btn {
    min-width: 10.5rem;
    padding: 0.8rem 1.5rem;
  }
}

.banner_wrap .est-hero-cta .btnPrimary {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 4px 18px rgba(226, 84, 25, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.banner_wrap .est-hero-cta .btnPrimary:hover,
.banner_wrap .est-hero-cta .btnPrimary:focus-visible {
  background: #ea5f25 !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(226, 84, 25, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.banner_wrap .est-hero-cta .btnPrimary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(226, 84, 25, 0.35);
}

.banner_wrap .est-hero-cta .btn-outline-light {
  border-width: 1.5px !important;
  border-color: rgba(255, 255, 255, 0.88) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 2px 12px rgba(0, 0, 0, 0.12);
}

.banner_wrap .est-hero-cta .btn-outline-light:hover,
.banner_wrap .est-hero-cta .btn-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: #fff !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.banner_wrap .est-hero-cta .btn-outline-light:active {
  transform: translateY(0);
}

/* —— Site-wide buttons (marketing pages; loads after style.css) —— */
body .btn.rounded-0 {
  border-radius: var(--est-btn-radius) !important;
}

body .btn:not(.btn-link):not(.btn-close) {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

body .btn:not(.btn-link):not(.btn-close):not(.btn-sm) {
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--est-btn-radius);
}

body .btn.btn-sm:not(.btn-link):not(.btn-close) {
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8125rem;
}

body .btn:focus-visible {
  outline: 2px solid rgba(12, 74, 110, 0.45);
  outline-offset: 2px;
}

/* Primary (brand orange) */
body .btn.btnPrimary {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 4px 16px rgba(226, 84, 25, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body .btn.btnPrimary:hover,
body .btn.btnPrimary:focus-visible {
  background: var(--est-btn-orange-hover) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-1px);
  box-shadow:
    0 8px 24px rgba(226, 84, 25, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body .btn.btnPrimary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(226, 84, 25, 0.32);
}

/* Outline secondary — light pages */
body .btn.btn-outline-secondary {
  border-width: 1.5px !important;
  border-color: #cbd5e1 !important;
  color: var(--est-navy) !important;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body .btn.btn-outline-secondary:hover,
body .btn.btn-outline-secondary:focus-visible {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: var(--est-navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

body .btn.btn-outline-secondary:active {
  transform: translateY(0);
}

/* Outline primary — pricing & links to app */
body .btn.btn-outline-primary {
  border-width: 1.5px !important;
  border-color: var(--est-accent) !important;
  color: var(--est-accent) !important;
  background: #fff;
}

body .btn.btn-outline-primary:hover,
body .btn.btn-outline-primary:focus-visible {
  background: var(--est-accent) !important;
  border-color: var(--est-accent) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(12, 74, 110, 0.22);
}

body .btn.btn-outline-primary:active {
  transform: translateY(0);
}

/* Dark / premium CTA */
body .btn.btn-dark {
  border-color: var(--est-navy);
  background: var(--est-navy);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.28);
}

body .btn.btn-dark:hover,
body .btn.btn-dark:focus-visible {
  background: #1e293b !important;
  border-color: #1e293b !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.35);
}

body .btn.btn-dark:active {
  transform: translateY(0);
}

/* Light solid — on dark strips */
body .est-cta-strip .btn.btn-light {
  border: none;
  color: var(--est-navy) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

body .est-cta-strip .btn.btn-light:hover,
body .est-cta-strip .btn.btn-light:focus-visible {
  background: #fff !important;
  color: var(--est-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
}

body .est-cta-strip .btn.btn-outline-light {
  border-width: 1.5px !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body .est-cta-strip .btn.btn-outline-light:hover,
body .est-cta-strip .btn.btn-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #fff !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

body .est-cta-strip .btn.btn-outline-light:active {
  transform: translateY(0);
}

/* Full-width pricing card actions */
.est-pricing-card-inner > .btn {
  font-size: 0.875rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

/* Entiresoft mark on top; EST Impact + offer + By line below */
.est-brand {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.4rem 0;
  max-width: min(100%, 720px);
}

.est-brand-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  min-width: 0;
  text-align: left;
  width: 100%;
  gap: 0.2rem;
}

/*
  Match logo feel: display sans (Chakra Petch ≈ tech wordmark) + blue gradient.
  Catamaran remains fallback.
*/
.est-brand-name {
  font-family: "Chakra Petch", "Catamaran", system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  letter-spacing: 0.06em;
  line-height: 1.1;
  display: inline-block;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

.est-brand-name .est-logo-blue {
  background: linear-gradient(
    165deg,
    #9fd4ff 0%,
    #4a9dee 28%,
    #1a6ec9 62%,
    #0d4a8f 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.est-brand-name .est-logo-orange {
  background: linear-gradient(
    165deg,
    #ffe0a8 0%,
    #ffb04a 35%,
    #ff8124 70%,
    #e25419 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .est-brand-name .est-logo-blue {
    color: #3d8ee8;
    -webkit-text-fill-color: #3d8ee8;
  }
  .est-brand-name .est-logo-orange {
    color: #e25419;
    -webkit-text-fill-color: #e25419;
  }
}

.est-brand-offer {
  font-family: "Catamaran", system-ui, sans-serif;
  font-size: clamp(0.72rem, 1.65vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
}

.est-brand-by {
  font-family: "Catamaran", system-ui, sans-serif;
  font-size: clamp(0.62rem, 1.35vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

.est-brand-sub {
  font-size: clamp(0.6rem, 1.5vw, 0.7rem);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
  max-width: 26rem;
}

.est-parent-mark {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  line-height: 0;
  background: transparent;
  box-shadow: none;
}

.est-parent-logo {
  display: block;
  height: auto;
  width: auto;
  background: transparent;
  mix-blend-mode: normal;
  max-height: 26px;
  max-width: min(132px, 44vw) !important;
  object-fit: contain;
}

@media (max-width: 575px) {
  .est-brand {
    gap: 0.35rem;
  }

  .est-parent-logo {
    max-height: 22px !important;
    max-width: min(112px, 62vw) !important;
  }

  .est-brand-sub,
  .est-brand-offer {
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .est-brand-name {
    font-size: 2.35rem;
    letter-spacing: 0.07em;
  }

  .est-parent-logo {
    max-height: 32px;
    max-width: 148px !important;
  }
}

/* Slightly tighter nav for 6 links */
header .navbar .navbar-nav .nav-item a.nav-link {
  margin: 0 12px;
  font-size: 16px;
}

@media (max-width: 1399px) {
  header .navbar .navbar-nav .nav-item a.nav-link {
    margin: 0 8px;
    font-size: 15px;
  }
}

/* Content sections */
.section-est {
  padding: 4.5rem 0;
}

.section-est-tight {
  padding: 3rem 0;
}

.est-lead {
  font-size: 1.125rem;
  color: var(--est-slate);
  max-width: 52rem;
}

.est-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--est-accent);
  background: rgba(12, 74, 110, 0.08);
  border: 1px solid rgba(12, 74, 110, 0.15);
  padding: 0.35rem 0.65rem;
  margin-bottom: 0.75rem;
}

.est-pill--soft {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--est-slate);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.est-card-minimal {
  background: #fff;
  border: 1px solid #e8eaef;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.est-card-minimal:hover {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: #dce0e8;
}

.est-card-minimal h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.est-card-minimal .est-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(226, 84, 25, 0.12), rgba(12, 74, 110, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e25419;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.est-list-check {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.est-list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.est-list-check li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.85rem;
  color: #0c4a6e;
}

.est-case {
  border: 1px solid #e8eaef;
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: #fafbfc;
}

.est-case h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.est-case .row-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.est-muted {
  color: #64748b;
  font-size: 0.95rem;
}

.service-detail-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e8eaef;
}

.service-detail-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.inn_services_info .services_info h2,
.serv_card_description h2 {
  line-height: 1.2;
}

/* Homepage: replace dense testimonial map feel */
.home_testimonials.est-trust {
  position: relative;
}

.home_testimonials.est-trust .testimonial_content {
  padding-bottom: 2rem;
}

/* Banner readability */
.banner_wrap .carousel .carousel-inner .carousel-item .carousel_info h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.banner_wrap .carousel .carousel-inner .carousel-item .carousel_info p {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  max-width: 40rem;
}

/* Homepage hero: sit headline + body copy slightly lower (was 50% + translateY -50%) */
.banner_wrap:not(.in_page_banner) .carousel .carousel-inner .carousel-item .carousel_info {
  top: 56%;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  .banner_wrap:not(.in_page_banner) .carousel .carousel-inner .carousel-item .carousel_info {
    top: 62%;
  }
}

/* CTA strip */
.est-cta-strip {
  background: linear-gradient(120deg, #0f172a 0%, #0c4a6e 100%);
  color: #fff;
  padding: 3rem 0;
}

.est-cta-strip h2 {
  color: #fff;
}

.est-cta-strip h2 span {
  color: #fdba74;
}

.est-cta-strip p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

/* Selected systems & interfaces (homepage + case studies) */
.est-systems-showcase .project_content {
  max-width: 100%;
}

.est-systems-showcase .est-systems-grid {
  margin-top: 0.5rem;
}

.est-system-card {
  display: block;
  height: 100%;
  color: inherit;
  border: 1px solid #e8eaef;
  padding: 0;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.est-system-card:hover {
  border-color: #dce3ee;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  color: inherit;
}

.est-system-shot {
  overflow: hidden;
  background: #0f172a;
}

.est-system-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.est-system-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1rem 1.1rem 0.35rem;
  color: #0f172a;
}

.est-system-caption {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 1.1rem 0.5rem;
  line-height: 1.45;
}

.est-system-cta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #e25419;
  margin: 0 1.1rem 1.1rem;
}

.est-system-card:hover .est-system-cta {
  text-decoration: underline;
}

.est-case-anchor {
  scroll-margin-top: 120px;
}

.est-case-shot {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #e8eaef;
  background: #0f172a;
}

.est-case-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.est-case-gallery .est-case-thumb {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #e8eaef;
  background: #0f172a;
}

.est-case-gallery .est-case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.est-case-gallery figcaption {
  font-size: 0.78rem;
  margin-top: 0.4rem;
  color: #64748b;
  line-height: 1.35;
}

/* Footer logo: same scale as header .est-parent-logo */
footer.main_footer .footer_logo img {
  max-height: 26px !important;
  width: auto;
  max-width: min(132px, 44vw) !important;
  height: auto;
  object-fit: contain;
}

@media (max-width: 575px) {
  footer.main_footer .footer_logo img {
    max-height: 22px !important;
    max-width: min(112px, 62vw) !important;
  }
}

@media (min-width: 1200px) {
  footer.main_footer .footer_logo img {
    max-height: 32px !important;
    max-width: 148px !important;
  }
}

footer.main_footer .footer_brand {
  margin-bottom: 18px;
  max-width: 32rem;
}

footer.main_footer .est-brand-name--footer {
  font-size: clamp(1.3rem, 3.8vw, 2.05rem);
  letter-spacing: 0.065em;
}

@media (min-width: 1200px) {
  footer.main_footer .est-brand-name--footer {
    font-size: 2.2rem;
  }
}

footer.main_footer .est-brand-sub--footer {
  display: block;
  margin-top: 0.45rem;
  max-width: 24rem;
}

.copyright_section .copyright-line {
  line-height: 1.6;
}

.copyright_section .est-brand-name--copyright {
  display: inline;
  font-family: "Chakra Petch", "Catamaran", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.18em;
  letter-spacing: 0.06em;
  vertical-align: baseline;
  -webkit-font-smoothing: antialiased;
}

.copyright_section .est-brand-name--copyright .est-logo-blue,
.copyright_section .est-brand-name--copyright .est-logo-orange {
  display: inline;
}

/* Footer link active state fix */
.footer_menu ul li a.active {
  color: #e25419;
}

/* —— EST Impact Platform pricing —— */
.est-pricing-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.est-pricing-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.est-pricing-card {
  position: relative;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.est-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.est-pricing-card--featured {
  border-color: rgba(12, 74, 110, 0.35);
  box-shadow: 0 12px 40px rgba(12, 74, 110, 0.15);
}

.est-pricing-card--premium {
  border-color: rgba(15, 23, 42, 0.2);
  background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
}

.est-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0c4a6e, #0369a1);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.est-pricing-card-inner {
  padding: 1.75rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
}

.est-pricing-tier-name {
  font-family: "Chakra Petch", "Catamaran", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--est-navy);
}

.est-pricing-checklists {
  font-size: 1rem;
  color: var(--est-slate);
  margin-bottom: 0.75rem;
}

.est-pricing-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0c4a6e;
  letter-spacing: -0.02em;
}

.est-pricing-card--premium .est-pricing-num {
  font-size: 1.65rem;
  color: var(--est-navy);
}

.est-pricing-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1rem;
  flex-grow: 0;
}

.est-pricing-features {
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.est-pricing-features li {
  margin-bottom: 0.45rem;
  padding-left: 0.15rem;
}

.est-pricing-cta {
  margin-top: auto;
}

@media (max-width: 575px) {
  .est-pricing-card-inner {
    min-height: 0;
  }
}

/* —— EST Impact Platform product page —— */
.est-platform-banner .carousel-item {
  position: relative;
}

.est-platform-banner .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(12, 74, 110, 0.58) 45%,
    rgba(15, 23, 42, 0.42) 100%
  );
  pointer-events: none;
}

/*
 * Platform product hero: keep copy absolutely positioned on the image (like other inner banners).
 * `position: relative` here previously stacked text above the image; with banner_wrap’s large
 * negative margin-top that pushed the tagline under the transparent nav so only a wrapped
 * fragment (e.g. the last line) appeared between the utility bar and the logo.
 */
.est-platform-banner .carousel .carousel-inner .carousel-item .carousel_info {
  position: absolute;
  bottom: auto;
  transform: none;
  z-index: 5;
  /* Clear sticky header + utility bar (matches .banner_wrap margin-top pulls) */
  top: calc(168px + 1.25rem);
  padding-top: 0;
  padding-bottom: 1.25rem;
}

@media (min-width: 576px) {
  .est-platform-banner .carousel .carousel-inner .carousel-item .carousel_info {
    top: calc(215px + 1.25rem);
  }
}

.est-platform-banner .carousel_info h1.text-uppercase {
  text-transform: none !important;
  font-family: "Chakra Petch", "Catamaran", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
  max-width: 22ch;
}

.est-banner-tagline {
  max-width: 38rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
  margin-top: 1rem;
  margin-bottom: 0;
  font-weight: 500;
}

.est-platform-page .est-platform-features {
  margin-top: 0;
  padding-top: 3.75rem;
  padding-bottom: 4.25rem;
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(12, 74, 110, 0.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.est-platform-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--est-accent);
  margin-bottom: 0.5rem;
}

.est-platform-features .heading_title {
  margin-bottom: 0.35rem;
}

.est-platform-features__title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.est-platform-features__title span {
  color: #e25419;
}

.est-platform-features__lead {
  max-width: 40rem;
}

.est-platform-page .est-platform-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px !important;
  border: 1px solid #e5e9f0 !important;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.03),
    0 16px 40px rgba(15, 23, 42, 0.07) !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  padding-top: 2.25rem !important;
}

.est-platform-page .est-platform-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 74, 110, 0.22) !important;
  box-shadow:
    0 12px 24px rgba(12, 74, 110, 0.1),
    0 28px 56px rgba(15, 23, 42, 0.1) !important;
}

.est-platform-feature-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e25419, #fb923c);
}

.est-platform-feature-card__accent--b {
  background: linear-gradient(90deg, #0c4a6e, #0ea5e9);
}

.est-platform-feature-card__accent--c {
  background: linear-gradient(90deg, #0f172a, #475569);
}

.est-platform-feature-card__accent--d {
  background: linear-gradient(90deg, #c2410c, #e25419);
}

.est-platform-page .est-platform-feature-card .iconHolder {
  min-height: auto;
  margin-bottom: 0.25rem;
}

.est-platform-icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(226, 84, 25, 0.11), rgba(12, 74, 110, 0.09));
  border: 1px solid rgba(12, 74, 110, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.est-platform-page .est-platform-feature-card .infoBox_body h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

.est-platform-page .est-platform-feature-card .infoBox_body p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 0;
}

.est-platform-pricing {
  background:
    radial-gradient(ellipse 75% 55% at 50% -25%, rgba(12, 74, 110, 0.14), transparent 50%),
    linear-gradient(180deg, #e8edf3 0%, #dce3ec 45%, #d2dae6 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.est-platform-pricing .heading_title {
  margin-bottom: 0.35rem;
}

.est-platform-pricing__title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.est-platform-pricing__title span {
  color: #e25419;
}

.est-platform-pricing__hints {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.est-platform-pricing__footnote {
  color: #64748b;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.est-pricing-check {
  color: #0c4a6e;
  margin-right: 0.5rem;
  width: 1rem;
  display: inline-block;
  text-align: center;
}

.est-pricing-card--free {
  border-top: 3px solid #94a3b8;
}

.est-pricing-card--free .est-pricing-tier-name {
  color: #475569;
}

.est-pricing-card--pro {
  border-top: 3px solid #0284c7;
}

.est-platform-page .est-pricing-card--featured {
  box-shadow:
    0 0 0 1px rgba(12, 74, 110, 0.12),
    0 16px 48px rgba(12, 74, 110, 0.18);
}

.est-platform-page .est-pricing-card--premium {
  border-top: 3px solid #0f172a;
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 55%, #e8edf3 100%);
}

.est-platform-trust {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(226, 84, 25, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.est-platform-trust__visual {
  position: relative;
}

.est-platform-trust__visual::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(226, 84, 25, 0.35), rgba(12, 74, 110, 0.25));
  z-index: 0;
  opacity: 0.9;
}

.est-platform-trust__visual img {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
}

.est-platform-trust__headline span {
  color: #e25419;
}

@media (max-width: 991px) {
  .est-platform-trust__visual::before {
    inset: -4px;
    border-radius: 16px;
  }
}

/* —— Contact page (Entiresoft corporate details) —— */
.inn_contact_wrap .request_shadow {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(15, 23, 42, 0.1);
}

.inn_contact_wrap .service_details.est-contact-panel {
  padding: 0;
  background: #0f172a;
  background-image: none;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  height: auto;
}

.inn_contact_wrap .est-contact-panel-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(226, 84, 25, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(12, 74, 110, 0.45), transparent 50%),
    linear-gradient(155deg, #0f172a 0%, #1a2744 38%, #7c2d12 72%, #c2410c 100%);
  opacity: 1;
}

.inn_contact_wrap .est-contact-panel-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}

.inn_contact_wrap .est-contact-details {
  position: relative;
  z-index: 1;
  display: block;
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
}

.inn_contact_wrap .est-contact-intro {
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Panel: mission column + contact column; contact cards in 2-up grid */
.inn_contact_wrap .est-contact-details--split {
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    "intro"
    "info"
    "social";
}

.inn_contact_wrap .est-contact-intro {
  grid-area: intro;
}

.inn_contact_wrap .est-contact-info-main {
  grid-area: info;
  min-width: 0;
}

.inn_contact_wrap .est-contact-social {
  grid-area: social;
}

@media (min-width: 768px) {
  .inn_contact_wrap .est-contact-details--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas:
      "intro info"
      "intro social";
    align-items: start;
  }

  .inn_contact_wrap .est-contact-intro {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 1rem;
    height: 100%;
  }

  .inn_contact_wrap .est-contact-social {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

.inn_contact_wrap .est-contact-details .est-contact-tagline {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.45rem;
}

.inn_contact_wrap .est-contact-details .est-contact-headline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0.45rem;
}

.inn_contact_wrap .est-contact-details .est-contact-headline-accent {
  display: block;
  color: #fed7aa;
}

.inn_contact_wrap .est-contact-details .est-contact-headline-teal {
  display: block;
  color: #bae6fd;
}

.inn_contact_wrap .est-contact-details .est-contact-lead {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  max-width: 34rem;
}

.inn_contact_wrap .est-contact-details .est-contact-section-title {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin: 0 0 0.65rem;
}

.inn_contact_wrap .est-contact-info-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

@media (min-width: 480px) {
  .inn_contact_wrap .est-contact-info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inn_contact_wrap .est-contact-info-item--wide {
    grid-column: 1 / -1;
  }
}

.inn_contact_wrap .est-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.inn_contact_wrap .est-contact-info-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.inn_contact_wrap .est-contact-info-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(145deg, rgba(226, 84, 25, 0.9), rgba(194, 65, 12, 0.95));
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.inn_contact_wrap .est-contact-info-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fdba74;
  margin-bottom: 0.15rem;
}

.inn_contact_wrap .est-contact-info-body {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.inn_contact_wrap .est-contact-info-body strong {
  color: #fff;
  font-weight: 600;
}

.inn_contact_wrap .est-contact-info-body a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.inn_contact_wrap .est-contact-info-body a:hover {
  color: #fed7aa;
  text-decoration: underline;
}

.inn_contact_wrap .est-contact-social {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .inn_contact_wrap .est-contact-details--split .est-contact-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .inn_contact_wrap .est-contact-details--split .est-contact-social .est-contact-section-title {
    margin-bottom: 0 !important;
    flex: 0 0 auto;
  }

  .inn_contact_wrap .est-contact-details--split .est-contact-social-links {
    flex: 1 1 auto;
  }
}

.inn_contact_wrap .est-contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.inn_contact_wrap .est-contact-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(15, 23, 42, 0.35);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.inn_contact_wrap .est-contact-social-links a:hover {
  background: rgba(226, 84, 25, 0.35);
  border-color: rgba(254, 215, 170, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.inn_contact_wrap .request_form {
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  border-radius: 0 14px 14px 0;
  height: auto;
}

.inn_contact_wrap .request_form .mb-3 {
  margin-bottom: 0.65rem !important;
}

.inn_contact_wrap .request_form textarea.form-control {
  min-height: 5.5rem;
}

@media (max-width: 991.98px) {
  .inn_contact_wrap .service_details.est-contact-panel {
    border-radius: 14px 14px 0 0;
  }

  .inn_contact_wrap .request_form {
    border-radius: 0 0 14px 14px;
  }
}

@media (max-width: 575.98px) {
  .inn_contact_wrap .est-contact-details .est-contact-headline-accent,
  .inn_contact_wrap .est-contact-details .est-contact-headline-teal {
    display: inline;
  }

  .inn_contact_wrap .est-contact-info-item {
    padding: 0.5rem 0.65rem;
  }
}

.est-contact-values {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.est-contact-value-card {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  height: 100%;
}

.est-contact-value-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(12, 74, 110, 0.1), rgba(226, 84, 25, 0.08));
  color: var(--est-accent);
  font-size: 1.25rem;
}

.est-contact-value-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--est-navy);
  margin-bottom: 0.35rem;
}

.est-contact-value-card p {
  font-size: 0.875rem;
  color: var(--est-slate);
}
