/*
Theme Name: Zoomacad Child
Template: twentytwentyone
Version: 1.0.1
*/

/* Only global header placement on inner pages */
body:not(.home) .zm2-global-header {
    position: relative;
    z-index: 100;
    padding: 28px 0;
    background: #f7f9fc;
}

body:not(.home) .zm2-global-header .zm2-header {
    margin: 0 auto;
}

body:not(.home) .zm2-global-header .zm2-mobile-drawer,
body:not(.home) .zm2-global-header .zm2-mobile-overlay {
    box-sizing: border-box;
}

@media (max-width: 760px) {
    body:not(.home) .zm2-global-header {
        padding: 16px 0;
    }
}
.zm2 .zd-hero{position:relative;min-height:480px;display:flex;align-items:center;padding:85px 0;}
.zm2 .zd-hero h1{max-width:840px;color:#fff;font:700 clamp(38px,5.2vw,67px)/1.06 Manrope,sans-serif;letter-spacing:-2px;margin:18px 0}
.zm2 .zd-hero p{max-width:700px;color:#e6efff;font-size:14px;line-height:1.8}
.zm2 .zd-hero .zm2-kicker{color:#bcd3ff}
.zm2 .zd-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.zm2 .zd-section{padding:85px 0}
.zm2 .zd-soft{background:#edf3fb}
.zm2 .zd-inner{max-width:1050px;margin:auto}
.zm2 .zd-intro{max-width:780px;margin-bottom:32px}
.zm2 .zd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.zm2 .zd-card{padding:27px;background:#fff;border:1px solid #dbe5f2;border-radius:5px}
.zm2 .zd-card h3{font:700 17px/1.35 Manrope,sans-serif;margin:12px 0}
.zm2 .zd-card p{margin:0}
.zm2 .zd-icon{width:42px;height:42px;display:grid;place-items:center;background:#dce8f8;color:#0033a0;border-radius:50%;font-size:17px}
.zm2 .zd-split{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}
.zm2 .zd-split img{width:100%;height:410px;object-fit:cover;border-radius:5px}
.zm2 .zd-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.zm2 .zd-pair .zd-card{background:#dce8f8;padding:34px}
.zm2 .zd-pair .zd-card:nth-child(2){background:#fff}
.zm2 .zd-list{display:grid;gap:13px;padding:0;list-style:none;margin:22px 0}
.zm2 .zd-list li{display:flex;gap:11px;align-items:flex-start;color:#36557f;font-size:13px;line-height:1.7}
.zm2 .zd-list i{color:#0033a0;margin-top:5px}
.zm2 .zd-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.zm2 .zd-step{padding:25px;background:#fff;border-radius:5px}
.zm2 .zd-step b{font-size:11px;color:#0033a0}
.zm2 .zd-step h3{font-size:15px;margin:18px 0 9px}
.zm2 .zd-step p{margin:0}
.zm2 .zd-note{margin-top:28px;padding:26px;background:#dce8f8;border-left:4px solid #0033a0;border-radius:3px}
.zm2 .zd-note p{margin:0 0 15px}
.zm2 .zd-faq details{border-bottom:1px solid #cbd9ed;padding:18px 0}
.zm2 .zd-faq summary{cursor:pointer;font-weight:700;font-size:14px;list-style:none;display:flex;justify-content:space-between;gap:20px}
.zm2 .zd-faq summary:after{content:'+';color:#0033a0;font-size:22px}
.zm2 .zd-faq details[open] summary:after{content:'−'}
.zm2 .zd-faq details p{padding-top:12px;margin:0}
.zm2 .zd-contact{padding:65px 0;background:#0033a0;color:#fff}
.zm2 .zd-contact h2{color:#fff}
.zm2 .zd-contact p,.zm2 .zd-contact a:not(.zm2-btn){color:#e3edff}
.zm2 .zd-contact-lines{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;margin-top:25px;font-size:13px}
.zm2 .zd-reviews{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.zm2 .zd-review{padding:27px;background:#dce8f8}
.zm2 .zd-review strong{display:block;margin-top:18px}
.zm2 .zd-stars{color:#0033a0;letter-spacing:2px}
@media(max-width:900px){.zm2 .zd-grid,.zm2 .zd-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.zm2 .zd-section{padding:55px 0}.zm2 .zd-hero{min-height:420px;padding:65px 0}.zm2 .zd-grid,.zm2 .zd-steps,.zm2 .zd-pair,.zm2 .zd-split,.zm2 .zd-reviews,.zm2 .zd-contact-lines{grid-template-columns:1fr}.zm2 .zd-split img{height:260px}.zm2 .zd-card{padding:22px}}

/* Scoped layout correction: WordPress/theme selectors must not collapse card spacing */
.zm2.zd-page, .zm2.zd-page * {box-sizing:border-box}
.zm2.zd-page .zd-inner{width:100%;max-width:1280px;margin-inline:auto}
.zm2.zd-page .zd-section{padding-block:88px}
.zm2.zd-page .zd-intro{margin:0 0 36px;max-width:880px}
.zm2.zd-page .zd-intro .zm2-title{font-size:clamp(32px,3.5vw,49px);line-height:1.15;letter-spacing:-1.5px;margin:12px 0 20px;max-width:950px}
.zm2.zd-page .zd-grid{gap:22px;align-items:stretch}
.zm2.zd-page .zd-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:250px;padding:30px 29px !important;background:#fff;border:1px solid #dce6f2;border-radius:13px;box-shadow:0 7px 25px rgba(20,51,94,.045)}
.zm2.zd-page .zd-card .zd-icon{flex:0 0 46px;width:46px;height:46px;margin-bottom:17px}
.zm2.zd-page .zd-card h3{margin:0 0 13px !important;font-size:18px;line-height:1.4}
.zm2.zd-page .zd-card .zm2-copy{margin:0 !important;font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.zm2.zd-page .zd-pair{gap:22px;align-items:stretch}
.zm2.zd-page .zd-pair .zd-card{min-height:275px;padding:35px !important}
.zm2.zd-page .zd-pair .zd-card:first-child{background:#dce8f8}
.zm2.zd-page .zd-note{padding:28px 32px !important;margin-top:25px;border-radius:10px}
.zm2.zd-page .zd-note .zm2-copy{margin:0 0 20px !important}
.zm2.zd-page .zd-steps{gap:18px;align-items:stretch}
.zm2.zd-page .zd-step{display:flex;flex-direction:column;min-width:0;min-height:270px;padding:28px 25px !important;background:#fff;border:1px solid #e1e8f2;border-radius:12px;box-shadow:0 6px 20px rgba(20,51,94,.035)}
.zm2.zd-page .zd-step b{display:block;margin:0 0 21px;font-size:12px;letter-spacing:.07em}
.zm2.zd-page .zd-step h3{font:700 16px/1.45 Manrope,sans-serif;margin:0 0 13px !important}
.zm2.zd-page .zd-step .zm2-copy{font-size:13px;line-height:1.75;margin:0 !important;overflow-wrap:anywhere}
.zm2.zd-page .zd-reviews{gap:24px}
.zm2.zd-page .zd-review{display:flex;flex-direction:column;min-height:245px;padding:34px 36px !important;background:#e8f0fb;border:1px solid #d7e4f5;border-radius:12px}
.zm2.zd-page .zd-review .zd-stars{margin-bottom:20px;font-size:18px}
.zm2.zd-page .zd-review .zm2-copy{margin:0 0 25px !important;font-size:14px;line-height:1.85}
.zm2.zd-page .zd-review strong{margin-top:auto;font-size:14px}
.zm2.zd-page .zd-faq details{padding:21px 0}
.zm2.zd-page .zd-faq details .zm2-copy{margin:12px 0 0 !important;line-height:1.8}
@media(max-width:900px){.zm2.zd-page .zd-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.zm2.zd-page .zd-section{padding-block:56px}.zm2.zd-page .zd-grid,.zm2.zd-page .zd-steps,.zm2.zd-page .zd-pair,.zm2.zd-page .zd-reviews{grid-template-columns:1fr}.zm2.zd-page .zd-card,.zm2.zd-page .zd-step,.zm2.zd-page .zd-review{min-height:0;padding:25px !important}.zm2.zd-page .zd-pair .zd-card{min-height:0;padding:25px !important}.zm2.zd-page .zd-intro .zm2-title{font-size:clamp(30px,8vw,40px)}}
/* Inner page header positioning */

body:not(.home) .zm2-global-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 28px 0 0 !important;
    margin: 0 !important;
    background: transparent !important;
    z-index: 999 !important;
}

body:not(.home) .zm2-global-header .zm2-header {
    margin: 0 auto !important;
}

/* Remove spacing before hero */

body:not(.home) #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body:not(.home) .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero content stays below navigation */

body:not(.home) .zm2-hero {
    padding-top: 155px !important;
}

@media (max-width: 767px) {
    body:not(.home) .zm2-global-header {
        padding: 15px 14px 0 !important;
    }

    body:not(.home) .zm2-hero {
        padding-top: 125px !important;
    }
}
/* Dezmembrari page - hero content spacing fix */

body:not(.home) .zd-page .zd-hero {
    padding-top: 155px !important;
    padding-bottom: 65px !important;
    min-height: 650px;
    box-sizing: border-box;
}

body:not(.home) .zd-page .zd-hero .zm2-container {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    body:not(.home) .zd-page .zd-hero {
        padding-top: 145px !important;
        padding-bottom: 50px !important;
        min-height: 580px;
    }
}