@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansWeb.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --brand-red: #BE0102;
  --brand-red-bright: #db0b0d;
  --brand-dark: #2D3E50;
  --ink: #131b24;
  --navy: #071827;
  --navy-2: #0b2233;
  --white: #FFFFFF;
  --muted: #687684;
  --surface: #f7f9fb;
  --surface-2: #eef2f5;
  --line: #e2e8ed;
  --shadow: 0 18px 55px rgba(16, 30, 43, .09);
  --container: 1360px;
  --radius: 13px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: "IRANSans", Tahoma, Arial, sans-serif;
  direction: rtl;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
:focus-visible { outline: 3px solid rgba(190,1,2,.35); outline-offset: 4px; }
::selection { background: var(--brand-red); color: var(--white); }

.skip-link {
  position: fixed; top: 10px; right: 10px; z-index: 9999;
  background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 64px), var(--container)); margin-inline: auto; }
.section { padding: 78px 0 82px; }
.dark-section { color: var(--white); background: var(--navy); }

.button {
  min-height: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 0 24px; border-radius: 9px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand-red); color: #fff; box-shadow: 0 11px 28px rgba(190,1,2,.24); }
.button-primary:hover { background: #a90001; box-shadow: 0 13px 32px rgba(190,1,2,.3); }
.button-ghost-light { border-color: rgba(255,255,255,.58); color: #fff; background: rgba(255,255,255,.025); }
.button-ghost-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.button-outline { color: var(--brand-red); border-color: rgba(190,1,2,.58); background: #fff; }
.button-outline:hover { border-color: var(--brand-red); background: #fff7f7; }
.button-red-border { border-color: rgba(218, 20, 23, .75); }

.site-header {
  height: 78px; background: rgba(255,255,255,.98); border-bottom: 1px solid #edf0f2;
  position: relative; z-index: 50;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 auto; width: 176px; margin-left: 36px; }
.brand img { width: 176px; aspect-ratio: 3 / 1; object-fit: contain; }
.desktop-nav { display: flex; align-items: stretch; align-self: stretch; gap: 28px; }
.nav-link {
  position: relative; display: flex; align-items: center; padding: 4px 2px 0; color: #26333e;
  font-size: 15px; transition: color .2s ease;
}
.nav-link::after {
  content: ""; position: absolute; right: 50%; bottom: 9px; width: 0; height: 2px;
  background: var(--brand-red); transform: translateX(50%); transition: width .25s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--brand-red); }
.nav-link:hover::after, .nav-link.active::after { width: 31px; }
.header-cta { margin-right: auto; min-height: 48px; padding-inline: 24px; }
.menu-toggle, .mobile-menu { display: none; }

.hero {
  min-height: 610px;
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 24% 52%, #183249 0, #0d2233 35%, #071827 72%);
  border-bottom: 1px solid #233848;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,24,39,.05) 0 48%, rgba(7,24,39,.83) 67%, rgba(7,24,39,.97) 100%);
  pointer-events: none;
}
.hero-visual { position: absolute; left: 0; top: 0; width: 64%; height: 100%; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; filter: saturate(.9) contrast(1.02) brightness(.93); }
.hero-layout { min-height: 610px; display: flex; align-items: center; position: relative; z-index: 2; }
.hero-content { width: 48%; margin-right: auto; padding: 34px 0 20px; }
.hero-content h1 { margin: 0 0 25px; font-size: clamp(42px, 4vw, 62px); line-height: 1.42; letter-spacing: -.8px; font-weight: 900; }
.hero-content h1 span { color: #f12a2d; }
.hero-content > p { max-width: 630px; margin: 0; color: #d4dde4; font-size: 17px; line-height: 2.05; }
.hero-actions { display: flex; gap: 17px; margin-top: 30px; }
.hero-actions .button { min-width: 177px; }
.hero-note { margin-top: 42px; color: #c3ced7; font-size: 13px; display: flex; align-items: center; gap: 11px; }
.hero-note span { display: inline-block; width: 22px; height: 3px; background: var(--brand-red-bright); border-radius: 10px; }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 45px; }
.section-heading .heading-mark { display: block; width: 34px; height: 3px; margin: 0 auto 17px; background: linear-gradient(90deg, #cbd2d7 0 46%, var(--brand-red) 46% 100%); }
.section-heading h2 { margin: 0; font-size: 34px; line-height: 1.45; font-weight: 900; letter-spacing: -.35px; }
.section-heading h2 strong { color: var(--brand-red); }
.section-heading p { margin: 7px 0 0; color: #77838e; font-size: 15px; line-height: 1.9; }

.services { background: linear-gradient(#fff, #fcfdfe); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  min-width: 0; padding: 17px 17px 22px; border: 1px solid var(--line); border-radius: 11px; background: #fff;
  box-shadow: 0 8px 28px rgba(24,43,57,.035); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d8e0e6; }
.service-image { height: 208px; margin: -2px -2px 16px; border-radius: 9px; overflow: hidden; background: #f8fafb; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { margin: 0 2px 10px; font-size: 20px; line-height: 1.65; font-weight: 900; }
.service-card p { min-height: 62px; margin: 0 2px 20px; color: #66727c; font-size: 14px; line-height: 1.95; }
.service-card a, .project-card a { color: #d21619; font-size: 14px; font-weight: 800; display: inline-flex; gap: 9px; align-items: center; }

.process { background: #f8fafc; border-top: 1px solid #f0f2f4; padding-top: 55px; padding-bottom: 58px; }
.process .section-heading { margin-bottom: 35px; }
.process-track { display: grid; grid-template-columns: repeat(13, auto); align-items: start; justify-content: space-between; direction: rtl; gap: 5px; }
.process-step { width: 150px; text-align: center; }
.step-no {
  width: 52px; height: 52px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; font-size: 18px; font-weight: 800; background: #24394b; border: 6px solid #d9e0e5; box-shadow: 0 0 0 1px #b7c1c9;
}
.process-step.current .step-no { background: var(--brand-red); border-color: #ffc9c9; box-shadow: 0 0 0 1px #e97475; }
.process-step h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.5; font-weight: 900; }
.process-step p { margin: 0; color: #77838e; font-size: 12px; line-height: 1.8; }
.step-arrow { color: var(--brand-red-bright); font-size: 34px; line-height: 56px; font-family: Arial, sans-serif; }

.solution-section { position: relative; overflow: hidden; }
.solution-grid { min-height: 560px; display: grid; grid-template-columns: 45% 55%; direction: ltr; }
.solution-copy { direction: rtl; padding: 65px max(48px, calc((100vw - var(--container))/2)) 58px 42px; align-self: center; }
.solution-copy h2 { margin: 0 0 11px; font-size: 34px; line-height: 1.45; font-weight: 900; }
.solution-lead { margin: 0 0 25px; color: #c9d2da; font-size: 16px; line-height: 2; }
.solution-media { direction: rtl; min-width: 0; overflow: hidden; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; }
.ai-media img { object-position: 49% center; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 13px; }
.feature-list li { display: flex; align-items: center; gap: 12px; color: #f0f4f7; font-size: 15px; }
.feature-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.08); }
.feature-icon svg { width: 21px; height: 21px; fill: none; stroke: #e9f0f4; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ai-section .solution-copy { background: linear-gradient(90deg, rgba(7,24,39,.98), #0b2233); }

.automation-section { min-height: 360px; display: grid; grid-template-columns: 67% 33%; direction: ltr; background: #fff; overflow: hidden; }
.automation-media { position: relative; overflow: hidden; }
.automation-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 65%, #fff 100%); }
.automation-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.automation-copy { direction: rtl; align-self: center; padding: 40px max(38px, calc((100vw - var(--container))/2)) 40px 45px; }
.automation-copy h2 { margin: 0 0 2px; font-size: 34px; font-weight: 900; }
.automation-copy h3 { margin: 0 0 20px; font-size: 18px; }
.automation-copy p { margin: 0 0 25px; color: #606d78; font-size: 15px; line-height: 2; }

.security-section .solution-grid { min-height: 510px; }
.security-copy { background: linear-gradient(90deg, rgba(7,24,39,.98), #0b2233); }
.security-features { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 14px; margin: 23px 0 27px; }
.security-features article { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.035); }
.security-features article > span { width: 37px; height: 37px; flex: 0 0 37px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.security-features svg { width: 20px; height: 20px; fill: none; stroke: #f3f6f8; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.security-features h3 { margin: 0 0 3px; font-size: 13px; }
.security-features p { margin: 0; color: #aab7c1; font-size: 11px; }
.security-media img { object-position: center; }

.projects { padding-top: 62px; padding-bottom: 67px; }
.projects .section-heading { margin-bottom: 31px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: #fff; box-shadow: 0 8px 26px rgba(20,38,53,.04); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-image { height: 236px; overflow: hidden; background: #f4f7f9; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; transition: transform .45s var(--ease); }
.project-card:hover .project-image img { transform: scale(1.025); }
.project-body { position: relative; padding: 18px 21px 20px; }
.project-tag { position: absolute; top: -18px; right: 21px; background: var(--brand-red); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 20px; box-shadow: 0 5px 15px rgba(190,1,2,.2); }
.project-body h3 { margin: 1px 0 7px; font-size: 17px; font-weight: 900; }
.project-body p { margin: 0 0 13px; color: #71808b; font-size: 13px; line-height: 1.8; }

.stats { min-height: 292px; position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, #091b2b, #193447); }
.stats::before, .stats::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -15px; height: 190px; background-repeat: repeat-x; background-size: 620px 190px; opacity: .48; }
.stats::before { background-image: linear-gradient(145deg, transparent 0 37%, rgba(103,123,138,.23) 38% 45%, transparent 46%), linear-gradient(35deg, transparent 0 49%, rgba(129,144,156,.22) 50% 57%, transparent 58%); }
.stats::after { bottom: -72px; opacity: .32; transform: scaleX(1.25); background-image: linear-gradient(160deg, transparent 0 36%, rgba(16,39,57,.9) 37% 50%, transparent 51%), linear-gradient(20deg, transparent 0 47%, rgba(9,28,42,.85) 48% 61%, transparent 62%); }
.stats-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 68% 20%, rgba(133,156,173,.18), transparent 40%); }
.stats-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); align-items: center; min-height: 292px; }
.stats-intro { display: flex; gap: 23px; align-items: center; padding-inline: 20px 42px; }
.stats-intro span { width: 3px; height: 86px; background: var(--brand-red-bright); border-radius: 8px; }
.stats-intro h2 { margin: 0; font-size: 25px; line-height: 1.8; }
.stat { text-align: center; padding: 16px 30px; border-right: 1px solid rgba(255,255,255,.2); }
.stat strong { display: block; font-family: Arial, sans-serif; font-size: 45px; line-height: 1.1; }
.stat h3 { margin: 7px 0 4px; font-size: 20px; }
.stat p { margin: 0; color: #aebbc4; font-size: 13px; }

.final-cta { min-height: 288px; position: relative; overflow: hidden; background: #fff; }
.final-cta-media { position: absolute; inset: 0 0 0 auto; width: 66%; overflow: hidden; }
.final-cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.88) 8%, rgba(255,255,255,.12) 28%, rgba(255,255,255,0) 58%, rgba(255,255,255,.18) 72%, rgba(255,255,255,.92) 92%, #fff 100%); }
.final-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; filter: saturate(.8) contrast(1.03); }
.final-cta-layout { min-height: 288px; display: grid; grid-template-columns: 63% 1fr; position: relative; z-index: 2; direction: ltr; }
.final-cta-copy { direction: rtl; align-self: center; padding-left: 100px; text-align: center; }
.final-cta-copy h2 { margin: 0 0 8px; font-size: 32px; font-weight: 900; }
.final-cta-copy p { margin: 0 auto 22px; color: #65737f; font-size: 14px; line-height: 1.9; }
.cta-benefits { margin-top: 15px; display: flex; justify-content: center; align-items: center; gap: 17px; color: #6b7780; font-size: 12px; }
.cta-benefits i { display: block; width: 1px; height: 18px; background: #cfd5d9; }
.brand-words { direction: rtl; align-self: center; justify-self: end; display: grid; gap: 5px; text-align: right; color: #76828b; font-size: 15px; padding-right: 18px; }
.brand-words strong { color: #34434f; font-size: 18px; margin-top: 5px; }

.site-footer { background: linear-gradient(90deg, #0b1e2d, #102b3d 50%, #0b1e2d); color: #d8e0e6; }
.footer-grid { min-height: 330px; display: grid; grid-template-columns: 1.65fr .85fr 1fr 1.2fr; gap: 46px; align-items: start; padding-top: 54px; padding-bottom: 45px; }
.footer-brand { padding-left: 24px; }
.footer-brand img { width: 205px; height: 68px; object-fit: contain; object-position: right; margin-bottom: 17px; filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
.footer-brand p { margin: 0; color: #b5c0c9; font-size: 14px; line-height: 2.1; max-width: 355px; }
.social-links { display: flex; gap: 9px; margin-top: 21px; direction: ltr; justify-content: flex-end; }
.social-links a, .round-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.085); border: 1px solid rgba(255,255,255,.06); }
.social-links svg, .round-icon svg { width: 18px; height: 18px; fill: none; stroke: #eaf0f4; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-col { padding-right: 28px; border-right: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 8px; }
.footer-col h2 { margin: 0 0 7px; color: #fff; font-size: 16px; }
.footer-col a, .footer-col > p { margin: 0; color: #b9c4cc; font-size: 13px; line-height: 1.85; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.contact-col { gap: 13px; }
.contact-col a, .contact-col > p { display: flex; align-items: center; gap: 10px; direction: ltr; justify-content: flex-end; }
.contact-col h2 { direction: rtl; }
.contact-col .round-icon { width: 34px; height: 34px; flex: 0 0 34px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); background: rgba(2,14,24,.3); }
.footer-bottom .container { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #81909b; font-size: 11px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1240px) {
  :root { --container: 1120px; }
  .container { width: min(calc(100% - 46px), var(--container)); }
  .brand { width: 160px; margin-left: 12px; }
  .brand img { width: 160px; }
  .desktop-nav { gap: 20px; }
  .nav-link { font-size: 14px; }
  .hero { min-height: 560px; }
  .hero-layout { min-height: 560px; }
  .hero-content { width: 52%; }
  .hero-content h1 { font-size: 48px; }
  .process-step { width: 124px; }
  .process-step h3 { font-size: 14px; }
  .solution-grid { grid-template-columns: 47% 53%; }
  .solution-copy { padding-right: 42px; }
  .automation-section { grid-template-columns: 64% 36%; }
  .automation-copy { padding-right: 35px; }
  .project-image { height: 210px; }
}

@media (max-width: 1024px) {
  .site-header { height: 72px; }
  .desktop-nav, .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .brand { width: 155px; margin: 0; }
  .brand img { width: 155px; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 2px; background: #1f2c37; border-radius: 10px; transition: transform .25s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { display: block; position: absolute; top: 72px; right: 0; left: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 35px rgba(9,25,38,.13); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu nav { width: min(calc(100% - 46px), 960px); margin: auto; padding: 12px 0 20px; display: grid; }
  .mobile-menu a:not(.button) { padding: 14px 4px; border-bottom: 1px solid #eff2f4; }
  .mobile-menu .button { margin-top: 15px; }
  body.menu-open { overflow: hidden; }

  .hero { min-height: 720px; }
  .hero::after { background: linear-gradient(180deg, rgba(7,24,39,.22) 0 28%, rgba(7,24,39,.83) 62%, rgba(7,24,39,.98) 100%); }
  .hero-visual { width: 100%; height: 62%; }
  .hero-layout { min-height: 720px; align-items: flex-end; }
  .hero-content { width: 100%; max-width: 720px; margin: 0 0 0 auto; padding: 300px 0 55px; }
  .hero-content h1 { font-size: clamp(38px, 6.3vw, 56px); }
  .hero-content > p { max-width: 720px; }

  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card p { min-height: 0; }
  .process-track { grid-template-columns: repeat(4, 1fr); gap: 24px 14px; }
  .step-arrow { display: none; }
  .process-step { width: auto; }

  .solution-grid { grid-template-columns: 1fr; }
  .solution-copy { order: 2; padding: 50px max(34px, calc((100vw - 920px)/2)) 55px; }
  .solution-media { order: 1; height: 460px; }
  .automation-section { grid-template-columns: 1fr; }
  .automation-media { height: 390px; }
  .automation-media::after { background: linear-gradient(180deg, rgba(255,255,255,0) 70%, #fff 100%); }
  .automation-copy { padding: 36px max(34px, calc((100vw - 920px)/2)) 52px; }
  .security-section .solution-grid { min-height: 0; }
  .project-grid { gap: 16px; }
  .project-image { height: 180px; }
  .stats-layout { grid-template-columns: repeat(4, 1fr); padding: 36px 0; }
  .stats-intro { grid-column: 1 / -1; justify-content: center; margin-bottom: 20px; }
  .stat:nth-last-child(1) { border-right: 0; }
  .final-cta-media { width: 68%; opacity: .78; }
  .final-cta-layout { grid-template-columns: 1fr; }
  .brand-words { display: none; }
  .final-cta-copy { padding: 52px 0; max-width: 670px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
  .contact-col { grid-column: 2 / -1; }
}

@media (max-width: 768px) {
  .container { width: min(calc(100% - 34px), 680px); }
  .section { padding: 60px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading p { font-size: 13px; }
  .hero { min-height: 690px; }
  .hero-visual { height: 56%; }
  .hero-content { padding-bottom: 42px; }
  .hero-content h1 { font-size: clamp(34px, 8vw, 48px); margin-bottom: 16px; }
  .hero-content > p { font-size: 14px; line-height: 2; }
  .hero-actions { margin-top: 23px; }
  .hero-note { margin-top: 24px; }
  .service-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .service-image { height: 240px; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-step { padding: 0 8px; }
  .solution-copy h2, .automation-copy h2 { font-size: 29px; }
  .solution-media { height: 360px; }
  .security-features { grid-template-columns: 1fr; }
  .automation-media { height: 315px; }
  .project-grid { grid-template-columns: 1fr; max-width: 590px; margin-inline: auto; }
  .project-image { height: 275px; }
  .stats-layout { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat { border-bottom: 1px solid rgba(255,255,255,.16); }
  .stat:nth-child(even) { border-right: 0; }
  .stat strong { font-size: 38px; }
  .stat h3 { font-size: 17px; }
  .final-cta-media { width: 100%; opacity: .28; }
  .final-cta-media::after { background: linear-gradient(90deg, #fff 0 18%, rgba(255,255,255,.7) 60%, #fff 100%); }
  .final-cta-copy { padding: 56px 10px; }
  .final-cta-copy h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; padding-left: 0; }
  .footer-brand p { max-width: 520px; }
  .contact-col { grid-column: auto; }
  .footer-col { padding-right: 18px; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 28px), 440px); }
  .brand, .brand img { width: 144px; }
  .hero { min-height: 650px; }
  .hero-visual { height: 49%; }
  .hero::after { background: linear-gradient(180deg, rgba(7,24,39,.18), rgba(7,24,39,.98) 49%); }
  .hero-content { padding: 285px 0 36px; }
  .hero-content h1 { font-size: 34px; line-height: 1.45; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-note { font-size: 11px; }
  .section-heading h2 { font-size: 26px; }
  .service-image { height: 210px; }
  .process-track { grid-template-columns: 1fr; gap: 28px; }
  .process-step { max-width: 270px; margin-inline: auto; }
  .solution-media { height: 285px; }
  .solution-copy, .automation-copy { padding-left: 20px; padding-right: 20px; }
  .feature-list li { font-size: 14px; }
  .solution-copy .button { width: 100%; padding-inline: 15px; }
  .automation-media { height: 250px; }
  .automation-copy .button { width: 100%; }
  .security-features article { padding: 11px; }
  .project-image { height: 220px; }
  .stats-layout { grid-template-columns: 1fr; padding-top: 30px; }
  .stats-intro { margin-bottom: 5px; }
  .stat { border-right: 0; padding: 22px 30px; }
  .stat:last-child { border-bottom: 0; }
  .final-cta-copy h2 { font-size: 25px; }
  .final-cta-copy .button { width: 100%; max-width: 260px; }
  .cta-benefits { gap: 9px; font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; }
  .footer-brand { grid-column: auto; }
  .footer-col { border-right: 0; border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 0; }
  .contact-col a, .contact-col > p { justify-content: flex-end; }
  .footer-bottom .container { min-height: 88px; flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
/* Fine alignment against the supplied desktop reference. */
@media (min-width: 1025px) {
  .hero-content { margin-right: 0; margin-left: auto; }
  .hero-visual img { transform: scale(1.14); transform-origin: 42% 52%; }
  .footer-grid { direction: ltr; }
  .footer-grid > * { direction: rtl; }
}
/* Content remains fully readable even when JavaScript or scroll observers are unavailable. */
.reveal,
.reveal.is-visible { opacity: 1; transform: none; }
