
/* Ainult MC avalehe sisu: ei muuda Astra päist, jalust ega globaalseid fonte */
.mc-home{--mc-bg:#071e23;--mc-yellow:#ffdf32;color:#fff;background:var(--mc-bg);font-family:"Inter Light","Inter",sans-serif;font-size:16px;line-height:1.7}
.mc-home *{box-sizing:border-box}.mc-home h1,.mc-home h2,.mc-home h3,.mc-home p{color:inherit}.mc-home h1,.mc-home h2,.mc-home h3{font-family:"Archivo",sans-serif;font-weight:600;line-height:1.25;margin:0 0 20px}.mc-home h1{font-size:clamp(35px,4.3vw,58px)}.mc-home h2{font-size:clamp(29px,3vw,42px)}.mc-home h3{font-size:clamp(20px,2vw,25px)}.mc-home p{margin:0 0 18px}.mc-home .mc-wrap{max-width:1200px;width:calc(100% - 48px);margin:0 auto}.mc-home .mc-section{padding:90px 0}.mc-home .mc-eyebrow{font-family:"Archivo",sans-serif;font-weight:600;color:var(--mc-yellow);letter-spacing:.08em;text-transform:uppercase;margin-bottom:22px}.mc-home .mc-center{text-align:center}.mc-home .mc-center>p{max-width:780px;margin-left:auto;margin-right:auto}.mc-home .mc-btn{display:inline-flex;align-items:center;justify-content:center;min-width:188px;min-height:49px;padding:13px 24px;background:var(--mc-yellow);color:#081b1e!important;text-decoration:none!important;font-family:"Archivo",sans-serif;font-weight:600;font-size:14px;border:0;border-radius:0}.mc-home .mc-btn-outline{background:transparent;border:1px solid white;color:white!important}.mc-home .mc-hero,.mc-home .mc-cta{position:relative;isolation:isolate;background-position:center;background-size:cover;text-align:center}.mc-home .mc-hero:before,.mc-home .mc-cta:before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.69);z-index:-1}.mc-home .mc-hero{padding:130px 0 120px;min-height:590px;background-image:url('assets/projekt-3-1.png')}.mc-home .mc-hero .mc-eyebrow{color:#fff}.mc-home .mc-hero p{max-width:700px;margin:20px auto 36px}.mc-home .mc-split{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.mc-home .mc-split .mc-copy{max-width:555px}.mc-home .mc-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:75px}.mc-home .mc-card{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:410px;padding:38px 45px;border-radius:0 68px 0 0;overflow:hidden;color:#fff!important;text-decoration:none!important;background:#183137 center/cover}.mc-home .mc-card:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.78));z-index:0}.mc-home .mc-card>*{position:relative}.mc-home .mc-card .mc-number{font-size:40px;font-weight:700;margin-bottom:auto}.mc-home .mc-card .mc-number:after{content:'';display:block;width:58px;height:4px;background:var(--mc-yellow);margin-top:12px}.mc-home .mc-card p{font-size:15px}.mc-home .mc-img{width:100%;display:block;object-fit:cover;min-height:360px;max-height:560px}.mc-home .mc-feature{border-radius:0 85px 0 0;overflow:hidden;background:#09252b}.mc-home .mc-feature .mc-copy{padding:55px 50px}.mc-home .mc-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:65px;margin-top:60px}.mc-home .mc-benefits .mc-n{color:var(--mc-yellow);font-weight:700;font-size:19px;margin-bottom:15px}.mc-home .mc-benefits h3{font-size:23px}.mc-home .mc-cta{padding:120px 0;background-image:url('assets/projekt-5-1.png')}.mc-home .mc-cta .mc-eyebrow{color:#fff}.mc-home .mc-cta p{margin-bottom:30px}.mc-home .mc-projects{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:40px}.mc-home .mc-projects a{color:#fff;text-decoration:none}.mc-home .mc-projects img{width:100%;height:250px;object-fit:cover;display:block;border-radius:0 45px 0 0}.mc-home .mc-projects strong{display:block;padding:16px 0}.mc-home .mc-action{margin-top:28px}.mc-home .mc-subtle{color:#d7e2e4}
@media(max-width:850px){.mc-home .mc-section{padding:60px 0}.mc-home .mc-split,.mc-home .mc-cards,.mc-home .mc-benefits,.mc-home .mc-projects{grid-template-columns:1fr;gap:25px}.mc-home .mc-card{min-height:340px}.mc-home .mc-feature .mc-copy{padding:35px 25px}.mc-home .mc-hero{min-height:500px;padding:100px 0}.mc-home .mc-wrap{width:calc(100% - 32px)}.mc-home .mc-img{min-height:250px}.mc-home .mc-benefits{margin-top:35px}}

/* Ülejäänud lehtede komponendid – ainult .mc-home piires */
.mc-home .mc-pagehero{padding:85px 0 65px;text-align:center;background:#092329}.mc-home .mc-pagehero h1{font-size:clamp(34px,4vw,56px)}.mc-home .mc-pagehero p{max-width:800px;margin:auto}.mc-home .mc-text{max-width:850px;margin:auto}.mc-home .mc-text p{margin-bottom:22px}.mc-home .mc-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:45px}.mc-home .mc-panel{padding:34px;background:#0a2930;border-radius:0 45px 0 0}.mc-home .mc-panel h3{margin-top:0}.mc-home .mc-panel p:last-child{margin-bottom:0}.mc-home .mc-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:35px}.mc-home .mc-gallery-item{background:#0a2930;padding-bottom:14px;border-radius:0 45px 0 0;overflow:hidden}.mc-home .mc-gallery-item img{width:100%;height:235px;object-fit:cover;display:block}.mc-home .mc-gallery-item h3{padding:18px 20px 0}.mc-home .mc-gallery-item .mc-thumbs{display:flex;gap:6px;padding:0 20px 12px;flex-wrap:wrap}.mc-home .mc-gallery-item .mc-thumbs img{width:56px;height:48px;object-fit:cover}.mc-home a:not(.mc-btn){color:#ffdf32}.mc-home .mc-panel a{color:#ffdf32}.mc-home .mc-table{width:100%;border-collapse:collapse;margin:25px 0}.mc-home .mc-table th,.mc-home .mc-table td{border-bottom:1px solid #3a5458;padding:16px;text-align:left}.mc-home .mc-note{border-left:4px solid #ffdf32;padding:20px;background:#0b2a30}.mc-home .mc-field{display:block;margin:16px 0}.mc-home .mc-field input,.mc-home .mc-field textarea{width:100%;padding:12px}.mc-home .mc-form-placeholder{background:#0b2a30;padding:25px}.mc-home .mc-contact-list{list-style:none;padding:0}.mc-home .mc-contact-list li{padding:10px 0;border-bottom:1px solid #284147}.mc-home .mc-bottom{padding:55px 0;text-align:center;background:#092329}.mc-home .mc-bottom p{margin-bottom:22px}
@media(max-width:850px){.mc-home .mc-list,.mc-home .mc-gallery{grid-template-columns:1fr}.mc-home .mc-pagehero{padding:60px 0 40px}}

/* Versioon 2: olemasoleva Astra kujunduse sisu; päise ja menüü seadeid ei muudeta */
.mc-home .mc-hero{background-position:center center;min-height:600px}
.mc-home .mc-hero h1{max-width:850px;margin:0 auto 25px}
.mc-home .mc-hero p{max-width:570px}
.mc-trademark-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;padding:20px 24px;background:#101d1e;color:#e8e8e8;font-size:13px;text-align:center}
.mc-trademark-footer img{width:76px;max-height:85px;object-fit:contain}
.mc-trademark-footer a{color:#fff;text-decoration:underline}
.mc-home .mc-request-form{max-width:730px;display:grid;gap:18px}
.mc-home .mc-request-form label{display:grid;gap:7px;font-weight:600;color:#fff}
.mc-home .mc-request-form input:not([type=file]),.mc-home .mc-request-form textarea{width:100%;padding:13px 14px;background:#fff;color:#14252a;border:1px solid #a9b3b4;border-radius:2px;font:inherit}
.mc-home .mc-request-form input[type=file]{max-width:100%;color:#fff}
.mc-home .mc-request-form .mc-honeypot{position:absolute;left:-10000px;opacity:0;height:0;overflow:hidden}
.mc-home .mc-form-note{font-size:13px}.mc-home .mc-notice{border-left:4px solid #ffdf32;padding:15px;background:#173339}
@media(max-width:650px){.mc-trademark-footer{flex-direction:column}.mc-home .mc-hero{min-height:460px;padding:90px 0}}


/* MC logo toonidega kooskõlas olev kujundus – ainult plugina sisu sees. */
.mc-home{--mc-bg:#f3f0e9;--mc-yellow:#c97c32;background:#f3f0e9;color:#283b36;font-family:inherit}
.mc-home h1,.mc-home h2,.mc-home h3,.mc-home p{color:inherit}
.mc-home .mc-eyebrow,.mc-home .mc-benefits .mc-n{color:#b86b28}
.mc-home .mc-btn{background:#cb7d31;color:#fff!important;border-color:#cb7d31}
.mc-home .mc-btn:hover{background:#a85d20;color:#fff!important}
.mc-home .mc-btn-outline{background:transparent;color:#fff!important;border:1px solid #fff}
.mc-home .mc-hero,.mc-home .mc-pagehero,.mc-home .mc-cta{background-image:url('assets/mc-geomeetriline-taust.png');background-size:cover;background-position:center;background-color:#f3f0e9;color:#283b36}
.mc-home .mc-hero:before,.mc-home .mc-cta:before{background:rgba(246,243,235,.36)}
.mc-home .mc-hero .mc-eyebrow,.mc-home .mc-cta .mc-eyebrow{color:#9d581f}
.mc-home .mc-hero h1,.mc-home .mc-pagehero h1,.mc-home .mc-cta h2{color:#263a35;text-shadow:none}
.mc-home .mc-hero p,.mc-home .mc-pagehero p,.mc-home .mc-cta p{color:#334640}
.mc-home .mc-panel,.mc-home .mc-gallery-item,.mc-home .mc-form-placeholder,.mc-home .mc-note,.mc-home .mc-notice{background:#e5e9e1;color:#263a35}
.mc-home .mc-feature{background:#e1e8df;color:#263a35}
.mc-home .mc-bottom{background:#dce4db;color:#263a35}
.mc-home .mc-card{background-color:#40554d;color:#fff!important}
.mc-home .mc-card h3,.mc-home .mc-card p{color:#fff}
.mc-home .mc-card .mc-number:after{background:#e59a43}
.mc-home .mc-projects a,.mc-home a:not(.mc-btn),.mc-home .mc-panel a{color:#a75d24}
.mc-home .mc-table th,.mc-home .mc-table td{border-bottom-color:#b8c4b8}
.mc-home .mc-note{border-left-color:#cb7d31}
.mc-home .mc-request-form label{color:#263a35}
.mc-home .mc-request-form input[type=file]{color:#263a35}
.mc-home .mc-contact-list li{border-bottom-color:#b8c4b8}
.mc-home .mc-subtle{color:#52685d}
.mc-home .mc-form-note{color:#45574d}
.mc-home .mc-hero{min-height:560px}
@media(max-width:650px){.mc-home .mc-hero{min-height:420px}}

/* v2.2: readable foregrounds regardless of Astra global typography rules */
.mc-home{color:#263b35!important}
.mc-home :is(.mc-section,.mc-feature,.mc-pagehero,.mc-bottom,.mc-panel,.mc-gallery-item,.mc-note,.mc-form-placeholder,.mc-notice){color:#263b35!important}
.mc-home :is(.mc-section,.mc-feature,.mc-pagehero,.mc-bottom,.mc-panel,.mc-gallery-item,.mc-note,.mc-form-placeholder,.mc-notice) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong){color:#263b35!important;opacity:1!important}
.mc-home .mc-eyebrow,.mc-home .mc-section .mc-eyebrow,.mc-home .mc-feature .mc-eyebrow{color:#a65a20!important}
.mc-home .mc-hero :is(h1,h2,h3,p),.mc-home .mc-cta :is(h1,h2,h3,p){color:#263b35!important;opacity:1!important}
.mc-home .mc-card,.mc-home .mc-card :is(h2,h3,h4,p,span,strong,.mc-number){color:#fff!important;opacity:1!important;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.mc-home .mc-card:before{background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.84))!important}
.mc-home .mc-projects a,.mc-home .mc-projects a strong{color:#263b35!important;opacity:1!important}
.mc-home .mc-btn,.mc-home a.mc-btn,.mc-home button.mc-btn{color:#fff!important;background:#b96625!important;opacity:1!important;text-shadow:none!important}
.mc-home .mc-btn:hover,.mc-home a.mc-btn:hover{background:#934d1a!important}
.mc-home .mc-btn-outline{color:#263b35!important;background:transparent!important;border-color:#263b35!important}
.mc-home .mc-subtle{color:#4c6157!important;opacity:1!important}
.mc-home .mc-benefits .mc-n{color:#a65a20!important}
.mc-home .mc-feature .mc-copy{background:#e1e8df}
.mc-home .mc-hero:before,.mc-home .mc-cta:before{background:rgba(246,243,235,.28)!important}


/* v2.3: kliendi kinnitatud külm terashall / grafiit / logo oranž-roheline. */
.mc-home{--mc-bg:#D9DEE1;--mc-yellow:#E99535;background:#D9DEE1!important;color:#252B2E!important}
.mc-home :is(.mc-section,.mc-pagehero,.mc-bottom){background-color:#D9DEE1!important;color:#252B2E!important}
.mc-home :is(.mc-section,.mc-pagehero,.mc-bottom,.mc-panel,.mc-gallery-item,.mc-note,.mc-form-placeholder,.mc-notice) :is(h1,h2,h3,h4,h5,h6,p,li,span,strong){color:#252B2E!important}
.mc-home .mc-feature,.mc-home .mc-feature .mc-copy{background:#F5F6F4!important;color:#252B2E!important}
.mc-home .mc-panel,.mc-home .mc-gallery-item,.mc-home .mc-form-placeholder,.mc-home .mc-note,.mc-home .mc-notice{background:#F5F6F4!important;color:#252B2E!important}
.mc-home .mc-eyebrow,.mc-home .mc-section .mc-eyebrow,.mc-home .mc-feature .mc-eyebrow,.mc-home .mc-benefits .mc-n{color:#99551B!important}
.mc-home .mc-btn,.mc-home a.mc-btn,.mc-home button.mc-btn{background:#E99535!important;color:#20272A!important;border:1px solid #E99535!important;font-weight:700}
.mc-home .mc-btn:hover,.mc-home a.mc-btn:hover{background:#CE7920!important;border-color:#CE7920!important;color:#20272A!important}
.mc-home .mc-btn-outline{background:transparent!important;border-color:#252B2E!important;color:#252B2E!important}
.mc-home .mc-card{background-color:#293D36!important;color:#fff!important}
.mc-home .mc-card :is(h2,h3,h4,p,span,strong,.mc-number){color:#fff!important}
.mc-home .mc-card .mc-number:after{background:#E99535!important}
.mc-home .mc-projects a,.mc-home .mc-projects a strong{color:#252B2E!important}
.mc-home .mc-subtle,.mc-home .mc-form-note{color:#40494D!important}
.mc-home .mc-table :is(td,th),.mc-home .mc-contact-list li{border-color:#AEB8BD!important}
.mc-home .mc-note{border-left-color:#E99535!important}
.mc-home .mc-hero,.mc-home .mc-cta{background-color:#D9DEE1!important}
.mc-home .mc-hero:before,.mc-home .mc-cta:before{background:rgba(217,222,225,.25)!important}
.mc-home .mc-hero :is(h1,h2,h3,p),.mc-home .mc-cta :is(h1,h2,h3,p){color:#252B2E!important;text-shadow:0 1px 8px rgba(255,255,255,.65)!important}
.mc-home .mc-hero .mc-eyebrow,.mc-home .mc-cta .mc-eyebrow{color:#7E4417!important}
.mc-home .mc-request-form label,.mc-home .mc-request-form input[type=file]{color:#252B2E!important}
.mc-trademark-footer{background:#252B2E!important;color:#F5F6F4!important}
.mc-trademark-footer a{color:#F5F6F4!important}
/* Astra üldpäis: ainult värvid, mitte paigutus. */
body .ast-primary-header-bar,body .site-header .ast-builder-grid-row-container{background:#F5F6F4!important}
body .site-header .main-header-menu a,body .site-header .site-title a,body .site-header .ast-header-html,body .site-header .ast-builder-menu-1 .menu-link{color:#252B2E!important}
body .site-header .main-header-menu a:hover{color:#99551B!important}

/* v2.4 – avalehe viimistlus, lähtudes 19.10 kuvatõmmisest. Astra paigutust ei muudeta. */
.mc-home .mc-section{padding:58px 0!important}
.mc-home .mc-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;margin-top:38px!important}
.mc-home .mc-card{min-height:330px!important;padding:30px!important;border-radius:0 42px 0 0!important}
.mc-home .mc-card .mc-number{font-size:32px!important}
.mc-home .mc-card h3{font-size:clamp(20px,2vw,25px)!important;line-height:1.25!important}
.mc-home .mc-card p{font-size:15px!important;line-height:1.5!important}
.mc-home .mc-benefits{margin-top:35px!important;gap:35px!important}
.mc-home .mc-feature{border-radius:0 48px 0 0!important}
.mc-home .mc-feature .mc-copy{padding:35px!important}
.mc-home .mc-btn,.mc-home a.mc-btn,.mc-home button.mc-btn{font-size:15px!important;min-height:48px!important;padding:13px 26px!important;letter-spacing:.015em!important}
.mc-home .mc-hero{min-height:490px!important;padding:105px 0 90px!important}
.mc-home .mc-hero:before{background:rgba(12,19,20,.55)!important}
.mc-home .mc-hero :is(h1,h2,h3,p),.mc-home .mc-hero .mc-eyebrow{color:#fff!important;text-shadow:0 2px 9px rgba(0,0,0,.5)!important}
.mc-home .mc-hero .mc-eyebrow{color:#f5b46e!important}
.mc-home .mc-cta:before{background:rgba(245,246,244,.68)!important}
.mc-home .mc-cta :is(h1,h2,h3,p){color:#252B2E!important;text-shadow:none!important}
.mc-home .mc-cta{padding:75px 0!important}
.mc-home .mc-projects{margin-top:26px!important}
.mc-home .mc-projects img{height:215px!important}
.mc-trademark-footer{gap:18px!important;padding:24px!important;font-size:15px!important;line-height:1.6!important}
.mc-trademark-footer img{width:94px!important;max-height:100px!important}
.mc-home .mc-section .mc-center>p{max-width:700px}
@media(max-width:750px){.mc-home .mc-cards{grid-template-columns:1fr!important}.mc-home .mc-section{padding:42px 0!important}.mc-home .mc-card{min-height:300px!important}.mc-home .mc-hero{min-height:430px!important;padding:85px 0!important}.mc-home .mc-feature .mc-copy{padding:26px!important}.mc-home .mc-benefits{gap:20px!important}.mc-home .mc-projects img{height:230px!important}}

/* v2.5: three focused finishing adjustments; leave Astra header layout intact. */
.site-header.mc-brand-logo-ready .custom-logo-link img,
.site-header.mc-brand-logo-ready img.custom-logo,
.site-header.mc-brand-logo-ready .site-logo-img img{width:clamp(190px,21vw,290px)!important;max-width:290px!important;max-height:95px!important;height:auto!important;object-fit:contain!important}
.site-header.mc-brand-logo-ready .site-title,
.site-header.mc-brand-logo-ready .ast-site-title-wrap{display:none!important}
.site-header.mc-brand-logo-ready .site-branding{min-width:190px!important}
.mc-trademark-footer{padding:26px 30px!important;gap:22px!important;font-size:16px!important;line-height:1.7!important}
.mc-trademark-footer img{width:110px!important;max-height:120px!important;flex-shrink:0!important}
.mc-trademark-footer span{font-size:16px!important;overflow-wrap:anywhere}
.mc-trademark-footer a{color:#fff!important;text-underline-offset:3px}
.mc-home .mc-projects img{object-fit:cover!important;object-position:center!important}
.mc-home .mc-card{background-position:center!important;background-size:cover!important}
@media(max-width:920px){.site-header.mc-brand-logo-ready .custom-logo-link img,.site-header.mc-brand-logo-ready img.custom-logo,.site-header.mc-brand-logo-ready .site-logo-img img{width:clamp(155px,28vw,230px)!important}.site-header.mc-brand-logo-ready .site-branding{min-width:0!important}}
@media(max-width:600px){.mc-trademark-footer{padding:20px 16px!important;gap:12px!important}.mc-trademark-footer img{width:94px!important}.mc-trademark-footer span{font-size:14px!important}}

/* v2.6: approved construction hero. The desktop illustration already contains its own lettering; do not duplicate it. */
.mc-home .mc-hero.mc-hero-v26{padding:0!important;min-height:0!important;background:none!important;position:relative!important;overflow:hidden!important}
.mc-home .mc-hero.mc-hero-v26:before{display:none!important}
.mc-home .mc-hero-v26-desktop{position:relative;display:block}
.mc-home .mc-hero-v26-desktop img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.mc-home .mc-hero-v26-click{position:absolute;left:40%;top:53%;width:20%;height:11%;z-index:5;display:block;border-radius:3px;cursor:pointer}
.mc-home .mc-hero-v26-click:focus-visible{outline:4px solid #fff;outline-offset:3px}
.mc-home .mc-hero-v26-mobile{display:none}
@media(max-width:750px){
.mc-home .mc-hero-v26-desktop{display:none}
.mc-home .mc-hero-v26-mobile{display:flex;align-items:center;min-height:480px;padding:64px 0;background:linear-gradient(rgba(11,19,20,.70),rgba(11,19,20,.74)),url('assets/projekt-7-1.png') center/cover;color:white}
.mc-home .mc-hero-v26-mobile h1{font-size:clamp(30px,7vw,46px)!important;line-height:1.16!important;color:#fff!important}
.mc-home .mc-hero-v26-mobile p{color:#fff!important;font-size:16px!important}
.mc-home .mc-hero-v26-mobile .mc-eyebrow{color:#f5b46e!important}
}

/* v2.7 test-header navigation; Astra logo remains intact */
.site-header.mc27-header-ready .mc27-nav{display:flex;align-items:center;gap:18px;justify-content:flex-end;flex-wrap:wrap;width:100%;font-family:inherit}
.site-header .mc27-links{display:flex;align-items:center;gap:clamp(8px,1.2vw,19px);flex-wrap:wrap}
.site-header .mc27-links a{color:#252b2e!important;font-size:clamp(10px,.85vw,14px)!important;font-weight:700;text-decoration:none;white-space:nowrap}
.site-header .mc27-links a:hover{text-decoration:underline}
.site-header .mc27-lang{display:flex;gap:5px;align-items:center;font-size:11px;color:#252b2e}
.site-header .mc27-lang span{padding:4px 3px;white-space:nowrap}
.site-header .mc27-lang span[aria-disabled=true]{opacity:.55;cursor:not-allowed}
.site-header .mc27-cta{background:#c8793d;color:white!important;padding:12px 14px;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
@media(max-width:950px){.site-header .mc27-nav{justify-content:center!important;padding:8px 0}.site-header .mc27-links{justify-content:center}.site-header .mc27-cta{padding:8px 10px}}

/* v2.8 — test pages only: retain Astra logo, remove Astra's duplicate CTA.
   The plugin CTA remains the single orange button. */
.site-header.mc27-header-ready .ast-builder-button-wrap,
.site-header.mc27-header-ready .ast-header-button-1,
.site-header.mc27-header-ready .ast-header-button-2,
.site-header.mc27-header-ready .ast-custom-button-link,
.site-header.mc27-header-ready .ast-header-button-wrap {display:none!important}
.site-header.mc27-header-ready .mc27-nav{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:clamp(8px,1vw,16px)!important;padding:0!important}
.site-header.mc27-header-ready .mc27-links{display:flex!important;flex-wrap:nowrap!important;gap:clamp(6px,.75vw,13px)!important}
.site-header.mc27-header-ready .mc27-links a{font-size:clamp(10px,.78vw,12px)!important;white-space:nowrap!important}
.site-header.mc27-header-ready .mc27-lang{flex-shrink:0!important}
.site-header.mc27-header-ready .mc27-cta{display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0!important;font-size:11px!important;padding:12px 13px!important}
.site-header.mc27-header-ready .site-branding{min-width:0!important}
.site-header.mc27-header-ready .custom-logo-link img,
.site-header.mc27-header-ready img.custom-logo,
.site-header.mc27-header-ready .site-logo-img img{width:clamp(180px,18vw,245px)!important;max-width:245px!important}
@media(max-width:1050px){
 .site-header.mc27-header-ready .mc27-nav{flex-wrap:wrap!important;justify-content:center!important;padding:8px 0!important}
 .site-header.mc27-header-ready .mc27-links{flex-wrap:wrap!important;justify-content:center!important}
}

/* v2.9 – readable navigation on test pages, without touching other Astra menus. */
@media (min-width: 1450px) {
 .site-header.mc27-header-ready .mc27-links a {font-size:15px!important;line-height:1.35!important;letter-spacing:0!important;}
 .site-header.mc27-header-ready .mc27-links {gap:clamp(8px,.7vw,12px)!important;}
 .site-header.mc27-header-ready .mc27-lang {font-size:13px!important;}
 .site-header.mc27-header-ready .mc27-cta {font-size:14px!important;padding:12px 14px!important;}
 .site-header.mc27-header-ready .mc27-nav {gap:clamp(7px,.7vw,12px)!important;}
}
@media (min-width: 1051px) and (max-width: 1449px) {
 .site-header.mc27-header-ready .mc27-links a {font-size:14px!important;line-height:1.4!important;}
 .site-header.mc27-header-ready .mc27-lang {font-size:12px!important;}
 .site-header.mc27-header-ready .mc27-cta {font-size:13px!important;}
 .site-header.mc27-header-ready .mc27-nav {flex-wrap:wrap!important;justify-content:center!important;row-gap:8px!important;}
 .site-header.mc27-header-ready .mc27-links {flex-wrap:wrap!important;justify-content:center!important;}
}
@media (max-width:1050px) {
 .site-header.mc27-header-ready .mc27-links a {font-size:14px!important;line-height:1.5!important;}
 .site-header.mc27-header-ready .mc27-lang {font-size:12px!important;}
 .site-header.mc27-header-ready .mc27-cta {font-size:13px!important;}
}

/* v3.1: ainult sihitud kujundustäiendused */
.mc-home .mc-benefits{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch!important;margin-top:40px!important}
.mc-home .mc-benefit{padding:28px 26px!important;border:1px solid #d8dddc!important;background:#f8f9f8!important;display:flex!important;flex-direction:column!important;min-width:0!important}
.mc-home .mc-benefit h3{font-size:21px!important;line-height:1.3!important;min-height:55px!important;margin-bottom:14px!important}
.mc-home .mc-benefit p{font-size:15px!important;line-height:1.65!important;margin:0!important}
.mc-home .mc-service-panel{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;gap:24px!important;align-items:center!important}
.mc-home .mc-service-image{width:170px!important;height:125px!important;object-fit:cover!important;border-radius:3px!important}
.mc-home .mc-service-copy{min-width:0!important}
.mc-home .mc-gallery-description{font-size:14px!important;line-height:1.65!important;margin:6px 0 18px!important;color:#36474b!important}
@media(max-width:850px){.mc-home .mc-benefits{grid-template-columns:1fr!important}.mc-home .mc-benefit h3{min-height:0!important}}
@media(max-width:560px){.mc-home .mc-service-panel{grid-template-columns:1fr!important}.mc-home .mc-service-image{width:100%!important;height:180px!important}}

/* v3.2: portfolio card spacing and recruiting visual */
.mc-home .mc-gallery-item{display:flex!important;flex-direction:column!important;padding-bottom:22px!important}
.mc-home .mc-gallery-item>h3{padding:20px 24px 0!important;margin:0 0 10px!important;line-height:1.3!important}
.mc-home .mc-gallery-item>.mc-gallery-description{padding:0 24px!important;margin:0 0 20px!important;line-height:1.65!important;flex:1 0 auto!important}
.mc-home .mc-gallery-item>.mc-thumbs{padding:0 24px 0!important;margin-top:auto!important;gap:8px!important}
.mc-home .mc-recruit-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:center}
.mc-home .mc-recruit-visual{margin:0;overflow:hidden;border-radius:0 48px 0 0}
.mc-home .mc-recruit-visual img{display:block;width:100%;height:440px;object-fit:cover}
@media(max-width:850px){.mc-home .mc-recruit-layout{grid-template-columns:1fr;gap:24px}.mc-home .mc-recruit-visual img{height:300px}}

/* v3.2.2: consistent service cards and restrained section titles */
.mc-service-card{height:100%;}
.mc-eyebrow{letter-spacing:.08em}

/* v3.2.3 – kliendi kinnitatud parandused */
.mc-home .mc-pagehero h1{color:#e78e2c!important}
.mc-home .mc-pagehero .mc-eyebrow,.mc-home .mc-section>.mc-wrap>.mc-eyebrow{display:none!important}
.mc-home .mc-service-panel{min-height:235px!important;align-items:center!important}
.mc-home .mc-service-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.mc-home .mc-service-panel .mc-open-prices{margin-top:14px;cursor:pointer}
.mc-trademark-footer{background:#e5e4de!important;color:#263136!important;display:flex!important;justify-content:center!important;align-items:center!important}
.mc-trademark-footer a,.mc-trademark-footer span{color:#263136!important}
.mc-trademark-footer img{background:transparent!important;mix-blend-mode:multiply}
.site-header.mc27-header-ready .mc27-nav{width:100%!important;justify-content:flex-end!important}
.mc-lightbox,.mc-prices-overlay{position:fixed;inset:0;z-index:999999;background:rgba(10,16,19,.89);display:none;align-items:center;justify-content:center;padding:20px}
.mc-lightbox[aria-hidden="false"],.mc-prices-overlay[aria-hidden="false"]{display:flex}
.mc-lightbox img{max-height:86vh;max-width:90vw;object-fit:contain}
.mc-lightbox button,.mc-prices-overlay .mc-modal-close{position:absolute;background:#fff;color:#202020;border:0;border-radius:50%;width:44px;height:44px;cursor:pointer;font-size:25px;display:grid;place-items:center}
.mc-lightbox .mc-close,.mc-prices-overlay .mc-modal-close{right:20px;top:20px}
.mc-lightbox .mc-prev{left:15px;top:50%}.mc-lightbox .mc-next{right:15px;top:50%}
.mc-prices-box{width:min(100%,950px);height:min(92vh,1050px);background:#fff;border-radius:14px;padding:22px;position:relative;display:flex;flex-direction:column;gap:12px}
.mc-prices-box h2{font-size:23px;margin:0;padding-right:45px;color:#252b2e}
.mc-prices-box iframe{width:100%;height:100%;border:1px solid #ddd}
.mc-prices-box .mc-modal-close{top:12px;right:12px}
.mc-gallery-link{cursor:zoom-in}
@media(max-width:600px){.mc-home .mc-service-panel{min-height:0!important}.mc-prices-box{padding:12px}.mc-lightbox img{max-width:85vw}}

/* 3.2.6 — targeted corrections, limited to shortcode pages */
body:has(.mc-home) .entry-header,body:has(.mc-home) .entry-title,body:has(.mc-home) .ast-single-post-header,body:has(.mc-home) .page-title {display:none!important}
body:has(.mc-home) .site-content .ast-container {padding-top:0!important}
.mc-home .mc-list {align-items:stretch!important;grid-auto-rows:1fr!important}
.mc-home .mc-service-card,.mc-home .mc-service-panel {height:100%!important;min-height:260px!important}
.mc-home .mc-service-panel {align-items:center!important}
.mc-home .mc-service-image {flex-shrink:0!important}
.mc-home .mc-jobs-list {margin:0 0 25px 22px!important;padding:0!important;list-style:disc!important}
.mc-home .mc-jobs-list li {margin:5px 0!important}
.mc-trademark-footer img {mix-blend-mode:multiply!important;background:none!important;box-shadow:none!important;border:0!important}
.mc-lightbox img {width:calc(100vw - 140px)!important;height:calc(100vh - 90px)!important;max-width:calc(100vw - 140px)!important;max-height:calc(100vh - 90px)!important;object-fit:contain!important}
.mc-lightbox {padding:0!important}
.site-header.mc27-header-ready .ast-container,.site-header.mc27-header-ready .ast-builder-grid-row-container-inner {max-width:1200px!important;width:calc(100% - 48px)!important;margin-inline:auto!important;padding-inline:0!important}
.site-header.mc27-header-ready .mc27-nav {margin-left:auto!important;justify-content:flex-end!important}
.site-header .mc27-lang a {font-size:12px!important;color:#3a4144!important;padding:4px 3px;text-decoration:none!important}
.site-header .mc27-lang a[aria-current="page"] {font-weight:800!important;color:#b86622!important}
@media(max-width:650px){.mc-lightbox img{width:calc(100vw - 55px)!important;max-width:calc(100vw - 55px)!important}}
/* All five cards share the same minimum height, including the price-list button. */
.mc-home .mc-list > * {height:100%!important;min-height:300px!important}
.mc-home .mc-list .mc-service-panel {min-height:300px!important}
.mc-home .mc-service-copy .mc-open-prices {margin-top:18px!important}
/* Ensure no separate page title survives in Astra's content header. */
body:has(.mc-home) .entry-header:not(.mc-home .entry-header),body:has(.mc-home) .ast-article-single > header {display:none!important}

/* 3.2.7 — final layout corrections */
body:has(.mc-home) .ast-article-single > .entry-header,body:has(.mc-home) .entry-header,body:has(.mc-home) .ast-single-post-header{display:none!important}
.mc-home .mc-list{align-items:stretch!important;grid-auto-rows:1fr!important}
.mc-home .mc-list>.mc-service-card{height:100%!important;min-height:330px!important;display:flex!important;flex-direction:column!important}
.mc-home .mc-list .mc-service-panel{height:100%!important;min-height:330px!important;display:grid!important;align-items:center!important}
.mc-home .mc-gallery-item>.mc-gallery-link img{width:100%;object-fit:cover}
.mc-lightbox img{width:min(90vw,1600px)!important;height:88vh!important;max-width:90vw!important;max-height:88vh!important;object-fit:contain!important}
.mc-trademark-footer img{mix-blend-mode:normal!important;background:transparent!important}
@media(min-width:1051px){.site-header.mc27-header-ready .ast-builder-grid-row-container-inner,.site-header.mc27-header-ready .ast-container{max-width:1200px!important;width:calc(100% - 48px)!important;margin-inline:auto!important}.site-header.mc27-header-ready .mc27-nav{margin-left:auto!important;margin-right:0!important;justify-content:flex-end!important}}
@media(max-width:650px){.mc-home .mc-list>.mc-service-card,.mc-home .mc-list .mc-service-panel{min-height:0!important}.mc-lightbox img{width:88vw!important;height:82vh!important}}

.mc-pdf-link{display:inline-block;color:#9c521f;text-decoration:underline;font-weight:600;margin-bottom:2px}
.mc-prices-box iframe{min-height:200px}

/* v3.2.11: avoid the previous forced 24px inset; JS measures the hero. */
@media(min-width:1051px){.site-header.mc27-header-ready .mc27-nav{position:relative!important;padding-right:0!important;transform:none!important}}

/* 3.2.12: remove legacy forced nav offsets; the CTA is measured directly. */
@media(min-width:1051px){.site-header.mc27-header-ready .mc27-nav{left:auto!important;transform:none!important;padding-right:0!important}}

/* 3.2.13: CTA is independently anchored to the hero edge on desktop. */
@media(min-width:1051px){
.site-header.mc27-header-ready .mc27-nav{transform:none!important;left:auto!important;margin-right:0!important;padding-right:0!important;}
.site-header.mc27-header-ready .mc27-cta{margin:0!important;}
}

/* 3.2.16: The CTA alone is aligned to the hero; remove legacy nav offsets. */
@media (min-width:1051px) {
 .site-header.mc27-header-ready .mc27-nav { transform:none!important; left:auto!important; margin-right:0!important; }
 .site-header.mc27-header-ready .mc27-cta { position:relative!important; left:auto!important; right:auto!important; margin:0!important; }
}

/* 3.2.17: Reserve enough room for the separately anchored CTA. */
@media(min-width:1051px){
 .site-header.mc27-header-ready .mc27-nav{padding-right:0!important;transform:none!important;}
 .site-header.mc27-header-ready .mc27-cta{transform:none;white-space:nowrap!important;z-index:30;}
}

/* 3.2.18: visible custom CTA, outside Astra clipped menu. */
@media(min-width:1051px){.site-header.mc27-header-ready>.mc27-cta{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center;background:#c8793d!important;color:white!important;padding:12px 13px!important;font-weight:700;text-decoration:none!important;white-space:nowrap;z-index:999!important}}

/* 3.2.19 - Astra mobile drawer uses the same navigation as desktop. */
@media(max-width:921px){
 .ast-mobile-popup-drawer .mc27-mobile-original-hidden{display:none!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;transform:none!important;width:100%!important;padding:18px 22px!important;box-sizing:border-box!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-links{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-links a{display:block!important;padding:12px 0!important;color:#fff!important;opacity:1!important;text-decoration:none!important;white-space:normal!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-lang{display:flex!important;gap:22px!important;padding:14px 0!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-lang a{color:#fff!important;opacity:1!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-cta{display:inline-block!important;align-self:flex-start!important;position:static!important;transform:none!important;margin:16px 0 0!important;white-space:normal!important}
}

/* 3.2.20 client-requested responsive corrections */
.mc-home .mc-request-form,.mc-home .mc-request-form *{box-sizing:border-box!important;min-width:0}
.mc-home .mc-request-form{width:100%;max-width:730px;min-width:0}
.mc-home .mc-request-form label,.mc-home .mc-request-form p{max-width:100%;overflow-wrap:anywhere;word-break:normal}
.mc-home .mc-request-form input:not([type=file]),.mc-home .mc-request-form textarea{display:block;width:100%!important;max-width:100%!important;min-width:0!important}
.mc-home .mc-request-form input[type=file]{width:100%;max-width:100%;font-size:14px}
.mc-home .mc-request-form .mc-btn{width:100%;max-width:100%;white-space:normal}
.mc-home .mc-file-selection{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.mc-home .mc-projects a{display:block}
@media(max-width:921px){
 .mc-home,.mc-home .mc-wrap,.mc-home .mc-section,.mc-home .mc-cta{max-width:100%;min-width:0}
 .mc-home .mc-hero-v26-mobile{display:none!important}
 .mc-home .mc-hero-v26-desktop{display:block!important;position:relative!important}
 .mc-home .mc-hero-v26-desktop img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
 .mc-home .mc-hero-v26-click{left:0!important;top:0!important;width:100%!important;height:100%!important}
 .mc-home .mc-request-form{padding:0!important;margin-inline:auto!important}
 .mc-home .mc-request-form input,.mc-home .mc-request-form textarea{font-size:16px!important}
 .site-header .custom-logo-link img,.site-header .site-logo-img img{max-width:100%!important;height:auto!important;max-height:75px!important;object-fit:contain!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav{background:#102b2d!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav a{color:#fff!important;opacity:1!important}
}
@media(min-width:922px){
 .site-header.mc27-header-ready .ast-builder-grid-row-container-inner{column-gap:18px!important}
 .site-header.mc27-header-ready .site-branding{margin-left:0!important}
}

/* 3.2.21: replace the actual mobile drawer contents, regardless of Astra widget layout. */
@media(max-width:921px){
 .ast-mobile-popup-drawer .mc27-mobile-replaced > :not(.mc27-mobile-nav){display:none!important}
 .ast-mobile-popup-drawer .mc27-mobile-replaced > .mc27-mobile-nav{display:flex!important;flex-direction:column!important;width:100%!important;padding:20px 24px!important;background:#102b2d!important;box-sizing:border-box!important;gap:0!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-links{display:flex!important;flex-direction:column!important;width:100%!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-links a{display:block!important;color:#fff!important;padding:14px 0!important;font-weight:600!important;text-decoration:none!important;white-space:normal!important;border-bottom:1px solid rgba(255,255,255,.16)!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-lang{display:flex!important;gap:24px!important;padding:18px 0!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-lang a{color:#fff!important}
 .ast-mobile-popup-drawer .mc27-mobile-nav .mc27-cta{position:static!important;display:block!important;align-self:stretch!important;background:#c8793d!important;color:#fff!important;text-align:center!important;padding:15px!important;margin:10px 0!important}
}

/* 3.2.22 mobile navigation: visible text on dark Astra off-canvas */
@media(max-width:921px){
 .ast-mobile-popup-drawer .mc3222-fixed-menu .menu-link,
 .ast-mobile-header-wrap .mc3222-fixed-menu .menu-link,
 .ast-header-break-point .mc3222-fixed-menu .menu-link {color:#fff!important;opacity:1!important;visibility:visible!important;}
 .mc3222-fixed-menu .mc3222-item{display:list-item!important;}
}
