:root {
  --green: #35a936;
  --green-dark: #066442;
  --blue: #0872a2;
  --blue-dark: #07526f;
  --ink: #17323c;
  --muted: #61757d;
  --line: #d8e7df;
  --soft: #f4faf4;
  --white: #ffffff;
  --gold: #d39b31;
  --shadow: 0 22px 55px rgba(7, 82, 111, 0.12);
  --radius: 8px;
  --section-gap: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(53, 169, 54, 0.14), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(8, 114, 162, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fcf7 0%, #ffffff 42%, #f5fbf8 100%);
  line-height: 1.85;
  transition: background 0.25s ease, color 0.25s ease;
}

body.dark-mode {
  --ink: #e9f4f3;
  --muted: #b9c9cc;
  --line: rgba(181, 214, 200, 0.22);
  --soft: #10252c;
  --white: #132d35;
  background:
    radial-gradient(circle at 12% 12%, rgba(53, 169, 54, 0.18), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(8, 114, 162, 0.18), transparent 32%),
    linear-gradient(180deg, #081b22 0%, #10252c 48%, #081b22 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    linear-gradient(120deg, rgba(53, 169, 54, 0.08) 1px, transparent 1px),
    linear-gradient(30deg, rgba(8, 114, 162, 0.06) 1px, transparent 1px);
  background-size: 76px 76px;
  animation: backgroundDrift 24s linear infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(216, 231, 223, 0.86);
  backdrop-filter: blur(18px);
}

body.dark-mode .site-header {
  background: rgba(8, 27, 34, 0.84);
}

body.dark-mode .nav-links a {
  color: #e9f4f3;
}

body.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a:focus-visible {
  color: #7ee083;
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.brand img {
  width: 41px;
  height: 41px;
  object-fit: contain;
  filter: drop-shadow(0 7px 14px rgba(6, 100, 66, 0.18));
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  color: #263e47;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 18px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transition: transform 0.24s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green-dark);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  width: 360px;
  height: 360px;
  inset-inline-start: -130px;
  top: 80px;
  background: rgba(53, 169, 54, 0.12);
}

.hero::after {
  width: 440px;
  height: 440px;
  inset-inline-end: -180px;
  bottom: 20px;
  background: rgba(8, 114, 162, 0.10);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.hero-design-wrap {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  background: #eaf3ff;
}

.hero-design-image {
  width: 100%;
  height: clamp(300px, 39.55vw, 661px);
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: normal;
  opacity: 1;
  object-fit: cover;
  object-position: center;
}

body.dark-mode .hero-design-image {
  mix-blend-mode: normal;
  opacity: 0.92;
}

.hero-overlay-actions {
  position: absolute;
  left: 21%;
  top: 76%;
  z-index: 3;
  display: flex;
  gap: 1.1vw;
  align-items: center;
}

.hero-overlay-btn {
  min-height: clamp(30px, 3.5vw, 52px);
  padding-inline: clamp(16px, 2.1vw, 34px);
  font-size: clamp(11px, 1.15vw, 18px);
  border-radius: clamp(6px, 0.6vw, 10px);
  box-shadow: 0 10px 24px rgba(7, 82, 111, 0.18);
}

.hero-overlay-btn:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 16px 34px rgba(7, 82, 111, 0.24);
}

.phone-scene,
.video-hero {
  direction: rtl;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(8, 114, 162, 0.22);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-dark);
  border: 1px solid var(--line);
}

.phone-scene {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(310px, 86vw);
  aspect-ratio: 9 / 16;
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(145deg, #101c22, #31454d);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 70px rgba(7, 82, 111, 0.22);
  overflow: hidden;
  transform: rotate(-3deg);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 84px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: top center;
}

.orbit-logo {
  position: absolute;
  width: 94px;
  height: 94px;
  object-fit: contain;
  inset-inline-start: 18px;
  top: 42px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  animation: spinSlow 7s linear infinite;
}

.money {
  position: absolute;
  color: rgba(53, 169, 54, 0.22);
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  animation: floatCard 4.8s ease-in-out infinite;
}

.money-one {
  inset-inline-end: 26px;
  top: 66px;
}

.money-two {
  inset-inline-start: 22px;
  bottom: 80px;
  color: rgba(8, 114, 162, 0.18);
  animation-delay: -1.8s;
}

.video-hero {
  display: grid;
  align-content: center;
  gap: 18px;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #071b21;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-actions {
  justify-content: center;
}

.stats-section,
.social-section {
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  min-height: 122px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 14px 30px rgba(7, 82, 111, 0.06);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.stat:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 169, 54, 0.42);
}

.stat strong {
  display: block;
  color: var(--green-dark);
  font-size: 36px;
  line-height: 1.2;
}

.stat span {
  color: var(--ink);
  font-weight: 800;
}

.ad-banner {
  width: min(728px, calc(100% - 32px));
  height: 90px;
  margin-block: 0;
  border: 1px solid #e4ece8;
  background: rgba(255, 255, 255, 0.78);
  color: #c7cfd1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.section {
  padding: 48px 0;
}

.services-title {
  margin: 0 0 24px;
  text-align: center;
  color: var(--green-dark);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
}

.features-strip {
  width: 100%;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-item {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  align-content: center;
  column-gap: 12px;
  padding: 18px;
  color: var(--blue-dark);
  border: 1px solid rgba(8, 114, 162, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,248,255,0.84));
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(7, 82, 111, 0.10);
}

.feature-icon {
  grid-area: icon;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
  box-shadow: 0 12px 22px rgba(8, 114, 162, 0.18);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.feature-item strong {
  grid-area: title;
  font-size: 16px;
  line-height: 1.35;
}

.feature-item small {
  grid-area: text;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(235px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.service-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 18px;
  height: 326px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(20, 49, 61, 0.07);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-panel.is-expanded {
  height: auto;
  min-height: 326px;
  overflow: visible;
}

body.dark-mode .service-panel,
body.dark-mode .stat,
body.dark-mode .content-card,
body.dark-mode .small-ad,
body.dark-mode .ad-banner,
body.dark-mode .social-icon {
  background: rgba(19, 45, 53, 0.86);
}

body.dark-mode .service-panel li,
body.dark-mode .article-content p,
body.dark-mode .article-content li,
body.dark-mode .stat span {
  color: #d7e8e8;
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.service-panel::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  inset-inline-end: -64px;
  bottom: -64px;
  border-radius: 50%;
  background: rgba(53, 169, 54, 0.08);
}

.service-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(8, 114, 162, 0.32);
  box-shadow: 0 26px 46px rgba(7, 82, 111, 0.14);
}

.service-panel h3 {
  margin: 0 0 14px;
  padding: 9px 8px;
  border-radius: 12px;
  background: rgba(53, 169, 54, 0.08);
  color: var(--blue-dark);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.35;
  white-space: nowrap;
  letter-spacing: 0;
}

body.dark-mode .service-panel h3 {
  background: rgba(53, 169, 54, 0.16);
  color: #8ee495;
}

.service-more {
  position: relative;
  z-index: 1;
  margin-top: 0;
  flex-shrink: 0;
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(8, 114, 162, 0.18);
  border-radius: var(--radius);
  background: rgba(8, 114, 162, 0.07);
  color: var(--blue-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.service-panel ul,
.article-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-panel ul {
  flex: 1 1 auto;
  min-height: 0;
  margin-bottom: 16px;
  overflow: hidden;
}

.service-panel.is-expanded ul {
  flex: 0 0 auto;
  overflow: visible;
}

.service-panel li,
.article-content li {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-inline-start: 0;
  margin-bottom: 6px;
  color: #314a54;
  font-weight: 700;
  font-size: 14px;
}

.service-panel li::before,
.article-content li::before {
  content: "✓";
  position: static;
  color: var(--green);
  font-weight: 900;
}

.accent-list li::before {
  content: "✓";
  color: var(--green);
}

.article-content li {
  display: block;
  text-align: start;
  padding-inline-start: 25px;
  font-size: inherit;
}

.article-content li::before {
  position: absolute;
  inset-inline-start: 0;
}

.ads-section {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.small-ad,
.image-ad {
  width: 300px;
  height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
}

.small-ad {
  border: 1px solid #e4ece8;
  background: rgba(255, 255, 255, 0.78);
  color: #c7cfd1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.small-ad strong,
.ad-banner strong {
  color: #c9cfd2;
  font-size: 28px;
  letter-spacing: 6px;
}

.image-ad {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease;
}

.image-ad:hover {
  transform: translateY(-6px) scale(1.015);
}

.image-ad img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.social-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(244, 250, 244, 0.76));
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-icon {
  --brand-color: var(--blue);
  width: 62px;
  height: 62px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--brand-color);
  box-shadow: 0 13px 28px rgba(7, 82, 111, 0.08);
  transition: transform 0.24s ease, color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.social-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-7px) rotate(-4deg);
  color: #ffffff;
  background: var(--brand-color);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--brand-color) 34%, transparent);
}

.facebook { --brand-color: #1877f2; }
.instagram { --brand-color: #e4405f; }
.x-twitter { --brand-color: #111111; }
.threads { --brand-color: #000000; }
.tiktok { --brand-color: #ff0050; }
.telegram { --brand-color: #229ed9; }
.whatsapp { --brand-color: #25d366; }
.youtube { --brand-color: #ff0000; }
.linkedin { --brand-color: #0a66c2; }
.messenger { --brand-color: #0084ff; }
.website { --brand-color: #0872a2; }

.working-hours {
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 34px 0 18px;
  background: #11313b;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.footer-about {
  max-width: 620px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  justify-self: end;
}

.footer-logo-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eaf6ef);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.footer-logo-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-about p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
}

.footer-about p span {
  display: block;
}

.footer-actions {
  justify-self: start;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  max-width: none;
}

.footer-actions a,
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 13px;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.footer-actions a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-actions a:hover,
.contact-links a:hover {
  transform: translateY(-3px);
  color: var(--white);
  background: var(--blue);
}

.copyright {
  margin: 24px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.76);
}

.compact-footer {
  padding-top: 18px;
}

.compact-footer .copyright {
  margin-top: 0;
}

.page-main {
  min-height: calc(100vh - 155px);
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, rgba(244, 250, 244, 0.9), #ffffff);
}

.content-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 16px 38px rgba(20, 49, 61, 0.08);
}

.article-content {
  max-width: 940px;
}

.article-content h1,
.content-card h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 5vw, 48px);
  color: var(--blue);
}

.page-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 38px) !important;
}

.article-content h2,
.contact-links h2 {
  margin: 28px 0 12px;
  color: var(--green-dark);
  font-size: 24px;
}

.article-content p {
  margin: 0 0 14px;
  color: #294551;
}

.article-content a {
  color: var(--blue);
  font-weight: 900;
}

.contact-page {
  display: grid;
  place-items: center;
}

.contact-center {
  width: min(760px, 100%);
}

.contact-center h1 {
  text-align: center;
  margin-bottom: 28px;
  color: var(--green-dark);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfdfd;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(53, 169, 54, 0.18);
  border-color: var(--green);
}

.contact-form textarea {
  resize: vertical;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-social,
.about-social {
  margin-top: 28px;
}

.header-tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.utility-button,
.translate-toggle {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(7, 82, 111, 0.08);
}

body.dark-mode .utility-button,
body.dark-mode .translate-toggle {
  background: rgba(19, 45, 53, 0.92);
}

.translate-box {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  max-width: 260px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.translate-box.is-open {
  display: block;
}

.float-contact {
  position: fixed;
  z-index: 55;
  inset-inline-end: 18px;
  bottom: 24px;
  display: grid;
  gap: 12px;
}

.float-contact a {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease;
}

.float-contact a:hover {
  transform: translateY(-5px) scale(1.05);
}

.float-contact svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.float-whatsapp {
  background: #25d366;
}

.float-messenger {
  background: linear-gradient(135deg, #00b2ff, #006aff, #a033ff);
}

.contact-links h2 {
  margin-top: 0;
}

.contact-links a {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .service-panel,
.motion-ready .stat,
.motion-ready .ad-banner,
.motion-ready .small-ad,
.motion-ready .image-ad,
.motion-ready .social-icon {
  animation: softRise 0.72s ease both;
  animation-timeline: view();
  animation-range: entry 0% cover 24%;
}

@keyframes softRise {
  from {
    opacity: 0.15;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backgroundDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 76px 76px, -76px 76px;
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1060px) {
  .services-row {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .phone-scene {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .navbar {
    justify-content: space-between;
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    inset-inline: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-design-wrap {
    width: 100vw;
  }

  .hero-overlay-actions {
    left: 20%;
    top: 76%;
    gap: 6px;
  }

  .phone-scene {
    min-height: 420px;
  }

  .phone-frame {
    width: min(250px, 82vw);
  }

  .stats-grid,
  .services-row {
    grid-template-columns: 1fr;
  }

  .service-panel h3 {
    white-space: normal;
  }

  .footer-grid,
  .footer-about {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-about,
  .footer-actions {
    justify-self: stretch;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .features-strip {
    grid-template-columns: 1fr;
  }

  .feature-item,
  .feature-item:first-child {
    border-inline-start: 0;
    border-top: 1px solid rgba(8, 114, 162, 0.12);
  }

  .feature-item:first-child {
    border-top: 0;
  }

  .hero-design-wrap {
    width: 100vw;
  }

  .ad-banner {
    font-size: 14px;
  }
}
