/* ============ Power Vision ISP — design tokens ============ */
:root {
  --navy-deep: #0E2A47;
  --navy: #1F4E8C;
  --cyan: #29A8E0;
  --cyan-light: #4FC3F0;
  --silver: #8E979F;
  --silver-line: #D8DDE2;
  --paper: #F8FAFB;
  --ink: #16283C;
  --wa: #25D366;
  --display: "Archivo", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --wide: 1120px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
img { display: block; max-width: 100%; }
a { color: var(--navy); }
.mono { font-family: var(--mono); font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; color: var(--navy-deep); }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 850; font-stretch: 115%; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; font-stretch: 110%; }
h3 { font-size: 1.28rem; font-weight: 700; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 42, 71, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(79, 195, 240, 0.18);
}
.header-inner {
  max-width: var(--wide); margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { background: #fff; border-radius: 50%; padding: 3px; }
.brand-text strong {
  display: block; font-family: var(--display); font-weight: 800; font-stretch: 110%;
  color: #fff; font-size: 1.02rem; letter-spacing: 0.02em; line-height: 1.1;
}
.brand-text strong em { font-style: normal; color: var(--cyan-light); }
.brand-text small {
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.28em; color: var(--silver);
}
.site-nav ul { list-style: none; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav > ul > li > a {
  display: block; padding: 10px 10px; color: #E8EEF4; text-decoration: none;
  font-weight: 500; font-size: 0.93rem; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li > a[aria-current] { color: var(--cyan-light); background: rgba(41,168,224,0.1); }
.has-sub { position: relative; }
.has-sub > a,
.site-nav .has-sub > a { display: inline-flex; align-items: center; gap: 5px; }
.has-sub > a::after {
  content: ""; width: 10px; height: 10px; margin-top: 2px; flex: none;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23A8C0D6'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%209l6%206%206-6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.75; transition: transform 0.3s cubic-bezier(0.2,0.7,0.2,1), opacity 0.2s;
}
.has-sub:hover > a::after, .has-sub:focus-within > a::after { opacity: 1; transform: rotate(-180deg); }
.lang-switch > a::after { opacity: 0.6; }

/* language switcher */
.lang-switch > a { gap: 6px; font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.05em; line-height: 1; white-space: nowrap; }
.lang-switch > a svg { display: block; opacity: 0.92; flex: none; }
.lang-switch > a span { display: inline-block; line-height: 1; }
.lang-switch > ul { min-width: 156px; left: auto; right: 0; }
.lang-switch .soon { opacity: 0.5; pointer-events: none; }
.lang-switch em { font-style: normal; font-family: var(--mono); font-size: 0.7rem; opacity: 0.7; }
.has-sub > ul {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border-radius: 10px; padding: 8px;
  box-shadow: 0 18px 40px rgba(14,42,71,0.18);
  display: block; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-sub:hover > ul, .has-sub:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(2px); }
.has-sub > ul a {
  display: block; padding: 9px 12px; text-decoration: none; border-radius: 7px;
  color: var(--ink); font-size: 0.92rem;
}
.has-sub > ul a:hover { background: rgba(41,168,224,0.1); color: var(--navy); }
.nav-toggle { display: none; }
.nav-cta { margin-left: 8px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-stretch: 105%;
  padding: 13px 24px; border-radius: 999px; text-decoration: none; font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cyan); color: #fff; box-shadow: 0 8px 24px rgba(41,168,224,0.35); }
.btn-primary:hover { background: var(--cyan-light); }
.btn-ghost { border: 1.5px solid rgba(79,195,240,0.5); color: #E8EEF4; }
.btn-ghost:hover { border-color: var(--cyan-light); color: var(--cyan-light); }
.btn-wa { background: var(--wa); color: #fff; padding: 10px 18px; font-size: 0.92rem; }
.btn-wa:hover { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.btn-big { font-size: 1.15rem; padding: 17px 32px; }

/* ============ The Line layer ============ */
#page { position: relative; }
.line-layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero-inner, .hero-stats, .services > *, .why > *, .cta-inner { position: relative; z-index: 2; }
.page-hero-inner, .prose-wrap, .plans, .contact-grid, .map-embed, .faq { position: relative; z-index: 2; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(41,168,224,0.16), transparent 60%),
    var(--navy-deep);
  color: #DCE6EF;
  padding: 92px 20px 0;
  overflow: hidden;
}
#net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero-inner { max-width: var(--wide); margin: 0 auto; padding-bottom: 60px; }
.hero h1 { color: #fff; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--cyan-light); }
.hero-sub { max-width: 560px; font-size: 1.13rem; color: #B9C7D4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-cta .mono { font-size: 0.85rem; opacity: 0.85; }

.hero-stats {
  max-width: var(--wide); margin: 0 auto;
  display: flex; gap: clamp(24px, 6vw, 90px);
  border-top: 1px solid rgba(142,151,159,0.25);
  padding: 26px 0 34px;
}
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat-num { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; color: var(--cyan-light); }
.stat-cap { font-size: 0.85rem; color: var(--silver); max-width: 90px; line-height: 1.3; }

/* Hero load animation */
.line-mask { display: block; overflow: hidden; }
.reveal-word { display: block; transform: translateY(110%); animation: word-up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.line-mask:nth-child(2) .reveal-word { animation-delay: 0.12s; }
@keyframes word-up { to { transform: translateY(0); } }
.hero .reveal-up { opacity: 0; transform: translateY(24px); animation: fade-up 0.9s cubic-bezier(0.2,0.7,0.2,1) forwards; }
.hero .eyebrow.reveal-up { animation-delay: 0.05s; }
.hero .hero-sub.reveal-up { animation-delay: 0.28s; }
.hero .hero-cta.reveal-up { animation-delay: 0.42s; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* ============ Scroll reveals (below the fold) ============ */
main section:not(.hero) .reveal-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
main section:not(.hero) .reveal-up.in { opacity: 1; transform: none; }

/* ============ Services / stops ============ */
.services { max-width: var(--wide); margin: 0 auto; padding: 90px 20px 40px; }
.section-head { margin-bottom: 26px; }
.section-head h2 { margin-top: 8px; }
.stop {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 70px);
  align-items: center; padding: 56px 0;
  border-bottom: 1px solid var(--silver-line);
}
.stop:last-child { border-bottom: 0; }
.stop-alt .stop-art { order: 2; }
.stop-art { display: grid; place-items: center; }
.ill { width: min(320px, 100%); }
.stop-body h3 { display: flex; align-items: center; gap: 10px; }
.stop-body p { margin: 10px 0 18px; color: #44586C; max-width: 480px; }
.tag {
  font-size: 0.62rem; letter-spacing: 0.14em; color: var(--cyan);
  border: 1px solid var(--cyan); border-radius: 4px; padding: 2px 7px;
}

/* spec sheet rows */
.spec { margin: 0 0 18px; max-width: 480px; }
.spec > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 9px 10px; border-top: 1px solid var(--silver-line);
  transition: background 0.18s, box-shadow 0.18s;
}
.spec > div:last-child { border-bottom: 1px solid var(--silver-line); }
.spec > div:hover { background: rgba(41,168,224,0.07); box-shadow: inset 3px 0 0 var(--cyan); }
.spec dt { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); }
.spec dd { margin: 0; font-weight: 600; color: var(--navy-deep); }
.link-more {
  font-family: var(--display); font-weight: 700; text-decoration: none; color: var(--cyan);
}
.link-more:hover { color: var(--navy); }

/* illustration loops */
.sig-dash { stroke-dasharray: 10 14; animation: dash-run 1.6s linear infinite; }
@keyframes dash-run { to { stroke-dashoffset: -48; } }
.led { animation: led-blink 1.8s infinite; }
.led-2 { animation-delay: 0.4s; } .led-3 { animation-delay: 0.9s; }
@keyframes led-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
.rip { opacity: 0; transform-origin: 130px 52px; animation: ripple 2.7s ease-out infinite; }
.rip-2 { animation-delay: 0.9s; } .rip-3 { animation-delay: 1.8s; }
@keyframes ripple { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(2.6); } }
.fiber-pulse { stroke-dasharray: 34 300; animation: fiber-run 2.4s cubic-bezier(0.4,0,0.4,1) infinite; }
@keyframes fiber-run { from { stroke-dashoffset: 334; } to { stroke-dashoffset: 0; } }
.fiber-end { animation: glow 2.4s infinite; }
@keyframes glow { 0%, 70%, 100% { opacity: 0.35; } 85% { opacity: 1; } }

/* ============ Why ============ */
.why { max-width: var(--wide); margin: 0 auto; padding: 60px 20px 90px; }
.why-grid {
  list-style: none; padding: 0; margin-top: 14px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.why-grid li {
  background: #fff; border: 1px solid var(--silver-line); border-radius: 14px;
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.why-grid li:hover {
  transform: translateY(-4px);
  border-color: rgba(41,168,224,0.55);
  box-shadow: 0 18px 40px rgba(14,42,71,0.1);
}
.why-grid h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-grid p { font-size: 0.95rem; color: #44586C; }
.why-grid .mono { font-size: 0.85rem; color: var(--navy); }

/* staggered reveal for grid */
.why-grid li:nth-child(2) { transition-delay: 0.08s; }
.why-grid li:nth-child(3) { transition-delay: 0.16s; }
.why-grid li:nth-child(5) { transition-delay: 0.08s; }
.why-grid li:nth-child(6) { transition-delay: 0.16s; }

/* ============ CTA ============ */
.cta {
  background:
    radial-gradient(900px 400px at 50% 120%, rgba(41,168,224,0.22), transparent 65%),
    var(--navy-deep);
  color: #DCE6EF; text-align: center;
  padding: 100px 20px 110px;
}
.cta h2 { color: #fff; }
.cta p { margin: 14px 0 30px; color: #B9C7D4; }
.cta-alt { margin-top: 26px; font-size: 0.95rem; }
.cta-alt a { color: var(--cyan-light); }

/* ============ Footer ============ */
.site-footer { background: #0A1F35; color: #9FB2C2; font-size: 0.92rem; }
.footer-inner {
  max-width: var(--wide); margin: 0 auto; padding: 56px 20px 30px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px;
}
.f-mark { background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 14px; }
.f-brand strong { color: #fff; }
.f-col h4 {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--silver); margin-bottom: 12px;
}
.f-col a { display: block; color: #C9D6E2; text-decoration: none; padding: 4px 0; }
.f-col a:hover { color: var(--cyan-light); }
.f-legal {
  text-align: center; padding: 18px; margin: 0;
  border-top: 1px solid rgba(142,151,159,0.18); font-size: 0.82rem;
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa);
  animation: wa-ping 3.2s ease-out infinite;
}
@keyframes wa-ping {
  0%, 60% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ============ Responsive ============ */
@media (max-width: 920px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
/* Nav collapses to a hamburger early enough that the bar never wraps */
@media (max-width: 1120px) {
  .nav-toggle {
    display: grid; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) {
    width: 24px; height: 2.5px; background: #fff; border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-nav ul#nav-menu {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--navy-deep); padding: 14px 20px 24px; gap: 2px;
    max-height: calc(100vh - 64px); overflow: auto;
    display: none; border-bottom: 1px solid rgba(79,195,240,0.2);
  }
  .site-nav ul#nav-menu.open { display: flex; }
  .has-sub > ul {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(255,255,255,0.05); margin: 2px 0 6px;
  }
  .has-sub > ul a { color: #C9D6E2; }
  .has-sub > ul a:hover { color: var(--cyan-light); background: rgba(41,168,224,0.12); }
  .nav-cta { margin: 8px 0 0; }
  [dir="rtl"] .site-nav ul#nav-menu { text-align: right; }
}

/* Content reflow — independent of the nav breakpoint */
@media (max-width: 960px) {
  .stop, .stop-alt { grid-template-columns: 1fr; padding: 44px 0; }
  .stop-alt .stop-art { order: 0; }
  .ill { width: min(240px, 80%); }
  .hero { padding-top: 64px; }
  .hero-stats { flex-wrap: wrap; gap: 18px 34px; }
  .why-grid, .footer-inner { grid-template-columns: 1fr; }
  .line-layer { display: none; } /* the line rests on small screens */
}

/* ============ Skip link ============ */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--cyan); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-family: var(--display); font-weight: 700;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

/* ============ Services note ============ */
.services-note { margin-top: 30px; font-size: 0.92rem; color: var(--silver); }
.services-note a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.services-note a:hover { text-decoration: underline; }

/* ============ Page hero (interior pages) ============ */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% -20%, rgba(41,168,224,0.18), transparent 60%),
    var(--navy-deep);
  color: #DCE6EF; padding: 64px 20px 56px;
}
.page-hero-inner { max-width: var(--wide); margin: 0 auto; position: relative; z-index: 2; }
.hero-motif {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  width: clamp(150px, 18vw, 230px); z-index: 1; pointer-events: none; opacity: 0.9;
}
.hero-motif svg { width: 100%; height: auto; display: block; }
.orbit-spin { animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .hero-motif { display: none; } }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin: 12px 0 14px; }
.page-hero p { max-width: 620px; color: #B9C7D4; font-size: 1.08rem; }
.crumbs { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--silver); }
.crumbs a { color: var(--cyan-light); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { opacity: 0.5; margin: 0 6px; }

/* ============ Content / prose ============ */
.prose-wrap { max-width: var(--wide); margin: 0 auto; padding: 66px 20px 80px; }
.prose { max-width: 760px; }
.prose.wide { max-width: 100%; }
.prose h2 { margin: 40px 0 14px; font-size: 1.7rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; font-size: 1.2rem; color: var(--navy); }
.prose p { margin: 0 0 16px; color: #3B4E60; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: #3B4E60; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--navy); }
.lead { font-size: 1.15rem; color: #2C3E50 !important; }
.eyebrow-dark { color: var(--cyan); }

/* two-column cards for values / vision-mission */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 30px; }
.mv-card {
  background: #fff; border: 1px solid var(--silver-line); border-radius: 14px; padding: 26px;
  border-top: 3px solid var(--cyan);
}
.mv-card h3 { margin-top: 0; }
.mv-card p { margin-bottom: 0; }

/* callout box */
.callout {
  background: linear-gradient(180deg, rgba(41,168,224,0.08), rgba(41,168,224,0.03));
  border: 1px solid rgba(41,168,224,0.25); border-left: 4px solid var(--cyan);
  border-radius: 12px; padding: 20px 22px; margin: 24px 0;
}
.callout p { margin: 0; color: #2C3E50; }

/* ============ Pricing cards (spec-sheet style) ============ */
.plans { max-width: var(--wide); margin: 0 auto; padding: 10px 20px 20px; }
.plans h2 { margin-bottom: 6px; }
.plans .plans-sub { color: var(--silver); margin-bottom: 24px; }
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px; margin-bottom: 34px;
}
.plan-card {
  background: #fff; border: 1px solid var(--silver-line); border-radius: 14px;
  padding: 22px 20px; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.plan-card:hover {
  transform: translateY(-4px); border-color: rgba(41,168,224,0.55);
  box-shadow: 0 18px 40px rgba(14,42,71,0.1);
}
.plan-card.featured { border-color: var(--cyan); box-shadow: 0 12px 30px rgba(41,168,224,0.16); }
.plan-name { font-family: var(--display); font-weight: 800; font-stretch: 105%; color: var(--navy-deep); font-size: 1.1rem; }
.plan-speed { font-family: var(--mono); color: var(--cyan); font-weight: 600; font-size: 0.9rem; margin: 4px 0 14px; }
.plan-price { font-family: var(--mono); font-weight: 600; font-size: 1.35rem; color: var(--navy-deep); margin-top: auto; }
.plan-price small { display: block; font-size: 0.72rem; color: var(--silver); font-weight: 500; letter-spacing: 0.04em; }
.plan-quota {
  font-size: 0.85rem; color: #46596B; padding: 8px 0; margin: 0 0 12px;
  border-top: 1px solid var(--silver-line); border-bottom: 1px solid var(--silver-line);
}
.plan-badge {
  align-self: flex-start; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em;
  color: #fff; background: var(--cyan); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}
.fees-box {
  background: var(--paper); border: 1px solid var(--silver-line); border-radius: 12px;
  padding: 20px 22px; margin-top: 6px;
}
.fees-box h3 { margin: 0 0 10px; font-size: 1rem; }
.fees-box ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.fees-box li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; padding: 5px 0; border-bottom: 1px solid var(--silver-line); }
.fees-box li span:last-child { font-family: var(--mono); font-weight: 500; color: var(--navy-deep); white-space: nowrap; }

/* ============ FAQ accordion ============ */
.faq { max-width: 860px; margin: 0 auto; padding: 30px 20px 90px; }
.faq-list { margin-top: 14px; }
.faq-item {
  border: 1px solid var(--silver-line); border-radius: 12px; background: #fff;
  margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: rgba(41,168,224,0.5); box-shadow: 0 10px 26px rgba(14,42,71,0.07); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: var(--display); font-weight: 700; color: var(--navy-deep); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--mono); font-size: 1.5rem; color: var(--cyan);
  transition: transform 0.25s ease; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; color: #3B4E60; }
.faq-a a { color: var(--navy); }

/* ============ Contact ============ */
.contact-grid {
  max-width: var(--wide); margin: 0 auto; padding: 66px 20px 40px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start;
}
.contact-info h2 { font-size: 1.5rem; margin-bottom: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--silver-line); }
.contact-list .ci-ico {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(41,168,224,0.12); color: var(--cyan);
}
.contact-list .ci-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); display: block; }
.contact-list a { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--cyan); }
.contact-form {
  background: #fff; border: 1px solid var(--silver-line); border-radius: 16px; padding: 30px;
  box-shadow: 0 18px 44px rgba(14,42,71,0.07);
}
.contact-form h2 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-form .form-sub { color: var(--silver); font-size: 0.92rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--silver-line); border-radius: 10px;
  font-family: var(--body); font-size: 1rem; color: var(--ink); background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41,168,224,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.map-embed {
  max-width: var(--wide); margin: 10px auto 0; padding: 0 20px 80px;
}
.map-embed iframe {
  width: 100%; height: 380px; border: 0; border-radius: 16px;
  border: 1px solid var(--silver-line);
}

/* ============ Social ============ */
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: #C9D6E2; transition: background 0.2s, color 0.2s;
}
.f-social a:hover { background: var(--cyan); color: #fff; }
.f-hours { font-size: 0.82rem; color: var(--silver); margin-top: 10px; line-height: 1.5; }

/* ============ Footer bottom + Sendar badge ============ */
.f-bottom {
  border-top: 1px solid rgba(142,151,159,0.18);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  max-width: var(--wide); margin: 0 auto; padding: 16px 20px 26px;
}
@media (min-width: 861px) { .f-bottom { padding-right: 96px; } }
.f-bottom .f-legal { border: 0; padding: 0; margin: 0; text-align: left; }
.sendar-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: #C9D6E2; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; padding: 7px 16px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.sendar-badge svg { color: #E8842B; transition: transform 0.3s ease; }
.sendar-badge strong { color: #fff; font-weight: 700; }
.sendar-badge:hover { border-color: #E8842B; background: rgba(232,132,43,0.08); }
.sendar-badge:hover svg { transform: translateX(-1px) scale(1.05); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .mv-grid { grid-template-columns: 1fr; }
  .fees-box ul { grid-template-columns: 1fr; }
  .f-bottom { justify-content: center; text-align: center; }
  .f-bottom .f-legal { text-align: center; }
}

/* ============ Interior page animation ============ */
.page-hero .crumbs, .page-hero h1, .page-hero p {
  opacity: 0; transform: translateY(18px);
  animation: fade-up 0.85s cubic-bezier(0.2,0.7,0.2,1) forwards;
}
.page-hero h1 { animation-delay: 0.10s; }
.page-hero p { animation-delay: 0.22s; }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.2,0.7,0.2,1), transform 0.6s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.42s; }

/* ============ RTL (Arabic) ============ */
/* logo + brand stay on the LEFT; the Arabic menu reads right-to-left on the right */
[dir="rtl"] .header-inner { direction: ltr; }
[dir="rtl"] #nav-menu { direction: rtl; }
bdi, .ltr { unicode-bidi: isolate; }
[dir="rtl"] .has-sub > ul { left: auto; right: 0; }
[dir="rtl"] .lang-switch > ul { right: auto; left: 0; }
[dir="rtl"] .callout { border-left: 0; border-right: 4px solid var(--cyan); }
[dir="rtl"] .spec > div:hover { box-shadow: inset -3px 0 0 var(--cyan); }
[dir="rtl"] .skip-link { left: auto; right: -999px; border-radius: 0 0 0 8px; }
[dir="rtl"] .skip-link:focus { left: auto; right: 0; }
[dir="rtl"] .why-grid li:hover,
[dir="rtl"] .plan-card { text-align: right; }
[dir="rtl"] .hero-motif { right: auto; left: 2%; }
/* keep numbers, phones, emails and tech tokens left-to-right inside Arabic text */
[dir="rtl"] .mono,
[dir="rtl"] .plan-price,
[dir="rtl"] .plan-speed,
[dir="rtl"] .stat-num { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .stat { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .fees-box li,
[dir="rtl"] .spec > div { direction: rtl; }
[dir="rtl"] .fees-box li span:last-child,
[dir="rtl"] .spec dd { direction: ltr; unicode-bidi: isolate; text-align: left; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-word, .hero .reveal-up { animation-duration: 0.01s; animation-delay: 0s; }
  main section:not(.hero) .reveal-up { transition: none; opacity: 1; transform: none; }
  .sig-dash, .led, .rip, .fiber-pulse, .fiber-end, .wa-float::after, .orbit-spin { animation: none; }
  .rip { opacity: 0.35; transform: scale(1.6); }
  .faq-item summary::after, .sendar-badge svg, .has-sub > a::after { transition: none; }
  .page-hero .crumbs, .page-hero h1, .page-hero p { animation: none; opacity: 1; transform: none; }
  .reveal, .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
}
