/* Главная «Мегатираж»: фирменная система navy / gold / cream. */
:root{
  --navy:#0F1B3D;
  --navy-deep:#08122B;
  --navy-soft:#1A2B56;
  --gold:#B89254;
  --gold-dark:#886A3B;
  --gold-soft:#D9BD8D;
  --gold-bg:#F3E9D2;
  --cream:#F7F4EE;
  --paper:#FBFAF7;
  --white:#FFFFFF;
  --ink:#141A2A;
  --muted:#5C6478;
  --line:#DED9CF;
  --serif:"Source Serif 4","Playfair Display",Georgia,serif;
  --body:"Manrope","Segoe UI",sans-serif;
  --mono:"IBM Plex Mono","SFMono-Regular",monospace;
  --wrap:1180px;
  --shadow:0 22px 60px rgba(15,27,61,.11);
}

.mt-page *,.mt-page *::before,.mt-page *::after{box-sizing:border-box}
.mt-page{margin:0;font-family:var(--body);color:var(--ink);background:var(--paper);line-height:1.65;overflow-x:hidden;-webkit-font-smoothing:antialiased}
.mt-page img{display:block;max-width:100%}
.mt-page button,.mt-page input,.mt-page textarea{font:inherit}
.mt-page a{color:inherit}
.mt-wrap{width:min(var(--wrap),calc(100% - 40px));margin-inline:auto}
.mt-page h1,.mt-page h2,.mt-page h3{font-family:var(--serif);line-height:1.08;margin:0;text-wrap:balance}
.mt-kicker{display:block;font:700 11px/1.4 var(--mono);letter-spacing:.19em;text-transform:uppercase;color:var(--gold-dark)}
.mt-page :focus-visible{outline:3px solid var(--gold-soft);outline-offset:4px}

