:root {
  --brand: #086b82;
  --brand-deep: #04495b;
  --brand-dark: #052f3b;
  --brand-soft: #e5f3f5;
  --accent: #38b6c7;
  --ink: #17252b;
  --muted: #65757b;
  --line: #d9e2e4;
  --paper: #ffffff;
  --surface: #f5f8f9;
  --grey: #72777a;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow-sm: 0 12px 34px rgba(7, 62, 76, .09);
  --shadow-lg: 0 30px 80px rgba(3, 43, 54, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: "Tajawal", "Cairo", "Noto Kufi Arabic", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: fixed; top: -80px; right: 1rem; z-index: 9999; background: #fff; color: var(--brand-deep); padding: .75rem 1rem; border-radius: 10px; transition: .2s; }
.skip-link:focus { top: 1rem; }

.top-strip { background: var(--brand-dark); color: #d9edf1; font-size: .84rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.icon-sm { width: 17px; height: 17px; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(5, 74, 91, .08); transition: box-shadow .25s, background .25s; }
.site-header.scrolled { box-shadow: 0 12px 35px rgba(7, 50, 61, .11); background: rgba(255,255,255,.98); }
.navbar { min-height: 88px; padding: .45rem 0; }
.navbar-brand { display: flex; align-items: center; }
.navbar-brand img { width: 115px; height: 76px; object-fit: contain; object-position: center; }
.navbar-nav { gap: .3rem; }
.nav-link { color: #34474d; font-weight: 700; font-size: .94rem; padding: .65rem .82rem !important; border-radius: 999px; transition: .2s; }
.nav-link:hover, .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.navbar-toggler { width: 48px; height: 45px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: none !important; }
.navbar-toggler span { display: block; height: 2px; background: var(--brand-deep); margin: 5px 0; border-radius: 2px; transition: .25s; }
.navbar-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn { border-radius: 13px; font-weight: 800; padding: .8rem 1.35rem; border-width: 1px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.55rem; font-size: 1rem; }
.btn-brand { background: linear-gradient(135deg, var(--brand), #0b8198); color: #fff; border-color: transparent; box-shadow: 0 12px 28px rgba(8, 107, 130, .24); }
.btn-brand:hover, .btn-brand:focus { color: #fff; background: linear-gradient(135deg, #075d72, #096e82); box-shadow: 0 16px 34px rgba(8, 107, 130, .33); }
.nav-cta { padding-inline: 1.15rem; }

.section-dark { color: #fff; background: var(--brand-dark); }
.section-space { padding: 110px 0; }
.section-space-sm { padding: 78px 0; }
.min-vh-75 { min-height: 74vh; }
.eyebrow { color: var(--brand); font-size: .78rem; letter-spacing: .08em; font-weight: 900; text-transform: uppercase; display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.eyebrow span { display: inline-block; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: #8ce0eb; }
.section-title { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.25; font-weight: 500; margin: 0 0 1.2rem; letter-spacing: -.04em; }
.section-title strong { color: var(--brand); font-weight: 900; }
.section-title.light strong { color: #7fdae5; }
.section-heading { max-width: 720px; }
.section-heading > p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.section-side-copy { color: var(--muted); max-width: 510px; margin: 0; }
.light-copy { color: #b8cbd0; }
.lead-text { font-size: 1.08rem; color: #405258; }
.muted-copy { color: var(--muted); }

.hero-section { position: relative; min-height: 760px; display: flex; align-items: center; background: radial-gradient(circle at 82% 25%, #0c6377 0, #073f4e 29%, #052f3b 70%); }
.hero-section .container { z-index: 2; padding-top: 52px; padding-bottom: 82px; }
.hero-grid { position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to left, #000, transparent 85%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.hero-orb-one { width: 360px; height: 360px; left: -180px; bottom: -140px; background: rgba(31, 171, 192, .13); }
.hero-orb-two { width: 180px; height: 180px; right: 12%; top: 7%; background: rgba(255,255,255,.05); }
.hero-section h1 { font-size: clamp(2.7rem, 6vw, 5.25rem); line-height: 1.07; font-weight: 400; letter-spacing: -.055em; margin: 0 0 1.5rem; }
.hero-section h1 strong { color: #7ee0eb; font-weight: 900; }
.hero-copy { color: #c2d5d9; max-width: 620px; font-size: 1.12rem; margin-bottom: 2rem; }
.hero-actions .btn-outline-light { border-color: rgba(255,255,255,.35); }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 600px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.3rem; }
.hero-trust > div { display: flex; flex-direction: column; gap: .2rem; padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.12); }
.hero-trust > div:last-child { border-left: 0; }
.trust-number { color: #fff; font-size: 1.25rem; font-weight: 900; }
.hero-trust div span:last-child { color: #9fb7bd; font-size: .78rem; }
.hero-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; height: 54px; background: #fff; clip-path: polygon(0 58%, 72% 0, 100% 38%, 100% 100%, 0 100%); }

.industrial-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.industrial-visual > svg { width: 100%; max-width: 650px; animation: visualFloat 5.8s ease-in-out infinite; }
.visual-badge { position: absolute; z-index: 3; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.16); background: rgba(3, 44, 55, .72); backdrop-filter: blur(16px); border-radius: 17px; box-shadow: 0 18px 35px rgba(0,0,0,.2); display: flex; flex-direction: column; min-width: 170px; }
.visual-badge b { font-size: 1rem; color: #fff; }
.visual-badge span { color: #a8c1c7; font-size: .75rem; }
.badge-one { right: 2%; top: 18%; }
.badge-two { left: 1%; bottom: 15%; }
@keyframes visualFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.quick-features { position: relative; z-index: 5; margin-top: -34px; }
.feature-rail { background: #fff; border: 1px solid #e4eaeb; border-radius: 22px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.rail-item { display: flex; align-items: center; gap: .85rem; padding: 1.35rem; border-left: 1px solid #e9eeef; }
.rail-item:last-child { border-left: 0; }
.rail-icon { width: 45px; height: 45px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.rail-icon svg { width: 24px; height: 24px; }
.rail-item div { display: flex; flex-direction: column; line-height: 1.5; }
.rail-item b { font-size: .9rem; }
.rail-item span:last-child { color: var(--muted); font-size: .72rem; }

.about-section { overflow: hidden; }
.about-media { position: relative; padding: 34px 34px 0 0; }
.about-panel { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-panel svg { width: 100%; display: block; }
.about-mini-card { position: absolute; bottom: -24px; left: -12px; background: var(--brand-dark); color: #fff; padding: 1rem 1.25rem; border-radius: 18px; min-width: 210px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.about-mini-card span { color: #93b4bb; font-size: .75rem; }
.about-mini-card b { font-size: 1rem; }
.about-line { position: absolute; top: 0; right: 0; width: 120px; height: 120px; border-top: 3px solid var(--brand); border-right: 3px solid var(--brand); border-radius: 0 28px 0 0; }
.about-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; margin: 1.7rem 0; }
.about-checks div { display: flex; align-items: center; gap: .7rem; color: #35494f; font-weight: 700; font-size: .9rem; }
.about-checks svg { width: 23px; height: 23px; padding: 4px; background: var(--brand-soft); color: var(--brand); border-radius: 50%; }
.text-link { color: var(--brand); font-weight: 900; display: inline-flex; align-items: center; gap: .5rem; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(-5px); }

.identity-section { background: linear-gradient(180deg, #f5f8f9, #fff); }
.identity-card { position: relative; height: 100%; min-height: 320px; padding: 2rem 1.5rem 1.6rem; background: #fff; border: 1px solid #e0e7e9; border-radius: var(--radius-lg); overflow: hidden; transition: .3s; }
.identity-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-sm); border-color: #c6dde2; }
.identity-card.featured { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 22px 48px rgba(8,107,130,.22); }
.identity-card.featured p { color: #d7ebef; }
.identity-card.featured .identity-icon { background: rgba(255,255,255,.13); color: #fff; }
.card-number { position: absolute; top: 10px; left: 18px; color: #e3eaec; font-size: 3.9rem; line-height: 1; font-weight: 900; opacity: .62; }
.featured .card-number { color: rgba(255,255,255,.16); }
.identity-icon { width: 58px; height: 58px; border-radius: 17px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 2.4rem; }
.identity-icon svg { width: 29px; height: 29px; }
.identity-card h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: .75rem; }
.identity-card p { color: var(--muted); font-size: .9rem; margin: 0; }

.products-section { background: #fff; }
.product-showcase { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid #dde6e8; background: #f4f8f9; }
.product-copy { padding: clamp(2rem, 5vw, 4.4rem); }
.product-copy h3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin: .5rem 0 1rem; }
.product-copy > p { color: var(--muted); max-width: 560px; }
.product-label { color: var(--brand); font-size: .75rem; font-weight: 900; letter-spacing: .08em; }
.clean-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .75rem; }
.clean-list li { position: relative; padding-right: 1.7rem; font-weight: 700; font-size: .92rem; }
.clean-list li::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--brand); border-radius: 50%; position: absolute; right: 0; top: .7rem; }
.product-art { min-height: 520px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fff, #e9f3f5 70%); }
.product-art svg { width: 100%; max-width: 660px; }
.pipes-showcase { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.pipes-showcase .product-copy > p { color: #b9cbd0; }
.pipes-showcase .product-label { color: #75d2df; }
.pipes-showcase .clean-list li::before { border-color: #75d2df; }
.pipes-showcase .product-art { background: radial-gradient(circle at 40% 35%, #0f7186, #073b49 72%); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-card { padding: 1.5rem; border: 1px solid #e0e7e8; border-radius: 20px; background: #fff; transition: .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.service-icon { width: 50px; height: 50px; border-radius: 15px; color: var(--brand); background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 1rem; }
.service-icon svg { width: 25px; height: 25px; }
.service-card h3 { font-size: 1.05rem; font-weight: 900; }
.service-card p { color: var(--muted); font-size: .84rem; margin: 0; }

.journey-section { background: linear-gradient(135deg, #052f3b, #073f4e); position: relative; overflow: hidden; }
.journey-section::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; border: 100px solid rgba(255,255,255,.025); right: -180px; top: -210px; }
.journey-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.07); }
.journey-step { position: relative; background: rgba(5,47,59,.9); padding: 2rem 1.15rem; min-height: 285px; transition: .3s; }
.journey-step:hover { background: #0b6376; transform: translateY(-4px); }
.step-number { position: absolute; top: 1rem; left: 1rem; color: rgba(255,255,255,.15); font-size: 2.2rem; font-weight: 900; }
.step-icon { width: 54px; height: 54px; border-radius: 16px; background: rgba(118,211,224,.12); color: #83d9e5; display: grid; place-items: center; margin-bottom: 2.2rem; }
.step-icon svg { width: 27px; height: 27px; }
.journey-step h3 { font-size: 1rem; font-weight: 900; margin-bottom: .7rem; }
.journey-step p { color: #a9bec3; font-size: .79rem; margin: 0; }

.quality-section { background: #f5f8f9; }
.quality-points { display: grid; gap: 1rem; margin-top: 2rem; }
.quality-points > div { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; background: #fff; border: 1px solid #e2e8e9; border-radius: 17px; }
.quality-points > div > span { color: var(--brand); font-weight: 900; font-size: .78rem; padding-top: .25rem; }
.quality-points b { display: block; margin-bottom: .15rem; }
.quality-points p { margin: 0; color: var(--muted); font-size: .82rem; }
.quality-dashboard { background: #fff; border: 1px solid #dce4e6; border-radius: 28px; padding: 1.5rem; box-shadow: var(--shadow-lg); }
.dashboard-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid #e4eaeb; font-weight: 900; }
.live-dot { color: #2c8c70; background: #e4f6ef; padding: .35rem .65rem; border-radius: 999px; font-size: .7rem; }
.live-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #35a47f; margin-left: .35rem; box-shadow: 0 0 0 4px rgba(53,164,127,.12); }
.dashboard-main { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: center; padding: 2rem .5rem; }
.gauge-wrap { position: relative; display: grid; place-items: center; }
.gauge-wrap svg { width: 190px; }
.gauge-wrap > div { position: absolute; display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.gauge-wrap strong { color: var(--brand); font-size: 1.25rem; }
.gauge-wrap span { color: var(--muted); font-size: .72rem; }
.metric-list { display: grid; gap: 1.05rem; }
.metric-list > div { display: grid; grid-template-columns: 74px 1fr 52px; align-items: center; gap: .7rem; font-size: .78rem; }
.metric-list span { font-weight: 800; }
.metric-list b { color: var(--muted); font-size: .68rem; text-align: left; }
.metric-list i { display: block; height: 8px; background: #e5ecee; border-radius: 999px; overflow: hidden; position: relative; }
.metric-list i::after { content: ""; position: absolute; inset: 0; width: var(--value); background: linear-gradient(90deg, var(--brand), #42b5c4); border-radius: 999px; }
.dashboard-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #e4eaeb; padding-top: 1.1rem; }
.dashboard-foot > div { display: flex; flex-direction: column; align-items: center; text-align: center; border-left: 1px solid #e5eaeb; }
.dashboard-foot > div:last-child { border-left: 0; }
.dashboard-foot b { color: var(--brand); font-size: 1.5rem; line-height: 1.2; }
.dashboard-foot span { color: var(--muted); font-size: .67rem; }

.applications-section { background: #fff; }
.application-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.application-pills span { display: inline-flex; align-items: center; gap: .65rem; padding: .85rem 1.05rem; border: 1px solid #dce5e7; border-radius: 999px; background: #fff; font-weight: 800; font-size: .88rem; box-shadow: 0 7px 20px rgba(4,55,67,.05); }
.application-pills svg { width: 22px; height: 22px; color: var(--brand); }

.request-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #052f3b, #06495a); }
.request-lines { position: absolute; inset: 0; background: repeating-linear-gradient(125deg, transparent 0 52px, rgba(255,255,255,.025) 52px 53px); }
.request-info { display: grid; gap: 1rem; margin-top: 2rem; }
.request-info > div { display: flex; align-items: center; gap: 1rem; }
.request-icon { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.08); color: #83d9e5; display: grid; place-items: center; flex: 0 0 auto; }
.request-icon svg { width: 25px; height: 25px; }
.request-info b, .request-info span { display: block; }
.request-info > div > div span { color: #a9c0c5; font-size: .82rem; }
.project-form { background: #fff; color: var(--ink); padding: clamp(1.3rem, 4vw, 2.2rem); border-radius: 28px; box-shadow: 0 35px 80px rgba(0,0,0,.25); }
.form-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.form-head span { color: var(--brand); font-size: .73rem; font-weight: 900; }
.form-head h3 { font-weight: 900; margin: .2rem 0 0; }
.secure-note { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted) !important; font-weight: 700 !important; }
.secure-note svg { width: 17px; height: 17px; }
.form-label { font-size: .78rem; font-weight: 900; color: #3d5056; margin-bottom: .4rem; }
.form-control, .form-select { min-height: 52px; border-radius: 13px; border: 1px solid #d7e0e2; background-color: #f9fbfb; padding: .7rem .9rem; font-size: .9rem; }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-control:focus, .form-select:focus { border-color: #5ab3c1; box-shadow: 0 0 0 .22rem rgba(8,107,130,.12); background: #fff; }
.project-form .btn svg { width: 22px; height: 22px; margin-right: .5rem; }
.form-hint { color: var(--muted); font-size: .7rem; max-width: 160px; }

.faq-section { background: #fff; }
.faq-accordion .accordion-item { border: 1px solid #dfe7e8; border-radius: 16px !important; overflow: hidden; margin-bottom: .8rem; }
.faq-accordion .accordion-button { font-weight: 900; padding: 1.15rem; box-shadow: none; background: #fff; color: var(--ink); }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-deep); }
.faq-accordion .accordion-body { color: var(--muted); font-size: .9rem; padding: 1.1rem 1.2rem 1.3rem; }

.contact-band { background: linear-gradient(180deg, #fff 0 50%, #052f3b 50%); }
.contact-band-inner { background: linear-gradient(135deg, #0a7890, #075669); color: #fff; border-radius: 28px; padding: clamp(1.7rem, 4vw, 3rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; box-shadow: var(--shadow-lg); }
.contact-band-inner span { color: #bce5eb; font-size: .82rem; font-weight: 800; }
.contact-band-inner h2 { margin: .25rem 0 0; font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.3rem); }

.site-footer { background: #052f3b; color: #fff; padding: 90px 0 88px; }
.footer-logo { width: 132px; height: 110px; object-fit: contain; background: #fff; border-radius: 15px; margin-bottom: 1rem; }
.site-footer p { color: #a9bdc2; max-width: 440px; font-size: .86rem; }
.site-footer h3 { font-size: .92rem; font-weight: 900; margin-bottom: 1rem; }
.site-footer a { display: block; color: #a9bdc2; font-size: .82rem; margin-bottom: .55rem; transition: .2s; }
.site-footer a:hover { color: #fff; transform: translateX(-3px); }
.footer-location { display: flex; gap: .7rem; color: #a9bdc2; font-size: .82rem; }
.footer-location svg { width: 21px; height: 21px; color: #7ed8e4; flex: 0 0 auto; }
.install-link { margin-top: 1rem; background: transparent; color: #7ed8e4; border: 0; padding: 0; font-weight: 800; font-size: .8rem; }
.install-link svg { width: 19px; height: 19px; margin-left: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; color: #849ea5; font-size: .74rem; }
.footer-bottom a { display: inline; color: #d8eef1; font-weight: 900; margin: 0; }

.mobile-bottom-nav { display: none; }
.install-banner { position: fixed; z-index: 1200; right: 18px; bottom: 18px; max-width: 520px; background: #fff; border: 1px solid #dce5e7; border-radius: 18px; box-shadow: 0 24px 70px rgba(3,40,49,.24); padding: .9rem; display: flex; align-items: center; gap: .8rem; }
.install-banner[hidden] { display: none; }
.install-banner img { border-radius: 14px; }
.install-banner > div { display: flex; flex-direction: column; line-height: 1.5; flex: 1; }
.install-banner b { font-size: .87rem; }
.install-banner span { color: var(--muted); font-size: .68rem; }
.dismiss-install { border: 0; background: transparent; color: var(--muted); font-size: 1.35rem; line-height: 1; }
.app-toast { position: fixed; z-index: 1300; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: #fff; color: var(--ink); border: 1px solid #d9e2e4; border-radius: 14px; padding: .85rem 1rem; box-shadow: 0 18px 50px rgba(4,44,54,.2); transition: .25s; max-width: min(92vw, 560px); font-size: .85rem; text-align: center; }
.app-toast.show { opacity: 1; transform: translate(-50%, 0); }
.app-toast.error { border-color: #e2b8b8; color: #8c3030; }

[data-reveal] { opacity: 0; transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.2,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal="up"] { transform: translateY(35px); }
[data-reveal="right"] { transform: translateX(35px); }
[data-reveal="left"] { transform: translateX(-35px); }
[data-reveal].revealed { opacity: 1; transform: translate(0,0); }

@media (max-width: 1199.98px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-track { grid-template-columns: repeat(3, 1fr); }
  .hero-section h1 { font-size: 4.25rem; }
}

@media (max-width: 991.98px) {
  body { padding-bottom: 76px; }
  .site-header { top: 0; }
  .navbar { min-height: 76px; }
  .navbar-brand img { width: 94px; height: 64px; }
  .navbar-collapse { position: fixed; top: 76px; right: 12px; left: 12px; background: #fff; border: 1px solid #dfe7e8; border-radius: 20px; padding: 1rem; box-shadow: var(--shadow-lg); max-height: calc(100vh - 100px); overflow: auto; }
  .navbar-nav { gap: .25rem; }
  .nav-link { padding: .75rem !important; }
  .nav-cta { width: 100%; margin-top: .6rem; }
  .hero-section { min-height: auto; }
  .hero-section .container { padding-top: 82px; }
  .hero-section h1 { font-size: clamp(2.7rem, 9vw, 4.3rem); }
  .industrial-visual { min-height: 510px; }
  .feature-rail { grid-template-columns: repeat(2, 1fr); }
  .rail-item:nth-child(2) { border-left: 0; }
  .rail-item:nth-child(-n+2) { border-bottom: 1px solid #e9eeef; }
  .product-art { min-height: 430px; }
  .dashboard-main { grid-template-columns: 1fr; }
  .journey-track { grid-template-columns: repeat(2, 1fr); }
  .contact-band-inner { align-items: flex-start; flex-direction: column; }
  .mobile-bottom-nav { position: fixed; z-index: 1100; right: 10px; left: 10px; bottom: max(10px, env(safe-area-inset-bottom)); height: 66px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: rgba(255,255,255,.96); backdrop-filter: blur(20px); border: 1px solid #dfe7e8; border-radius: 20px; box-shadow: 0 14px 44px rgba(3,42,51,.22); padding: 5px 6px; }
  .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #718086; font-size: .61rem; font-weight: 800; height: 100%; border-radius: 14px; }
  .mobile-bottom-nav a.active { color: var(--brand); background: var(--brand-soft); }
  .mobile-bottom-nav svg { width: 21px; height: 21px; }
  .mobile-bottom-nav .main-action { width: 58px; height: 58px; margin: -23px auto 0; border-radius: 50%; background: var(--brand); color: #fff; border: 5px solid #fff; box-shadow: 0 12px 26px rgba(8,107,130,.3); }
  .mobile-bottom-nav .main-action span { display: none; }
  .install-banner { bottom: 88px; left: 12px; right: 12px; max-width: none; }
  .app-toast { bottom: 94px; }
}

@media (max-width: 767.98px) {
  .section-space { padding: 78px 0; }
  .section-space-sm { padding: 58px 0; }
  .section-title { font-size: 2.25rem; }
  .hero-section .container { padding-top: 58px; padding-bottom: 85px; }
  .hero-copy { font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 0; }
  .hero-trust > div { padding: 0 .6rem; }
  .trust-number { font-size: 1rem; }
  .hero-trust div span:last-child { font-size: .65rem; }
  .industrial-visual { min-height: 415px; }
  .visual-badge { min-width: 132px; padding: .65rem .75rem; }
  .badge-one { right: 0; top: 13%; }
  .badge-two { left: 0; bottom: 8%; }
  .quick-features { margin-top: -20px; }
  .feature-rail { grid-template-columns: 1fr; }
  .rail-item { border-left: 0; border-bottom: 1px solid #e9eeef !important; }
  .rail-item:last-child { border-bottom: 0 !important; }
  .about-media { padding: 24px 20px 20px 0; margin-bottom: 2rem; }
  .about-mini-card { left: 0; bottom: -8px; }
  .about-checks { grid-template-columns: 1fr; }
  .identity-card { min-height: 270px; }
  .product-copy { padding: 2rem 1.35rem; }
  .product-art { min-height: 340px; }
  .service-grid { grid-template-columns: 1fr; }
  .journey-track { grid-template-columns: 1fr; }
  .journey-step { min-height: auto; }
  .dashboard-foot { gap: .4rem; }
  .dashboard-foot span { font-size: .58rem; }
  .metric-list > div { grid-template-columns: 64px 1fr 44px; }
  .form-head { align-items: flex-start; }
  .secure-note { max-width: 140px; text-align: left; }
  .contact-band-inner .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-footer { padding-bottom: 105px; }
}

@media (max-width: 420px) {
  .hero-section h1 { font-size: 2.5rem; }
  .hero-trust { grid-template-columns: 1fr 1fr; gap: .8rem 0; }
  .hero-trust > div:nth-child(2) { border-left: 0; }
  .hero-trust > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: .7rem; }
  .visual-badge { display: none; }
  .industrial-visual { min-height: 340px; }
  .project-form { padding: 1.1rem; border-radius: 21px; }
  .form-head { flex-direction: column; }
  .secure-note { max-width: none; }
  .install-banner { align-items: flex-start; flex-wrap: wrap; }
  .install-banner > div { min-width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* منع امتداد المسافات الكبيرة خارج الشاشة في Bootstrap على الموبايل */
@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}
