/* Gutenberg bridge for homepage — keep blocks editable while preserving theme layout */
.home .hero{background:#f2f6f3}
.home .hero-copy .hero-title{font-weight:800;line-height:1.6;letter-spacing:0;text-wrap:balance}
.home .hero-title .title-first{display:block;color:#153c36;font-size:.88em}
.home .hero-title .title-second{display:block;color:#426b57}
.home .service-grid.wp-block-columns{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:26px}
.home .service-grid.wp-block-columns>.wp-block-column{margin:0!important;border:1px solid #dbe5de;background:#fff;border-radius:12px}
@media(max-width:1000px){.home .service-grid.wp-block-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.home .hero-copy h1.hero-title{font-size:clamp(29px,8.2vw,39px);line-height:1.65}.home .service-grid.wp-block-columns{gap:12px}.home .service-grid.wp-block-columns>.wp-block-column{padding:16px 12px}.home .service-grid h3{font-size:15px}.home .service-grid>.wp-block-column p{font-size:13px}}

.home main .wp-block-group__inner-container{display:contents}

/* Gutenberg equivalents of original theme elements */
.home .hero-title{color:var(--ink)}
.home .hero-visual figure{height:100%;margin:0;border-radius:inherit;overflow:hidden}
.home .hero-visual figure img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.home .hero-visual>p{position:absolute;bottom:45px;right:-25px;left:28px;padding:20px 23px;background:#fff;border-radius:10px;z-index:2;box-shadow:0 12px 30px #163c3612;color:var(--ink)}
.home .hero-visual>p strong{color:var(--ink)}

.home .brands-heading{font-size:15px;flex:0 0 190px;margin:0;line-height:1.9}
.home .brand-names{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;text-align:center;font-size:16px;color:var(--ink)}
.home .brand-names span{display:flex;align-items:center;justify-content:center;font-size:16px;letter-spacing:0;padding:8px 10px;background:var(--pale);border-radius:8px;min-height:48px}

.home .service-grid>.wp-block-column{position:relative;padding:25px 23px 30px;border:1px solid var(--line);border-radius:12px;transition:border-color .2s;min-width:0}
.home .service-grid>.wp-block-column:hover{border-color:#67997c}
.home .service-grid>.wp-block-column p{font-size:14px;line-height:2}

.home .steps h3{border-bottom:1px solid #39635a;padding:20px 0 0;margin:0 0 8px;color:#fff;font-size:18px}
.home .steps h3:first-child{padding-top:0}
.home .steps p{padding-bottom:20px}
.home .steps p:last-child{padding-bottom:0}

.home .faq h3{display:none}
.home .faq details{border-bottom:1px solid var(--line);padding:18px 0}
.home .faq details:first-child{padding-top:0}
.home .faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:16px;font-weight:700}
.home .faq summary::-webkit-details-marker{display:none}
.home .faq summary:after{content:"+";font-size:23px;font-weight:400}
.home .faq details[open] summary:after{content:"−"}
.home .faq details p{font-size:14px;line-height:2.1;padding:15px 0 3px}

.home .hero-actions .wp-block-button.orange,.home .contact-action .wp-block-button.orange{background:transparent!important;padding:0!important;border:0!important}
.home .hero-actions .wp-block-button.orange .wp-block-button__link,.home .contact-action .wp-block-button.orange .wp-block-button__link{background:var(--orange)!important;color:#252d21!important;border:0!important;border-radius:8px!important;box-shadow:none!important;padding:13px 25px!important;min-height:50px!important;font-weight:700!important}
.home .hero-actions .wp-block-button.orange .wp-block-button__link:hover,.home .contact-action .wp-block-button.orange .wp-block-button__link:hover{background:#ff9c62!important}

@media(max-width:700px){
.home .hero-visual>p{right:12px;left:12px;bottom:34px;padding:16px}
.home .brands-heading{display:block;max-width:none;text-align:center;margin:0 0 18px}
.home .brand-names{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.home .brand-names span{font-size:13px;padding:9px 4px;min-height:auto}
.home .service-grid>.wp-block-column{padding:18px 15px 22px}
.home .hero-actions{flex-wrap:nowrap!important;gap:16px!important}
.home .hero-actions .wp-block-button{flex:0 1 auto}
.home .hero-actions .wp-block-button.orange .wp-block-button__link{font-size:12px!important;padding:10px 11px!important;min-height:42px!important;white-space:nowrap}
.home .hero-actions .is-style-outline .wp-block-button__link{font-size:12px!important;padding:8px 10px!important;min-height:42px!important;white-space:nowrap}
}
/* Restore contrast in dark process section */
.home .process{background:var(--green)!important;color:#fff!important}
.home .process .eyebrow{color:#b4cabc!important}
.home .process h2,.home .process h3{color:#fff!important}
.home .process p{color:#c0d1c7!important}
.home .process .steps h3{border-color:#39635a!important}
.home .process .steps p{border-color:#39635a!important}
.home .process .button,.home .process .wp-block-button__link{color:var(--green)!important;background:#eaf2eb!important}
.home .process .button:hover,.home .process .wp-block-button__link:hover{background:#fff!important}

/* Process section: explicit Gutenberg-safe presentation */
body.page-id-25 #process.wp-block-group{background:#103f39!important;color:#fff!important;padding:65px 0!important}
body.page-id-25 #process .process-grid{width:min(1180px,calc(100% - 64px))!important;margin-inline:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;gap:100px!important;align-items:start!important}
body.page-id-25 #process .eyebrow{color:#b4cabc!important}
body.page-id-25 #process h2,body.page-id-25 #process h3{color:#fff!important}
body.page-id-25 #process p{color:#c0d1c7!important}
body.page-id-25 #process .steps h3{border-top:1px solid #39635a!important;border-bottom:0!important;padding-top:20px!important;margin-top:20px!important}
body.page-id-25 #process .steps h3:first-child{border-top:0!important;padding-top:0!important;margin-top:0!important}
@media(max-width:700px){
body.page-id-25 #process.wp-block-group{padding:42px 0!important}
body.page-id-25 #process .process-grid{width:calc(100% - 36px)!important;grid-template-columns:1fr!important;gap:35px!important}
}