/* Hero */
.mt-hero{position:relative;padding:72px 0 76px;color:#fff;background:var(--navy-deep);overflow:hidden}
.mt-hero::before,.mt-hero::after{content:"";position:absolute;pointer-events:none}
.mt-hero::before{inset:24px;border:1px solid rgba(217,189,141,.13)}
.mt-hero::after{right:3.5vw;top:0;width:1px;height:100%;background:rgba(217,189,141,.22)}
.mt-hero__grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,.86fr) minmax(500px,1.14fr);gap:64px;align-items:center}
.mt-hero__copy{padding:20px 0}
.mt-hero .mt-kicker{color:var(--gold-soft)}
.mt-hero h1{max-width:650px;margin:15px 0 22px;font-size:clamp(42px,5.3vw,68px);letter-spacing:-.035em}
.mt-hero__copy>p:not(.mt-hero__microcopy){max-width:56ch;margin:0;color:#D8DEEC;font-size:16px}
.mt-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.mt-hero__microcopy{margin:18px 0 0!important;color:rgba(255,255,255,.58)!important;font:500 11px/1.5 var(--mono)!important;letter-spacing:.02em}
.mt-hero__visual{position:relative;min-height:520px;border:1px solid rgba(255,255,255,.17);background:var(--navy-soft);box-shadow:0 30px 80px rgba(0,0,0,.28)}
.mt-hero__visual::before{content:"";position:absolute;z-index:2;inset:14px;border:1px solid rgba(255,255,255,.23);pointer-events:none}
.mt-hero__visual img{width:100%;height:520px;object-fit:cover;object-position:50% 50%;filter:saturate(.82) contrast(1.03)}
.mt-hero__card{position:absolute;z-index:3;left:-28px;bottom:28px;width:min(330px,calc(100% - 48px));padding:22px 24px;color:var(--ink);background:var(--cream);border-left:4px solid var(--gold);box-shadow:var(--shadow)}
.mt-hero__card-label{display:block;margin-bottom:6px;color:var(--gold-dark);font:700 10px/1.4 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.mt-hero__card strong{display:block;font-family:var(--serif);font-size:30px;line-height:1.1;color:var(--navy)}
.mt-hero__card p{margin:8px 0 0!important;color:var(--muted)!important;font-size:12.5px!important;line-height:1.5!important}
.mt-hero__stamp{position:absolute;z-index:3;top:34px;right:32px;display:grid;place-items:center;width:90px;height:90px;border:1px solid rgba(255,255,255,.82);border-radius:50%;color:#fff;font:600 10px/1.45 var(--mono);letter-spacing:.12em;text-align:center;text-transform:uppercase;transform:rotate(8deg);background:rgba(8,18,43,.68);backdrop-filter:blur(6px)}

.mt-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 25px;border:1px solid transparent;border-radius:5px;font:700 13px/1 var(--mono);cursor:pointer;text-decoration:none;transition:transform .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}
.mt-btn--gold{color:#171207;background:var(--gold);box-shadow:0 12px 28px rgba(184,146,84,.2)}
.mt-btn--gold:hover{background:var(--gold-soft);transform:translateY(-2px);box-shadow:0 16px 32px rgba(184,146,84,.28)}
.mt-btn--ghost{color:#fff;border-color:rgba(255,255,255,.35);background:transparent}
.mt-btn--ghost:hover{color:var(--gold-soft);border-color:var(--gold-soft);transform:translateY(-2px)}

/* Trust rail */
.mt-trustbar{background:var(--cream);border-bottom:1px solid var(--line)}
.mt-trustbar__grid{display:grid;grid-template-columns:repeat(4,1fr)}
.mt-trustbar__grid>div{display:grid;grid-template-columns:32px 1fr;gap:12px;align-items:center;min-height:100px;padding:22px 20px;border-right:1px solid var(--line)}
.mt-trustbar__grid>div:first-child{border-left:1px solid var(--line)}
.mt-trustbar b{color:var(--gold-dark);font:700 11px/1 var(--mono)}
.mt-trustbar span{color:var(--muted);font-size:12px;line-height:1.45}
.mt-trustbar strong{display:block;color:var(--navy);font-size:13px}

/* Sections */
.mt-section{padding:88px 0;background:var(--paper)}
.mt-section--cream{background:var(--cream);border-block:1px solid var(--line)}
.mt-section__head{max-width:780px;margin-bottom:42px}
.mt-section h2{margin:11px 0 14px;color:var(--navy);font-size:clamp(30px,3.6vw,46px);letter-spacing:-.025em}
.mt-section__lead{max-width:67ch;margin:0;color:var(--muted);font-size:16px}

/* Services */
.mt-services{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mt-card{position:relative;display:flex;min-height:310px;flex-direction:column;padding:26px 25px 23px;border:1px solid var(--line);background:var(--white);overflow:hidden;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.mt-card::after{content:"";position:absolute;right:-24px;bottom:-24px;width:72px;height:72px;border:1px solid var(--gold-soft);transform:rotate(45deg);opacity:.38}
.mt-card:hover{z-index:1;border-color:var(--gold);transform:translateY(-5px);box-shadow:var(--shadow)}
.mt-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:28px}
.mt-card__icon{width:50px;height:50px;padding:9px;color:var(--gold-dark);background:var(--gold-bg);border:1px solid #E2D0AD;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mt-card__tag{display:inline-block;padding:5px 9px;color:#685025;background:var(--cream);border:1px solid var(--line);font:700 10px/1.5 var(--mono);letter-spacing:.04em;text-transform:uppercase}
.mt-card h3{margin-bottom:11px;font-size:23px}
.mt-card h3 a{color:var(--navy);text-decoration:none}
.mt-card h3 a::after{content:"";position:absolute;inset:0}
.mt-card p{margin:0 0 22px;color:var(--muted);font-size:13.5px;line-height:1.6}
.mt-card__link{position:relative;z-index:2;display:inline-flex;gap:10px;align-items:center;margin-top:auto;color:var(--gold-dark);font:700 11px/1.4 var(--mono);text-decoration:none;text-transform:uppercase;letter-spacing:.07em}
.mt-card__link span{font-size:17px;transition:transform .2s ease}
.mt-card:hover .mt-card__link span{transform:translateX(4px)}
.mt-catalog-line{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0 0}
.mt-catalog-line p{margin:0;color:var(--muted);font-size:13px}
.mt-catalog-line a{display:inline-flex;gap:8px;align-items:center;color:var(--navy);font:700 12px/1.4 var(--mono);text-decoration:none;white-space:nowrap}
.mt-catalog-line a:hover{color:var(--gold-dark)}

.mt-estimate{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(390px,1.25fr) auto;gap:34px;align-items:center;margin-top:54px;padding:34px 36px;color:#fff;background:var(--navy);border:1px solid var(--navy)}
.mt-estimate .mt-kicker{color:var(--gold-soft)}
.mt-estimate h3{margin:7px 0 8px;font-size:26px;color:#fff}
.mt-estimate p{margin:0;color:#CAD2E2;font-size:13px;line-height:1.6}
.mt-estimate__formula{display:flex;align-items:center;gap:12px}
.mt-estimate__formula span,.mt-estimate__formula strong{display:flex;min-height:60px;flex-direction:column;justify-content:center;padding:10px 13px;border:1px solid rgba(255,255,255,.18);font-size:12px;line-height:1.3}
.mt-estimate__formula b{margin-bottom:4px;color:var(--gold-soft);font:600 9px/1 var(--mono)}
.mt-estimate__formula strong{color:var(--gold-soft);font:600 12px/1.3 var(--mono);text-align:center}
.mt-estimate__formula i{color:var(--gold-soft);font:400 18px/1 var(--serif);font-style:normal}

/* Process */
.mt-steps{counter-reset:step;position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--line);background:var(--white)}
.mt-step{position:relative;min-height:260px;padding:30px 25px 26px;border-right:1px solid var(--line)}
.mt-step:last-child{border-right:0}
.mt-step::before{counter-increment:step;content:"0" counter(step);position:absolute;top:24px;right:22px;color:var(--gold-dark);font:700 11px/1 var(--mono);letter-spacing:.12em}
.mt-step::after{content:"";position:absolute;z-index:2;top:54px;right:-5px;width:9px;height:9px;background:var(--gold);transform:rotate(45deg)}
.mt-step:last-child::after{display:none}
.mt-step svg{width:50px;height:50px;margin-bottom:35px;color:var(--gold-dark);fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mt-step h3{margin-bottom:10px;color:var(--navy);font-size:22px}
.mt-step p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.6}

/* Trust / advantages */
.mt-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.mt-fact{display:flex;min-height:280px;flex-direction:column;padding:27px 24px;border:1px solid var(--line);background:var(--white)}
.mt-fact svg{width:54px;height:54px;margin-bottom:36px;color:var(--gold-dark);fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.mt-fact strong{display:block;margin-top:auto;margin-bottom:9px;color:var(--navy);font-family:var(--serif);font-size:21px;line-height:1.15}
.mt-fact span{color:var(--muted);font-size:13px;line-height:1.55}
.mt-fact--primary{color:#fff;background:var(--navy);border-color:var(--navy)}
.mt-fact--primary svg{color:var(--gold-soft)}
.mt-fact--primary strong{color:#fff}
.mt-fact--primary span{color:#CAD2E2}

/* Editorial content */
#podrobno{background:var(--cream)}
.mt-longread{max-width:990px;padding:64px 72px;background:var(--white);border:1px solid var(--line);box-shadow:0 18px 70px rgba(15,27,61,.06)}
.mt-longread>.mt-section__head{padding-bottom:28px;border-bottom:1px solid var(--line)}
.mt-longread h3{margin:42px 0 13px;color:var(--navy);font-size:clamp(22px,2.4vw,28px)}
.mt-longread p{margin:0 0 15px;color:var(--muted);font-size:15.5px;line-height:1.75}
.mt-note{padding:13px 16px!important;border-left:3px solid var(--gold);color:var(--muted);background:var(--cream);font-size:13px!important}
.mt-note a{color:var(--navy);font-weight:700}
.mt-list{display:grid;gap:11px;margin:0 0 20px;padding-left:22px;color:var(--muted);font-size:14.5px;line-height:1.65}
.mt-list strong{color:var(--ink)}
.mt-list--num{list-style:decimal}
.mt-price-wrap{margin:0 0 18px;overflow-x:auto;border:1px solid var(--line)}
.mt-price-table{width:100%;border-collapse:collapse;background:#fff}
.mt-price-table caption{padding:0 0 12px;color:var(--muted);font-size:13px;text-align:left}
.mt-price-table th,.mt-price-table td{padding:14px 16px;border-bottom:1px solid var(--line);font-size:14px;text-align:left}
.mt-price-table th{color:#55452E;background:var(--gold-bg);font:700 11px/1.45 var(--mono);letter-spacing:.04em;text-transform:uppercase}
.mt-price-table tr:last-child td{border-bottom:0}
.mt-price-table td:not(:first-child){font-variant-numeric:tabular-nums;white-space:nowrap}

.mt-protocol{display:grid;grid-template-columns:minmax(0,.92fr) minmax(380px,1.08fr);gap:34px;align-items:center;margin:42px -32px;padding:38px 36px;color:#fff;background:var(--navy)}
.mt-protocol .mt-kicker{color:var(--gold-soft)}
.mt-protocol h3{margin:9px 0 13px;color:#fff;font-size:27px}
.mt-protocol p{margin:0;color:#CAD2E2;font-size:13.5px}
.mt-protocol__scheme{border:1px solid rgba(255,255,255,.17);background:var(--navy-soft)}
.mt-protocol__scheme svg{display:block;width:100%;height:auto;overflow:visible}
.mt-protocol__scheme rect{fill:var(--navy);stroke:var(--gold-soft);stroke-width:1.5}
.mt-protocol__scheme path:not(.mt-protocol__route){fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mt-protocol__scheme text{fill:#fff;font:600 10px var(--mono);text-anchor:middle;letter-spacing:.03em}
.mt-protocol__route{fill:none;stroke:rgba(217,189,141,.52);stroke-width:1.5;stroke-dasharray:6 6}
.mt-inline-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:38px 0 0;padding:25px 27px;border:1px solid #E3D2B2;background:var(--gold-bg)}
.mt-inline-cta p{max-width:58ch;margin:0;color:var(--muted);font-size:14px}
.mt-inline-cta strong{color:var(--ink)}

/* FAQ and final CTA */
.mt-faq{display:grid;gap:10px;max-width:980px}
.mt-faq details{border:1px solid var(--line);background:#fff;overflow:hidden;transition:border-color .2s ease}
.mt-faq details:hover,.mt-faq details[open]{border-color:var(--gold)}
.mt-faq summary{display:flex;align-items:flex-start;gap:16px;padding:19px 22px;list-style:none;color:var(--navy);font:600 17px/1.4 var(--serif);cursor:pointer}
.mt-faq summary::-webkit-details-marker{display:none}
.mt-faq summary::after{content:"+";margin-left:auto;color:var(--gold-dark);font:500 22px/1 var(--body)}
.mt-faq details[open] summary::after{content:"–"}
.mt-faq details[open] summary{border-bottom:1px solid var(--line)}
.mt-faq__body{padding:16px 22px 20px}
.mt-faq__body p{max-width:78ch;margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.mt-cta{position:relative;padding:62px 0;color:#fff;background:var(--navy-deep);border-top:1px solid rgba(217,189,141,.28);overflow:hidden}
.mt-cta::after{content:"";position:absolute;right:7%;top:-90px;width:220px;height:220px;border:1px solid rgba(217,189,141,.22);border-radius:50%}
.mt-cta__inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:42px;align-items:center}
.mt-cta h2{color:#fff;font-size:clamp(30px,3.4vw,44px)}
.mt-cta p{max-width:65ch;margin:11px 0 0;color:#D8DEEC;font-size:14px}
.mt-contacts{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:18px;color:var(--gold-soft);font:600 10px/1.4 var(--mono);letter-spacing:.05em;text-transform:uppercase}
.mt-contacts span{position:relative;padding-left:13px}
.mt-contacts span::before{content:"";position:absolute;left:0;top:.48em;width:5px;height:5px;background:var(--gold);transform:rotate(45deg)}

/* Motion is progressive enhancement: content stays visible without support. */
@keyframes mtHeroIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.mt-hero__copy,.mt-hero__visual{animation:mtHeroIn .65s ease-out both}
.mt-hero__visual{animation-delay:.12s}
@supports (animation-timeline:view()){
  @keyframes mtReveal{from{opacity:.2;transform:translateY(28px)}to{opacity:1;transform:none}}
  [data-reveal]{animation:mtReveal linear both;animation-timeline:view();animation-range:entry 8% cover 24%}
}

@media (max-width:1080px){
  .mt-hero__grid{grid-template-columns:1fr;gap:42px}
  .mt-hero__copy{max-width:760px}
  .mt-hero__visual{min-height:500px}
  .mt-hero__visual img{height:500px;object-position:50% 44%}
  .mt-services{grid-template-columns:repeat(2,1fr)}
  .mt-estimate{grid-template-columns:1fr 1.2fr}.mt-estimate>.mt-btn{grid-column:1/-1;justify-self:start}
  .mt-facts{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:820px){
  .mt-section{padding:68px 0}
  .mt-trustbar__grid{grid-template-columns:repeat(2,1fr)}
  .mt-trustbar__grid>div:nth-child(2){border-right:0}
  .mt-trustbar__grid>div:nth-child(n+3){border-top:1px solid var(--line)}
  .mt-steps{grid-template-columns:repeat(2,1fr)}
  .mt-step:nth-child(2){border-right:0}.mt-step:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .mt-step:nth-child(2)::after{display:none}
  .mt-protocol{grid-template-columns:1fr;margin-inline:0}
  .mt-longread{padding:48px 40px}
}

@media (max-width:620px){
  .mt-wrap{width:min(var(--wrap),calc(100% - 28px))}
  .mt-hero{padding:48px 0 42px}
  .mt-hero::before{inset:10px}
  .mt-page h1,.mt-page h2,.mt-page h3{text-wrap:wrap;overflow-wrap:break-word}
  .mt-hero__grid,.mt-hero__copy,.mt-hero__visual{width:100%;min-width:0}
  .mt-hero h1{font-size:clamp(35px,10.5vw,42px)}
  .mt-hero__visual,.mt-hero__visual img{height:430px;min-height:430px}
  .mt-hero__visual img{object-position:53% 50%}
  .mt-hero__card{left:12px;bottom:12px;width:calc(100% - 24px);padding:18px 19px}
  .mt-hero__stamp{top:24px;right:22px;width:76px;height:76px;font-size:8px}
  .mt-hero__actions{display:grid}.mt-hero__actions .mt-btn{width:100%}
  .mt-hero__microcopy{font-size:9.5px!important}
  .mt-trustbar__grid{grid-template-columns:1fr}
  .mt-trustbar__grid>div{min-height:78px;border-right:0;border-top:1px solid var(--line)}
  .mt-trustbar__grid>div:first-child{border-top:0;border-left:0}
  .mt-section{padding:54px 0}
  .mt-section__head{margin-bottom:30px}
  .mt-section h2{font-size:34px}
  .mt-services,.mt-facts{grid-template-columns:1fr}
  .mt-card{min-height:285px}
  .mt-catalog-line{align-items:flex-start;flex-direction:column}
  .mt-estimate{grid-template-columns:1fr;margin-top:40px;padding:28px 22px}
  .mt-estimate__formula{display:grid;grid-template-columns:1fr auto 1fr}
  .mt-estimate__formula strong{grid-column:1/-1}.mt-estimate__formula i:last-of-type{display:none}
  .mt-estimate>.mt-btn{width:100%}
  .mt-steps{grid-template-columns:1fr}
  .mt-step{min-height:auto;border-right:0;border-bottom:1px solid var(--line)!important}
  .mt-step:last-child{border-bottom:0!important}
  .mt-step::after{display:none}
  .mt-fact{min-height:235px}
  .mt-longread{width:100%;padding:36px 20px;border-inline:0;box-shadow:none}
  .mt-longread h3{margin-top:34px}
  .mt-price-wrap{margin-inline:-20px;border-inline:0}
  .mt-price-table{min-width:620px}
  .mt-protocol{padding:28px 20px}
  .mt-protocol__scheme{margin-inline:-8px}
  .mt-inline-cta{align-items:stretch;flex-direction:column;padding:22px 20px}.mt-inline-cta .mt-btn{width:100%}
  .mt-cta__inner{grid-template-columns:1fr}.mt-cta__inner .mt-btn{width:100%}
  .mt-faq summary{padding:17px 16px;font-size:16px}.mt-faq__body{padding:14px 16px 18px}
}

@media (prefers-reduced-motion:reduce){
  .mt-page *, .mt-page *::before, .mt-page *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
