/* Crest 1.2: inner pages are rendered using homepage sections + typography. */
.crest-united-home .crest-contact-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(30px,6vw,90px);align-items:start}
.crest-united-home .crest-home-contactform .crest-home-inside{padding-top:clamp(56px,7vw,94px);padding-bottom:clamp(56px,7vw,94px)}
.crest-united-home .crest-contact-details h2{font-weight:700}
.crest-united-home .crest-contact-details .crest-home-description{line-height:1.75;margin:0 0 32px}
.crest-united-home .crest-contact-info{display:grid;gap:22px;margin-top:37px}
.crest-united-home .crest-contact-info-item{display:flex;gap:16px;align-items:flex-start}
.crest-united-home .crest-contact-info-icon{flex:none;width:46px;height:46px;background:#e1eee9;color:#075745;border-radius:10px;display:grid;place-items:center}
.crest-united-home .crest-contact-info-icon svg{width:23px;height:23px}
.crest-united-home .crest-contact-info-item div{display:grid;gap:6px;min-width:0}
.crest-united-home .crest-contact-info-item strong{font-weight:700;color:#102840;font-size:15px}
.crest-united-home .crest-contact-info-item a,.crest-united-home .crest-contact-info-item span:not(.crest-contact-info-icon){font-weight:400;color:#53616b;line-height:1.65;overflow-wrap:anywhere;text-decoration:none}
.crest-united-home .crest-contact-info-item a:hover{color:var(--crest-accent)}
.crest-united-home .crest-contact-form{padding:clamp(24px,3vw,40px);background:#fff;border:1px solid #e2eaed;box-shadow:0 15px 48px rgba(1,28,46,.07);border-radius:6px;display:grid;gap:17px;min-width:0}
.crest-united-home .crest-contact-form .crest-form-heading{font-weight:700!important;font-size:22px!important;line-height:1.3;color:#102840;margin:0 0 5px!important}
.crest-united-home .crest-contact-form .crest-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.crest-united-home .crest-contact-form label{font-family:'Inter',Arial,sans-serif;font-weight:700;color:#102840;font-size:13px;line-height:1.5;display:grid;gap:8px;min-width:0}
.crest-united-home .crest-contact-form label .crest-contact-label{display:inline;font:700 13px/1.5 "Inter",Arial,sans-serif;color:#102840}.crest-united-home .crest-contact-form label .crest-contact-label em{color:#be8b35;font-style:normal}
.crest-united-home .crest-contact-form input,.crest-united-home .crest-contact-form textarea{box-sizing:border-box;width:100%;max-width:100%;padding:12px 13px;min-height:46px;border-radius:5px;border:1px solid #d6e0e5;background:#fff;font:400 15px/1.5 'Inter',Arial,sans-serif;color:#102840}
.crest-united-home .crest-contact-form textarea{resize:vertical;min-height:150px}
.crest-united-home .crest-contact-form :is(input,textarea):focus{border-color:var(--crest-accent,#d1a049);outline:2px solid #d1a04955;outline-offset:1px}
.crest-united-home .crest-contact-form .crest-contact-disclaimer{font-size:12px!important;color:#64717b;line-height:1.6;margin:0}
.crest-united-home .crest-contact-form .crest-form-hp{display:none!important}
.crest-united-home .crest-contact-form .crest-home-button{justify-self:start;cursor:pointer}
.crest-united-home .crest-form-notice{padding:12px 15px;font-size:14px;border-radius:4px;background:#e9f4ef;color:#164f39}
.crest-united-home .crest-form-notice.is-error{background:#fff0ee;color:#992a26}
.crest-original-page-content{padding-block:36px}
.crest-united-home .crest-home-contactform .crest-home-overline::after{margin-left:0}
/* Inherit Inter / 700 titles / 400 15px paragraphs consistently from home. */
body.crest-theme .crest-united-home .crest-contact-layout :is(h2,h3,.crest-home-overline){font-family:'Inter',Arial,sans-serif;font-weight:700!important}
body.crest-theme .crest-united-home .crest-contact-layout :is(p,.crest-home-description,.crest-contact-info-item span,.crest-contact-info-item a){font-family:'Inter',Arial,sans-serif;font-size:15px;font-weight:400}
@media(max-width:880px){.crest-united-home .crest-contact-layout{grid-template-columns:1fr;gap:30px}}
@media(max-width:600px){.crest-united-home .crest-contact-form .crest-form-row{grid-template-columns:1fr}.crest-united-home .crest-contact-form{padding:23px 17px}.crest-united-home .crest-contact-info{gap:18px}}
@media(max-width:380px){.crest-united-home .crest-contact-form .crest-home-button{width:100%}}

/* Crest v1.2.1 — About Us: familiar identity, more editorial pacing. Scoped to this page. */
.crest-united-home.crest-inner-about-us .crest-home-hero{min-height:clamp(405px,34vw,495px)}
.crest-inner-about-us .crest-home-hero .crest-home-inside{padding-top:74px;padding-bottom:74px}
.crest-inner-about-us .crest-home-hero h1{max-width:720px;font-size:clamp(36px,3.85vw,58px)}
.crest-inner-about-us .crest-home-hero .crest-hero-message{max-width:720px}
.crest-inner-about-us .crest-home-hero .crest-home-description{max-width:615px;line-height:1.65}
.crest-inner-about-us #about-profile .crest-home-inside{padding-top:86px;padding-bottom:85px}
.crest-inner-about-us #about-profile .crest-about-grid{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(30px,5.2vw,82px)}
.crest-inner-about-us #about-profile .crest-about-copy{order:1}
.crest-inner-about-us #about-profile .crest-about-image{order:2;position:relative;height:430px;overflow:visible;border-radius:8px;background:#e7efee;box-shadow:18px 19px 0 #edf3f0}
.crest-inner-about-us #about-profile .crest-about-image picture,.crest-inner-about-us #about-profile .crest-about-image img{height:100%;width:100%;overflow:hidden;border-radius:8px;object-fit:cover}
.crest-inner-about-us #about-profile .crest-home-description p{margin-bottom:16px}
.crest-inner-about-us #about-purpose .crest-home-inside{padding-top:73px;padding-bottom:76px}
.crest-inner-about-us #about-purpose .crest-purpose-card{background:#fff;border:1px solid #dce8e8;border-left:4px solid var(--crest-accent,#d1a049);border-top:1px solid #dce8e8;box-shadow:0 11px 35px rgba(5,37,53,.045);border-radius:8px}
.crest-inner-about-us #about-purpose .crest-purpose-icon{border-radius:12px;background:#e5f1ed}
.crest-inner-about-us #about-values .crest-home-inside{padding-top:76px;padding-bottom:78px}
.crest-inner-about-us #about-values .crest-benefits-head{display:block;text-align:center;margin-bottom:35px}
.crest-inner-about-us #about-values .crest-home-overline::after{margin-inline:auto}
.crest-inner-about-us #about-values .crest-benefits-head .crest-home-description{margin:12px auto 0;max-width:740px;text-align:center;justify-self:center}
.crest-inner-about-us #about-values .crest-benefits-grid{gap:16px}
.crest-inner-about-us #about-values .crest-benefit,.crest-inner-about-us #about-values .crest-benefit:first-child,.crest-inner-about-us #about-values .crest-benefit:nth-child(3),.crest-inner-about-us #about-values .crest-benefit:last-child{display:flex;flex-direction:column;gap:11px;padding:25px 21px 27px;min-width:0;border:1px solid rgba(255,255,255,.16);border-top:3px solid var(--crest-accent,#d1a049);border-radius:7px;background:rgba(255,255,255,.055)}
.crest-inner-about-us #about-values .crest-benefit-icon svg{width:42px;height:42px}
.crest-inner-about-us #about-values .crest-benefit h3{font-size:17px;margin:3px 0 8px}
.crest-inner-about-us #about-values .crest-benefit p{font-size:14px;line-height:1.7}
.crest-inner-about-us #about-future .crest-home-inside{padding-top:80px;padding-bottom:81px}
.crest-inner-about-us #about-future .crest-about-grid{gap:clamp(30px,5.3vw,80px)}
.crest-inner-about-us #about-future .crest-about-image{height:390px;border-radius:7px}
.crest-inner-about-us #about-future .crest-about-image img{object-fit:cover;border-radius:7px}
.crest-inner-about-us #about-process .crest-home-inside{padding-top:73px;padding-bottom:77px}
.crest-inner-about-us #about-process .crest-process-grid{gap:20px}
.crest-inner-about-us #about-process .crest-process-step{background:#fff;border:1px solid #e0eaeb;border-top:3px solid #d3a04e;border-radius:6px;padding:29px}
.crest-inner-about-us #about-process .crest-process-number{font-size:32px;margin-bottom:18px}
.crest-inner-about-us #about-process .crest-process-step p{line-height:1.7}
.crest-inner-about-us .crest-home-cta{min-height:275px}
@media(max-width:1050px){
 .crest-inner-about-us #about-profile .crest-home-inside,.crest-inner-about-us #about-future .crest-home-inside{padding-top:62px;padding-bottom:64px}
 .crest-inner-about-us #about-profile .crest-about-image{height:365px;box-shadow:10px 12px 0 #edf3f0}
 .crest-inner-about-us #about-values .crest-benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 .crest-inner-about-us #about-profile .crest-about-grid{grid-template-columns:1fr;gap:32px}
 .crest-inner-about-us #about-profile .crest-about-copy{order:1}
 .crest-inner-about-us #about-profile .crest-about-image{order:2;height:clamp(240px,55vw,390px)}
 .crest-inner-about-us #about-future .crest-about-image{height:clamp(240px,55vw,370px)}
 .crest-inner-about-us #about-purpose .crest-home-inside,.crest-inner-about-us #about-values .crest-home-inside,.crest-inner-about-us #about-process .crest-home-inside{padding-top:52px;padding-bottom:56px}
}
@media(max-width:560px){
 .crest-united-home.crest-inner-about-us .crest-home-hero{min-height:485px}
 .crest-inner-about-us .crest-home-hero .crest-home-inside{padding-top:62px;padding-bottom:51px}
 .crest-inner-about-us .crest-home-hero h1{font-size:clamp(34px,8.5vw,44px)}
 .crest-inner-about-us #about-profile .crest-home-inside,.crest-inner-about-us #about-future .crest-home-inside{padding-top:49px;padding-bottom:51px}
 .crest-inner-about-us #about-profile .crest-about-image{height:clamp(220px,66vw,330px);box-shadow:8px 8px 0 #edf3f0}
 .crest-inner-about-us #about-values .crest-benefits-grid{grid-template-columns:1fr;gap:12px}
 .crest-inner-about-us #about-values .crest-benefit,.crest-inner-about-us #about-values .crest-benefit:first-child,.crest-inner-about-us #about-values .crest-benefit:nth-child(3),.crest-inner-about-us #about-values .crest-benefit:last-child{flex-direction:row;align-items:flex-start;padding:21px 18px;gap:16px}
 .crest-inner-about-us #about-values .crest-benefit-icon{flex:0 0 42px}
 .crest-inner-about-us #about-values .crest-benefit h3{margin-top:0}
 .crest-inner-about-us #about-process .crest-process-step{padding:23px}
}

/* Crest 1.2.2 — bespoke Services page: photo-first, equal-height 3-column cards. */
.crest-inner-services .crest-home-hero{
    min-height:clamp(415px,34vw,510px);
}
.crest-inner-services .crest-home-hero .crest-home-inside{
    padding-top:76px;
    padding-bottom:76px;
}
.crest-inner-services .crest-home-hero .crest-hero-message{
    max-width:730px;
}
.crest-inner-services #services-intro .crest-home-inside{
    padding-top:clamp(65px,6.2vw,94px);
    padding-bottom:clamp(65px,6.2vw,94px);
}
.crest-inner-services #services-intro .crest-about-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,.95fr);
    gap:clamp(34px,5.2vw,84px);
}
.crest-inner-services #services-intro .crest-about-copy{order:1;min-width:0}
.crest-inner-services #services-intro .crest-about-image{
    order:2;
    position:relative;
    height:clamp(300px,32vw,418px);
    border-radius:12px;
    box-shadow:16px 16px 0 #e8f0ed;
    overflow:hidden;
}
.crest-inner-services #services-intro .crest-about-image picture,
.crest-inner-services #services-intro .crest-about-image img{width:100%;height:100%;object-fit:cover}
.crest-inner-services #services-intro .crest-about-copy h2{
    max-width:580px;
    line-height:1.15;
}
.crest-inner-services #services-intro .crest-about-copy .crest-home-description{
    line-height:1.8;
}
.crest-inner-services #services-intro .crest-about-copy .crest-home-description p + p{
    margin-top:15px;
}
.crest-inner-services #services-offerings .crest-home-inside,
.crest-inner-services #services-classes .crest-home-inside{
    padding-top:clamp(63px,6vw,90px);
    padding-bottom:clamp(68px,6.5vw,98px);
}
.crest-inner-services #services-offerings{
    background:var(--crest-home-bg,#f2f6f6);
}
.crest-inner-services #services-classes{
    background:var(--crest-home-bg,#fff);
}
.crest-inner-services .crest-modern-grid-head{
    max-width:890px;
    margin:0 auto 40px;
    text-align:center;
}
.crest-inner-services .crest-modern-grid-head .crest-home-overline{
    color:var(--crest-accent,#d1a049);
    margin:0 0 20px!important;
    letter-spacing:.18em;
}
.crest-inner-services .crest-modern-grid-head .crest-home-overline:after{
    width:42px;
    height:3px;
    margin:10px auto 0;
}
.crest-inner-services .crest-modern-grid-head h2{
    font-size:clamp(31px,3.25vw,47px);
    line-height:1.16;
    margin:0 0 16px;
}
.crest-inner-services .crest-modern-grid-intro,
.crest-inner-services .crest-modern-grid-intro > *{
    text-align:center;
}
.crest-inner-services .crest-modern-grid-intro{
    line-height:1.75;
    margin:0 auto;
    max-width:710px;
    color:#65717a;
}
.crest-inner-services .crest-modern-cards-grid{
    display:grid;
    grid-template-columns:repeat(var(--crest-modern-cols,3),minmax(0,1fr));
    gap:clamp(18px,2.1vw,28px);
    align-items:stretch;
}
.crest-inner-services .crest-modern-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    height:100%;
    overflow:hidden;
    border-radius:12px;
    background:#fff;
    border:1px solid #dfe8e9;
    box-shadow:0 8px 25px rgba(14,44,58,.045);
    transition:transform .24s ease, box-shadow .24s ease,border-color .24s ease;
}
.crest-inner-services .crest-modern-card:hover{
    transform:translateY(-5px);
    border-color:#c3d2d3;
    box-shadow:0 22px 55px rgba(10,44,54,.12);
}
.crest-inner-services .crest-modern-card-media{
    position:relative;
    isolation:isolate;
    width:100%;
    aspect-ratio:1.57;
    overflow:hidden;
    background:linear-gradient(135deg,#cbdadd,#e3eded);
}
.crest-inner-services .crest-modern-card-media picture,
.crest-inner-services .crest-modern-card-media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
.crest-inner-services .crest-modern-card-media img{
    transition:transform .55s ease;
}
.crest-inner-services .crest-modern-card:hover .crest-modern-card-media img{
    transform:scale(1.045);
}
.crest-inner-services .crest-modern-card-media:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(3,28,42,.22),transparent 37%,rgba(3,28,42,.06));
    pointer-events:none;
    z-index:1;
}
.crest-inner-services .crest-modern-card-count{
    position:absolute;
    z-index:2;
    top:17px;
    left:17px;
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.52);
    background:rgba(6,40,49,.78);
    backdrop-filter:blur(7px);
    border-radius:8px;
    color:#fff;
    font:700 13px/1 'Inter',Arial,sans-serif;
    letter-spacing:.04em;
}
.crest-inner-services .crest-modern-card-main{
    display:flex;
    flex:1;
    flex-direction:column;
    min-width:0;
    padding:clamp(22px,2.15vw,30px);
}
.crest-inner-services .crest-modern-card-copy{
    flex:1;
    min-width:0;
}
.crest-inner-services .crest-modern-card-label{
    font-size:10px!important;
    letter-spacing:.16em;
    color:#aa823c!important;
    font-weight:700!important;
    line-height:1.4;
    margin:0 0 13px!important;
}
.crest-inner-services .crest-modern-card h3{
    color:#0d2f40;
    font-size:clamp(18px,1.6vw,22px);
    line-height:1.29;
    margin:0 0 12px;
    letter-spacing:-.025em;
    overflow-wrap:break-word;
}
.crest-inner-services .crest-modern-card-description{
    font-size:15px!important;
    line-height:1.73;
    font-weight:400;
    color:#596b73!important;
    margin:0 0 24px!important;
}
.crest-inner-services .crest-modern-card-actions{
    width:100%;
    margin-top:auto;
    border-top:1px solid #e8eef0;
    padding-top:19px;
}
.crest-inner-services .crest-modern-card-button{
    min-height:47px;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:12px 17px;
    text-decoration:none!important;
    border-radius:6px;
    background:#0a4b46;
    border:1px solid #0a4b46;
    font:700 13px/1.3 'Inter',Arial,sans-serif;
    color:#fff!important;
    transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.crest-inner-services .crest-modern-card-button span{
    flex:none;
    font-size:19px;
    line-height:1;
    color:#dfb667;
    transition:transform .18s ease;
}
.crest-inner-services .crest-modern-card-button:hover{
    background:#083732;
    border-color:#083732;
    box-shadow:0 5px 16px rgba(12,70,64,.13);
}
.crest-inner-services .crest-modern-card-button:hover span{
    transform:translateX(3px);
}
.crest-inner-services .crest-modern-card-button:focus-visible{
    outline:3px solid var(--crest-accent,#d1a049);
    outline-offset:3px;
}
.crest-inner-services #services-classes .crest-modern-card-button{
    background:transparent;
    color:#0a4b46!important;
    border-color:#bacfc8;
}
.crest-inner-services #services-classes .crest-modern-card-button:hover{
    background:#0a4b46;
    color:#fff!important;
}
.crest-inner-services #services-process{
    background:var(--crest-home-bg,#f5f8f8);
}
.crest-inner-services #services-process .crest-home-inside{
    padding-top:clamp(61px,5.8vw,82px);
    padding-bottom:clamp(65px,6vw,90px);
}
.crest-inner-services #services-process .crest-process-grid{gap:20px}
.crest-inner-services #services-process .crest-process-step{
    border-radius:9px;
    background:#fff;
    border:1px solid #dfe8e9;
    border-top:3px solid var(--crest-accent,#d1a049);
    box-shadow:0 7px 24px rgba(3,42,52,.038);
    padding:29px;
}
.crest-inner-services #services-process .crest-process-step h3{font-size:18px}
.crest-inner-services #services-process .crest-process-step p{line-height:1.7}
.crest-inner-services #services-cta .crest-home-inside{padding-top:65px;padding-bottom:70px}

@media(max-width:1024px){
    .crest-inner-services .crest-modern-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .crest-inner-services #services-intro .crest-about-grid{gap:30px}
    .crest-inner-services #services-intro .crest-about-image{box-shadow:10px 10px 0 #e8f0ed}
}
@media(max-width:720px){
    .crest-inner-services #services-intro .crest-about-grid{grid-template-columns:1fr}
    .crest-inner-services #services-intro .crest-about-copy{order:1}
    .crest-inner-services #services-intro .crest-about-image{order:2;height:clamp(235px,54vw,350px)}
    .crest-inner-services .crest-modern-grid-head{margin-bottom:30px}
    .crest-inner-services #services-intro .crest-home-inside,
    .crest-inner-services #services-offerings .crest-home-inside,
    .crest-inner-services #services-classes .crest-home-inside,
    .crest-inner-services #services-process .crest-home-inside{padding-top:55px;padding-bottom:60px}
}
@media(max-width:650px){
    .crest-inner-services .crest-modern-cards-grid{grid-template-columns:minmax(0,1fr);gap:19px}
    .crest-inner-services .crest-modern-card-media{aspect-ratio:1.8}
    .crest-inner-services .crest-modern-card-main{padding:23px}
    .crest-inner-services .crest-modern-grid-head h2{font-size:clamp(29px,7.2vw,39px)}
}
@media(max-width:560px){
    .crest-inner-services .crest-home-hero .crest-home-inside{padding-top:57px;padding-bottom:55px}
    .crest-inner-services .crest-home-hero{min-height:450px}
    .crest-inner-services #services-intro .crest-about-image{box-shadow:8px 8px 0 #e8f0ed}
    .crest-inner-services #services-process .crest-process-step{padding:23px}
}
@media(prefers-reduced-motion:reduce){
    .crest-inner-services .crest-modern-card,
    .crest-inner-services .crest-modern-card-media img,
    .crest-inner-services .crest-modern-card-button,
    .crest-inner-services .crest-modern-card-button span{transition:none}
}

/* v1.2.7 — style WPForms embed consistently with the contact section. */
.crest-united-home .crest-contact-wpforms{box-sizing:border-box;min-width:0;width:100%;padding:clamp(24px,3vw,40px);background:#fff;border:1px solid #e2eaed;box-shadow:0 15px 48px rgba(1,28,46,.07);border-radius:6px}
.crest-united-home .crest-contact-wpforms .wpforms-container{margin:0;max-width:none}
.crest-united-home .crest-contact-wpforms .wpforms-field-label{font-family:Inter,Arial,sans-serif;font-weight:700;color:#102840}
.crest-united-home .crest-contact-wpforms :is(input[type=text],input[type=email],input[type=tel],select,textarea){box-sizing:border-box;max-width:100%;font-family:Inter,Arial,sans-serif;border-radius:5px}
.crest-united-home .crest-contact-wpforms button[type=submit]{font-family:Inter,Arial,sans-serif;font-weight:700;background:#06513e;color:#fff;border:none;border-radius:5px;padding:12px 22px;min-height:46px;cursor:pointer}
@media(max-width:600px){.crest-united-home .crest-contact-wpforms{padding:23px 17px}}

/* Crest v1.3.0 — About Us / WHAT MATTERS TO US.
   Show only the solid background selected in the About Us editor.
   This removes inherited radial/diagonal graphic lines without altering
   the cards, gold accents, section text, or responsive layout. */
.crest-united-home.crest-inner-about-us #about-values.crest-home-benefits {
    background-color: var(--crest-home-bg, #073f43);
    background-image: none;
}
