@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root{
  --p-navy:#061a34;
  --p-navy-2:#0b2d5c;
  --p-blue:#0c4b92;
  --p-gold:#c5a35e;
  --p-gold-2:#9d7434;
  --p-ivory:#f7f3eb;
  --p-paper:#f8fafc;
  --p-ink:#101828;
  --p-muted:#637083;
  --p-line:#e3e8ef;
  --p-shadow:0 28px 80px rgba(6,26,52,.13);
  --p-shadow-sm:0 14px 38px rgba(6,26,52,.08);
}

html{scroll-padding-top:92px}
body{font-family:'Vazirmatn','IRANSansX','Segoe UI',Tahoma,Arial,sans-serif;background:#fff;color:var(--p-ink)}
::selection{background:rgba(197,163,94,.28);color:var(--p-navy)}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:9999;opacity:.015;background-image:radial-gradient(#000 0.55px,transparent .55px);background-size:5px 5px}
.container{width:min(1220px,calc(100% - 48px))}
.section{padding:112px 0}.section-sm{padding:72px 0}
.h2{font-size:clamp(2.2rem,4.6vw,4rem);letter-spacing:-.045em;color:#0a1b34;line-height:1.18}
.lead{font-size:1.03rem;line-height:2.05;color:#586779;max-width:820px}
.eyebrow{letter-spacing:.02em;color:var(--p-blue);font-size:.78rem;text-transform:none}
.eyebrow:before{width:42px;height:2px;background:linear-gradient(90deg,var(--p-gold),transparent)}

/* global header */
.topbar{background:#06162d;color:#d8e2ef;border-bottom:1px solid rgba(255,255,255,.07)}
.topbar .container{padding:8px 0;font-size:.76rem;letter-spacing:.02em}
.site-header{top:0;background:rgba(255,255,255,.82);backdrop-filter:blur(22px) saturate(130%);-webkit-backdrop-filter:blur(22px) saturate(130%);border-bottom:1px solid rgba(12,37,73,.075);transition:.3s}
.site-header.scrolled{box-shadow:0 14px 34px rgba(6,26,52,.08);background:rgba(255,255,255,.94)}
.nav{height:86px}
.brand{gap:14px}
.brand img{width:52px;height:52px;border-radius:16px;box-shadow:0 8px 22px rgba(0,37,97,.12)}
.brand strong{font-size:1.02rem;letter-spacing:-.02em}.brand small{font-size:.64rem;letter-spacing:.16em;color:#7b8798}
.navlinks{gap:1px}
.navlinks a{font-size:.83rem;padding:10px 12px;border-radius:999px;color:#34465e;transition:.23s}
.navlinks a:hover,.navlinks a.active{background:#eef3f8;color:#08244a;font-weight:800}
.nav-cta{padding:11px 18px!important;background:linear-gradient(135deg,#071f40,#0b3d77)!important;box-shadow:0 10px 26px rgba(7,31,64,.18)}
.nav-cta:hover{background:linear-gradient(135deg,#a77d3c,#c9a968)!important;color:#fff!important}
.menu-btn{background:#f2f5f9;border:1px solid #e3e8ef}

/* premium buttons */
.btn{border-radius:999px;padding:14px 22px;font-size:.84rem;letter-spacing:-.01em;transition:.28s}
.btn-primary{background:linear-gradient(135deg,#071f40,#0c478b);box-shadow:0 16px 32px rgba(7,31,64,.19)}
.btn-primary:hover{background:linear-gradient(135deg,#0a2c58,#0d57aa);transform:translateY(-2px)}
.btn-ghost{border-color:#d9e1eb;background:rgba(255,255,255,.92)}
.btn-ghost:hover{border-color:#b8c6d8;box-shadow:var(--p-shadow-sm);transform:translateY(-2px)}

/* HOME: cinematic hero */
.premium-hero{position:relative;min-height:850px;overflow:hidden;background:linear-gradient(120deg,#f7f3eb 0%,#f7f9fc 35%,#edf3f9 100%)}
.premium-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(6,26,52,.033) 1px,transparent 1px),linear-gradient(90deg,rgba(6,26,52,.033) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(180deg,#000,transparent 93%)}
.premium-hero:after{content:"ALIREZA BINA";position:absolute;left:-2vw;bottom:-1.8vw;font-size:clamp(5rem,13vw,12rem);font-weight:900;letter-spacing:-.08em;color:rgba(6,26,52,.035);white-space:nowrap;pointer-events:none}
.premium-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center;min-height:850px}
.executive-copy{padding:76px 0 86px}
.executive-index{display:flex;align-items:center;gap:14px;color:#8a6a33;font-size:.74rem;font-weight:800;letter-spacing:.08em;margin-bottom:22px}
.executive-index:before{content:"";width:54px;height:1px;background:#b68b49}
.executive-copy h1{margin:0;color:#071b37;font-size:clamp(4.5rem,8.5vw,8.2rem);line-height:.9;letter-spacing:-.075em;font-weight:900}
.executive-copy h1 span{display:block;color:#0a4180;position:relative;width:max-content}
.executive-copy h1 span:after{content:"";position:absolute;right:0;left:0;bottom:-8px;height:14px;border-radius:999px;background:linear-gradient(90deg,rgba(197,163,94,.55),rgba(197,163,94,.04));z-index:-1}
.executive-title{font-size:clamp(1.3rem,2.4vw,2.05rem);line-height:1.65;color:#173255;font-weight:500;margin:30px 0 16px;max-width:740px}
.executive-title strong{font-weight:900;color:#082957}
.executive-summary{max-width:760px;color:#576678;font-size:.98rem;line-height:2.12;margin:0 0 26px}
.executive-roles{display:grid;grid-template-columns:1fr 1fr;gap:11px 18px;margin:26px 0 0;padding:0;list-style:none}
.executive-roles li{position:relative;padding:0 17px 0 0;font-size:.82rem;color:#48576b;line-height:1.85}
.executive-roles li:before{content:"";position:absolute;right:0;top:.78em;width:7px;height:7px;background:#c5a35e;transform:rotate(45deg)}
.executive-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.executive-proof{display:flex;gap:26px;flex-wrap:wrap;margin-top:38px;padding-top:26px;border-top:1px solid rgba(8,41,87,.1)}
.executive-proof div{display:grid;gap:4px;min-width:150px}
.executive-proof strong{font-size:.84rem;color:#082957}.executive-proof span{font-size:.73rem;color:#7a8797}
.executive-portrait{position:relative;height:720px;align-self:end}
.executive-frame{position:absolute;inset:40px 6px 0 36px;border-radius:180px 180px 32px 32px;background:linear-gradient(180deg,#0a2a55,#06182f);box-shadow:0 36px 86px rgba(6,26,52,.24);overflow:hidden}
.executive-frame:before{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.18);border-radius:inherit;z-index:2;pointer-events:none}
.executive-frame img{width:100%;height:100%;object-fit:cover;object-position:center 21%;filter:saturate(.92) contrast(1.03)}
.executive-frame:after{content:"";position:absolute;inset:auto 0 0;height:38%;background:linear-gradient(transparent,rgba(4,18,38,.86))}
.executive-caption{position:absolute;right:34px;left:34px;bottom:34px;z-index:3;color:#fff;border-top:1px solid rgba(255,255,255,.3);padding-top:17px}
.executive-caption b{display:block;font-size:1.15rem}.executive-caption span{font-size:.74rem;color:#d6e0ec}
.beam-mark{position:absolute;z-index:4;background:#c5a35e;box-shadow:0 16px 32px rgba(99,68,25,.18)}
.beam-mark.a{width:72px;height:190px;right:-11px;top:108px;border-radius:8px}
.beam-mark.b{width:188px;height:20px;right:-11px;top:108px;border-radius:8px}
.executive-label{position:absolute;z-index:5;left:-24px;top:120px;width:230px;padding:19px 20px;border-radius:20px;background:rgba(255,255,255,.93);backdrop-filter:blur(12px);box-shadow:0 20px 48px rgba(6,26,52,.15);border:1px solid rgba(7,31,64,.08)}
.executive-label small{display:block;color:#9b793d;font-weight:900;font-size:.68rem;letter-spacing:.08em;margin-bottom:5px}.executive-label strong{display:block;color:#092b58;font-size:.96rem}.executive-label span{display:block;color:#687689;font-size:.73rem;line-height:1.85;margin-top:5px}
.vertical-word{position:absolute;left:-8px;bottom:95px;z-index:5;writing-mode:vertical-rl;transform:rotate(180deg);letter-spacing:.22em;color:rgba(255,255,255,.65);font-size:.6rem;font-weight:800}

/* editorial ticker */
.premium-ticker{overflow:hidden;border-top:1px solid #e6ebf1;border-bottom:1px solid #e6ebf1;background:#fff}
.premium-ticker-track{display:flex;width:max-content;animation:ticker 28s linear infinite}
.premium-ticker span{display:inline-flex;align-items:center;gap:25px;padding:17px 22px;color:#526177;font-size:.77rem;white-space:nowrap;font-weight:700}
.premium-ticker span:after{content:"◆";color:#c5a35e;font-size:.6rem}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(50%)}}
@media(prefers-reduced-motion:reduce){.premium-ticker-track{animation:none}}

/* statement */
.premium-statement{position:relative;background:#fff}
.statement-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:70px;align-items:start}
.statement-label{position:sticky;top:130px;padding-top:8px}
.statement-label .serial{font-size:5rem;line-height:1;color:#eef2f6;font-weight:900;letter-spacing:-.08em}
.statement-label p{font-size:.77rem;color:#758295;max-width:260px;margin-top:16px;line-height:1.9}
.statement-copy blockquote{font-size:clamp(1.8rem,3.8vw,3.55rem);line-height:1.55;color:#0b2346;margin:0;font-weight:800;letter-spacing:-.035em}
.statement-copy blockquote em{font-style:normal;color:#b88d49}
.statement-copy p{color:#607083;line-height:2.1;margin:28px 0 0;max-width:780px}

/* capability pillars */
.pillar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:42px}
.pillar-card{position:relative;min-height:320px;padding:28px 24px;border-radius:28px;border:1px solid #e4e9ef;background:linear-gradient(180deg,#fff,#f9fbfd);overflow:hidden;transition:.35s;box-shadow:0 12px 30px rgba(6,26,52,.035)}
.pillar-card:before{content:"";position:absolute;top:0;right:0;width:100%;height:6px;background:linear-gradient(90deg,#c5a35e,#0b3d77);transform-origin:right;transform:scaleX(.18);transition:.35s}
.pillar-card:hover{transform:translateY(-8px);box-shadow:0 26px 55px rgba(6,26,52,.09)}
.pillar-card:hover:before{transform:scaleX(1)}
.pillar-no{display:block;font-size:.69rem;color:#a37b3b;font-weight:900;letter-spacing:.12em}
.pillar-card h3{margin:80px 0 10px;color:#0a2b58;font-size:1.18rem}
.pillar-card p{font-size:.84rem;color:#657487;line-height:2;margin:0}
.pillar-symbol{position:absolute;left:18px;top:34px;font-size:5.2rem;line-height:1;color:#edf2f7;font-weight:900;letter-spacing:-.08em}

/* collaboration dossier */
.collab-dossier{background:linear-gradient(140deg,#06182f,#0a2b58);color:#fff;position:relative;overflow:hidden}
.collab-dossier:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 25%,rgba(197,163,94,.18),transparent 22%),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:auto,36px 36px,36px 36px}
.collab-dossier .container{position:relative;z-index:2}
.collab-dossier .eyebrow{color:#e0c68c}.collab-dossier .eyebrow:before{background:#e0c68c}.collab-dossier .h2{color:#fff;max-width:900px}.collab-dossier .lead{color:#becde0}
.dossier-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;margin-top:48px}
.dossier-main{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.dossier-card{position:relative;display:flex;flex-direction:column;min-height:245px;padding:24px;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:rgba(255,255,255,.055);backdrop-filter:blur(8px);transition:.3s}
.dossier-card:hover{transform:translateY(-5px);background:rgba(255,255,255,.095);border-color:rgba(224,198,140,.45)}
.dossier-card b{font-size:.73rem;color:#d7ba79;letter-spacing:.12em}.dossier-card h3{font-size:1.15rem;margin:36px 0 9px;color:#fff}.dossier-card p{font-size:.81rem;color:#bdcadb;line-height:1.95;margin:0;flex:1}.dossier-card span{font-size:.78rem;color:#fff;margin-top:16px;font-weight:800}
.dossier-side{border-radius:28px;background:#f5efe3;color:#092b58;padding:34px;display:flex;flex-direction:column;justify-content:space-between;min-height:504px}
.dossier-side .mini-label{color:#9a7335;font-weight:900;font-size:.7rem;letter-spacing:.12em}.dossier-side h3{font-size:clamp(1.65rem,2.8vw,2.55rem);line-height:1.45;margin:18px 0}.dossier-side p{color:#5e6d7e;font-size:.86rem;line-height:2}.dossier-side .btn{align-self:flex-start;background:#082957;color:#fff}

/* feature story */
.feature-story{background:#f6f8fb}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.story-media{position:relative;min-height:620px}
.story-media .primary{position:absolute;right:0;top:0;width:74%;height:83%;border-radius:32px;overflow:hidden;box-shadow:var(--p-shadow)}
.story-media .primary img,.story-media .secondary img{width:100%;height:100%;object-fit:cover}
.story-media .secondary{position:absolute;left:0;bottom:0;width:48%;height:44%;border:12px solid #f6f8fb;border-radius:26px;overflow:hidden;box-shadow:0 22px 44px rgba(6,26,52,.15)}
.story-media .stamp{position:absolute;right:-16px;bottom:36px;width:114px;height:114px;border-radius:50%;background:#c5a35e;color:#fff;display:grid;place-items:center;text-align:center;font-size:.69rem;font-weight:900;line-height:1.7;box-shadow:0 18px 38px rgba(138,92,30,.24);transform:rotate(-8deg)}
.story-copy h2{margin-top:12px}.story-copy p{color:#5f6f82;line-height:2.08}.story-list{display:grid;gap:13px;margin-top:26px}.story-list div{display:grid;grid-template-columns:42px 1fr;gap:13px;align-items:start;border-top:1px solid #dde4ec;padding-top:14px}.story-list strong{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#eaf0f6;color:#0b3d77;font-size:.76rem}.story-list b{display:block;color:#0a2b58;font-size:.91rem;margin-bottom:3px}.story-list span{font-size:.78rem;color:#718094}

/* media / press preview */
.media-preview{background:#fff}.media-preview-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:34px}.media-preview-head .h2{margin-bottom:0}.media-preview-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:16px}
.media-tile{position:relative;border-radius:28px;overflow:hidden;min-height:330px;background:#071b37;box-shadow:0 18px 42px rgba(6,26,52,.09)}
.media-tile:first-child{min-height:480px}.media-tile img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:.5s}.media-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,20,42,.02) 25%,rgba(5,20,42,.92) 100%)}.media-tile:hover img{transform:scale(1.04)}
.media-tile-copy{position:absolute;right:24px;left:24px;bottom:24px;z-index:3;color:#fff}.media-tile-copy small{color:#e1c98e;font-size:.7rem;font-weight:800}.media-tile-copy h3{font-size:1.05rem;line-height:1.8;margin:8px 0 0}.media-tile:first-child .media-tile-copy h3{font-size:1.45rem}

/* CTA */
.premium-cta{position:relative;overflow:hidden;background:linear-gradient(135deg,#06182f,#0d376d);border-radius:34px;padding:62px 58px;color:#fff;display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;box-shadow:0 30px 68px rgba(6,26,52,.2)}
.premium-cta:before{content:"";position:absolute;width:330px;height:330px;border:1px solid rgba(255,255,255,.1);border-radius:50%;left:-130px;top:-130px}.premium-cta:after{content:"";position:absolute;width:210px;height:210px;border:1px solid rgba(197,163,94,.28);border-radius:50%;left:-72px;top:-72px}
.premium-cta h2{position:relative;z-index:2;margin:0;font-size:clamp(1.8rem,3.2vw,2.9rem);line-height:1.45}.premium-cta p{position:relative;z-index:2;margin:9px 0 0;color:#c8d5e5;max-width:770px}.premium-cta .btn{position:relative;z-index:2;background:#f5efe3;color:#082957;white-space:nowrap}

/* premium inner pages */
.page-hero{padding:106px 0 76px;background:radial-gradient(circle at left top,rgba(197,163,94,.13),transparent 18%),linear-gradient(180deg,#f6f9fc,#fff);position:relative;overflow:hidden}
.page-hero:after{content:"";position:absolute;left:-80px;bottom:-120px;width:330px;height:330px;border:1px solid rgba(8,41,87,.07);border-radius:50%}
.page-hero h1{font-size:clamp(2.8rem,5.7vw,5.4rem);letter-spacing:-.055em;color:#082957;max-width:920px}.page-hero p{font-size:.98rem;line-height:2;max-width:860px}
.breadcrumb{font-size:.7rem;letter-spacing:.02em}
.role-card,.focus,.press-box,.contact-card,.contact-form,.media-row{border-radius:24px;box-shadow:0 10px 28px rgba(6,26,52,.035)}
.role-card:hover,.focus:hover,.media-row:hover{box-shadow:0 20px 40px rgba(6,26,52,.075)}
.contact-grid{gap:22px}.contact-card,.contact-form{padding:34px}.contact-form{border-top:5px solid #0b3d77}.contact-item{background:#f7f9fc;border:1px solid #edf1f5}.field input,.field textarea,.field select{border-radius:14px;padding:14px 15px;background:#fbfcfe}.field input:focus,.field textarea:focus,.field select:focus{box-shadow:0 0 0 4px rgba(11,61,119,.08)}
.collab-grid{gap:14px}.collab-card{border-radius:24px;min-height:245px;box-shadow:0 9px 24px rgba(6,26,52,.035)}.collab-card:hover,.collab-card.active{box-shadow:0 24px 48px rgba(6,26,52,.1)}
.timeline:before{background:linear-gradient(#c5a35e,#dfe5ec)}.timeline-item:before{background:#c5a35e}
.gallery-item{border-radius:24px}.gallery-item:after{border-radius:999px;padding:7px 12px;background:rgba(6,26,52,.82)}
.press-box{padding:30px}.copybox{border-radius:18px;padding:22px}
.media-row{padding:22px;transition:.25s}.media-row:hover{transform:translateY(-2px)}

/* footer */
.footer{background:radial-gradient(circle at 15% 20%,rgba(197,163,94,.08),transparent 24%),#06152b;margin-top:110px}.footer-grid{padding:74px 0 48px}.footer h4{letter-spacing:.02em}.footer a{transition:.2s}.footer a:hover{color:#fff;transform:translateX(-3px)}

/* reveal animation */
.reveal-premium{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}
.reveal-premium.in-view{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal-premium{opacity:1;transform:none;transition:none}}

/* progress bar */
#page-progress{position:fixed;top:0;right:0;height:3px;width:0;background:linear-gradient(90deg,#c5a35e,#0b4e95);z-index:99999;pointer-events:none}

/* responsive */
@media(max-width:1080px){
  .premium-hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:32px}.executive-copy{padding:54px 0 18px}.executive-portrait{height:650px;max-width:620px;width:100%;margin:0 auto}.pillar-grid{grid-template-columns:1fr 1fr}.statement-grid{grid-template-columns:1fr}.statement-label{position:static;display:none}.dossier-grid{grid-template-columns:1fr}.dossier-side{min-height:auto}.story-grid{grid-template-columns:1fr;gap:36px}.media-preview-grid{grid-template-columns:1fr 1fr}.media-tile:first-child{grid-column:1/-1}.premium-cta{grid-template-columns:1fr}.navlinks{top:101px}.footer{margin-top:80px}
}
@media(max-width:760px){
  .container{width:min(100% - 30px,1220px)}.section{padding:82px 0}.section-sm{padding:56px 0}.executive-copy h1{font-size:4rem}.executive-title{font-size:1.2rem}.executive-roles{grid-template-columns:1fr}.executive-proof{gap:16px}.executive-portrait{height:540px}.executive-frame{inset:34px 0 0}.executive-label{left:8px;top:36px;width:210px}.beam-mark.a{right:-3px;height:150px}.beam-mark.b{right:-3px;width:150px}.vertical-word{display:none}.pillar-grid{grid-template-columns:1fr}.pillar-card{min-height:auto}.pillar-card h3{margin-top:42px}.dossier-main{grid-template-columns:1fr}.story-media{min-height:500px}.story-media .primary{width:84%;height:78%}.story-media .secondary{width:58%;height:42%}.media-preview-grid{grid-template-columns:1fr}.media-tile:first-child{grid-column:auto;min-height:380px}.media-tile{min-height:320px}.media-preview-head{align-items:flex-start;flex-direction:column}.premium-cta{padding:40px 28px}.page-hero{padding:78px 0 58px}
}
@media(max-width:520px){
  .nav{height:72px}.brand img{width:46px;height:46px}.premium-hero-grid{gap:10px}.executive-copy{padding-top:38px}.executive-copy h1{font-size:3.35rem}.executive-index{font-size:.66rem}.executive-title{font-size:1.08rem}.executive-summary{font-size:.9rem}.executive-proof{display:grid;grid-template-columns:1fr 1fr}.executive-proof div{min-width:0}.executive-portrait{height:470px}.executive-frame{border-radius:110px 110px 26px 26px}.executive-label{display:none}.beam-mark.a{height:118px;width:52px;top:82px}.beam-mark.b{width:125px;height:16px;top:82px}.premium-ticker span{padding:14px 16px}.statement-copy blockquote{font-size:1.65rem}.dossier-side{padding:26px}.story-media{min-height:420px}.story-media .secondary{border-width:8px}.story-media .stamp{width:92px;height:92px;font-size:.61rem}.premium-cta{border-radius:26px}.page-hero h1{font-size:2.8rem}
}


.home-roles{padding-top:12px}.home-roles .role-grid{margin-top:30px}.home-roles-cta{display:flex;justify-content:center;margin-top:26px}.home-roles .btn{min-width:260px;text-align:center}.executive-frame img{object-position:center 18%}


/* ===== V5.2 mobile/responsive corrections ===== */
html,body{max-width:100%;overflow-x:hidden}
.brand{gap:0}.brand>span{display:block}.brand strong{font-size:1.08rem}.brand small{margin-top:1px}

/* ASAECO block: keep every element inside the viewport on narrow screens */
.asaeco-panel{min-width:0;overflow:hidden}
.asaeco-panel>*{min-width:0}
.asaeco-logo-wrap{min-width:0;overflow:hidden}
.asaeco-logo-wrap img{display:block;width:min(100%,340px);max-width:100%;height:auto;margin-inline:auto}
.asaeco-copy{min-width:0;max-width:100%}
.asaeco-copy h3,.asaeco-copy p{max-width:100%;overflow-wrap:anywhere;word-break:normal}
.asaeco-copy .chips{max-width:100%}

@media(max-width:760px){
  .asaeco-panel,.asaeco-panel-v4{grid-template-columns:minmax(0,1fr);gap:26px;padding:24px 18px;border-radius:24px}
  .asaeco-logo-wrap{min-height:0;padding:24px 18px;border-radius:18px}
  .asaeco-logo-wrap img{width:min(100%,245px)}
  .asaeco-copy h3{font-size:clamp(1.55rem,7.4vw,2rem);line-height:1.45;letter-spacing:-.03em;margin:0 0 14px}
  .asaeco-copy p{font-size:.9rem;line-height:2;margin:0 0 14px}
  .asaeco-copy .chips{gap:7px;margin:18px 0}
  .asaeco-copy .chips span{font-size:.76rem;padding:5px 10px;white-space:normal}
  .asaeco-copy .btn{width:100%;text-align:center}
}
@media(max-width:520px){
  .asaeco-panel,.asaeco-panel-v4{padding:18px 14px;gap:22px;border-radius:20px}
  .asaeco-logo-wrap{padding:20px 14px}
  .asaeco-logo-wrap img{width:min(100%,210px)}
  .asaeco-copy h3{font-size:1.55rem;line-height:1.5}
}

/* ===== ASAECO content spacing ===== */
.asaeco-copy p{margin:0 0 18px;line-height:2.05;color:#536175}
.asaeco-copy h3{line-height:1.5;margin-bottom:18px}
.asaeco-services{display:flex;flex-wrap:wrap;gap:10px 10px;margin:24px 0 26px;padding:0}
.asaeco-services span{display:inline-flex;align-items:center;min-height:38px;padding:7px 13px;border:1px solid #d9e3ee;border-radius:999px;background:#fff;color:#12355f;font-size:.8rem;font-weight:800;line-height:1.45;white-space:normal}
@media(max-width:640px){
  .asaeco-copy p{font-size:.91rem;line-height:2.1;margin-bottom:17px}
  .asaeco-services{gap:8px;margin:20px 0 24px}
  .asaeco-services span{font-size:.76rem;padding:6px 10px;min-height:34px}
}

/* ===== Personal blog ===== */
.blog-hero{background:radial-gradient(circle at 12% 8%,rgba(198,164,91,.16),transparent 24%),linear-gradient(180deg,#f4f8fc,#fff)}
.blog-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}
.blog-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.blog-search,.blog-filter{display:grid;gap:6px;color:#667085;font-size:.72rem;font-weight:800}
.blog-search input,.blog-filter select{width:220px;border:1px solid #dbe3ec;border-radius:14px;padding:11px 13px;background:#fff;color:#20334f;outline:none;font:inherit}
.blog-search input:focus,.blog-filter select:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(0,37,97,.07)}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.blog-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;overflow:hidden;cursor:pointer;box-shadow:0 12px 32px rgba(6,26,52,.04);transition:.25s;outline:none}
.blog-card:hover,.blog-card:focus-visible{transform:translateY(-5px);box-shadow:0 20px 46px rgba(6,26,52,.1);border-color:#cbd7e5}
.blog-card-media{height:220px;background:#eef3f8;overflow:hidden}
.blog-card-media img{width:100%;height:100%;object-fit:cover;transition:.45s}
.blog-card:hover .blog-card-media img{transform:scale(1.035)}
.blog-card-placeholder{height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#eaf1f8,#f8fafc);color:var(--navy)}
.blog-card-placeholder span{font-size:3rem;font-weight:900;opacity:.18}
.blog-card-body{padding:22px}
.blog-card-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#8a97a8;font-size:.72rem;margin-bottom:10px}
.blog-card-meta span{color:#9b762d;font-weight:900}
.blog-card h3{font-size:1.18rem;line-height:1.75;color:#10294d;margin:0 0 8px}
.blog-card p{color:#667085;font-size:.84rem;line-height:1.9;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.blog-card-more{color:var(--navy);font-size:.8rem;font-weight:900}
.blog-empty{border:1px dashed #cfd9e5;background:#f8fafc;border-radius:24px;padding:48px;text-align:center;color:#667085}
.blog-empty strong{display:block;color:var(--navy);font-size:1.1rem;margin-bottom:8px}
body.modal-open{overflow:hidden}
.post-modal{position:fixed;inset:0;z-index:9999;display:none}
.post-modal.open{display:block}
.post-modal-backdrop{position:absolute;inset:0;background:rgba(4,17,36,.78);backdrop-filter:blur(8px)}
.post-modal-panel{position:absolute;inset:28px max(28px,calc((100vw - 1000px)/2));background:#fff;border-radius:30px;overflow:hidden;box-shadow:0 40px 100px rgba(0,0,0,.32)}
.post-modal-scroll{height:100%;overflow:auto;padding:56px 72px 70px}
.post-modal-close{position:absolute;left:20px;top:18px;z-index:3;width:46px;height:46px;border:0;border-radius:50%;background:#eef3f8;color:#0b2d59;font-size:1.8rem;cursor:pointer;line-height:1}
.post-modal-header{max-width:780px;margin:0 auto 30px;text-align:right}
.post-modal-meta{display:flex;gap:16px;align-items:center;color:#8c98a9;font-size:.76rem;margin-bottom:16px}
.post-modal-meta span{color:#9b762d;font-weight:900}
.post-modal-header h2{font-size:clamp(2rem,4.2vw,3.4rem);line-height:1.35;color:#08254f;margin:0 0 14px}
.post-modal-header p{font-size:1.02rem;line-height:2;color:#667085;margin:0}
.post-modal-cover{max-width:900px;margin:0 auto 38px;border-radius:24px;overflow:hidden;background:#eef3f8}
.post-modal-cover img{width:100%;max-height:560px;object-fit:cover}
.post-content{max-width:780px;margin:0 auto;color:#344054;font-size:1rem;line-height:2.15}
.post-content h2,.post-content h3{color:#0b2d59;line-height:1.55;margin:2em 0 .7em}
.post-content h2{font-size:1.7rem}.post-content h3{font-size:1.3rem}
.post-content p{margin:0 0 1.2em}.post-content ul,.post-content ol{padding-right:24px;margin:0 0 1.4em}
.post-content blockquote{margin:1.8em 0;padding:18px 22px;border-right:4px solid var(--gold);background:#f7f9fc;border-radius:14px;color:#45566c}
.post-content img{display:block;max-width:100%;height:auto;margin:30px auto;border-radius:20px;box-shadow:0 12px 30px rgba(6,26,52,.08)}
.post-content figure{margin:32px 0}.post-content figcaption{text-align:center;color:#98a2b3;font-size:.78rem;margin-top:9px}
.post-content a{color:#0b4d91;text-decoration:underline;text-underline-offset:3px}
@media(max-width:980px){.blog-grid{grid-template-columns:1fr 1fr}.blog-head{align-items:flex-start;flex-direction:column}.post-modal-panel{inset:18px}.post-modal-scroll{padding:58px 38px 60px}}
@media(max-width:640px){.blog-grid{grid-template-columns:1fr}.blog-tools{width:100%;display:grid;grid-template-columns:1fr}.blog-search input,.blog-filter select{width:100%}.blog-card-media{height:210px}.post-modal-panel{inset:8px;border-radius:22px}.post-modal-scroll{padding:64px 20px 42px}.post-modal-close{left:12px;top:12px;width:42px;height:42px}.post-modal-header h2{font-size:2rem}.post-modal-header p{font-size:.92rem}.post-content{font-size:.94rem;line-height:2.05}.blog-empty{padding:36px 20px}}
