:root {
  --ink: #071426;
  --ink-soft: #3f4c60;
  --blue: #0b57d0;
  --blue-dark: #073d96;
  --cyan: #45d3ff;
  --ice: #eef7ff;
  --line: #dce7f3;
  --white: #fff;
  --green: #20b858;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(7, 20, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Tajawal", Arial, sans-serif; color: var(--ink); background: #fff; font-size: 17px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; right: 16px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 40; border-bottom: 1px solid rgba(255,255,255,.16); background: rgba(5,18,34,.9); box-shadow: 0 8px 28px rgba(0,0,0,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.42); border-radius: 14px; color: var(--cyan); font-size: 24px; }
.brand strong { display: block; font-size: 1.25rem; line-height: 1.05; }
.brand small { display: block; margin-top: 5px; font-size: .98rem; line-height: 1.15; font-weight: 500; opacity: .96; }
nav { display: flex; align-items: center; gap: 26px; color: #fff; font-weight: 500; }
nav a { transition: opacity .2s ease; }
nav a:hover { opacity: .75; }
.nav-call { padding: 10px 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }

.hero { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,20,38,.16), rgba(7,20,38,.02)), url("./hero-technician.webp"); background-position: center; background-size: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,38,.96) 0%, rgba(7,20,38,.72) 46%, rgba(7,20,38,.14) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 110px; padding-right: min(44%, 520px); }
.eyebrow, .kicker { margin: 0 0 14px; color: var(--blue); font-size: .95rem; font-weight: 800; letter-spacing: .06em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #b8eaff; }
.eyebrow span { width: 34px; height: 2px; background: var(--cyan); }
h1 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(3rem, 6vw, 6.2rem); line-height: 1.05; letter-spacing: -.045em; }
h1 em { color: var(--cyan); font-style: normal; }
.hero-copy { max-width: 660px; margin: 24px 0 28px; color: #dce8f8; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 54px; padding: 13px 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-whatsapp { background: var(--green); color: #fff; box-shadow: 0 12px 30px rgba(32,184,88,.25); }
.btn-call { background: #fff; color: var(--ink); }
.hero-note { margin-top: 22px; color: #bdcbe0; font-size: 1rem; }
.hero-note span { color: var(--cyan); margin-left: 7px; }

.section { padding: 100px 0; }
#services, #coverage, #location { scroll-margin-top: 96px; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; letter-spacing: -.03em; }
.section-heading > p:last-child { margin: 14px 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 470px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-photo { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; background: var(--ice); }
.service-number { position: absolute; z-index: 2; top: 14px; left: 14px; min-width: 38px; padding: 5px 9px; border-radius: 999px; background: rgba(5,18,34,.74); color: #fff; font-size: .78rem; font-weight: 800; text-align: center; backdrop-filter: blur(8px); }
.service-body { flex: 1; padding: 24px; display: flex; flex-direction: column; }
.service-card h3 { margin: 0 0 8px; font-size: 1.4rem; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.85; }
.service-card a { margin-top: auto; padding-top: 24px; font-weight: 800; color: var(--blue); }
.service-card a span { display: inline-block; margin-right: 6px; transition: transform .2s ease; }
.service-card a:hover span { transform: translateX(-4px); }

.steps { background: var(--ice); }
.steps-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.section-heading.compact { margin-bottom: 0; position: sticky; top: 30px; }
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid #ccdeef; }
.steps-list li:first-child { padding-top: 0; }
.steps-list > li > span { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--blue); font-weight: 800; box-shadow: 0 8px 24px rgba(11,87,208,.1); }
.steps-list strong { display: block; font-size: 1.2rem; }
.steps-list p { margin: 3px 0 0; color: var(--ink-soft); }

.coverage-card { position: relative; overflow: hidden; min-height: 360px; border-radius: 30px; background: linear-gradient(125deg, #061426, #0a3678 64%, #0b57d0); color: #fff; padding: 58px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.coverage-card::before { content: ""; position: absolute; width: 440px; height: 440px; border: 1px solid rgba(69,211,255,.2); border-radius: 50%; left: -100px; top: -180px; box-shadow: 0 0 0 60px rgba(69,211,255,.035), 0 0 0 120px rgba(69,211,255,.025); }
.coverage-copy { position: relative; z-index: 1; max-width: 660px; }
.kicker.light { color: var(--cyan); }
.coverage-copy h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.2; }
.coverage-copy > p:last-of-type { color: #d6e2f4; }
.coverage-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 26px; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
.riyadh-mark { position: relative; z-index: 1; min-width: 250px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 50px rgba(69,211,255,.08); }
.riyadh-mark span { color: var(--cyan); font-size: 2rem; font-weight: 800; }
.riyadh-mark strong { font-size: 1rem; }

.location { background: var(--ice); }
.location-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: center; }
.location-copy h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; letter-spacing: -.03em; }
.location-copy > p:last-of-type { margin: 14px 0 26px; color: var(--ink-soft); font-size: 1.05rem; }
.location-button { background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(11,87,208,.2); }
.map-frame { min-height: 390px; overflow: hidden; border: 8px solid #fff; border-radius: 28px; background: #dce7f3; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 390px; display: block; border: 0; }

footer { padding: 46px 0; background: #04101e; color: #b9c6d8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { color: #fff; }
.footer-contact { display: flex; gap: 12px; }
.contact-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.18); transition: transform .2s ease, background .2s ease; }
.contact-icon:hover { transform: translateY(-2px); }
.contact-icon svg { width: 24px; height: 24px; fill: currentColor; }
.phone-icon { background: var(--blue); }
.whatsapp-icon { background: var(--green); }
.back-to-top { position: fixed; z-index: 48; left: 24px; bottom: 24px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(7,20,38,.24); transition: transform .2s ease, background .2s ease; }
.back-to-top:hover { transform: translateY(-3px); background: var(--blue-dark); }
.back-to-top svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mobile-bar { display: none; }

@media (max-width: 900px) {
  nav a:not(.nav-call) { display: none; }
  .hero { min-height: 700px; }
  .hero-image { background-position: 35% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,20,38,.94), rgba(7,20,38,.7) 62%, rgba(7,20,38,.22)); }
  .hero-content { padding-right: 36%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-layout { grid-template-columns: 1fr; gap: 42px; }
  .section-heading.compact { position: static; }
  .riyadh-mark { min-width: 200px; }
}

@media (max-width: 620px) {
  body { padding-bottom: 68px; }
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { height: 74px; }
  #services, #coverage, #location { scroll-margin-top: 82px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: 1.28rem; }
  .brand small { font-size: .95rem; font-weight: 700; }
  nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.46); border-radius: 14px; display: grid; place-content: center; gap: 5px; background: rgba(7,20,38,.18); backdrop-filter: blur(8px); }
  .mobile-menu summary span { display: block; width: 21px; height: 2px; border-radius: 999px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
  .mobile-menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu-panel { position: absolute; top: 56px; left: 0; width: min(270px, calc(100vw - 28px)); padding: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(5,18,34,.97); box-shadow: 0 22px 55px rgba(0,0,0,.32); backdrop-filter: blur(16px); }
  .mobile-menu-panel a { min-height: 50px; padding: 11px 14px; border-radius: 12px; display: flex; align-items: center; color: #fff; font-weight: 700; }
  .mobile-menu-panel a + a { border-top: 1px solid rgba(255,255,255,.09); }
  .mobile-menu-panel .mobile-menu-call { margin-top: 8px; justify-content: center; border: 0; background: var(--blue); }
  .hero { min-height: 720px; align-items: flex-end; padding-bottom: 58px; }
  .hero-image { background-position: 31% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,20,38,.08) 0%, rgba(7,20,38,.66) 40%, rgba(7,20,38,.98) 77%); }
  .hero-content { padding-top: 180px; padding-right: 0; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.1rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { grid-column: auto; min-height: 0; display: flex; }
  .coverage-card { padding: 38px 24px; border-radius: 24px; display: block; }
  .riyadh-mark { width: 180px; min-width: 0; margin: 38px auto 0; }
  .location-layout { grid-template-columns: 1fr; gap: 30px; }
  .location-button { width: 100%; }
  .map-frame, .map-frame iframe { min-height: 340px; height: 340px; }
  .map-frame { border-width: 5px; border-radius: 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .back-to-top { left: 16px; bottom: 84px; width: 48px; height: 48px; }
  .mobile-bar { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 68px; background: #fff; box-shadow: 0 -8px 28px rgba(7,20,38,.14); }
  .mobile-bar a { display: grid; place-items: center; color: var(--ink); }
  .mobile-bar svg { width: 31px; height: 31px; fill: currentColor; }
  .mobile-bar .whatsapp { background: var(--green); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
