/* patterns/services.css */
main.wfg-main.e-con :where(.p-services) .svc-grid,main.wfg-main.e-con:where(.p-services) .svc-grid{display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;}
main.wfg-main.e-con :where(.p-services) .svc-card,main.wfg-main.e-con:where(.p-services) .svc-card{position: relative; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius--default); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--wp--custom--ease), box-shadow .35s, border-color .35s;}
main.wfg-main.e-con :where(.p-services) .svc-card:hover,main.wfg-main.e-con:where(.p-services) .svc-card:hover{transform: translateY(-6px); box-shadow: var(--wp--custom--shadow-lg); border-color: transparent;}
main.wfg-main.e-con :where(.p-services) .svc-card__img,main.wfg-main.e-con:where(.p-services) .svc-card__img{aspect-ratio: 16/11; overflow: hidden;}
main.wfg-main.e-con :where(.p-services) .svc-card__img img,main.wfg-main.e-con:where(.p-services) .svc-card__img img{width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--wp--custom--ease);}
main.wfg-main.e-con :where(.p-services) .svc-card:hover .svc-card__img img,main.wfg-main.e-con:where(.p-services) .svc-card:hover .svc-card__img img{transform: scale(1.07);}
main.wfg-main.e-con :where(.p-services) .svc-card__body,main.wfg-main.e-con:where(.p-services) .svc-card__body{padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1;}
main.wfg-main.e-con :where(.p-services) .svc-card h3,main.wfg-main.e-con:where(.p-services) .svc-card h3{font-size: 1.08rem; margin-bottom: 8px;}
main.wfg-main.e-con :where(.p-services) .svc-card p,main.wfg-main.e-con:where(.p-services) .svc-card p{font-size: .9rem; line-height: 1.6; color: var(--wp--preset--color--muted); flex: 1; margin-bottom: 16px;}
main.wfg-main.e-con :where(.p-services) .svc-card .more,main.wfg-main.e-con:where(.p-services) .svc-card .more{display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--brand);}
main.wfg-main.e-con :where(.p-services) .svc-card .more svg,main.wfg-main.e-con:where(.p-services) .svc-card .more svg{width: 16px; height: 16px; transition: transform .25s;}
main.wfg-main.e-con :where(.p-services) .svc-card:hover .more svg,main.wfg-main.e-con:where(.p-services) .svc-card:hover .more svg{transform: translateX(4px);}
@media (max-width: 1180px){
main.wfg-main.e-con :where(.p-services) .svc-grid,main.wfg-main.e-con:where(.p-services) .svc-grid{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 640px){
main.wfg-main.e-con :where(.p-services) .svc-grid,main.wfg-main.e-con:where(.p-services) .svc-grid{grid-template-columns: 1fr;}
}
main.wfg-main.e-con .p-services .svc-card{border-radius: var(--wp--custom--radius--card); box-shadow: var(--wp--custom--shadow);}
main.wfg-main.e-con .p-services .svc-card__img img{filter: brightness(1.1) saturate(1.04);}
main.wfg-main.e-con .p-services .svc-card__body{padding-bottom: 0;}
main.wfg-main.e-con .p-services .svc-card .more{display: flex; justify-content: space-between; margin: 0 -22px; padding: 10px 14px 10px 22px; background: var(--wp--preset--color--brand-50); border-top: 1px solid var(--wp--preset--color--line);}
main.wfg-main.e-con .p-services .svc-card .more svg{box-sizing: content-box; width: 18px; height: 18px; padding: 13px; border-radius: 50%; background: var(--wp--preset--color--brand); color: #fff; transition: transform .25s var(--wp--custom--ease), background-color .25s;}
main.wfg-main.e-con .p-services .svc-card:hover .more svg,main.wfg-main.e-con .p-services .svc-card:focus-visible .more svg{transform: scale(1.1); background-color: var(--wp--preset--color--brand-600);}
.mo main.wfg-main.e-con .p-services .svc-card[data-mo]:not(.mo-done){transform-origin: 0 50%; transition: opacity 1.4s var(--mo-ease), transform 1.4s cubic-bezier(.45,.05,.25,1); transition-delay: 0ms;}
.mo main.wfg-main.e-con .p-services .svc-card[data-mo].mo-done{transition-property: transform, box-shadow, border-color, opacity;}
.mo main.wfg-main.e-con .p-services .svc-card[data-mo]:not(.mo-in){transform: perspective(1200px) rotateY(14deg);}
main.wfg-main.e-con .p-services .svc-card__img{position: relative;}
main.wfg-main.e-con .p-services .svc-card__img::after{content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translate3d(-120%, 0, 0);}
main.wfg-main.e-con .p-services .svc-card:focus-visible .svc-card__img::after{opacity: 1; transform: translate3d(120%, 0, 0); transition: transform .6s var(--mo-ease);}
@media (hover: hover) and (pointer: fine){
main.wfg-main.e-con .p-services .svc-card:hover .svc-card__img::after{opacity: 1; transform: translate3d(120%, 0, 0); transition: transform .6s var(--mo-ease);}
}
main.wfg-main.e-con .p-services:not(.p-location-services){position: relative; isolation: isolate; overflow: clip;}
main.wfg-main.e-con .p-services:not(.p-location-services)::before{content: ""; position: absolute; z-index: -1; pointer-events: none; left: -150px; top: 30px; width: 400px; height: 400px; border-radius: 50%; background: var(--wp--preset--color--brand-50);}
main.wfg-main.e-con .p-services:not(.p-location-services)::after{content: ""; position: absolute; z-index: -1; pointer-events: none; right: -170px; top: 46%; width: 240px; height: 300px; border-radius: var(--wp--custom--radius--band); background: rgba(207,111,76,.07); transform: rotate(-6deg);}
main.wfg-main.e-con .p-services:not(.p-location-services) .eyebrow{transition: color .3s;}
main.wfg-main.e-con .p-services:not(.p-location-services) .eyebrow::before{transform-origin: 100% 50%; transition: transform .4s var(--wp--custom--ease);}
main.wfg-main.e-con .p-services:not(.p-location-services) .section-head h2{transition: color .3s;}
main.wfg-main.e-con .p-services:not(.p-location-services) .svc-card h3{transition: color .3s;}
@media (hover: hover){
main.wfg-main.e-con .p-services:not(.p-location-services) .eyebrow:hover{color: #9E4A2C;}
main.wfg-main.e-con .p-services:not(.p-location-services) .section-head h2:hover{color: #9E4A2C;}
main.wfg-main.e-con .p-services:not(.p-location-services) .svc-card:hover h3{color: var(--wp--preset--color--brand-600);}
}
@media (hover: hover) and (prefers-reduced-motion: no-preference){
main.wfg-main.e-con .p-services:not(.p-location-services) .eyebrow:hover::before{transform: scaleX(1.6);}
}
main.wfg-main.e-con .p-services:not(.p-location-services) .svc-card:focus-visible h3{color: var(--wp--preset--color--brand-600);}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid{grid-template-columns: repeat(8, 1fr);}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid > .svc-card,main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid > :where(.elementor-widget) > .svc-card,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid > .svc-card,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid > :where(.elementor-widget) > .svc-card{grid-column: span 2;}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid > :not(:where(.elementor-widget) > *).svc-card:last-child:nth-child(4n+1),main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid > :where(.elementor-widget):last-child > .svc-card:last-child:nth-child(4n+1),main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid > :not(:where(.elementor-widget) > *).svc-card:last-child:nth-child(4n+1),main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid > :where(.elementor-widget):last-child > .svc-card:last-child:nth-child(4n+1){grid-column: 4 / span 2;}
@media (max-width: 1180px){
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid{grid-template-columns: repeat(4, 1fr);}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid > :not(:where(.elementor-widget) > *).svc-card:last-child:nth-child(4n+1),main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid > :where(.elementor-widget):last-child > .svc-card:last-child:nth-child(4n+1),main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid > :not(:where(.elementor-widget) > *).svc-card:last-child:nth-child(4n+1),main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid > :where(.elementor-widget):last-child > .svc-card:last-child:nth-child(4n+1){grid-column: span 2;}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid > :not(:where(.elementor-widget) > *).svc-card:last-child:nth-child(2n+1),main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid > :where(.elementor-widget):last-child > .svc-card:last-child:nth-child(2n+1),main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid > :not(:where(.elementor-widget) > *).svc-card:last-child:nth-child(2n+1),main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid > :where(.elementor-widget):last-child > .svc-card:last-child:nth-child(2n+1){grid-column: 2 / span 2;}
}
@media (max-width: 640px){
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact),main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact){grid-template-columns: 1fr;}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact) > .svc-card,main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact) > :where(.elementor-widget) > .svc-card,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact) > .svc-card,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact) > :where(.elementor-widget) > .svc-card,main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact) > :not(:where(.elementor-widget) > *).svc-card:last-child:nth-child(2n+1),main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact) > :where(.elementor-widget):last-child > .svc-card:last-child:nth-child(2n+1),main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact) > :not(:where(.elementor-widget) > *).svc-card:last-child:nth-child(2n+1),main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid:not(.svc-grid--compact) > :where(.elementor-widget):last-child > .svc-card:last-child:nth-child(2n+1){grid-column: auto;}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid--compact,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid--compact{gap: 12px;}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card__body,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card__body{padding: 12px 12px 0;}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card h3,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card h3{font-size: .92rem; line-height: 1.25; margin-bottom: 6px;}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card p,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card p{font-size: .78rem; line-height: 1.45; margin-bottom: 10px;}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card .more,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card .more{margin: 0 -12px; padding: 6px 8px 6px 12px; font-size: .68rem; letter-spacing: .04em; gap: 6px;}
main.wfg-main.e-con :is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card .more svg,main.wfg-main.e-con:is(.p-service, .wfg-links) .p-services .svc-grid--compact .svc-card .more svg{width: 14px; height: 14px; padding: 9px;}
}
