/* ICTech Daro - site.css
   Mobile-first: base rules are for phones, min-width queries enlarge for tablets/desktops.
   Palette taken from the logo; orange is an accent, navy carries the brand. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0D3966;
  --navy-dark: #051D3A;
  --blue: #1570EF;
  --blue-ink: #0F5BD1;
  --orange: #FF8A00;
  --orange-ink: #A34F00;
  --white: #FFFFFF;
  --gray: #F4F6F8;
  --ink: #0F2238;
  --muted: #4B5B70;
  --line: #E1E7EF;
  --tint: #E8F0FD;

  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(5, 29, 58, .06), 0 8px 24px rgba(5, 29, 58, .07);
  --shadow-lg: 0 2px 4px rgba(5, 29, 58, .08), 0 18px 40px rgba(5, 29, 58, .14);
  --header-h: 64px;
  --gutter: 20px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); /* keep focused fields clear of the mobile action bar */ }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); /* room for the mobile action bar */
}
img, svg, video { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 8vw + .2rem, 3.9rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.65rem, 4.2vw + .6rem, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 700 .98rem/1.2 var(--font-head);
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--orange); color: var(--navy-dark); box-shadow: 0 6px 16px rgba(255, 138, 0, .28); }
.btn-primary:hover { background: #FF9A24; color: var(--navy-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.on-dark .btn-ghost, .btn-ghost.on-dark { color: #fff; border-color: rgba(255, 255, 255, .7); }
.on-dark .btn-ghost:hover, .btn-ghost.on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header / navigation (mobile first) ---------- */
.site-header { position: static; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.js .site-header { position: sticky; }
html:not(.js) .nav-toggle { display: none; }   /* no JavaScript: the menu is simply listed in the page */
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(5, 29, 58, .1); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 0 12px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark { height: 36px; width: auto; display: block; }
.brand-name { font: 800 1.2rem/1 var(--font-head); letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.brand-name span { color: var(--navy); }
.brand-light .brand-name, .brand-light .brand-name span { color: #fff; }
.brand-chip { display: inline-flex; background: #fff; border-radius: 10px; padding: 6px 9px; }
.brand-chip .brand-mark { height: 30px; }

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: var(--gray); color: var(--navy); border: 1px solid var(--line); border-radius: 999px;
  font: 700 .9rem/1 var(--font-head); cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Without JavaScript the menu is simply visible and stacked under the logo. */
.js .nav-toggle { display: inline-flex; }
.site-nav { flex: 1 0 100%; padding: 4px 0 20px; }
.js .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex: none; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(5, 29, 58, .12); padding: 8px var(--gutter) 20px; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.nav-list { list-style: none; }
.nav-row { display: flex; align-items: center; }
.nav-link { flex: 1; display: block; padding: 14px 4px; color: var(--navy); font: 700 1rem/1.2 var(--font-head); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-item.is-active > .nav-link, .nav-item.is-active > .nav-row > .nav-link { color: var(--blue-ink); }
.sub-toggle { display: none; }
.sub-list { list-style: none; padding: 4px 0 8px 14px; border-bottom: 1px solid var(--line); }
.sub-link { display: flex; align-items: center; gap: 10px; padding: 11px 4px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sub-link .icon { color: var(--blue); }
.sub-link.is-active { color: var(--blue-ink); font-weight: 700; }
.nav-cta { width: 100%; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); }
.hero::before { /* faint engineering grid */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-sun { position: absolute; right: -150px; bottom: -190px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FFC107 0%, var(--orange) 55%, #F26A00 100%); opacity: .95; }
.hero-sun::after { content: ""; position: absolute; inset: -34px; border-radius: 50%; border: 1px solid rgba(255, 170, 40, .35); }
.hero-blocks { position: absolute; right: 22px; top: 26px; width: 88px; height: 88px; opacity: .9; }
.hero-blocks i { position: absolute; width: 36px; height: 36px; border-radius: 7px; }
.hero-blocks i:nth-child(1) { right: 0; top: 0; background: var(--orange); }
.hero-blocks i:nth-child(2) { right: 26px; top: 26px; background: #6F8094; }
.hero-blocks i:nth-child(3) { right: 0; top: 52px; background: #8091A5; }
.hero.has-photo { background-image: linear-gradient(160deg, rgba(13, 57, 102, .94), rgba(5, 29, 58, .86)), url("../img/hero.jpg"); background-size: cover; background-position: center; }
.hero-inner { padding-block: 56px 112px; }
.eyebrow { display: inline-block; margin: 0 0 16px; font: 700 .78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #FFB04D; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .accent { color: var(--orange); }
.hero-lead { max-width: 34rem; font-size: 1.1rem; color: #D5E1F2; margin-bottom: 0; }

/* Four service cards that overlap the hero edge */
.service-strip { position: relative; z-index: 2; margin-top: -72px; }
.service-grid { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; }
.service-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); color: var(--ink); }
.service-card h3 { margin-bottom: .35em; }
.service-card p { color: var(--muted); font-size: .96rem; margin-bottom: 1em; }
.service-card .link-arrow { margin-top: auto; color: var(--blue-ink); }
.icon-chip { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 14px; background: var(--tint); color: var(--blue); }
.icon-chip .icon { width: 26px; height: 26px; }
.icon-chip.orange { background: #FFF1DD; color: var(--orange-ink); }
.on-dark .icon-chip { background: rgba(255, 255, 255, .1); color: #FFB04D; }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-gray { background: var(--gray); }
.section-dark { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%); color: #D5E1F2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: #9CC2FF; }
.section-head { max-width: 42rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #C9D6E8; }
.kicker { display: block; margin-bottom: 10px; font: 700 .78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
.section-dark .kicker { color: #FFB04D; }

.split { display: grid; gap: 32px; align-items: center; }
.grid { display: grid; gap: 16px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.section-gray .card { box-shadow: none; }
.on-dark .card, .section-dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.section-dark .card p { color: #C9D6E8; }

.check-list { list-style: none; display: grid; gap: 12px; margin: 0 0 1.4rem; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231570EF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.section-dark .check-list li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB04D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* Locations */
.loc-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; list-style: none; }
.loc { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.loc .icon { color: var(--blue); margin-bottom: 8px; width: 24px; height: 24px; }
.loc strong { display: block; font: 700 1.1rem/1.2 var(--font-head); color: var(--navy); }
.loc span { display: block; margin-top: 4px; font-size: .9rem; color: var(--muted); }
.loc.is-hq { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); }
.loc.is-hq strong { color: #fff; }
.loc.is-hq span { color: #C9D6E8; }
.loc.is-hq .icon { color: #FFB04D; }
.loc .badge, .badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #FFF1DD; color: var(--orange-ink); font: 700 .72rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.loc.is-hq .badge { background: var(--orange); color: var(--navy-dark); margin-bottom: 10px; }

/* Call-to-action band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; text-align: center; padding-block: 64px; }
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -150px; bottom: -230px; background: radial-gradient(circle at 30% 30%, #FFC107, var(--orange) 60%, #F26A00); opacity: .9; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 36rem; margin-inline: auto; color: #D5E1F2; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Inner-page hero + prose ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; padding-block: 44px 52px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -150px; bottom: -220px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FFC107, var(--orange) 60%, #F26A00); opacity: .9; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 6vw + .3rem, 3.2rem); margin-bottom: .4em; }
.page-hero p { max-width: 38rem; color: #D5E1F2; font-size: 1.08rem; margin-bottom: 0; }
.breadcrumbs { margin-bottom: 14px; font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: #B7C8DF; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: #D5E1F2; }
.prose { max-width: 46rem; }
.prose p { color: #26384D; }
.prose h2 { margin-top: 1.6em; }

/* ---------- Service pages ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 20px 20px 20px 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: #fff; font: 800 1.05rem/1 var(--font-head); }
.steps h3 { margin-bottom: .2em; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }
.aside-card { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #D5E1F2; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }
.aside-card h3, .aside-title { color: #fff; }
.aside-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
.aside-card .btn-row { margin-top: 1.2rem; }
.related { display: grid; gap: 12px; grid-template-columns: 1fr; list-style: none; }
.related a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font: 700 1rem/1.25 var(--font-head); }
.related a:hover { border-color: var(--blue); }
.related .icon { color: var(--blue); width: 24px; height: 24px; }
.related .link-arrow { margin-left: auto; }
.cap-grid .card { display: flex; flex-direction: column; }
.cap-grid .icon-chip { margin-bottom: 12px; }
@media (min-width: 640px) { .related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .related { grid-template-columns: repeat(4, 1fr); } .steps { grid-template-columns: repeat(4, 1fr); } .steps li { padding: 72px 20px 20px; } .steps li::before { top: 20px; left: 20px; } }

/* ---------- Projects ---------- */
.project-grid { display: grid; gap: 18px; grid-template-columns: 1fr; list-style: none; }
.project { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-media .ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: #9CC2FF; font: 600 .9rem/1.2 var(--font-head); }
.project-media .ph .icon { width: 36px; height: 36px; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.project-body h3 { margin-bottom: .3em; }
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--blue-ink); font: 600 .75rem/1.2 var(--font-head); }
.project-body p { color: var(--muted); font-size: .96rem; }
.project-body details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.project-body summary { cursor: pointer; font: 700 .92rem/1.2 var(--font-head); color: var(--blue-ink); }
.project-body details > :not(summary) { margin-top: 10px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.project-actions a.tag { text-decoration: none; padding: 8px 14px; }
.project-actions a.tag:hover { background: var(--blue-ink); color: #fff; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-bar button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 700 .85rem/1 var(--font-head); cursor: pointer; }
.filter-bar button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; gap: 24px; align-items: start; }
.form-card { padding: 24px; }
.form-card h2 { font-size: 1.5rem; margin-bottom: .3em; }
.form-intro, .form-note { color: var(--muted); font-size: .92rem; }
.form-note { margin: 12px 0 0; text-align: center; }
.h3 { font-size: 1.15rem; }
.form { display: grid; gap: 16px; margin-top: 8px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
.field label { font: 600 .92rem/1.3 var(--font-head); color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);   /* 16px stops iOS from zooming in */
  background: #fff; border: 1.5px solid #B9C5D6; border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3966' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 112, 239, .18); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { margin: 0; color: #B3261E; font-size: .88rem; font-weight: 500; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin: 12px 0 4px; font-weight: 500; }
.alert-error { background: #FDECEA; border: 1px solid #F3B8B3; color: #8C1D18; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .icon-chip { margin-inline: auto; background: #E6F6EC; color: #1B7F3B; }
.form-success:focus { outline: none; }
.contact-aside { display: grid; gap: 16px; }
.contact-list { list-style: none; display: grid; gap: 2px; margin-top: 8px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.contact-list li + li { border-top: 1px solid var(--line); }
.contact-list .icon { margin-top: .15em; }
.contact-list strong { display: block; font: 700 .9rem/1.3 var(--font-head); color: var(--navy); }
.contact-list span { color: var(--muted); }
.contact-list li { color: var(--ink); }
.contact-list .icon { color: var(--blue); }
.contact-list a { color: var(--blue-ink); }
@media (min-width: 640px) { .form-card { padding: 32px; } .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.6fr 1fr; gap: 32px; } .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Small utilities (replace inline styles so the CSP can stay strict) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.aside-card .icon-chip, .card-feature .icon-chip { background: rgba(255, 255, 255, .1); color: #FFB04D; }
.card-feature { background: linear-gradient(150deg, var(--navy), var(--navy-dark)); border: 0; color: #fff; padding: 32px; }
.card-feature h3 { color: #fff; }
.card-feature p { color: #C9D6E8; }
.card-feature .link-arrow { color: #FFB04D; }
.text-center { text-align: center; margin-inline: auto; }
.btn-row-center { justify-content: center; }
.h1-md { font-size: clamp(2rem, 6vw, 3rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #C9D6E8; padding-top: 56px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.footer-tag { margin: 16px 0 6px; font: 700 1rem/1.3 var(--font-head); color: #fff; }
.footer-blurb { font-size: .95rem; max-width: 24rem; }
.footer-h { margin: 0 0 14px; font: 700 .8rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #FFB04D; }
.footer-links, .footer-contact, .social { list-style: none; display: grid; gap: 4px; }
.footer-links a, .social a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 0; color: #C9D6E8; text-decoration: none; }
.footer-links a:hover, .social a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; padding: 6px 0; }
.footer-contact .icon { margin-top: .2em; color: #FFB04D; }
.footer-contact a { color: #C9D6E8; text-decoration: none; word-break: break-word; }
.social { grid-auto-flow: column; justify-content: start; gap: 18px; margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #C9D6E8; }

/* Mobile action bar */
.action-bar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(5, 29, 58, .1); }
.action-bar .btn { min-height: 48px; padding-inline: 1rem; }
.action-bar .btn-primary { flex: 1.4; }
.action-bar .btn-ghost { flex: 1; }

/* ---------- Tablet (>= 640px) ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .section { padding-block: 80px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .loc-grid { grid-template-columns: repeat(3, 1fr); }
  .loc.is-hq { grid-column: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .hero-sun { right: -60px; width: 400px; height: 400px; bottom: -150px; }
  .cta-band::after { width: 360px; height: 360px; right: -120px; bottom: -190px; }
  .hero-blocks { right: 40px; top: 40px; width: 110px; height: 110px; }
  .hero-blocks i { width: 46px; height: 46px; border-radius: 9px; }
  .hero-blocks i:nth-child(2) { right: 32px; top: 32px; }
  .hero-blocks i:nth-child(3) { top: 66px; }
}

/* ---------- Desktop (>= 1024px) ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 78px; --gutter: 32px; }
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 0; }
  .site-header, .js .site-header { position: sticky; }
  .action-bar { display: none; }
  .brand-mark { height: 44px; }
  .brand-name { font-size: 1.4rem; }

  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav, .js .site-nav.is-open { display: flex; position: static; flex: none; align-items: center; gap: 22px; padding: 0; border: 0; box-shadow: none; background: transparent; max-height: none; overflow: visible; }
  .nav-list { display: flex; align-items: center; gap: 4px; }
  .nav-item { position: relative; }
  .nav-link { flex: none; padding: 10px 12px; border: 0; font-size: .93rem; border-radius: 8px; position: relative; }
  .nav-link:hover { color: var(--blue-ink); background: var(--gray); }
  .nav-item.is-active > .nav-link::after, .nav-item.is-active > .nav-row > .nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--orange); }
  .sub-toggle { display: inline-grid; place-items: center; width: 28px; height: 36px; margin-left: -8px; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 8px; }
  .sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s ease; }
  .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
  .sub-list { display: none; position: absolute; left: 0; top: 100%; min-width: 260px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); }
  .has-sub:hover > .sub-list, .has-sub:focus-within > .sub-list, .has-sub.is-open > .sub-list { display: block; }
  .sub-link { padding: 11px 12px; border-radius: 8px; }
  .sub-link:hover { background: var(--gray); color: var(--navy); }
  .nav-cta { width: auto; margin: 0; min-height: 46px; padding-inline: 1.3rem; }

  .section { padding-block: 96px; }
  .hero-inner { padding-block: 96px 160px; }
  .hero-lead { font-size: 1.22rem; }
  .hero-sun { right: -40px; bottom: -180px; width: 560px; height: 560px; }
  .hero-blocks { right: 80px; top: 70px; width: 150px; height: 150px; }
  .hero-blocks i { width: 62px; height: 62px; border-radius: 12px; }
  .hero-blocks i:nth-child(2) { right: 44px; top: 44px; }
  .hero-blocks i:nth-child(3) { top: 90px; }
  .service-strip { margin-top: -96px; }
  .service-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.reverse > :first-child { order: 2; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .loc-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .page-hero { padding-block: 72px 80px; }
  .page-hero::after { width: 380px; height: 380px; right: -60px; bottom: -190px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
  .footer-grid > :last-child { grid-column: auto; }
}

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

@media print {
  .site-header, .action-bar, .nav-toggle, .cta-band, .hero-art { display: none !important; }
  body { padding: 0; }
}

/* ---- Arabic accents (self-hosted subset; downloaded only on pages that contain Arabic) ---- */
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("../fonts/noto-sans-arabic-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+200C-200F, U+FDF2, U+FE70-FEFC;
}
.ar {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, "Geeza Pro", sans-serif;
  line-height: 1.7;
  unicode-bidi: isolate;
  text-align: left;   /* keep the accent line aligned with the English text above it */
}
.hero-ar {
  margin: .75rem 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--orange);
}
.page-hero p.page-hero-ar {
  margin: .5rem 0 0;
  font-size: 1.0625rem;
}
@media (min-width: 1024px) {
  .hero-ar { font-size: 1.3125rem; }
}
