/* Mac Agro Service Catalogue + Detail UI
 * Designed from the supplied reference: soft agriculture background,
 * green typography, icon-led service cards, clean detail layout and enquiry CTA.
 */
.mac-services-page{background:linear-gradient(180deg,#f6fcf7 0,#fff 42%,#f4faf5 100%);color:#1f2f23}
.mac-services-page .mac-service-hero{position:relative;overflow:hidden;padding:72px 0 68px;background:linear-gradient(90deg,rgba(242,250,243,.98),rgba(240,250,244,.88)) center/cover no-repeat}
.mac-services-page .mac-service-hero:after{content:"";position:absolute;inset:auto -5% -60px auto;width:360px;height:220px;border-radius:50%;background:rgba(80,150,88,.08);transform:rotate(-12deg)}
.mac-service-kicker{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#39724a;margin-bottom:12px}
.mac-service-kicker:before{content:"";width:34px;height:2px;background:#39724a}
.mac-services-page .mac-service-hero h1{font-size:46px;line-height:1.08;font-weight:800;color:#1d4d2a;margin:0 0 18px;max-width:760px}
.mac-services-page .mac-service-hero p{font-size:18px;line-height:1.7;max-width:760px;margin:0;color:#425448}
.mac-service-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.mac-service-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:12px 21px;font-weight:700;text-decoration:none;border:1px solid #2d5f38;transition:.2s}
.mac-service-btn.primary{background:#245b31;color:#fff}.mac-service-btn.primary:hover{background:#173f22;color:#fff}
.mac-service-btn.light{background:#fff;color:#245b31}.mac-service-btn.light:hover{background:#eef8ef;color:#245b31}
.mac-service-section{padding:70px 0}.mac-service-section.compact{padding:48px 0}
.mac-section-heading{text-align:center;max-width:760px;margin:0 auto 42px}.mac-section-heading .eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.12em;color:#4c8657;font-weight:800}.mac-section-heading h2{font-size:34px;color:#1c3f25;font-weight:800;margin:9px 0 12px}.mac-section-heading p{margin:0;color:#657469;line-height:1.7}
.mac-service-card{height:100%;background:#effaf1;border:1px solid #d7ead9;border-radius:15px;overflow:hidden;box-shadow:0 8px 28px rgba(38,80,45,.07);transition:transform .2s,box-shadow .2s}.mac-service-card:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(38,80,45,.13)}
.mac-service-card .thumb{height:190px;overflow:hidden;background:#e4f1e6}.mac-service-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.mac-service-card:hover .thumb img{transform:scale(1.04)}
.mac-service-card .body{padding:24px}.mac-service-icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#d9efd9;color:#28603a;font-size:25px;margin:-52px 0 17px;position:relative;border:5px solid #effaf1}.mac-service-card h3{font-size:21px;line-height:1.25;font-weight:800;margin:0 0 10px;color:#1f3f26}.mac-service-card p{color:#5e6d62;line-height:1.65;min-height:78px;margin-bottom:16px}.mac-learn{font-weight:800;color:#2c6738;text-decoration:none;border-bottom:1px solid #9dbda3;padding-bottom:3px}.mac-learn:hover{color:#173f22}
.mac-service-icon.no-image{margin-top:0;margin-bottom:17px;border-width:0}
.mac-service-why{background:#eaf7ec;border-top:1px solid #d5ead8;border-bottom:1px solid #d5ead8}.mac-why-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px;margin:0;padding:0;list-style:none}.mac-why-list li{position:relative;padding-left:31px;line-height:1.6;color:#425448}.mac-why-list li:before{content:"✓";position:absolute;left:0;top:0;width:21px;height:21px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#39724a;color:#fff;font-size:12px;font-weight:800}
.mac-service-detail-hero{position:relative;min-height:390px;display:flex;align-items:end;background:#163f22;overflow:hidden}.mac-service-detail-hero .image{position:absolute;inset:0;background-position:center;background-size:cover}.mac-service-detail-hero .image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,45,22,.88),rgba(18,60,28,.56) 55%,rgba(18,60,28,.12))}.mac-service-detail-hero .content{position:relative;z-index:2;padding:78px 0 62px;color:#fff}.mac-service-detail-hero h1{font-size:48px;line-height:1.08;font-weight:800;max-width:800px;margin:0 0 15px}.mac-service-detail-hero p{font-size:18px;line-height:1.7;max-width:780px;margin:0;color:rgba(255,255,255,.9)}
.mac-detail-main{padding:72px 0}.mac-detail-main .article{background:#fff;border:1px solid #e2eee4;border-radius:16px;padding:34px;box-shadow:0 8px 30px rgba(35,76,42,.06)}.mac-detail-main .article h2,.mac-detail-main .article h3{color:#1e4c29;font-weight:800}.mac-detail-main .article p{color:#536258;line-height:1.85}.mac-detail-main .article img{max-width:100%;height:auto;border-radius:12px}.mac-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:25px}.mac-feature-item{padding:19px;border:1px solid #dcebdc;border-radius:12px;background:#f5fbf5;display:flex;gap:14px;align-items:flex-start}.mac-feature-item .num{flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#d7ecd9;color:#2d6739;display:flex;align-items:center;justify-content:center;font-weight:800}.mac-feature-item strong{display:block;color:#274f31;margin-bottom:3px}.mac-feature-item span{color:#66736a;font-size:14px;line-height:1.55}
.mac-side-card{position:sticky;top:25px;background:#eff9f0;border:1px solid #d2e8d5;border-radius:16px;padding:26px}.mac-side-card h3{font-size:24px;color:#1f4d2a;font-weight:800;margin:0 0 8px}.mac-side-card>p{color:#657469;line-height:1.65}.mac-side-card .form-control{border:1px solid #cfe1d2;border-radius:6px;min-height:48px;background:#fff}.mac-side-card textarea.form-control{min-height:125px}.mac-side-card .form-label{font-weight:700;color:#405448;font-size:13px}.mac-service-alert{border-radius:8px;padding:12px 14px;margin-bottom:18px}.mac-related{background:#f4faf5}.mac-cta{background:linear-gradient(90deg,#1e5129,#2f6c3a);color:#fff;border-radius:20px;padding:42px 44px;position:relative;overflow:hidden}.mac-cta:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;border:36px solid rgba(255,255,255,.08);right:-60px;top:-70px}.mac-cta h2{font-size:31px;font-weight:800;margin:0 0 9px;position:relative;z-index:1}.mac-cta p{margin:0;max-width:700px;color:rgba(255,255,255,.88);line-height:1.7;position:relative;z-index:1}
.mac-service-breadcrumb{padding:14px 0;background:#f0f7f1;border-bottom:1px solid #dceade}.mac-service-breadcrumb a{color:#347044;text-decoration:none}.mac-service-breadcrumb span{color:#7a877d}
@media(max-width:991px){.mac-services-page .mac-service-hero h1,.mac-service-detail-hero h1{font-size:38px}.mac-detail-main .article{padding:25px}.mac-side-card{position:static;margin-top:25px}}
@media(max-width:767px){.mac-services-page .mac-service-hero{padding:55px 0}.mac-services-page .mac-service-hero h1,.mac-service-detail-hero h1{font-size:31px}.mac-service-section{padding:50px 0}.mac-section-heading h2{font-size:28px}.mac-why-list,.mac-feature-grid{grid-template-columns:1fr}.mac-service-detail-hero{min-height:430px}.mac-service-detail-hero .content{padding:65px 0 45px}.mac-cta{padding:30px 25px}.mac-cta h2{font-size:26px}}

/* Service detail page: content title below the single CMS page header. */
.mac-service-content-title{
    margin:8px 0 12px;
    color:#1d4d2a;
    font-size:38px;
    line-height:1.15;
    font-weight:800;
}
.mac-service-content-lead{
    margin:0 0 24px;
    color:#526359;
    font-size:18px;
    line-height:1.75;
}
@media(max-width:767px){
    .mac-service-content-title{font-size:30px}
    .mac-service-content-lead{font-size:16px}
}
