/* =====================================================
   AYANEX SYSTEMS - STYLE.CSS
   Desktop layout is measured from the reference screenshot,
   scaled to a 1440px wide page. Change colors in :root.
   ===================================================== */
:root{
  --navy:#061733; --navy2:#0a2350; --blue:#1d6bff; --teal:#12b98a;
  --text:#122036; --gray:#5b6678; --line:#dfe6f0; --bg:#f4f7fb;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:13.5px;color:var(--text);background:#fff;line-height:1.4;overflow-x:hidden}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
img{display:block;max-width:100%}
.wrap{max-width:1440px;margin:0 auto;padding:0 46px 0 36px}   /* page content: 36px left, 46px right */
.wrap.inset{padding-left:76px}                                 /* top bar, header, hero start 76px in */

/* ---------- BUTTONS ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 20px;border-radius:3px;font-weight:600;font-size:13.5px;border:1px solid transparent;white-space:nowrap}
.btn-blue{background:var(--blue);color:#fff}
.btn-green{background:var(--teal);color:#fff}
.btn-ghost{border-color:#d5def0;color:#fff;background:transparent}

/* ---------- TOP BAR (36px) ---------- */
.topbar{background:var(--navy);color:#e4ebf8;font-size:12.5px;height:36px}
.topbar-in{display:flex;justify-content:space-between;align-items:center;height:36px}
.topbar-r{display:flex;gap:26px;align-items:center}
.ci{display:inline-flex;align-items:center;gap:7px}
.i{width:13px;height:13px;fill:currentColor;flex:none}
.soc{display:inline-grid;place-items:center;width:18px;height:18px;font-size:12px;font-weight:800;color:#fff}

/* ---------- HEADER (76px) ---------- */
.header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.header-in{display:flex;align-items:center;justify-content:space-between;height:76px}
.logo img{height:68px;width:auto}
.nav{display:flex;align-items:center;gap:21px;font-size:13.5px;font-weight:500}
.nav>a.active{color:var(--blue);border-bottom:2px solid var(--blue);padding-bottom:2px}
.nav .search{margin:0 4px 0 66px}
.nav .btn{width:140px;height:42px;margin-left:6px}
.menu-btn{display:none;font-size:28px;background:none;border:0;cursor:pointer}
.dd{position:relative}
.dd ul{display:none;position:absolute;top:100%;left:-12px;min-width:230px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:6px 0;box-shadow:0 10px 26px #0a1f4422}
.dd:hover ul{display:block}
.dd li a{display:block;padding:8px 18px;font-weight:400}
.dd li a:hover{background:var(--bg);color:var(--blue)}

/* ---------- HERO (343px) ---------- */
.hero{position:relative;height:343px;background:var(--navy);color:#fff;overflow:hidden}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#061733f0 0%,#061733d0 24%,#06173355 40%,#06173300 56%)}
.hero-in{position:relative;z-index:2;height:100%;padding-top:20px}
.hero-text{max-width:640px}
.small-cap{font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:#d6e0f4;margin-bottom:10px}
.hero h1{font-size:41px;line-height:44px;font-weight:800;letter-spacing:-.4px}
.hero h1 span{color:#1e90ff}
.lead{margin-top:12px;font-size:15px;line-height:21px;color:#eaf0fc;max-width:545px}
.btn-row{display:flex;gap:16px;margin-top:14px}
.btn-row .btn{height:42px}
.btn-row .btn-blue{width:256px;justify-content:space-between}
.btn-row .btn-ghost{width:156px;border-radius:3px}
.glass{position:absolute;z-index:3;display:flex;gap:12px;align-items:flex-start;width:234px;height:88px;padding:12px 14px;font-size:12.5px;line-height:1.35;background:#0c2452aa;border:1px solid #ffffff66;border-radius:5px;backdrop-filter:blur(5px)}
.glass b{display:block;font-size:14.5px;margin-bottom:1px}
.flag{width:38px;height:26px;flex:none;margin-top:2px}
.g1{left:553px;top:65px}
.g2{left:796px;top:174px}

/* ---------- TECHNOLOGY STRIP (82px) ---------- */
.strip{position:relative;z-index:4;display:flex;align-items:center;gap:28px;height:82px;background:#fff;border:1px solid var(--line);border-radius:3px;box-shadow:0 3px 12px #0a1f4418;margin-top:-3px;padding:0 24px!important;width:calc(100% - 82px);max-width:1358px;margin-left:36px}
.strip h3{font-size:18px;line-height:1.15;font-weight:700;flex:none;padding-right:24px;border-right:1px solid var(--line);height:44px;display:flex;align-items:center}
.strip ul{display:flex;align-items:center;justify-content:space-between;flex:1;gap:10px;font-size:12px;font-weight:500}
.strip li{display:flex;align-items:center;gap:6px;white-space:nowrap}
.strip li img{width:34px;height:34px}
.strip small{position:absolute;right:26px;bottom:3px;font-size:9.5px;color:var(--gray)}

/* ---------- TWO DIVISION CARDS (315px) ---------- */
.divisions{display:grid;grid-template-columns:654fr 686fr;gap:18px;padding-top:7px;padding-bottom:0}
.card{position:relative;height:315px;border-radius:3px;overflow:hidden}
.card.dark{background:var(--navy);color:#fff}
.card.light{background:#f3f6fb;border:1px solid var(--line)}
.card-img{position:absolute;right:0;top:0;width:56%;height:100%;object-fit:cover}
.card.dark::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--navy) 36%,#06173300 72%)}
.card.light::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f3f6fb 34%,#f3f6fb00 70%)}
.card-body{position:relative;z-index:2;height:100%;padding:14px 26px 12px;display:flex;flex-direction:column}
.card-head{display:flex;gap:14px;align-items:flex-start}
.ico{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:var(--blue);flex:none;margin-top:2px}
.ico.green{background:var(--teal)}
.ico img{width:30px;height:30px}
.card h3{font-size:25px;line-height:30px;font-weight:700}
.card-head p{font-size:13px;line-height:19px;opacity:.92}
.ticks{margin-top:6px;font-size:13px;line-height:20.8px}
.ticks li::before{content:"\2714";display:inline-grid;place-items:center;width:16px;height:16px;margin-right:9px;border-radius:50%;background:var(--blue);color:#fff;font-size:9px;vertical-align:1px}
.ticks.green li::before{background:var(--teal)}
.card .btn{margin-top:auto;width:250px;height:38px;justify-content:space-between}

/* ---------- SECTION TITLES ---------- */
.block{padding-top:12px}
.block h2{font-size:22.5px;line-height:26px;font-weight:700}
.sub{font-size:12.5px;color:var(--gray);margin:0 0 5px}

/* ---------- INDUSTRIES (7 cards, image 76px) ---------- */
.grid7{display:grid;grid-template-columns:repeat(7,1fr);gap:20px}
.ind{background:#fff;border:1px solid var(--line);border-radius:3px;box-shadow:0 2px 8px #0a1f4414;padding-bottom:4px}
.ind img{width:100%;height:76px;object-fit:cover;border-radius:2px 2px 0 0;margin-bottom:5px}
.ind b,.ind span{padding:0 8px}
.ind b{display:block;font-size:12.5px;line-height:15px}
.ind span{font-size:11.5px;color:var(--gray);line-height:15px;display:block}

/* ---------- WHY CHOOSE (4 cards, 61px) ---------- */
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.why{display:flex;align-items:center;gap:14px;height:61px;background:#fff;border:1px solid var(--line);border-radius:3px;box-shadow:0 2px 8px #0a1f4414;padding:0 18px;font-size:12px;color:var(--gray);line-height:1.3}
.why img{width:36px;height:36px;flex:none}
.why b{display:block;color:var(--blue);font-size:14px;margin-bottom:1px}

/* ---------- PROCESS + CTA (CTA box 118px) ---------- */
.process-cta{display:grid;grid-template-columns:1.5fr 1fr;gap:26px;align-items:start;padding-top:19px}
.steps{display:flex;align-items:center;gap:4px;font-size:11.5px;color:var(--gray);line-height:1.3;margin-top:10px}
.steps li{display:flex;align-items:center;gap:9px}
.steps i{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--blue);color:#fff;font-style:normal;font-size:20px;font-weight:700;flex:none}
.steps b{display:block;font-size:13px;color:var(--text)}
.chev{font-size:30px;color:#8fa0bd;padding:0 2px}
.cta{position:relative;height:118px;margin-top:-4px;border-radius:3px;overflow:hidden;background:var(--navy);color:#fff}
.cta img{position:absolute;right:0;top:0;width:60%;height:100%;object-fit:cover;opacity:.6}
.cta::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,var(--navy) 50%,#06173300)}
.cta-in{position:relative;z-index:2;padding:10px 20px}
.cta h3{font-size:16.5px;line-height:20px}
.cta p{font-size:11.5px;margin:4px 0 8px;color:#dbe5f7}
.cta .btn{height:29px;padding:0 14px;font-size:12px;margin-right:8px}

/* ---------- INSIGHTS + TESTIMONIAL ---------- */
.two-col{display:grid;grid-template-columns:800px 1fr;gap:76px;padding-top:6px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.blog img{width:100%;height:46px;object-fit:cover;border-radius:2px}
.blog b{display:block;font-size:12.5px;line-height:15px;margin:3px 0 1px}
.blog span{font-size:11.5px;color:var(--blue)}
.testi{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:3px;padding:8px 14px;min-height:84px;margin-top:4px}
.testi .arr{width:26px;height:26px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;flex:none}
.testi .av{width:34px;height:34px;border-radius:50%;background:#e8effc;display:inline-grid;place-items:center;font-size:16px;vertical-align:middle;margin-right:8px}
.testi .q{font-size:32px;line-height:1;color:var(--blue);font-weight:800;align-self:flex-start}
.testi p{font-size:12px;color:var(--gray);line-height:1.4}
.testi small{display:block;margin-top:6px;font-size:11px;color:var(--blue)}

/* ---------- FOOTER (light, like the screenshot) ---------- */
.footer{background:#fff;border-top:1px solid var(--line);margin-top:2px;padding-top:12px;font-size:11.5px;color:var(--gray)}
.foot-grid{display:grid;grid-template-columns:1.6fr 1.1fr 1.7fr 1.1fr 1.6fr 1.5fr;gap:20px}
.flogo{height:46px;width:auto;margin-bottom:4px}
.foot-grid a{display:block;margin-bottom:2px}
.foot-grid h4{color:var(--text);font-size:12.5px;margin-bottom:4px}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.foot-grid .ci{display:flex;color:var(--gray)}.foot-grid .ci .i{fill:var(--blue);color:var(--blue)}
.socials{display:flex;gap:8px;margin-top:6px}
.soc.dk{width:22px;height:22px;border-radius:4px;background:#0a66c2;font-size:11px}
.soc.dk.red{background:#e62117}.soc.dk.pink{background:#d6249f}
.news{display:flex;margin-top:6px}
.news input{flex:1;min-width:0;padding:7px 8px;border:1px solid var(--line);font:inherit}
.news button{width:34px;border:0;background:var(--blue);color:#fff;cursor:pointer}
.legal{text-align:center;border-top:1px solid var(--line);margin-top:10px;padding:10px 0;font-size:11.5px}

.wa{position:fixed;right:18px;bottom:18px;z-index:60;background:#25d366;color:#fff;font-weight:700;font-size:13px;padding:11px 16px;border-radius:30px;box-shadow:0 4px 14px #0004}

/* ---------- INNER PAGES (other pages of the site) ---------- */
.page-hero{background:linear-gradient(120deg,var(--navy),var(--navy2));color:#fff;padding:48px 0}
.page-hero h1{font-size:36px}.page-hero p{color:#cdd8ee;margin-top:10px}
.wrap>.sec-title{font-size:22px;margin:28px 0 8px}
section.wrap:not(.strip):not(.block):not(.divisions){padding-top:18px;padding-bottom:6px}
.list2{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;margin:12px 0}
.list2 li::before{content:"\2714  ";color:var(--teal)}
.cta-box{background:linear-gradient(120deg,var(--navy),var(--navy2));color:#fff;border-radius:4px;padding:22px;margin-top:14px}
.cta-box p{margin:6px 0 14px;color:#cdd8ee}.cta-box .btn{margin-right:8px}
.form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.form input,.form select,.form textarea{padding:11px;border:1px solid var(--line);border-radius:4px;font:inherit;width:100%}
.form textarea,.form button{grid-column:1/-1}.form button{cursor:pointer;border:0}

/* ---------- LAPTOP (<=1300px): scale down slightly ---------- */
@media(max-width:1300px){
  .wrap.inset{padding-left:36px}
  .hero h1{font-size:34px;line-height:38px}.nav{gap:14px;font-size:12.5px}.logo img{height:52px}
  .strip ul{font-size:10.5px}.strip{gap:14px;width:calc(100% - 72px)}
  .g1{left:40%}.g2{left:57%}
  .two-col{grid-template-columns:1.6fr 1fr;gap:40px}
}
/* ---------- TABLET (<=1150px) ---------- */
@media(max-width:1150px){
  .menu-btn{display:block}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;gap:12px;padding:16px 24px;border-bottom:1px solid var(--line);max-height:75vh;overflow:auto}
  .nav.open{display:flex}
  .dd ul{display:block;position:static;border:0;box-shadow:none;padding:0 0 0 14px}
  .hero{height:auto;padding:30px 0}
  .hero-in{display:flex;flex-direction:column;gap:16px;padding-top:0}
  .hero-img{width:100%;opacity:.35}
  .glass{position:relative;left:auto;top:auto}
  .btn-row{flex-wrap:wrap}
  .strip{height:auto;flex-wrap:wrap;padding:14px 20px!important;margin-left:16px;width:calc(100% - 32px)}
  .strip ul{flex-wrap:wrap}.strip small{position:static;width:100%}
  .divisions,.process-cta,.two-col{grid-template-columns:1fr}
  .card{height:auto;min-height:315px}
  .grid7{grid-template-columns:repeat(3,1fr)}
  .grid4,.foot-grid{grid-template-columns:1fr 1fr}
  .steps{flex-wrap:wrap}.cta{height:auto;min-height:118px}
  .blog img{height:110px}
}
/* ---------- MOBILE (<=600px) ---------- */
@media(max-width:600px){
  .wrap,.wrap.inset{padding:0 16px}
  .topbar{height:auto}.topbar-in{height:auto;padding:6px 16px}.topbar-r{display:none}
  .hero h1{font-size:28px;line-height:32px}
  .btn-row .btn-blue,.btn-row .btn-ghost{width:100%}
  .grid3,.grid4,.foot-grid,.list2,.form{grid-template-columns:1fr}
  .card-img{width:100%;opacity:.3}.chev{display:none}
}
