:root{--ink:#161d2b;--muted:#5b6675;--red:#d6202f;--red-d:#b0121f;--line:#e9edf3;--soft:#f7f9fc;}
body{color:var(--ink);background:#fff;}
.ast-container{max-width:1160px;}
a{color:var(--red);}
.custom-logo{max-height:46px;width:auto;}
.main-header-menu .menu-link{font-weight:600;color:var(--ink);}
.main-header-menu .menu-link:hover{color:var(--red);}
.ast-single-post .entry-header,.page .entry-header{border-bottom:1px solid var(--line);padding-bottom:1.2rem;margin-bottom:2rem;}
.entry-title{font-size:2.25rem;line-height:1.18;font-weight:800;letter-spacing:-.02em;color:var(--ink);}
.entry-title::after{content:"";display:block;width:52px;height:3px;background:var(--red);margin-top:.55rem;border-radius:2px;}
.entry-content{font-size:1.05rem;line-height:1.72;color:#2c3543;}
.entry-content > *{max-width:none;margin-left:0;margin-right:0;}
.entry-content h2{font-size:1.7rem;font-weight:800;line-height:1.25;color:var(--ink);margin:2.4em auto .5em;}
.entry-content h3{font-size:1.28rem;font-weight:700;color:var(--ink);margin:1.7em auto .5em;}
.entry-content h4{font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:1.8em auto .3em;}
.entry-content p{margin:0 auto 1.1em;}
.entry-content a{color:var(--red);text-decoration:none;}
.entry-content a:hover{text-decoration:underline;}
.entry-content ul{list-style:none;padding:0;margin:1.1em auto 1.5em;}
.entry-content ul li{position:relative;padding:.1em 0 .1em 1.5em;margin:0 0 .45em;}
.entry-content ul li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--red);}
.entry-content ol{padding-left:1.2em;}
.entry-content figure{margin:1.8em 0;text-align:left;max-width:620px;}
.entry-content figure img{max-width:100%;max-height:380px;width:auto;height:auto;border-radius:10px;}
.entry-content blockquote{border-left:3px solid var(--red);background:var(--soft);padding:.9em 1.2em;border-radius:0 8px 8px 0;margin:1.6em auto;}
.entry-content table{width:100%;border-collapse:collapse;margin:1.4em auto;font-size:.97rem;}
.entry-content table td,.entry-content table th{border:1px solid var(--line);padding:.65em .9em;text-align:left;}
.entry-content table th{background:var(--soft);}
.hx-btn{display:inline-block;background:var(--red);color:#fff!important;padding:.85em 1.9em;border-radius:8px;font-weight:600;text-decoration:none;border:1px solid var(--red);transition:.15s;}
.hx-btn:hover{background:var(--red-d);border-color:var(--red-d);}
.hx-btn.outline{background:transparent;color:var(--ink)!important;border-color:var(--line);}
.hx-btn.outline:hover{border-color:var(--red);color:var(--red)!important;}
.site-footer,.ast-small-footer{background:#fff;color:var(--muted);border-top:1px solid var(--line);}
.hx-wrap{max-width:1160px;margin:0 auto;padding:0 1.3rem;}
.hx-hero{background:var(--soft);border-bottom:1px solid var(--line);padding:6rem 1.3rem;text-align:center;}
.hx-hero .hx-wrap{max-width:840px;}
.hx-hero h1{font-size:clamp(2rem,4.5vw,3.1rem);font-weight:800;letter-spacing:-.025em;line-height:1.12;color:var(--ink);margin:0 0 .5em;}
.hx-hero h1 .ac{color:var(--red);}
.hx-hero p{font-size:1.18rem;color:var(--muted);max-width:660px;margin:0 auto 2rem;line-height:1.6;}
.hx-hero .btns{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap;}
.hx-hero-tags{margin-top:2rem;color:var(--muted);font-size:.9rem;}
.hx-section{padding:4.5rem 0;}
.hx-section.alt{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.hx-head{text-align:center;max-width:660px;margin:0 auto 3rem;}
.hx-head .eyebrow{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--red);margin-bottom:.7rem;}
.hx-head h2{font-size:2rem;font-weight:800;letter-spacing:-.02em;color:var(--ink);margin:0 0 .5em;}
.hx-head p{color:var(--muted);font-size:1.05rem;margin:0;}
.hx-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.hx-card{display:block;background:#fff;border:1px solid var(--line);border-top:3px solid var(--red);border-radius:10px;padding:1.9rem 1.7rem;text-decoration:none;transition:.18s;}
.hx-card:hover{box-shadow:0 14px 34px rgba(20,30,50,.10);transform:translateY(-3px);}
.hx-card *{text-decoration:none;}
.hx-card .num{font-size:.85rem;font-weight:800;color:var(--red);}
.hx-card h3{margin:.5rem 0 .5rem;font-size:1.22rem;font-weight:700;color:var(--ink);}
.hx-card p{color:var(--muted);font-size:.97rem;line-height:1.6;margin:0;}
.hx-card .go{display:inline-block;margin-top:1rem;color:var(--red);font-weight:600;font-size:.92rem;}
.hx-grid-p .hx-pcard{display:flex;flex-direction:column;justify-content:space-between;min-height:120px;background:#fff;border:1px solid var(--line);border-left:3px solid var(--red);border-radius:10px;padding:1.5rem;text-decoration:none;transition:.18s;}
.hx-grid-p .hx-pcard:hover{box-shadow:0 14px 34px rgba(20,30,50,.10);transform:translateY(-3px);}
.hx-pcard h3{margin:0 0 .8rem;font-size:1.12rem;font-weight:700;color:var(--ink);}
.hx-pcard .go{color:var(--red);font-weight:600;font-size:.9rem;}
.hx-bcard{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;text-decoration:none;transition:.18s;}
.hx-bcard:hover{box-shadow:0 14px 34px rgba(20,30,50,.12);transform:translateY(-3px);}
.hx-bcard .thumb{height:180px;background:#e9edf3 center/cover no-repeat;}
.hx-bcard .bc-body{padding:1.3rem 1.4rem 1.6rem;}
.hx-bcard .bc-cat{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red);margin-bottom:.5rem;}
.hx-bcard h3{margin:0;font-size:1.08rem;font-weight:700;line-height:1.35;color:var(--ink);}
.hx-bcard:hover h3{color:var(--red);}
.hx-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;text-align:center;}
.hx-stat .n{font-size:2.6rem;font-weight:800;color:var(--red);line-height:1;}
.hx-stat .l{color:var(--muted);margin-top:.5rem;font-size:.98rem;}
.hx-cta{text-align:center;background:var(--ink);border-radius:16px;padding:3.6rem 1.5rem;}
.hx-cta h2{color:#fff;font-size:1.9rem;font-weight:800;margin:0 0 .5em;}
.hx-cta p{color:#aeb7c5;max-width:560px;margin:0 auto 1.7em;}
@media(max-width:900px){.hx-grid{grid-template-columns:repeat(2,1fr);}.hx-stats{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.hx-grid{grid-template-columns:1fr;}}
/* MEGA MENU */
#ast-desktop-header .ast-container{position:relative;}
#ast-desktop-header .main-header-menu,#ast-desktop-header .ast-nav-menu,#ast-desktop-header .site-header-primary-section-right,#ast-desktop-header .site-primary-header-wrap,#ast-desktop-header .main-header-bar-navigation{position:static!important;}
#ast-desktop-header .main-header-menu .menu-item.hx-mega{position:static!important;}
#ast-desktop-header .main-header-menu .menu-item.hx-mega > .sub-menu{position:absolute;top:calc(100% + 6px);left:auto;right:0;width:min(940px,calc(100vw - 40px));margin:0;padding:1.8rem 1.8rem 1.2rem;background:#fff;border:1px solid var(--line);border-top:3px solid var(--red);box-shadow:0 24px 60px rgba(20,30,50,.16);display:grid;grid-template-columns:repeat(3,1fr);gap:.2rem 2rem;align-items:start;min-width:0;border-radius:12px;}
#ast-desktop-header .main-header-menu .menu-item.hx-mega > .sub-menu > .menu-item{display:block;width:auto;margin:0 0 1.5rem;border:none;background:transparent;}
#ast-desktop-header .main-header-menu .menu-item.hx-mega > .sub-menu > .menu-item > .menu-link{font-weight:700;color:var(--ink);font-size:.95rem;line-height:1.3;padding:.15em 0;border-bottom:1px solid var(--line);margin-bottom:.45rem;display:block;white-space:normal;}
#ast-desktop-header .main-header-menu .menu-item.hx-mega > .sub-menu > .menu-item > .menu-link:hover{color:var(--red);}
/* nested 3rd-level: visible ONLY when Услуги open */
#ast-desktop-header .main-header-menu .menu-item.hx-mega:hover > .sub-menu .sub-menu,
#ast-desktop-header .main-header-menu .menu-item.hx-mega:focus-within > .sub-menu .sub-menu{position:static;display:block;opacity:1;visibility:visible;box-shadow:none;border:none;padding:0;margin:0;width:auto;min-width:0;background:transparent;transform:none;left:auto;top:auto;}
#ast-desktop-header .main-header-menu .menu-item.hx-mega .sub-menu .sub-menu > .menu-item{border:none;background:transparent;}
#ast-desktop-header .main-header-menu .menu-item.hx-mega .sub-menu .sub-menu > .menu-item > .menu-link{font-weight:400;color:var(--muted);font-size:.85rem;line-height:1.35;padding:.13em 0;display:block;white-space:normal;}
#ast-desktop-header .main-header-menu .menu-item.hx-mega .sub-menu .sub-menu > .menu-item > .menu-link:hover{color:var(--red);}
#ast-desktop-header .main-header-menu .menu-item.hx-mega .sub-menu .sub-menu .sub-menu{display:none!important;}
#ast-desktop-header .main-header-menu .menu-item.hx-mega .sub-menu .ast-header-navigation-arrow,#ast-desktop-header .main-header-menu .menu-item.hx-mega .sub-menu svg,#ast-desktop-header .main-header-menu .menu-item.hx-mega .sub-menu .dropdown-menu-toggle{display:none!important;}

#ast-desktop-header .main-header-menu .menu-item.hx-mega.hx-mega-3 > .sub-menu{grid-template-columns:repeat(2,1fr);width:min(560px,calc(100vw - 40px));}

/* ===== SERVICE PAGE DESIGN ===== */
.hx-page-hero{background:linear-gradient(180deg,var(--soft),#fff);border-bottom:1px solid var(--line);}
.hx-page-hero .hx-wrap{padding-top:3rem;padding-bottom:2.4rem;}
.hx-crumb{font-size:.85rem;color:var(--muted);margin-bottom:.9rem;}
.hx-crumb a{color:var(--muted);text-decoration:none;}
.hx-crumb a:hover{color:var(--red);}
.hx-page-hero h1{font-size:2.4rem;font-weight:800;letter-spacing:-.02em;line-height:1.15;color:var(--ink);margin:0;max-width:820px;}
.hx-page-hero h1::after{content:"";display:block;width:56px;height:4px;background:var(--red);border-radius:2px;margin-top:1rem;}
.ast-single-post .entry-header,.page:not(.home) .entry-header,.ast-single-entry-title{display:none!important;}
.hx-layout{max-width:1160px;margin:0 auto;padding:3rem 1.3rem 4rem;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:3.2rem;align-items:start;}
.hx-main{min-width:0;}
.hx-main{font-size:1.04rem;line-height:1.75;}
.hx-main h2{clear:both;font-size:1.65rem;margin:2em 0 .5em;padding-top:.4em;}
.hx-main h3{font-size:1.25rem;margin:1.6em 0 .4em;}
.hx-main h4{margin:1.8em 0 .3em;}
.hx-main p{max-width:none;margin:0 0 1.1em;}
.hx-main ul{margin:1.1em 0 1.6em;}
.hx-main figure{float:right;max-width:330px;margin:.4rem 0 1.4rem 2.2rem;text-align:center;}
.hx-main figure:nth-of-type(2n){float:left;margin:.4rem 2.2rem 1.4rem 0;}
.hx-main figure img{max-height:300px;border-radius:12px;}
.hx-sidebar{position:sticky;top:110px;display:flex;flex-direction:column;gap:1.2rem;}
.hx-side-card{background:var(--ink);color:#fff;border-radius:14px;padding:1.8rem;}
.hx-side-card h3{color:#fff;font-size:1.2rem;font-weight:700;margin:0 0 .5rem;}
.hx-side-card p{color:#b8c0cc;font-size:.95rem;line-height:1.55;margin:0 0 1.2rem;}
.hx-side-card .hx-btn{display:block;text-align:center;}
.hx-side-list{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.4rem 1.6rem;}
.hx-side-list .t{font-size:.75rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--red);margin-bottom:.8rem;}
.hx-side-list a{display:block;color:var(--ink);text-decoration:none;padding:.5rem 0;border-bottom:1px solid var(--line);font-size:.95rem;font-weight:500;}
.hx-side-list a:last-child{border-bottom:none;}
.hx-side-list a:hover{color:var(--red);}
.hx-bottom-cta{clear:both;margin-top:3rem;background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:2.6rem 2rem;text-align:center;}
.hx-bottom-cta h2{margin:0 0 .5rem!important;font-size:1.6rem;}
.hx-bottom-cta p{color:var(--muted);margin:0 auto 1.4rem;max-width:520px;}
@media(max-width:900px){.hx-layout{grid-template-columns:1fr;gap:2rem;}.hx-sidebar{position:static;}.hx-main figure{float:none;max-width:100%;margin:1.5rem 0;}}

.hx-layout .hx-main figure img[src$=".svg"], .hx-layout .hx-main figure img{max-height:300px !important;}
/* ===== SELLING COMPONENTS ===== */
.hx-hero-actions{margin-top:1.6rem;display:flex;gap:.7rem;flex-wrap:wrap;}
.hx-sec-h{font-size:1.7rem;font-weight:800;color:var(--ink);margin:2.4em 0 1rem;letter-spacing:-.01em;}
/* checkmark bullets */
.hx-main ul{list-style:none;padding:0;margin:1.2em 0 1.6em;display:grid;gap:.6rem;}
.hx-main ul li{position:relative;padding:.1em 0 .1em 2rem;margin:0;}
.hx-main ul li::before{content:"";position:absolute;left:0;top:.28em;width:20px;height:20px;border-radius:6px;background:rgba(214,32,47,.1);}
.hx-main ul li::after{content:"";position:absolute;left:6px;top:.5em;width:6px;height:10px;border:solid var(--red);border-width:0 2px 2px 0;transform:rotate(45deg);}
.hx-main ol{counter-reset:hxc;list-style:none;padding:0;margin:1.2em 0 1.6em;display:grid;gap:.7rem;}
.hx-main ol li{position:relative;padding:.15em 0 .15em 2.6rem;}
.hx-main ol li::before{counter-increment:hxc;content:counter(hxc);position:absolute;left:0;top:.05em;width:1.7rem;height:1.7rem;background:var(--red);color:#fff;border-radius:8px;font-weight:700;font-size:.85rem;display:flex;align-items:center;justify-content:center;}
/* FAQ accordion */
.hx-faq{margin:2.4em 0;}
.hx-faq-item{border:1px solid var(--line);border-radius:10px;margin-bottom:.7rem;background:#fff;overflow:hidden;}
.hx-faq-item summary{list-style:none;cursor:pointer;padding:1.1rem 3rem 1.1rem 1.3rem;font-weight:600;color:var(--ink);position:relative;font-size:1.02rem;}
.hx-faq-item summary::-webkit-details-marker{display:none;}
.hx-faq-item summary .ic{position:absolute;right:1.3rem;top:1.2rem;width:14px;height:14px;}
.hx-faq-item summary .ic::before,.hx-faq-item summary .ic::after{content:"";position:absolute;background:var(--red);border-radius:2px;}
.hx-faq-item summary .ic::before{left:6px;top:0;width:2px;height:14px;transition:.2s;}
.hx-faq-item summary .ic::after{left:0;top:6px;width:14px;height:2px;}
.hx-faq-item[open] summary{color:var(--red);}
.hx-faq-item[open] summary .ic::before{transform:rotate(90deg);opacity:0;}
.hx-faq-a{padding:0 1.3rem 1.2rem;color:#3a4351;line-height:1.7;}
.hx-faq-a p{margin:0 0 .7em;}
/* Pricing cards */
.hx-price{margin:2.4em 0;}
.hx-price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.2rem;}
.hx-price-card{border:1px solid var(--line);border-top:3px solid var(--red);border-radius:12px;padding:1.6rem;text-align:center;transition:.18s;background:#fff;}
.hx-price-card:hover{box-shadow:0 14px 34px rgba(20,30,50,.10);transform:translateY(-3px);}
.hx-price-card .pl{font-size:.98rem;color:var(--muted);margin-bottom:.8rem;min-height:2.6em;display:flex;align-items:center;justify-content:center;}
.hx-price-card .pp{font-size:1.5rem;font-weight:800;color:var(--ink);margin-bottom:1.1rem;}
.hx-price-card .hx-btn{width:100%;}
/* Contact block */
.hx-contact-block{background:var(--ink);color:#fff;padding:4rem 1.3rem;margin-top:0;}
.hx-cb-inner{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:1fr 1.1fr;gap:3.5rem;align-items:center;}
.hx-cb-text .eyebrow{color:#ff8a90;}
.hx-cb-text h2{color:#fff;font-size:2rem;font-weight:800;margin:.4rem 0 .8rem;}
.hx-cb-text p{color:#b8c0cc;line-height:1.6;margin:0 0 1.4rem;}
.hx-cb-text a{color:#fff;}
.hx-cb-benefits{list-style:none;padding:0;margin:0;display:grid;gap:.6rem;}
.hx-cb-benefits li{position:relative;padding-left:1.8rem;color:#dfe4ea;}
.hx-cb-benefits li::before{content:"✓";position:absolute;left:0;color:#ff5a63;font-weight:700;}
.hx-cb-form{background:#fff;border-radius:16px;padding:2rem;}
.hx-cb-form .hx-form-row{display:flex;gap:.8rem;}
.hx-cb-form .wpcf7-form input,.hx-cb-form .wpcf7-form textarea{width:100%;padding:.85rem 1rem;border:1px solid var(--line);border-radius:8px;font-size:1rem;margin-bottom:.8rem;font-family:inherit;color:var(--ink);background:#fff;}
.hx-cb-form .wpcf7-form input:focus,.hx-cb-form .wpcf7-form textarea:focus{outline:none;border-color:var(--red);}
.hx-cb-form .wpcf7-form input[type=submit]{background:var(--red);color:#fff;border:none;font-weight:700;cursor:pointer;padding:.95rem;width:100%;}
.hx-cb-form .wpcf7-form input[type=submit]:hover{background:var(--red-d);}
.hx-cb-form .wpcf7-response-output{border-radius:8px;margin:.5rem 0 0;padding:.7rem 1rem;font-size:.9rem;}
.hx-side-contact{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.4rem 1.6rem;}
.hx-side-contact .t{font-size:.75rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--red);margin-bottom:.7rem;}
.hx-side-contact a{display:block;color:var(--ink);text-decoration:none;padding:.35rem 0;font-weight:500;}
.hx-side-contact a:hover{color:var(--red);}
@media(max-width:820px){.hx-cb-inner{grid-template-columns:1fr;gap:2rem;}.hx-cb-form .hx-form-row{flex-direction:column;gap:0;}}

/* ===== COLLAPSIBLE CONTENT SECTIONS ===== */
.hx-acc{border:1px solid var(--line);border-radius:12px;margin:0 0 1rem;background:#fff;overflow:hidden;}
.hx-acc > summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem 1.5rem;font-size:1.2rem;font-weight:700;color:var(--ink);}
.hx-acc > summary::-webkit-details-marker{display:none;}
.hx-acc > summary .ic{flex:0 0 auto;width:16px;height:16px;position:relative;}
.hx-acc > summary .ic::before,.hx-acc > summary .ic::after{content:"";position:absolute;background:var(--red);border-radius:2px;}
.hx-acc > summary .ic::before{left:7px;top:0;width:2px;height:16px;transition:.2s;}
.hx-acc > summary .ic::after{left:0;top:7px;width:16px;height:2px;}
.hx-acc[open] > summary{border-bottom:1px solid var(--line);color:var(--red);}
.hx-acc[open] > summary .ic::before{transform:scaleY(0);}
.hx-acc-b{padding:1.4rem 1.5rem 1.6rem;}
.hx-acc-b > *:first-child{margin-top:0;}
.hx-acc-b h3{font-size:1.15rem;margin:1.3em 0 .4em;}
.hx-acc-b h4{margin:1.4em 0 .3em;}
/* ===== FOOTER ===== */
.site-footer{display:none!important;}
.hx-footer{background:#0f1622;color:#aeb7c5;padding:3.5rem 1.3rem 1.5rem;}
.hx-footer-in{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:1.8fr 1fr 1fr 1.2fr;gap:2.5rem;}
.hx-footer h4{color:#fff;font-size:.95rem;font-weight:700;margin:0 0 1rem;}
.hx-footer a{display:block;color:#aeb7c5;text-decoration:none;padding:.32rem 0;font-size:.94rem;}
.hx-footer a:hover{color:#fff;}
.hx-fbrand p{color:#8b95a5;line-height:1.6;font-size:.94rem;margin:.6rem 0 0;max-width:340px;}
.hx-flogo{font-size:1.5rem;font-weight:800;color:#fff;letter-spacing:-.02em;}
.hx-flogo span{color:var(--red);}
.hx-fplace{display:block;color:#8b95a5;padding:.32rem 0;font-size:.94rem;}
.hx-footer-bottom{max-width:1160px;margin:2.5rem auto 0;padding-top:1.4rem;border-top:1px solid #26303f;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.88rem;color:#7a8494;}
.hx-footer-bottom a{color:#aeb7c5;text-decoration:none;}
.hx-footer-bottom a:hover{color:#fff;}
@media(max-width:800px){.hx-footer-in{grid-template-columns:1fr 1fr;gap:2rem;}}
@media(max-width:480px){.hx-footer-in{grid-template-columns:1fr;}}

/* ===== TABS (migrated Gridbox tabs -> accordion) ===== */
.hx-tabs{margin:1.8em 0 2.4em;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 4px 20px rgba(20,30,50,.04);}
.hx-tab{border-top:1px solid var(--line);}
.hx-tab:first-child{border-top:none;}
.hx-tab > summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.05rem 1.45rem;font-weight:700;font-size:1.09rem;color:var(--ink);background:var(--soft);transition:.15s;}
.hx-tab > summary:hover{color:var(--red);}
.hx-tab > summary::-webkit-details-marker{display:none;}
.hx-tab > summary .hx-tab-t{text-transform:none;}
.hx-tab[open] > summary{color:var(--red);background:#fff;border-bottom:1px solid var(--line);}
.hx-tab-ic{flex:0 0 auto;width:16px;height:16px;position:relative;}
.hx-tab-ic::before,.hx-tab-ic::after{content:"";position:absolute;background:var(--red);border-radius:2px;}
.hx-tab-ic::before{left:7px;top:0;width:2px;height:16px;transition:.2s;}
.hx-tab-ic::after{left:0;top:7px;width:16px;height:2px;}
.hx-tab[open] > summary .hx-tab-ic::before{transform:scaleY(0);}
.hx-tab-body{padding:1.5rem 1.6rem 1.3rem;overflow:hidden;}
.hx-tab-body > :first-child{margin-top:0;}
.hx-tab-body > :last-child{margin-bottom:0;}
.hx-tab-body h3{font-size:1.18rem;margin:1.2em 0 .4em;}
.hx-tab-body h4{font-size:1.05rem;margin:1.3em 0 .3em;color:var(--ink);}
.hx-tab-body figure{float:right;max-width:200px;margin:.2rem 0 1rem 1.6rem;}
.hx-tab-body figure:nth-of-type(2n){float:left;margin:.2rem 1.6rem 1rem 0;}
.hx-tab-body figure img{max-height:150px !important;border-radius:10px;}
@media(max-width:640px){.hx-tab-body figure{float:none;max-width:100%;margin:1rem 0;}.hx-tab > summary{font-size:1rem;padding:.95rem 1.1rem;}}

/* ===== OPEN CONTENT SECTIONS (redesign: content visible, not folded) ===== */
.hx-sec{clear:both;margin:0 0 2.6em;}
.hx-sec:last-child{margin-bottom:0;}
.hx-sec-h{position:relative;font-size:1.7rem;font-weight:800;color:var(--ink);margin:0 0 1.1rem;letter-spacing:-.01em;padding-bottom:.55rem;}
.hx-sec-h::after{content:"";display:block;width:46px;height:3px;background:var(--red);border-radius:2px;position:absolute;left:0;bottom:0;}
.hx-sec-b > :first-child{margin-top:0;}
.hx-sec-b h3{font-size:1.22rem;margin:1.4em 0 .4em;color:var(--ink);}
/* footer office lines */
.hx-fplace{display:block;color:rgba(255,255,255,.62);font-size:.9rem;line-height:1.5;margin-top:.5rem;}
.hx-cb-offices{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.35rem;}
.hx-cb-offices li{position:relative;padding-left:1.4rem;color:rgba(255,255,255,.8);font-size:.92rem;}
.hx-cb-offices li::before{content:"";position:absolute;left:0;top:.45em;width:8px;height:8px;border-radius:50%;border:2px solid var(--red);}

/* ===== Service hero: 2 columns with thematic illustration ===== */
.hx-page-hero .hx-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,400px);gap:2.6rem;align-items:center;}
.hx-hero-text{min-width:0;}
.hx-hero-art{align-self:center;}
.hx-illu{width:100%;height:auto;display:block;max-width:420px;margin-left:auto;filter:drop-shadow(0 18px 40px rgba(20,30,50,.10));}
@media(max-width:900px){.hx-page-hero .hx-wrap{grid-template-columns:1fr;}.hx-hero-art{display:none;}}

/* ===== Blog index cards ===== */
.ast-article-post .ast-article-inner{display:flex;flex-direction:column;height:100%;border:1px solid var(--line)!important;border-radius:14px!important;overflow:hidden;background:#fff;transition:.18s;padding:0 0 1.3rem!important;}
.ast-article-post .ast-article-inner:hover{box-shadow:0 16px 36px rgba(20,30,50,.10);transform:translateY(-3px);}
.ast-article-post .ast-blog-featured-section,.ast-article-post .post-thumb{margin:0 0 1.1rem!important;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#161d2b,#2a3446);display:block;}
.ast-article-post .post-thumb img{width:100%;height:100%;object-fit:cover;}
.ast-article-post .ast-article-inner > *:not(.ast-blog-featured-section):not(.post-thumb){padding-left:1.4rem!important;padding-right:1.4rem!important;}
.ast-article-post .ast-taxonomy-container{font-size:.7rem!important;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.ast-article-post .ast-taxonomy-container a{color:var(--red)!important;}
.ast-article-post .entry-title{font-size:1.12rem!important;line-height:1.34!important;font-weight:700!important;margin:.35rem 0 .5rem!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.ast-article-post .entry-title a{color:var(--ink)!important;}
.ast-article-post .entry-title a:hover{color:var(--red)!important;}
.ast-article-post .ast-excerpt-container{color:var(--muted);font-size:.92rem;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:auto;}
.ast-article-post .ast-blog-meta-container{color:var(--muted);font-size:.8rem;margin-top:.6rem;}
.ast-pagination .page-numbers{border-radius:8px;}

/* ===== Blog single post: custom header (hide Astra default) ===== */
.single-post .entry-header{display:none!important;}
.single-post .ast-single-post-featured-section,.single-post .ast-single-entry-banner{display:none!important;}
.hx-post-hero{margin:.5rem 0 1.4rem;padding-bottom:1.2rem;border-bottom:1px solid var(--line);}
.hx-post-hero .hx-crumb{margin-bottom:1rem;}
.hx-post-cat{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red);margin:0 0 .6rem;}
.hx-post-title{font-size:2.05rem;line-height:1.22;font-weight:800;color:var(--ink);margin:.1rem 0 .7rem;letter-spacing:-.01em;}
.hx-post-meta{color:var(--muted);font-size:.9rem;}
.hx-post-img{margin:0 0 1.8rem;}
.hx-post-img img{width:100%;height:auto;border-radius:14px;display:block;}
.hx-post-body{font-size:1.05rem;line-height:1.75;}
.hx-post-body h2{font-size:1.55rem;margin:1.8em 0 .5em;}
.hx-post-body h3{font-size:1.25rem;margin:1.5em 0 .4em;}
.hx-post-body img{border-radius:12px;height:auto;}
.hx-post-body figure{margin:1.5em 0;}
@media(max-width:640px){.hx-post-title{font-size:1.6rem;}}
