/* Reference-inspired section directly under home slider */
.cs-ref-section{
  position:relative!important;
  padding:78px 20px 74px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 8% 14%,rgba(197,164,109,.12),transparent 24%),
    radial-gradient(circle at 92% 22%,rgba(18,63,45,.07),transparent 26%),
    linear-gradient(180deg,#fbf9f4 0%,#f3f4ef 100%)!important;
}
.cs-ref-section:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.28;
  background-image:
    linear-gradient(135deg,transparent 0 48%,rgba(18,63,45,.08) 49% 50%,transparent 51% 100%),
    linear-gradient(45deg,transparent 0 48%,rgba(197,164,109,.08) 49% 50%,transparent 51% 100%);
  background-size:150px 150px;
}
.cs-ref-section>.e-con-inner{position:relative;z-index:1}

.cs-ref-hero{
  display:grid!important;
  grid-template-columns:260px minmax(0,1fr) 260px!important;
  gap:34px!important;
  align-items:center!important;
  margin-bottom:44px!important;
}
.cs-ref-hero>.e-con-inner{display:contents!important}
.cs-ref-photo-main img,
.cs-ref-photo-small img{
  width:100%!important;
  object-fit:cover!important;
  border-radius:24px!important;
  border:3px solid #fff!important;
  box-shadow:0 22px 45px rgba(18,63,45,.13)!important;
}
.cs-ref-photo-main img{height:260px!important}
.cs-ref-photo-small img{height:150px!important}
.cs-ref-photo-stack{display:grid!important;grid-template-rows:1fr 1fr!important;gap:14px!important}
.cs-ref-photo-stack>.e-con-inner{display:contents!important}
.cs-ref-copy{text-align:center!important}
.cs-ref-copy>.e-con-inner{align-items:center!important}
.cs-ref-badge{
  display:inline-flex!important;
  width:auto!important;
  align-self:center!important;
  padding:9px 18px!important;
  border:1px solid rgba(197,164,109,.38)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.76)!important;
  box-shadow:0 7px 22px rgba(18,63,45,.05)!important;
}
.cs-ref-badge .elementor-heading-title{
  color:#123f2d!important;font-family:"Alexandria",sans-serif!important;
  font-size:15px!important;font-weight:800!important
}
.cs-ref-title .elementor-heading-title{
  font-family:"Alexandria",sans-serif!important;
  color:#123f2d!important;
  font-size:clamp(38px,4.9vw,66px)!important;
  line-height:1.22!important;
  font-weight:800!important;
  margin:12px 0 10px!important;
}
.cs-ref-title .gold{color:#b78a3e}
.cs-ref-lead{max-width:800px!important;margin:0 auto!important}
.cs-ref-lead .elementor-widget-container{
  color:#69736c!important;
  font-size:16px!important;
  line-height:2!important;
  text-align:center!important
}

.cs-ref-cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  margin-top:10px!important
}
.cs-ref-cards>.e-con-inner{display:contents!important}
.cs-ref-card{
  min-height:190px!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid rgba(18,63,45,.10)!important;
  border-radius:22px!important;
  padding:22px 22px 20px!important;
  box-shadow:0 16px 38px rgba(18,63,45,.07)!important;
  position:relative!important;
  overflow:hidden!important;
  transition:transform .24s ease,box-shadow .24s ease!important;
}
.cs-ref-card:after{
  content:"";position:absolute;right:22px;left:22px;bottom:0;height:3px;
  background:linear-gradient(90deg,#0f8c9a,#d7b875);border-radius:999px;
}
.cs-ref-card:hover{transform:translateY(-5px);box-shadow:0 23px 50px rgba(18,63,45,.11)!important}
.cs-ref-icon{
  width:50px!important;height:50px!important;min-width:50px!important;
  border-radius:15px!important;
  background:#f6efe0!important;
  border:1px solid rgba(197,164,109,.22)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  margin-bottom:13px!important;
}
.cs-ref-icon .elementor-icon{color:#123f2d!important}
.cs-ref-icon .elementor-icon i{font-size:22px!important}
.cs-ref-card .elementor-heading-title{
  font-family:"Alexandria",sans-serif!important;
  font-size:20px!important;line-height:1.45!important;
  color:#102f24!important;font-weight:800!important
}
.cs-ref-card .elementor-widget-text-editor{
  color:#69736c!important;font-size:14px!important;line-height:1.9!important
}

.cs-ref-cta{
  margin-top:24px!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:26px!important;
  align-items:center!important;
  padding:28px 32px!important;
  border-radius:24px!important;
  background:linear-gradient(110deg,#0e3b2c 0%,#143e36 54%,#173c39 100%)!important;
  box-shadow:0 22px 50px rgba(14,59,44,.16)!important;
  overflow:hidden!important;
  position:relative!important;
}
.cs-ref-cta:after{
  content:"";position:absolute;left:-45px;bottom:-70px;width:220px;height:220px;border-radius:50%;
  border:1px solid rgba(255,255,255,.07);box-shadow:0 0 0 30px rgba(255,255,255,.02),0 0 0 60px rgba(255,255,255,.015)
}
.cs-ref-cta>.e-con-inner{display:contents!important}
.cs-ref-cta-copy .elementor-heading-title{
  font-family:"Alexandria",sans-serif!important;color:#fff!important;
  font-size:28px!important;font-weight:800!important
}
.cs-ref-cta-copy .elementor-widget-text-editor{
  color:#d9e5de!important;font-size:14px!important;line-height:1.9!important;max-width:760px
}
.cs-ref-cta-actions{
  display:flex!important;flex-direction:row!important;gap:10px!important;align-items:center!important
}
.cs-ref-cta-actions>.e-con-inner{display:contents!important}
.cs-ref-cta-actions .elementor-button{
  min-height:48px!important;padding:13px 22px!important;border-radius:999px!important;
  font-weight:800!important
}
.cs-ref-cta-actions .elementor-widget-button:first-child .elementor-button{
  background:#f5f7f2!important;color:#123f2d!important
}
.cs-ref-cta-actions .elementor-widget-button:last-child .elementor-button{
  background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.35)!important
}

@media(max-width:1050px){
  .cs-ref-hero{grid-template-columns:200px minmax(0,1fr) 200px!important;gap:22px!important}
  .cs-ref-photo-main img{height:220px!important}
  .cs-ref-photo-small img{height:125px!important}
  .cs-ref-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .cs-ref-section{padding:58px 14px 56px!important}
  .cs-ref-hero{grid-template-columns:1fr!important}
  .cs-ref-copy{order:1!important}
  .cs-ref-photo-main{order:2!important}
  .cs-ref-photo-stack{order:3!important;grid-template-columns:1fr 1fr!important;grid-template-rows:none!important}
  .cs-ref-photo-main img{height:230px!important}
  .cs-ref-photo-small img{height:165px!important}
  .cs-ref-title .elementor-heading-title{font-size:clamp(32px,10vw,46px)!important}
  .cs-ref-cards{grid-template-columns:1fr!important}
  .cs-ref-cta{grid-template-columns:1fr!important;padding:25px 20px!important}
  .cs-ref-cta-actions{flex-direction:column!important;align-items:stretch!important}
  .cs-ref-cta-actions .elementor-widget-button{width:100%!important}
  .cs-ref-cta-actions .elementor-button{width:100%!important;justify-content:center!important}
}