/* AZMA — entirely reimagined editorial / architectural template */
body.template-modern{--az:#a32f51;--az-dark:#4b1428;--az-ink:#211a22;--az-cream:#f7f3f0;background:var(--az-cream);color:var(--az-ink);font-family:Vazirmatn,system-ui,sans-serif}
.template-modern .wrap{width:min(1280px,calc(100% - 100px));max-width:1280px}
.template-modern header.main{position:absolute!important;top:0;left:0;right:0;z-index:100;background:transparent!important;border:0!important;box-shadow:none!important;color:white!important;min-height:100px}
.template-modern header.main .bar{min-height:100px;gap:34px;border-bottom:1px solid rgba(255,255,255,.22)}
.template-modern header.main .logo{width:135px;flex-shrink:0}.template-modern header.main .logo img{max-height:65px;filter:brightness(0) invert(1)}
.template-modern header.main nav a,.template-modern header.main nav button{color:white!important;font-size:13px!important;font-weight:500}
.template-modern header.main .hcta{background:#fff!important;color:#6c1e36!important;border:0!important;border-radius:6px!important;padding:12px 21px!important;font-weight:800}
.template-modern .hero{height:auto!important;min-height:780px!important;position:relative!important;overflow:hidden;background:#210d18!important}
.template-modern .hero>.sl,.template-modern .hero>canvas,.template-modern .hero>.arr,.template-modern .hero>.dots{display:none!important}
.template-modern .az-hero{position:relative;min-height:780px;display:flex;align-items:center;color:#fff;isolation:isolate}
.template-modern .az-hero-photo,.template-modern .az-hero-shade{position:absolute;inset:0;z-index:-2}.template-modern .az-hero-photo{background:url('/assets/azma-datacenter-hero.png') center/cover no-repeat;transform:scale(1.01)}
.template-modern .az-hero-shade{z-index:-1;background:linear-gradient(270deg,rgba(29,8,19,.96) 0%,rgba(36,10,21,.91) 30%,rgba(37,11,23,.44) 72%,rgba(18,6,13,.12) 100%)}
.template-modern .az-hero-inner{display:flex;align-items:center;justify-content:space-between;padding-top:120px;gap:40px}
.template-modern .az-hero-copy{max-width:700px}.template-modern .az-eyebrow{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:2px;color:#f3c4d0;direction:ltr;justify-content:flex-end;margin-bottom:35px}.template-modern .az-eyebrow span{width:30px;height:2px;background:#f0b0c3}
.template-modern .az-hero h1{font-size:clamp(40px,5.1vw,78px)!important;line-height:1.36!important;letter-spacing:-2px;color:#fff!important;font-weight:900!important;max-width:690px;margin:0 0 26px!important}
.template-modern .az-hero p{font-size:18px!important;line-height:2.1;color:#f2dfe5!important;max-width:550px;margin:0 0 36px}
.template-modern .az-hero-actions{display:flex;flex-wrap:wrap;gap:12px}.template-modern .az-button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;padding:16px 25px;text-decoration:none;border-radius:5px;font-size:14px;font-weight:750;transition:transform .25s,background .25s}.template-modern .az-button:hover{transform:translateY(-3px)}.template-modern .az-button.primary{background:#b73d60;color:#fff}.template-modern .az-button.outline{color:#fff;border:1px solid #ffffff80}.template-modern .az-button.light{background:#fff;color:#6b1c39}
.template-modern .az-hero-meta{display:flex;gap:12px;align-items:center;margin-top:64px;font-size:12px;color:#dec8d1}.template-modern .az-live-dot{width:8px;height:8px;background:#d8e7ba;border-radius:50%;box-shadow:0 0 0 5px #d8e7ba22}.template-modern .az-hero-side{align-self:flex-end;margin-bottom:60px;text-align:left;direction:ltr;color:#fff}.template-modern .az-hero-tag{writing-mode:vertical-rl;letter-spacing:4px;font-size:10px;margin-left:auto;margin-bottom:70px}.template-modern .az-hero-tag span{color:#f3a6bc}.template-modern .az-hero-number{font-size:36px;font-weight:900}.template-modern .az-hero-number span{font-size:15px;opacity:.55}.template-modern .az-scroll{position:absolute;bottom:28px;right:50%;transform:translateX(50%);color:#f5e5e9;font-size:11px;text-decoration:none;display:flex;align-items:center;gap:18px}
.template-modern .az-strip{background:#711d3b;color:#fff}.template-modern .az-strip-inner{display:flex;gap:30px;align-items:center;justify-content:space-between;min-height:82px;font-size:13px}.template-modern .az-strip-inner>span{font-size:12px;color:#efb7c8}.template-modern .az-strip-inner i{height:24px;width:1px;background:#ffffff45}.template-modern .az-strip-inner b{font-weight:550}
.template-modern #services{background:#f7f3f0!important;padding:110px 0 130px!important;min-height:0!important}.template-modern #services .sh{text-align:right!important;margin-bottom:54px!important}.template-modern #services .sh h2,.template-modern #history .sh h2{font-size:clamp(31px,3.5vw,50px)!important;color:#251720!important;margin:12px 0 15px!important;font-weight:900}.template-modern #services .sh p{font-size:16px!important;color:#766a72!important}.template-modern .sh>i,.template-modern .sw3{display:none!important}.template-modern .az-section-label{color:#a63255;font-size:12px;letter-spacing:1.5px;font-weight:800;direction:rtl}
.template-modern .az-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.template-modern .az-service-card{background:#fff;border:1px solid #e8dfe1;border-radius:9px;overflow:hidden;box-shadow:0 8px 28px #42132709;transition:transform .3s,box-shadow .3s}.template-modern .az-service-card:hover{transform:translateY(-7px);box-shadow:0 18px 48px #4213271e}.template-modern .az-service-image{height:225px;background-color:#422333;background-position:center;background-size:cover;position:relative}.template-modern .az-card-index{position:absolute;right:22px;top:20px;color:#fff;font-size:16px;font-weight:800;border:1px solid #ffffff88;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;direction:ltr}.template-modern .az-service-body{padding:28px 27px 30px}.template-modern .az-service-category{font-size:10px;letter-spacing:1.7px;color:#b63c60;direction:ltr;text-align:right}.template-modern .az-service-body h3{font-size:21px!important;color:#261821!important;margin:12px 0!important;font-weight:850;line-height:1.65}.template-modern .az-service-body p{font-size:13px!important;color:#746b70!important;line-height:2.1;min-height:85px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.template-modern .az-service-body a{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee7e9;padding-top:19px;margin-top:22px;color:#9b2e50;font-weight:750;font-size:13px;text-decoration:none}.template-modern .az-service-body a span{font-size:23px}
.template-modern #history{background:#fff!important;padding:105px 0!important}.template-modern #history .sh{text-align:right!important}.template-modern #history .tl{border-color:#e4c3ce}.template-modern #history .tli{background:#faf6f6;border-radius:8px;border-color:#eddde3}.template-modern #history .tli h3{color:#68223e!important}
.template-modern .az-callout{padding:90px 0;background:radial-gradient(circle at 15% 20%,#c64a71,#651a39 70%);color:#fff}.template-modern .az-callout-inner{display:flex;justify-content:space-between;align-items:center;gap:40px}.template-modern .az-callout .az-section-label{color:#f5b5cb}.template-modern .az-callout h2{font-size:clamp(27px,3vw,43px);line-height:1.5;margin:12px 0;color:white}.template-modern .az-callout p{color:#f3d7e1;font-size:15px}
.template-modern footer{background:#24101b!important;color:#e8dbe1!important;border:0!important}.template-modern footer h4{color:#fff!important}.template-modern footer a{color:#eee0e5!important}
.template-modern #news{background:#f7f3f0!important}.template-modern #news .nw-card{border-radius:9px;overflow:hidden}
@media(max-width:1050px){.template-modern .wrap{width:min(100% - 48px,1280px)}.template-modern .az-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-modern .az-strip-inner{flex-wrap:wrap;justify-content:center;padding:22px 0}.template-modern .az-strip-inner i{display:none}.template-modern .az-hero-side{display:none}}
@media(max-width:700px){.template-modern .wrap{width:calc(100% - 36px)}.template-modern header.main,.template-modern header.main .bar{min-height:78px}.template-modern .hero,.template-modern .az-hero{min-height:730px!important}.template-modern .az-hero-inner{padding-top:110px}.template-modern .az-hero h1{font-size:38px!important;letter-spacing:-1px}.template-modern .az-hero p{font-size:15px!important}.template-modern .az-eyebrow{font-size:8px;letter-spacing:.7px}.template-modern .az-hero-actions{flex-direction:column;align-items:stretch}.template-modern .az-hero-meta{margin-top:36px}.template-modern .az-service-grid{grid-template-columns:1fr}.template-modern #services{padding:70px 0!important}.template-modern .az-strip-inner{gap:15px;font-size:11px}.template-modern .az-strip-inner>span{width:100%;text-align:center}.template-modern .az-callout-inner{flex-direction:column;align-items:stretch}.template-modern .az-callout{padding:65px 0}.template-modern header.main .hcta{display:none!important}}
@media(prefers-reduced-motion:reduce){.template-modern .az-service-card,.template-modern .az-button{transition:none}}

/* Redesign 2: functional CMS-backed carousel */
.template-modern .az-hero{display:block;min-height:780px}
.template-modern .az-hero-stage,.template-modern .az-hero-frame{position:absolute;inset:0}
.template-modern .az-hero-frame{opacity:0;visibility:hidden;transition:opacity .8s ease,visibility .8s;pointer-events:none}
.template-modern .az-hero-frame.active{opacity:1;visibility:visible;pointer-events:auto}
.template-modern .az-hero-frame .az-hero-photo{background-position:center;background-size:cover;transform:scale(1.045);transition:transform 7s linear}
.template-modern .az-hero-frame.active .az-hero-photo{transform:scale(1)}
.template-modern .az-hero-frame .az-hero-shade{z-index:-1}
.template-modern .az-hero-frame .az-hero-inner{min-height:780px;position:relative;z-index:1}
.template-modern .az-hero-controls{position:absolute;z-index:8;bottom:42px;left:max(30px,calc((100% - 1280px)/2));display:flex;align-items:center;gap:18px;direction:ltr}
.template-modern .az-hero-controls>button{width:43px;height:43px;background:#ffffff1a;border:1px solid #ffffff77;border-radius:50%;color:#fff;font-size:26px;cursor:pointer}
.template-modern .az-hero-dots{display:flex;gap:9px}.template-modern .az-hero-dots button{width:9px;height:9px;border:0;border-radius:30px;background:#ffffff70;cursor:pointer;padding:0;transition:width .2s}.template-modern .az-hero-dots button.active{width:33px;background:#f4b6c8}
.template-modern .az-hero-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff22;z-index:10}.template-modern .az-hero-progress span{display:block;width:0;height:100%;background:#e6a3b9}@keyframes az-progress{to{width:100%}}
/* Menu contrast: dropdowns always use dark text on opaque light surfaces */
.template-modern header.main nav .dd{background:#fff!important;border:1px solid #e9d4dc!important;border-top:3px solid #b73d60!important;border-radius:0 0 10px 10px;box-shadow:0 18px 42px #21091740;z-index:300}
.template-modern header.main nav .dd a,.template-modern header.main nav .dd button,.template-modern header.main nav .dd span{color:#341a27!important;opacity:1!important;text-shadow:none!important;font-weight:650!important}
.template-modern header.main nav .dd a:hover,.template-modern header.main nav .dd button:hover{color:#9b2d51!important;background:#fbedf1!important}
.template-modern header.main nav .dd .chev{border-color:#a63a5b!important}
/* Rebuilt editorial history */
.template-modern #history{background:linear-gradient(130deg,#fff 20%,#fff5f7 100%)!important;padding:120px 0!important}
.template-modern .az-history-layout{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1.5fr);gap:65px;align-items:start;margin-top:45px}
.template-modern .az-history-intro{position:sticky;top:30px;padding:35px 0}.template-modern .az-history-mark{color:#aa3659;font-size:12px;font-weight:900;letter-spacing:3px;direction:ltr;display:block;text-align:right}.template-modern .az-history-mark em{color:#b8a5ae;font-style:normal}
.template-modern .az-history-intro h3{font-size:clamp(26px,3vw,42px);line-height:1.55;color:#3b1729;margin:23px 0}.template-modern .az-history-intro p{line-height:2;color:#76646e}
.template-modern .az-history-art{height:260px;margin-top:32px;background:linear-gradient(0deg,#45112665,#45112608),url('/assets/azma-network.png') center/cover;border-radius:14px;box-shadow:0 20px 45px #5b1b2b20}
.template-modern #history .tl{display:flex;flex-direction:column;gap:16px;border:0!important;margin:0;padding-right:32px;border-right:2px solid #e5b8c7!important}
.template-modern #history .tl::before,.template-modern #history .tl::after{display:none!important}
.template-modern #history .tli{padding:24px 28px!important;border:1px solid #f0dce4!important;border-radius:13px!important;box-shadow:0 8px 24px #5b1b2b08;background:white!important;min-width:0}
.template-modern #history .tli::before{right:-43px!important;top:31px!important;background:#b43c61!important;border:4px solid #fff!important;box-shadow:0 0 0 2px #e3b0c1;width:14px;height:14px}
.template-modern #history .tli .d{height:auto;line-height:1.5;font-size:21px;color:#b23a5e!important}
.template-modern #history .tli h3{margin:10px 0 8px!important;font-size:19px!important;color:#361b2a!important}.template-modern #history .tli p{line-height:2;color:#6e5c66}
/* Rebuilt footer */
.template-modern footer{background:#1c0c17!important;padding-top:0!important;position:relative;overflow:hidden}
.template-modern footer:before{content:'';position:absolute;right:-180px;top:0;width:520px;height:520px;border-radius:50%;background:#a32f5130;filter:blur(90px);pointer-events:none}
.template-modern .az-footer-top{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:75px 0 58px;border-bottom:1px solid #ffffff25;position:relative}
.template-modern .az-footer-top span{font-size:11px;letter-spacing:2px;color:#e7a8bb}.template-modern .az-footer-top h2{font-size:clamp(25px,3vw,40px);color:#fff;margin:15px 0}.template-modern .az-footer-top p{color:#c9aeb9;line-height:2}
.template-modern footer .fg{padding:65px 0!important;grid-template-columns:1.2fr .9fr 1.2fr;gap:70px;position:relative}
.template-modern footer .fg>div:first-child img{max-width:155px;max-height:100px;object-fit:contain}
.template-modern footer h4{font-size:18px!important;margin:0 0 24px!important;padding-bottom:15px;border-bottom:1px solid #ffffff24}
.template-modern footer li,.template-modern footer address{line-height:2.2!important;color:#cbb9c1!important}
.template-modern footer a:hover{color:#ffb8ce!important}.template-modern .az-footer-bottom{border-top:1px solid #ffffff24;padding:22px 0;color:#a98e9b;font-size:12px}.template-modern .az-footer-bottom .wrap{display:flex;justify-content:space-between;gap:15px}.template-modern .az-footer-bottom a{color:#f3c7d6;text-decoration:none}
@media(max-width:900px){.template-modern .az-history-layout{grid-template-columns:1fr;gap:20px}.template-modern .az-history-intro{position:static}.template-modern footer .fg{grid-template-columns:1fr 1fr;gap:35px}.template-modern header.main nav.open{background:#2b1020!important;z-index:200}.template-modern header.main nav.open .dd{position:static!important;box-shadow:none!important;min-width:0!important;transform:none!important;opacity:1!important;visibility:visible!important;margin:0 0 10px!important}.template-modern header.main nav.open .dd a,.template-modern header.main nav.open .dd button{color:#341a27!important}}
@media(max-width:700px){.template-modern .az-hero-frame .az-hero-inner{min-height:730px}.template-modern .az-hero-controls{left:18px;bottom:22px}.template-modern .az-history-layout{gap:12px}.template-modern #history{padding:75px 0!important}.template-modern .az-history-art{height:190px}.template-modern .az-footer-top{flex-direction:column;align-items:flex-start;padding:55px 0 35px}.template-modern footer .fg{grid-template-columns:1fr;padding:42px 0!important}.template-modern .az-footer-bottom .wrap{flex-direction:column}.template-modern .az-hero-frame .az-hero-photo{background-position:42% center}}
@media(prefers-reduced-motion:reduce){.template-modern .az-hero-frame,.template-modern .az-hero-frame .az-hero-photo{transition:none}}

/* AZMA 2026: cohesive inner-page editorial redesign */
.template-modern #newsV{background:#f8f5f7;color:#321e2a;min-height:65vh;padding-bottom:90px}
.template-modern #newsV .ptitle{background:linear-gradient(110deg,rgba(35,9,24,.93),rgba(103,22,51,.80)),url('/assets/azma-datacenter-hero.png') center/cover!important;padding:95px 0 80px!important;color:white!important}
.template-modern #newsV .ptitle h1{font-size:clamp(32px,4.6vw,60px);line-height:1.35;color:white!important;letter-spacing:-.5px}
.template-modern #newsV .ptitle small,.template-modern #newsV .ptitle a{color:#f4d4df!important}
.template-modern #newsV section{padding-top:55px;padding-bottom:55px}
.template-modern #newsV .wrap{max-width:1180px}
.template-modern #newsV .cpage,.template-modern #newsV .gg,.template-modern #newsV .svc-list{gap:24px}
.template-modern #newsV .cinfo,.template-modern #newsV .cform,.template-modern #newsV .ci,.template-modern #newsV article,.template-modern #newsV .svc-card{border-radius:22px!important;border:1px solid #e9dce2!important;box-shadow:0 12px 40px rgba(65,19,41,.06);background:white}
.template-modern #newsV a{transition:color .2s,transform .2s}
.template-modern #newsV a:hover{color:#b33461}
.template-modern #newsV button,.template-modern #newsV .btn{background:#a72d55;color:white;border-radius:13px}
.template-modern #newsV input:focus,.template-modern #newsV textarea:focus{outline:2px solid #b84c72;outline-offset:2px}
.template-modern #newsV img{max-width:100%;height:auto}
@media(max-width:700px){.template-modern #newsV .ptitle{padding:65px 0!important}.template-modern #newsV section{padding:35px 0}}

/* AZMA 2026 inner-page enhancements */
.template-modern #newsV .pg-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.template-modern #newsV .pg-badges span{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;background:#ffffff14;border:1px solid #ffffff28;color:#f8e6ec;font-size:12px}
.template-modern #newsV .pg-vis.bg,.template-modern #newsV .rc-media.bg,.template-modern #newsV .svc-spot .rc-media.bg{display:block;background-size:cover;background-position:center;background-color:#33121f}
.template-modern #newsV .pg-vis.bg{min-height:340px;border-radius:22px;box-shadow:0 18px 48px rgba(0,0,0,.16)}
.template-modern #newsV .pg-side img,.template-modern #newsV .pg-vis img{width:100%;height:100%;object-fit:cover;border-radius:22px}
.template-modern #newsV .pg-side{align-self:start}.template-modern #newsV .pg-side img{min-height:300px}
.template-modern #newsV .pg-body .wrap{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.8fr);gap:30px;align-items:start}.template-modern #newsV .pg-text{border-radius:22px;background:white;border:1px solid #eadce2;padding:28px 30px;box-shadow:0 12px 40px rgba(65,19,41,.06)}
.template-modern #newsV .pg-text p{line-height:2.15;color:#5b4d55}.template-modern #newsV .pg-side{position:sticky;top:24px}
.template-modern #newsV .pg-cta{background:linear-gradient(120deg,#621833,#a63560);color:#fff}.template-modern #newsV .pg-cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:24px}.template-modern #newsV .pg-cta h2{color:#fff;margin:0 0 10px}.template-modern #newsV .pg-phone{font-size:30px;font-weight:900;color:#fff;text-decoration:none;display:inline-block;direction:ltr}.template-modern #newsV .pg-cta small{display:block;color:#f3d9e2;margin-top:7px}
.template-modern #newsV .rc.rich,.template-modern #newsV .rc{display:flex;flex-direction:column;overflow:hidden;text-decoration:none}.template-modern #newsV .rc-media{width:100%;height:190px;object-fit:cover}.template-modern #newsV .rc-body{padding:20px 22px 24px}.template-modern #newsV .rc-body h3{font-size:19px;margin:8px 0 10px;color:#2a1821}.template-modern #newsV .rc-body p{margin:0;color:#6e6167;line-height:2}.template-modern #newsV .rcat{font-size:11px;color:#aa3659;letter-spacing:1px}.template-modern #newsV .more{display:inline-flex;margin-top:14px;color:#a42f56;font-weight:800}
.template-modern #newsV .svc-spots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.template-modern #newsV .svc-spot{display:flex;flex-direction:column;overflow:hidden;border-radius:22px;background:#fff;border:1px solid #e9dce2;box-shadow:0 12px 40px rgba(65,19,41,.06);text-decoration:none;position:relative}.template-modern #newsV .svc-spot .rc-media.bg,.template-modern #newsV .svc-spot img{height:220px}.template-modern #newsV .svc-spot-body{padding:22px}.template-modern #newsV .svc-spot-body span{font-size:11px;color:#a73359;letter-spacing:1px}.template-modern #newsV .svc-spot-body h3{font-size:21px;margin:10px 0;color:#2b1720}.template-modern #newsV .svc-spot-body p{margin:0;color:#6d6066;line-height:2}.template-modern #newsV .svc-spot>b{position:absolute;top:18px;left:18px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#ffffffcc;color:#7b2143}
.template-modern #newsV .pf{display:flex;gap:15px;align-items:flex-start;padding:22px;border-radius:20px;background:#fff;border:1px solid #e9dce2;box-shadow:0 10px 36px rgba(65,19,41,.06)}.template-modern #newsV .pn{width:46px;height:46px;display:grid;place-items:center;border-radius:16px;background:#f7e7ed;color:#9a3054;font-weight:900;flex:none}.template-modern #newsV .pf h3,.template-modern #newsV .co h3,.template-modern #newsV .ab-card h3{margin:0 0 10px;color:#2b1720}.template-modern #newsV .pf p,.template-modern #newsV .co p{margin:0;color:#6c6167;line-height:2}
.template-modern #newsV .co{display:flex;gap:16px;align-items:flex-start;padding:24px;border-radius:22px;background:#fff;border:1px solid #e9dce2;box-shadow:0 10px 36px rgba(65,19,41,.06)}.template-modern #newsV .co ul,.template-modern #newsV .ab-card ul{margin:0;padding-right:18px;color:#61555c;line-height:2}.template-modern #newsV .co .btn{margin-top:16px;display:inline-flex}
.template-modern #newsV .ab-card{padding:24px;border-radius:22px;background:#fff;border:1px solid #e9dce2;box-shadow:0 10px 36px rgba(65,19,41,.06)}.template-modern #newsV .ab-card.wide ul{columns:2;column-gap:24px}
.template-modern #newsV .cinfo h2,.template-modern #newsV .cform h2,.template-modern #newsV .sh h2{color:#281620}.template-modern #newsV .ci{display:flex;gap:14px;align-items:flex-start;padding:16px}.template-modern #newsV .ci .ic{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#f8e7ee;color:#a42f56;flex:none}.template-modern #newsV .ci .ic svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8}.template-modern #newsV .ci b{display:block;margin-bottom:6px}.template-modern #newsV .ci a{color:#9d2d53;text-decoration:none}.template-modern #newsV .ci .ph{font-size:22px;font-weight:900;direction:ltr;display:inline-block}
.template-modern #newsV .art-page{background:#fff;border-radius:24px;border:1px solid #eadce2;box-shadow:0 12px 40px rgba(65,19,41,.06);padding:24px 26px}.template-modern #newsV .art-page img{border-radius:18px;margin-bottom:20px}.template-modern #newsV .art-page .lead{font-size:18px;line-height:2;color:#7c2e4d}.template-modern #newsV .art-page time{display:block;color:#8a7280;margin-bottom:14px}
.template-modern #newsV .about-intro{padding-top:38px}.template-modern #newsV .hero-services .pg-hero-in.one,.template-modern #newsV .hero-about .pg-hero-in.one,.template-modern #newsV .hero-coop .pg-hero-in.one,.template-modern #newsV .hero-contact .pg-hero-in.one{grid-template-columns:1fr}
@media(max-width:960px){.template-modern #newsV .pg-body .wrap{grid-template-columns:1fr}.template-modern #newsV .pg-side{position:static}.template-modern #newsV .svc-spots{grid-template-columns:1fr}.template-modern #newsV .pg-cta .wrap{flex-direction:column;align-items:flex-start}.template-modern #newsV .ab-card.wide ul{columns:1}}

/* 2026 visual quality, slide consistency, responsive navigation, heritage */
.template-modern .hero,.template-modern .az-hero,.template-modern .az-hero-frame .az-hero-inner{min-height:760px!important}
.template-modern .az-hero-photo{background-size:cover!important;background-position:center!important;filter:none!important;transform:none!important;transition:none!important}
.template-modern .az-hero-frame .az-hero-photo{transform:none!important;transition:none!important}
.template-modern .az-hero-stage>.az-hero-frame>.az-hero-shade{background:linear-gradient(270deg,rgba(20,6,16,.60),rgba(20,6,16,.16) 55%,rgba(20,6,16,.08))!important;opacity:1!important;transition:none!important}
.template-modern .az-hero>.az-hero-shade{display:none!important}
.template-modern .az-service-grid{grid-auto-rows:1fr;align-items:stretch}
.template-modern .az-service-card{display:flex;flex-direction:column;min-width:0;height:100%}
.template-modern .az-service-image{height:auto!important;aspect-ratio:16/10;width:100%;flex:none;background-size:cover!important;background-position:center!important;min-height:0!important}
.template-modern .az-service-body{display:flex;flex-direction:column;flex:1}.template-modern .az-service-body p{min-height:0!important}.template-modern .az-service-body a{margin-top:auto!important}
.template-modern #history{background:#220e1d!important;color:white!important;overflow:hidden;position:relative}
.template-modern #history::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,#a5376145,transparent 45%),linear-gradient(135deg,#260d1e,#561c38);z-index:0}
.template-modern #history .wrap{position:relative;z-index:1}.template-modern #history .sh h2{color:#fff!important}
.template-modern #history .az-section-label{color:#f5b4ce!important}
.template-modern .az-history-layout{grid-template-columns:minmax(240px,.7fr) minmax(0,1.5fr);gap:60px}
.template-modern .az-history-intro h3{color:#fff!important}.template-modern .az-history-intro p{color:#e5cbd8!important}
.template-modern #history .tl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:0!important;padding:0;gap:18px;counter-reset:milestone}
.template-modern #history .tl .tli{position:relative;background:#ffffff0d!important;border:1px solid #f7ddeb33!important;backdrop-filter:blur(10px);border-radius:22px!important;box-shadow:0 15px 45px #10091533;min-height:185px;transition:transform .25s,background .25s}
.template-modern #history .tl .tli:hover{transform:translateY(-5px);background:#ffffff17!important}
.template-modern #history .tl .tli:before{display:none!important}.template-modern #history .tl .tli .d{color:#f9c4d7!important;font-size:23px}
.template-modern #history .tl .tli h3{color:#fff!important}.template-modern #history .tl .tli p{color:#dcc4d0!important}
.template-modern .az-history-art{background:linear-gradient(0deg,#4511263b,#45112608),url('/assets/azma-inner-network.webp') center/cover!important}
.template-modern #newsV .pf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.template-modern #newsV .pf{display:flex;flex-direction:column;align-items:flex-start;min-height:222px;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s;background:linear-gradient(145deg,#fff,#fff7fa)!important}
.template-modern #newsV .pf::after{content:"";position:absolute;left:-45px;top:-45px;width:145px;height:145px;border-radius:100%;background:radial-gradient(circle,#f3d8e46a,transparent 68%)}
.template-modern #newsV .pf:hover{transform:translateY(-5px);box-shadow:0 20px 55px #611d3b24}
.template-modern #newsV .pf .pn{border-radius:15px!important;width:48px;height:48px;background:linear-gradient(135deg,#7b1e44,#bf4a70)!important;color:#fff!important}
.template-modern #newsV .pf h3{font-size:19px;line-height:1.6}.template-modern #newsV .pf p{font-size:14px;line-height:2}
.template-modern footer.logo-off .fg>div:first-child>img{display:none!important}
body.template-classic footer.logo-off .fg>div:first-child>img{display:none!important}
@media(max-width:1100px){
 .template-modern header.main nav{display:none!important;position:absolute;top:80px;right:0;left:0;background:#2c101f!important;max-height:calc(100vh - 80px);overflow:auto;z-index:401}
 .template-modern header.main nav.open{display:block!important}
 .template-modern header.main nav>ul{flex-direction:column!important}
 .template-modern header.main .burger{display:flex!important;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:45px;height:42px;padding:9px!important;margin-inline-start:auto;border:1px solid #ffffff85!important;border-radius:10px!important;z-index:402}
 .template-modern header.main .burger span{display:block;width:21px;height:2px;border-radius:3px;background:white}
 .template-modern header.main nav .dd{position:static!important;opacity:1!important;transform:none!important;visibility:visible!important;display:none;box-shadow:none!important;min-width:0!important;margin:0 10px!important;border:0!important;border-radius:10px!important}
 .template-modern header.main nav li.open>.dd{display:block!important}
 .template-modern header.main nav>ul>li>a,.template-modern header.main nav>ul>li>button{height:49px!important;color:white!important}
 .template-modern header.main nav.open a,.template-modern header.main nav.open button{font-size:14px!important}
 .template-modern header.main .hcta{display:none!important}
 .template-modern .az-hero-inner{padding-top:135px}
 .template-modern #history .tl{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
 .template-modern .az-hero-frame .az-hero-inner{min-height:660px!important}
 .template-modern .hero,.template-modern .az-hero{min-height:660px!important}
 .template-modern .az-hero h1{font-size:clamp(28px,8vw,44px)!important}
 .template-modern #history .tl{grid-template-columns:1fr}
 .template-modern #newsV .pf-grid{grid-template-columns:1fr!important}
 .template-modern .az-service-grid{grid-template-columns:1fr!important}
}
@media(min-width:761px) and (max-width:1100px){.template-modern #newsV .pf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Equal height features for classic skin */
.template-classic .pf-grid{align-items:stretch;grid-auto-rows:1fr}
.template-classic .pf{height:100%;min-height:155px;box-sizing:border-box;display:flex;align-items:flex-start}
/* Shared accessible hamburger */
header.main .burger{font-size:0!important;line-height:0}
header.main .burger span{display:block;width:21px;height:2px;background:currentColor;margin:3px 0;border-radius:4px}
@media(min-width:901px) and (max-width:1100px){header.main nav{display:none!important}header.main nav.open{display:block!important;position:absolute;top:80px;right:0;left:0;z-index:300;background:#371322!important}header.main .burger{display:flex!important;flex-direction:column;justify-content:center;align-items:center}}
@media(max-width:900px){header.main .burger{display:flex;flex-direction:column;align-items:center;justify-content:center}}
@media(min-width:901px) and (max-width:1100px){
 body.template-classic header.main nav.open{max-height:calc(100vh - 80px);overflow-y:auto}
 body.template-classic header.main nav>ul{flex-direction:column}
 body.template-classic header.main nav .dd{position:static;opacity:1;visibility:visible;transform:none;display:none;background:white}
 body.template-classic header.main nav li.open>.dd{display:block}
 body.template-classic header.main nav .dd a,body.template-classic header.main nav .dd button{color:#41172c!important}
}

/* 2026.11 — Azma accessible responsive redesign, no stretched hero assets */
.template-modern .hero,.template-modern .az-hero,.template-modern .az-hero-frame .az-hero-inner{
 height:clamp(510px,59vw,790px)!important;min-height:0!important;
}
.template-modern .az-hero-frame .az-hero-photo{
 background-size:cover!important;background-repeat:no-repeat!important;background-position:center center!important;
 transform:none!important;transition:none!important;
}
.template-modern .az-hero-stage>.az-hero-frame>.az-hero-shade{
 background:linear-gradient(270deg,rgba(25,5,17,.64),rgba(25,5,17,.23) 60%,rgba(25,5,17,.06))!important;
 opacity:1!important;transition:none!important;
}
.template-modern .az-service-card{border-radius:22px!important;box-shadow:0 15px 35px #5b173019!important;border:1px solid #e7dde4!important}
.template-modern .az-service-image{aspect-ratio:16/9!important;min-height:unset!important;background-position:center!important;background-size:cover!important}
.template-modern .az-card-index{font-family:Vazirmatn,sans-serif;direction:rtl!important;top:16px;right:16px;width:43px;height:43px;background:#850e3b;border:2px solid #fff9;color:#fff!important;font-size:19px;font-weight:900}
.template-modern .az-service-body{padding:23px 24px 25px!important}
.template-modern .az-service-body h3{line-height:1.5!important;font-size:20px!important}
.template-modern .az-service-body a{color:#971c47!important}
.template-modern .az-service-grid{gap:23px!important;grid-auto-rows:1fr!important;align-items:stretch}
.template-modern .az-service-card .az-service-image{flex:none}

/* Timelined history — horizontally linked chronology, editable content comes from the same timeline CMS */
.template-modern #history.az-history-path{background:#400820!important;min-height:0!important;padding:88px 0 95px!important;isolation:isolate}
.template-modern #history.az-history-path:before{content:"";position:absolute;inset:0;background:linear-gradient(270deg,#480a268b,#6d133688),radial-gradient(ellipse at 18% 60%,#ad3f679e,transparent 58%),linear-gradient(155deg,#560d31,#29091d)!important;z-index:-2}
.template-modern #history.az-history-path:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(0deg,#27071c89,transparent 65%),url('/assets/azma-history-city.webp') left center / cover no-repeat;opacity:.46}
.template-modern #history.az-history-path .wrap{width:min(1370px,calc(100% - 64px))!important}
.template-modern #history.az-history-path .sh{max-width:100%;text-align:center!important;margin-bottom:64px!important}
.template-modern #history.az-history-path .sh h2{color:#fff!important;font-size:clamp(32px,4vw,58px)!important;text-shadow:0 4px 20px #2a0517}
.template-modern #history.az-history-path .sh .history-sub{display:block!important;color:#f6cfdf!important;line-height:2;font-size:clamp(13px,1.3vw,17px)}
.template-modern #history.az-history-path .az-section-label{text-align:center;color:#ffb7d3!important}
.template-modern #history.az-history-path .az-timeline-track{
 display:grid!important;grid-template-columns:repeat(var(--timeline-cols,6),minmax(0,1fr))!important;
 border:none!important;padding:0!important;margin:0!important;gap:3px!important;position:relative;isolation:isolate;
}
.template-modern #history.az-history-path .az-timeline-track::before{content:""!important;position:absolute;display:block!important;top:87px;right:7%;left:7%;width:auto;height:3px;background:linear-gradient(90deg,#ff72a2,#fff0fa,#ff72a2);box-shadow:0 0 17px #ff4079d9;border-radius:3px;z-index:-1}
.template-modern #history.az-history-path .az-timeline-track .az-milestone{
 min-width:0!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:0!important;
 padding:0 7px 10px!important;background:transparent!important;display:flex!important;flex-direction:column;align-items:center;text-align:center;
 min-height:0!important;color:#fff!important;transform:none!important;
}
.template-modern #history.az-history-path .az-timeline-track .az-milestone:hover{background:transparent!important;transform:translateY(-3px)!important}
.template-modern #history.az-history-path .az-timeline-track .az-milestone::before{
 content:""!important;display:block!important;position:relative!important;right:auto!important;top:auto!important;
 width:14px!important;height:14px!important;flex:none;border:3px solid #fff!important;border-radius:50%!important;
 background:#ff7bad!important;box-shadow:0 0 0 5px #ff8cba35,0 0 18px #ff8cba!important;
 order:2!important;margin:16px 0 17px!important;
}
.template-modern #history.az-history-path .az-milestone-icon{
 display:grid;place-items:center;width:73px;height:73px;margin:0 auto!important;border-radius:50%;background:linear-gradient(150deg,#a7114c,#6d0b35);
 color:#fff;border:2px solid #ffb7d4;box-shadow:0 0 0 5px #ed5b9333,0 9px 32px #16000c7c;order:1
}
.template-modern #history.az-history-path .az-milestone-icon svg{height:37px;width:37px}
.template-modern #history.az-history-path .az-milestone .d{order:3;font-size:clamp(17px,1.7vw,25px)!important;font-weight:900;color:#fff!important;margin:0 0 9px}
.template-modern #history.az-history-path .az-milestone h3{order:4;color:#fff!important;font-size:clamp(13px,1.16vw,17px)!important;font-weight:800;margin:0 0 5px!important;line-height:1.8}
.template-modern #history.az-history-path .az-milestone p{order:5;color:#ffe0eb!important;font-size:clamp(11px,.94vw,13px)!important;line-height:1.85;max-width:200px;margin:0 auto!important}
.template-modern #history.az-history-path .az-history-perks{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin-top:65px;padding:17px 12px;background:#fff;border-radius:22px;box-shadow:0 16px 45px #18091455}
.template-modern #history.az-history-path .az-history-perks>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;color:#371123;padding:8px 9px;border-left:1px solid #e6d8df}
.template-modern #history.az-history-path .az-history-perks>div:last-child{border:0}
.template-modern #history.az-history-path .az-history-perks span{font-size:28px;line-height:1.2;color:#9e174a}
.template-modern #history.az-history-path .az-history-perks b{font-size:clamp(10px,.94vw,13px);line-height:1.7}

/* Compact inner-page title; no duplicate illustration above breadcrumbs */
.template-modern #newsV .pg-hero{padding:145px 0 45px!important;min-height:0;background:radial-gradient(ellipse at 10% 0%,#93315045,transparent 48%),linear-gradient(125deg,#371020,#6d1d3d)!important}
.template-modern #newsV .pg-hero:before{opacity:.16!important}
.template-modern #newsV .pg-hero-in{display:block!important;grid-template-columns:1fr!important}
.template-modern #newsV .pg-hero .pg-vis{display:none!important}
.template-modern #newsV .pg-hero .pg-txt{max-width:1100px}
.template-modern #newsV .pg-hero h1{font-size:clamp(26px,3.8vw,46px)!important;line-height:1.55!important;margin:8px 0!important}
.template-modern #newsV .pg-hero p.l{font-size:clamp(13px,1.1vw,17px)!important;line-height:2!important;margin:8px 0 14px!important}
.template-modern #newsV .pg-hero .pg-badges{margin-top:12px!important}
.template-modern #newsV .pg-hero .btns{margin-top:16px}
.template-modern #newsV .pg-bc{font-size:12px!important;margin-bottom:11px!important}

/* Contact page: separate visual identity, accessible information + form */
.template-modern #newsV .hero-contact{background:linear-gradient(115deg,#2e101f,#6d193e)!important}
.template-modern #newsV .contact-modern-section{padding-top:55px!important}
.template-modern #newsV .cpage{grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr)!important;align-items:stretch!important;gap:24px!important}
.template-modern #newsV .cinfo,.template-modern #newsV .cform{border:1px solid #e8dce3!important;border-radius:24px!important;box-shadow:0 12px 32px #450e2810!important;background:#fff!important;padding:25px!important}
.template-modern #newsV .contact-media{width:100%;height:220px;background-position:center;background-size:cover;border-radius:17px;position:relative;margin-bottom:27px}
.template-modern #newsV .contact-media:after{content:'ارتباطات یکپارچه، خدمات مطمئن';position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#210613a8);border-radius:0 0 17px 17px;color:white;padding:45px 18px 16px;font-weight:800;font-size:15px}
.template-modern #newsV .ci{margin:10px 0!important;padding:15px!important;border:1px solid #f1e8eb!important;border-radius:15px!important;box-shadow:none!important}
.template-modern #newsV .ci .ic{border-radius:14px;background:#fae8f0;color:#9a1447}
.template-modern #newsV .cform{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;align-content:start}
.template-modern #newsV .cform h2,.template-modern #newsV .cform label:has(textarea),.template-modern #newsV .cform label:has(select),.template-modern #newsV .cform .hp,.template-modern #newsV .cform button,.template-modern #newsV .cform #cmsg{grid-column:1/-1}
.template-modern #newsV .cform label{margin:0!important}
.template-modern #newsV .cform input,.template-modern #newsV .cform textarea,.template-modern #newsV .cform select{background:#fcfafb!important;border:1px solid #e2d5dc;border-radius:12px!important;min-width:0}
.template-modern #newsV .cform .btn{padding:14px 26px!important;width:100%}

/* Hamburger must remain visible on phones and tablets, with correct dropdown contrast */
@media(max-width:1100px){
 body.template-modern header.main{z-index:1000!important}
 body.template-modern header.main nav{display:none!important;position:absolute!important;top:80px!important;right:0!important;left:0!important;min-width:0!important;max-height:calc(100dvh - 80px)!important;overflow:auto!important;background:#321020!important;z-index:1000!important;padding:12px 15px!important}
 body.template-modern header.main nav.open{display:block!important}
 body.template-modern header.main .burger{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:5px!important;flex-shrink:0!important;width:47px!important;height:45px!important;margin:0!important;padding:8px!important;color:white!important;background:#69213f!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:1002!important}
 body.template-modern header.main .burger span{display:block!important;width:24px!important;height:3px!important;margin:0!important;flex-shrink:0;background:white!important;border-radius:5px!important}
 body.template-modern header.main nav li.open>.dd{display:block!important;background:#fff!important;color:#351827!important}
 body.template-modern header.main nav .dd a,body.template-modern header.main nav .dd button{color:#351827!important}
 .template-modern #history.az-history-path .az-timeline-track{grid-template-columns:repeat(3,minmax(0,1fr))!important;row-gap:40px!important}
 .template-modern #history.az-history-path .az-timeline-track:before{display:none!important}
 .template-modern #history.az-history-path .az-history-perks{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .template-modern #history.az-history-path .az-history-perks>div{border:0}
}
@media(max-width:760px){
 .template-modern .hero,.template-modern .az-hero,.template-modern .az-hero-frame .az-hero-inner{height:clamp(490px,80svh,675px)!important;min-height:0!important}
 .template-modern .az-hero-inner{padding-top:105px!important}
 .template-modern .az-hero-copy h1{font-size:clamp(24px,7vw,38px)!important}
 .template-modern .az-hero-frame .az-hero-photo{background-position:43% center!important}
 .template-modern #history.az-history-path{padding:72px 0!important}
 .template-modern #history.az-history-path .wrap{width:calc(100% - 28px)!important}
 .template-modern #history.az-history-path .az-timeline-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:34px 9px!important}
 .template-modern #history.az-history-path .az-history-perks{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .template-modern #history.az-history-path .az-milestone-icon{width:62px;height:62px}
 .template-modern #history.az-history-path .az-milestone-icon svg{width:30px;height:30px}
 .template-modern #newsV .pg-hero{padding:112px 0 30px!important}
 .template-modern #newsV .cpage{grid-template-columns:1fr!important}
 .template-modern #newsV .cform{grid-template-columns:1fr}
 .template-modern #newsV .cinfo,.template-modern #newsV .cform{padding:18px!important}
 .template-modern #newsV .contact-media{height:180px}
}
@media(max-width:420px){
 .template-modern #history.az-history-path .az-milestone h3{font-size:12px!important}
 .template-modern #history.az-history-path .az-milestone p{font-size:10px!important}
 .template-modern #history.az-history-path .az-milestone-icon{width:56px;height:56px}
 .template-modern #history.az-history-path .az-history-perks b{font-size:10px}
 .template-modern .az-service-grid{grid-template-columns:1fr!important}
}
/* Curved chronological path matching the supplied reference (six milestones) */
@media(min-width:1101px){
 .template-modern #history.az-history-path .az-timeline-track:before{display:none!important}
 .template-modern #history.az-history-path .az-history-curve{position:absolute!important;display:block!important;top:0;right:0;width:100%;height:210px;z-index:-1;overflow:visible;filter:drop-shadow(0 0 8px #ff6596);pointer-events:none}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(1){transform:translateY(62px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(2){transform:translateY(49px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(3){transform:translateY(35px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(4){transform:translateY(22px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(5){transform:translateY(10px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(6){transform:translateY(0)!important}
 .template-modern #history.az-history-path .az-history-perks{margin-top:120px!important}
}
@media(max-width:1100px){.template-modern #history.az-history-path .az-history-curve{display:none!important}}
/* Keep interaction targets above decorative canvas and prevent invisible hit areas */
#net,.template-modern .hero canvas,.template-modern .az-hero-stage,.template-modern .az-hero-shade{pointer-events:none!important}
.template-modern .az-hero-frame.active .az-hero-inner,.template-modern .az-hero-controls{pointer-events:auto!important}
header.main{z-index:1005!important}
@media(max-width:1100px){body.template-modern header.main .burger{pointer-events:auto!important}}

/* ===== 2026.11 R3 fixes: exact history/contact look, no stretched slider, no numbered service photos ===== */
.template-modern .az-hero-stage,.template-modern .az-hero-frame{position:absolute;inset:0}
.template-modern .az-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;display:block;transform:none!important;transition:none!important}
.template-modern .az-hero-frame.active .az-hero-photo{transform:none!important}
.template-modern .az-card-index{display:none!important}
.template-modern .hero,.template-modern .az-hero,.template-modern .az-hero-frame .az-hero-inner{height:clamp(500px,52vw,760px)!important;min-height:0!important}
@media(max-width:760px){.template-modern .hero,.template-modern .az-hero,.template-modern .az-hero-frame .az-hero-inner{height:clamp(470px,86svh,650px)!important}}

/* History section closely matching supplied reference */
.template-modern #history.az-history-path{padding:40px 0 32px!important;background:#530a27!important;overflow:hidden}
.template-modern #history.az-history-path:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(134,10,52,.22),rgba(49,3,24,.12)),url('/assets/azma-history-backdrop.webp') center/cover no-repeat!important;opacity:1;z-index:-2}
.template-modern #history.az-history-path:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(65,4,29,.35),transparent 35%),linear-gradient(0deg,rgba(39,2,18,.30),rgba(39,2,18,.08));z-index:-1}
.template-modern #history.az-history-path .wrap{width:min(1320px,calc(100% - 40px))!important}
.template-modern #history.az-history-path .sh{margin-bottom:28px!important}
.template-modern #history.az-history-path .az-section-label{display:none!important}
.template-modern #history.az-history-path .sh h2{font-size:clamp(24px,2.2vw,36px)!important;line-height:1.2;margin-bottom:8px!important}
.template-modern #history.az-history-path .sh .history-sub{font-size:clamp(11px,1vw,16px)!important;line-height:1.8;color:#fff1f6!important}
.template-modern #history.az-history-path .az-timeline-track{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;position:relative;padding-top:34px!important}
.template-modern #history.az-history-path .az-history-curve{position:absolute!important;display:block!important;top:18px;right:0;width:100%;height:145px;z-index:-1;pointer-events:none;filter:drop-shadow(0 0 10px rgba(255,111,169,.85))}
.template-modern #history.az-history-path .az-timeline-track:before{display:none!important}
.template-modern #history.az-history-path .az-timeline-track .az-milestone{padding:0 6px 0!important;background:transparent!important}
.template-modern #history.az-history-path .az-milestone-icon{width:64px;height:64px;border-width:2px;box-shadow:0 0 0 4px rgba(245,91,145,.18),0 10px 28px rgba(17,0,8,.42)}
.template-modern #history.az-history-path .az-milestone-icon svg{width:31px;height:31px}
.template-modern #history.az-history-path .az-timeline-track .az-milestone::before{width:12px!important;height:12px!important;margin:10px 0 10px!important;box-shadow:0 0 0 5px rgba(255,140,186,.22),0 0 18px rgba(255,140,186,.9)!important}
.template-modern #history.az-history-path .az-milestone .d{font-size:clamp(16px,1.5vw,22px)!important;margin:0 0 5px!important}
.template-modern #history.az-history-path .az-milestone h3{font-size:clamp(12px,1vw,16px)!important;line-height:1.65!important;margin:0 0 3px!important}
.template-modern #history.az-history-path .az-milestone p{font-size:clamp(10px,.82vw,13px)!important;line-height:1.7;max-width:170px}
.template-modern #history.az-history-path .az-history-perks{display:none!important}
@media(min-width:1101px){
 .template-modern #history.az-history-path .az-milestone:nth-of-type(1){transform:translateY(38px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(2){transform:translateY(30px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(3){transform:translateY(23px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(4){transform:translateY(16px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(5){transform:translateY(9px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(6){transform:translateY(0)!important}
}
@media(max-width:1100px){
 .template-modern #history.az-history-path .az-timeline-track{grid-template-columns:repeat(3,minmax(0,1fr))!important;row-gap:34px!important;padding-top:8px!important}
 .template-modern #history.az-history-path .az-history-curve{display:none!important}
}
@media(max-width:760px){
 .template-modern #history.az-history-path{padding:34px 0 26px!important}
 .template-modern #history.az-history-path .wrap{width:calc(100% - 22px)!important}
 .template-modern #history.az-history-path .az-timeline-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px 8px!important}
 .template-modern #history.az-history-path .az-milestone-icon{width:58px;height:58px}
 .template-modern #history.az-history-path .az-milestone p{max-width:145px}
}

/* Modern contact page close to supplied reference */
.template-modern #newsV .contact-modern-section.contact-ref{padding:34px 0 18px!important;background:linear-gradient(180deg,#fff,#faf8f9)!important}
.template-modern #newsV .contact-ref .wrap{max-width:1180px}
.template-modern #newsV .contact-top{text-align:center;margin-bottom:18px}
.template-modern #newsV .contact-top h2{color:#6a1538;font-size:clamp(28px,3vw,44px);margin:0 0 6px}
.template-modern #newsV .contact-top p{color:#6d5962;font-size:clamp(13px,1.1vw,18px);margin:0}
.template-modern #newsV .contact-photo{height:250px;border-radius:22px;background-position:center;background-size:cover;box-shadow:0 16px 42px rgba(63,15,35,.14);margin:0 auto 18px}
.template-modern #newsV .contact-grid-ref{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(320px,1fr);gap:18px;align-items:start}
.template-modern #newsV .contact-left-col{display:grid;gap:16px}
.template-modern #newsV .contact-info-stack,.template-modern #newsV .contact-form-ref{background:#fff;border:1px solid #eee3e8;border-radius:22px;box-shadow:0 14px 35px rgba(67,18,35,.08)}
.template-modern #newsV .contact-info-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 18px;border-bottom:1px solid #f0e8ec}
.template-modern #newsV .contact-info-row:last-child{border-bottom:0}
.template-modern #newsV .contact-info-row .meta{display:flex;flex-direction:column;gap:4px}
.template-modern #newsV .contact-info-row b{font-size:28px;color:#5e1632;line-height:1.15}
.template-modern #newsV .contact-info-row a,.template-modern #newsV .contact-info-row span{font-size:18px;color:#30242a;text-decoration:none}
.template-modern #newsV .contact-info-row .ic{width:54px;height:54px;border-radius:16px;background:linear-gradient(160deg,#c02b61,#8f1a46);color:#fff;display:grid;place-items:center;flex:none}
.template-modern #newsV .contact-info-row .ic svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.template-modern #newsV .contact-map-qr{display:grid;grid-template-columns:1.05fr .95fr;gap:14px}
.template-modern #newsV .contact-map-qr .map-card,.template-modern #newsV .contact-map-qr .qr-card{background:#fff;border:1px solid #eee3e8;border-radius:22px;box-shadow:0 14px 35px rgba(67,18,35,.08);padding:14px;text-decoration:none;color:#372028;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px}
.template-modern #newsV .contact-map-qr .map-card{position:relative;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.98)),url('/assets/azma-network.png') center/cover no-repeat}
.template-modern #newsV .contact-map-qr .map-spot{width:42px;height:42px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#b31d53;position:relative;display:block;margin-bottom:12px}
.template-modern #newsV .contact-map-qr .map-spot:after{content:"";position:absolute;inset:10px;background:#fff;border-radius:50%}
.template-modern #newsV .contact-map-qr b{font-size:24px;color:#5d1733;margin-top:4px}
.template-modern #newsV .contact-map-qr small{font-size:17px;color:#6e5a63}
.template-modern #newsV .contact-map-qr .qr-card img{width:104px;height:104px;object-fit:contain;margin-bottom:10px}
.template-modern #newsV .contact-form-ref{padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.template-modern #newsV .contact-form-ref h2{grid-column:1/-1;color:#5d1733;font-size:32px;margin:0 0 8px;text-align:right}
.template-modern #newsV .contact-form-ref label{display:flex;flex-direction:column;gap:7px}
.template-modern #newsV .contact-form-ref label.full,.template-modern #newsV .contact-form-ref .hp,.template-modern #newsV .contact-form-ref button,.template-modern #newsV .contact-form-ref #cmsg{grid-column:1/-1}
.template-modern #newsV .contact-form-ref span{font-size:16px;color:#5c4551;font-weight:700}
.template-modern #newsV .contact-form-ref input,.template-modern #newsV .contact-form-ref textarea,.template-modern #newsV .contact-form-ref select{background:#fff!important;border:1px solid #e0d3da;border-radius:13px!important;min-height:48px;padding:12px 14px}
.template-modern #newsV .contact-form-ref textarea{min-height:150px;resize:vertical}
.template-modern #newsV .contact-form-ref .btn{width:100%;padding:15px 22px!important;background:linear-gradient(160deg,#b62458,#8f1d48)!important;border-radius:14px!important}
.template-modern #newsV .contact-skyline{height:110px;margin-top:18px;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(177,45,90,.08)),url('/assets/azma-history-city.webp') center bottom / cover no-repeat;opacity:.9}
@media(max-width:860px){
 .template-modern #newsV .contact-grid-ref{grid-template-columns:1fr!important}
 .template-modern #newsV .contact-map-qr{grid-template-columns:1fr 1fr}
 .template-modern #newsV .contact-photo{height:220px}
}
@media(max-width:640px){
 .template-modern #newsV .contact-photo{height:170px;border-radius:18px}
 .template-modern #newsV .contact-map-qr{grid-template-columns:1fr}
 .template-modern #newsV .contact-form-ref{grid-template-columns:1fr}
 .template-modern #newsV .contact-info-row b{font-size:22px}
 .template-modern #newsV .contact-info-row a,.template-modern #newsV .contact-info-row span{font-size:15px}
 .template-modern #newsV .contact-top h2{font-size:32px}
 .template-modern #newsV .contact-form-ref h2{font-size:26px}
}

/* ===== 2026.11 R4 updates ===== */
.template-modern #history.az-history-path:before{background:linear-gradient(180deg,rgba(134,10,52,.22),rgba(49,3,24,.12)),var(--history-bg,url('/assets/azma-history-bg-modern.png')) center/cover no-repeat!important}
@media(min-width:1101px){
 .template-modern #history.az-history-path .az-history-curve{top:12px!important;height:178px!important;filter:drop-shadow(0 0 10px rgba(255,111,169,.92))!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(1){transform:translateY(64px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(2){transform:translateY(50px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(3){transform:translateY(37px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(4){transform:translateY(24px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(5){transform:translateY(12px)!important}
 .template-modern #history.az-history-path .az-milestone:nth-of-type(6){transform:translateY(-2px)!important}
}
.template-modern #newsV .contact-info-row.vertical{flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 18px;gap:10px}
.template-modern #newsV .contact-info-row.vertical .meta{align-items:center}
.template-modern #newsV .contact-map-qr .qr-card img{width:min(100%,210px);height:auto;max-height:none}
.template-modern #newsV .contact-office-bottom{height:180px;margin-top:18px;border-radius:24px;background-position:center;background-size:cover;box-shadow:0 14px 35px rgba(67,18,35,.08)}
@media(max-width:640px){.template-modern #newsV .contact-office-bottom{height:118px;border-radius:18px}}

/* R5: timeline SVG path and each dot share exact measured DOM coordinates */
.template-modern #history.az-history-path .az-timeline-track .az-milestone::before{display:none!important}
.template-modern #history.az-history-path .az-timeline-track .az-milestone{position:relative!important;z-index:2!important}
.template-modern #history.az-history-path .az-path-dot{order:2;display:block;width:16px;height:16px;flex:none;margin:10px auto 12px;border-radius:50%;border:3px solid #fff;background:#ff7fad;box-shadow:0 0 0 5px #fc86b730,0 0 22px #ff91bf}
.template-modern #history.az-history-path .az-history-curve{position:absolute!important;inset:0!important;top:0!important;left:0!important;right:0!important;display:block;width:100%!important;height:100%!important;z-index:1!important;pointer-events:none;overflow:visible}
@media(min-width:1101px){
.template-modern #history.az-history-path .az-milestone:nth-of-type(1){transform:translateY(0px)!important}
.template-modern #history.az-history-path .az-milestone:nth-of-type(2){transform:translateY(12px)!important}
.template-modern #history.az-history-path .az-milestone:nth-of-type(3){transform:translateY(24px)!important}
.template-modern #history.az-history-path .az-milestone:nth-of-type(4){transform:translateY(36px)!important}
.template-modern #history.az-history-path .az-milestone:nth-of-type(5){transform:translateY(48px)!important}
.template-modern #history.az-history-path .az-milestone:nth-of-type(6){transform:translateY(60px)!important}
}
@media(max-width:1100px){.template-modern #history.az-history-path .az-history-curve{display:none!important}}
/* More balanced contact photography: cover photo without stretching */
.template-modern #newsV .contact-photo{height:clamp(240px,27vw,350px)!important;background-size:cover!important;background-position:center 48%!important}
.template-modern #newsV .contact-office-bottom{height:clamp(145px,22vw,250px)!important;background-size:cover!important;background-position:center 55%!important}
@media(max-width:640px){.template-modern #newsV .contact-photo{height:205px!important}.template-modern #newsV .contact-office-bottom{height:130px!important}}
