/* IT-Код brand system. Layout and Joomla content remain unchanged. */
:root{
  --brand-navy:#002447;
  --brand-teal:#53D3D1;
  --brand-amber:#FEB249;
  --brand-white:#FFFFFF;
  --font-main:"Manrope",sans-serif;
  --text-primary:var(--brand-navy);
  --text-secondary:rgba(0,36,71,.74);
  --border-neutral:#DCE3EA;
  --surface-light:#F7F9FA;
  --color-primary-dark:var(--brand-navy);
  --color-primary:var(--brand-navy);
  --color-tech:var(--brand-teal);
  --color-action:var(--brand-amber);
  --color-text:var(--text-primary);
  --color-muted:var(--text-secondary);
  --color-bg:var(--brand-white);
  --color-bg-soft:var(--surface-light);
  --color-border:var(--border-neutral);
  --ink:var(--text-primary);
  --muted:var(--text-secondary);
  --paper:var(--brand-white);
  --soft:var(--surface-light);
  --dark:var(--brand-navy);
  --line:var(--border-neutral);
  --itkod-accent:var(--brand-amber);
}

html,body,.itkod-site,.site-header,.top-contact-bar,.site-footer,
button,input,textarea,select,
.hero-slider .hero-slide,.hero-slider .hero-slide *,
#partners .partner-card,#partners .partner-card *,
.site-footer h3{
  font-family:var(--font-main)!important;
}
.itkod-site{color:var(--text-primary);font-size:16px;font-weight:400;line-height:1.6;}
.itkod-site h1,.itkod-site h2,.itkod-site h3{color:var(--text-primary);font-weight:700;}
.itkod-site h1,.itkod-site h2{font-size:clamp(34px,3vw,42px);line-height:1.13;letter-spacing:-.02em;}
.itkod-site h3{font-size:17px;line-height:1.3;letter-spacing:-.01em;}
.itkod-site p,.itkod-site .hero-card p{color:var(--text-secondary);}

.site-logo{display:block;width:133px;height:42px;overflow:hidden;text-decoration:none;}
.site-logo img{display:block;width:auto;max-width:none;height:84px;transform:translate(-10px,-27px);}
.site-brand{display:flex;align-items:center;}
.site-header{background:rgba(255,255,255,.96);border-color:var(--border-neutral);}
.site-navigation a,.header-phone,.top-contact-phone{color:var(--brand-navy)!important;font-weight:600;}
.site-navigation a:hover,.site-navigation a:focus-visible,.site-navigation .active>a{color:var(--brand-teal)!important;}
.site-menu-toggle>span:not(.visually-hidden){background:var(--brand-navy)!important;}

.itkod-site .section-label,.itkod-site .eyebrow,.itkod-site .hero-kicker{
  font-family:var(--font-main);font-size:13px;line-height:1.2;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;color:var(--brand-amber);
}
.section-dark .section-label,.section-dark .eyebrow,#support .section-label,#consultation .section-label{color:var(--brand-teal);}

.itkod-site .button,.itkod-site .btn{font-family:var(--font-main);font-size:15px;font-weight:600;border-radius:0;}
.itkod-site .button-primary,.itkod-site .btn-primary{background:var(--brand-amber)!important;border-color:var(--brand-amber)!important;color:var(--brand-navy)!important;}
.itkod-site .button-primary:hover,.itkod-site .button-primary:focus-visible,.itkod-site .btn-primary:hover,.itkod-site .btn-primary:focus-visible{background:var(--brand-navy)!important;border-color:var(--brand-navy)!important;color:var(--brand-white)!important;}
.itkod-site .button-secondary,.itkod-site .btn-secondary{background:transparent!important;border-color:var(--brand-navy)!important;color:var(--brand-navy)!important;}
.section-dark .button-secondary,.section-dark .btn-secondary{border-color:var(--brand-teal)!important;color:var(--brand-white)!important;}
.itkod-site a:focus-visible,.itkod-site button:focus-visible{outline:2px solid var(--brand-teal);outline-offset:3px;}

.hero-section{background:var(--surface-light);}
.hero-slider{background:var(--brand-navy);}
.hero-slider>div{background:linear-gradient(120deg,var(--brand-navy),#002447)!important;}
.hero-slider .hero-slide h2,.hero-slider .hero-slide p{color:var(--brand-white)!important;}
.hero-slider .hero-slide p{color:rgba(255,255,255,.82)!important;}
.hero-slider .hero-slide .button{background:var(--brand-amber)!important;border-color:var(--brand-amber)!important;color:var(--brand-navy)!important;}
.hero-slider .hero-slide .button:hover,.hero-slider .hero-slide .button:focus-visible{background:var(--brand-white)!important;border-color:var(--brand-white)!important;color:var(--brand-navy)!important;}
.hero-slider__arrow{border-color:rgba(83,211,209,.65)!important;background:rgba(0,36,71,.72)!important;color:var(--brand-white)!important;}
.hero-slider__dot.is-active{background:var(--brand-teal)!important;}

.trust-section,.trust-section .site-shell,#mod-custom124,.brand-strip{background:var(--brand-white)!important;border-color:var(--border-neutral)!important;}
.brand-marquee{background:transparent!important;border-color:var(--border-neutral)!important;}
#services,.section-muted,#advantages,#partners{background:var(--brand-white)!important;}
.service-card,.feature-card,.partner-card,.hero-aside>div{border-color:var(--border-neutral)!important;background:var(--brand-white)!important;}
.hero-aside>#mod-custom135{border-left-color:var(--brand-amber)!important;}
.hero-aside>#mod-custom136{border-left-color:var(--brand-teal)!important;}
.hero-aside>#mod-custom134{border-left-color:var(--brand-navy)!important;}
.service-card::before,.feature-icon::after{background:var(--brand-teal)!important;}
.partner-card--sber,.partner-card--evotor{--accent:var(--brand-teal)!important;border-top-color:var(--brand-teal)!important;}
.partner-card li::before,.partner-card::before{background:var(--brand-teal)!important;}

#support,#consultation,.section-dark,.section-dark:has(#mod-custom122){background:var(--brand-navy)!important;}
#support .support-cta{background:var(--brand-navy)!important;border-left-color:var(--brand-teal)!important;}
#support h2,#consultation h2,.section-dark h2{color:var(--brand-white)!important;}
#support p,#consultation p,.section-dark p{color:rgba(255,255,255,.82)!important;}
#advantages .work-step strong{background:var(--brand-amber)!important;color:var(--brand-navy)!important;}
#advantages .work-steps::before{background:var(--brand-teal)!important;}
#mod-custom137{background:var(--surface-light)!important;}
#mod-custom137 .automation-steps li{border-color:var(--border-neutral)!important;}
#mod-custom113 .registration-cta{background:var(--brand-white)!important;border-color:var(--border-neutral)!important;border-left-color:var(--brand-amber)!important;}

#contacts,.contacts-section{background:var(--brand-white)!important;}
.site-footer{background:var(--brand-navy)!important;border-top-color:var(--brand-teal)!important;}
.site-footer,.site-footer h3,.site-footer a{color:var(--brand-white)!important;}
.site-footer a:hover,.site-footer a:focus-visible{color:var(--brand-teal)!important;}

@media (max-width:767px){
  .site-logo{width:126px;height:40px;}
  .site-logo img{height:80px;transform:translate(-10px,-26px);}
  .itkod-site{font-size:16px;}
  .itkod-site h1,.itkod-site h2{font-size:28px;}
  .itkod-site h3{font-size:17px;}
}
