/*
  ALCEO — one-page website
  VOICE   Confident and approachable: short statements, big type, calm detail.
  IDEA    A journey from idea to reality: a dotted route rail, contour "map" lines and cinematic
          night-blue chapters, alternating with bright white content sections.
  PICTURE A layered digital landscape in the four ALCEO blues behind huge uppercase statements.
  TYPE    Inter 800 uppercase for statements, Inter for text (per the ALCEO brand sheet), Fraunces italic for small
          accent labels; Noto Sans Arabic for Arabic.
  LAYOUT  Full-bleed dark chapters (hero, why, process, footer) + white sections; content max 1200px.
*/

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  /* ALCEO "Forward" palette (from the logo brand sheet) */
  --deep: #1B3A8C;     /* primary blue */
  --medium: #3D7BFF;   /* bright blue (chevron) */
  --royal: #0F1F4D;    /* navy, used as a service colour */
  --sky: #7DB8FF;      /* light blue (chevron) */
  --black: #000;
  --night: #0F1F4D;    /* navy: dark sections, logo text */
  --night-2: #1B3A8C;
  --ink: #0E1424;
  --ink-2: #3D4660;
  --ink-3: #5F6880;
  --line: #DCE4F5;
  --mist: #EEF2F9;     /* light panel */
  --white: #fff;
  --danger: #B42318;
  --success: #067647;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ar: "Noto Sans Arabic", "Inter", Tahoma, Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--black); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
html[lang="ar"] :is(h1, h2, h3, .brand-word, .btn, .mega, .svc-tab, .footer-statement) { letter-spacing: 0; line-height: 1.45; }
p { margin: 0 0 1em; }
a { color: var(--deep); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 2 * max(5vw, 20px)); margin-inline: auto; position: relative; z-index: 1; }
.section { position: relative; padding-block: clamp(80px, 10vw, 140px); overflow: clip; }
.dark { background: var(--night); color: #fff; }
.dark :is(h1, h2, h3) { color: #fff; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Type */
.label { margin: 0 0 18px; font: italic 600 clamp(21px, 2vw, 26px)/1.2 var(--serif); color: var(--deep); letter-spacing: 0; }
.dark .label { color: var(--sky); }
html[lang="ar"] .label { font: 700 20px/1.5 var(--font-ar); }
.h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; margin-bottom: 24px; }
.mega { font-size: clamp(36px, 10.4vw, 104px); font-weight: 800; line-height: .96; letter-spacing: -0.015em; text-transform: uppercase; }
.mega-sm { font-size: clamp(30px, 6vw, 72px); line-height: 1.02; margin-bottom: 24px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 60ch; }
.dark .lead { color: rgba(255, 255, 255, .78); }
.section-head { max-width: 860px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Icons */
.arrow, .chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; flex: none; }
html[dir="rtl"] :is(.arrow, .chev) { transform: scaleX(-1); }
.ico, .card-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--deep); }
.ico svg, .card-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn-lg { min-height: 56px; padding-inline: 30px; font-size: 17px; }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: #142D6E; }
.btn-white { background: #fff; color: var(--night); }
.btn-white:hover { background: var(--sky); color: var(--night); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-ink { background: var(--night); color: #fff; }
.btn-ink:hover { background: var(--deep); }
.btn-ghost { background: #fff; color: var(--deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--deep); }
.btn:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Announcement bar ---------- */
.announce { position: relative; z-index: 45; background: var(--deep); color: #fff; font-size: 14.5px; font-weight: 600; text-align: center; }
.announce p { margin: 0; padding: 11px 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 18px; }
.announce a { display: inline-flex; align-items: center; gap: 4px; color: #fff; text-decoration: none; padding-inline-start: 18px; border-inline-start: 1px solid rgba(255, 255, 255, .45); }
.announce a:hover { color: var(--sky); }
.announce .chev { width: 16px; height: 16px; }
@media (max-width: 600px) { .announce { font-size: 13px; } .announce a { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--night); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.brand img { height: 34px; width: auto; }
@media (max-width: 380px) { .brand img { height: 28px; } }
.brand-word { font-family: var(--font); font-weight: 800; font-size: 27px; letter-spacing: .06em; line-height: 1; }
.site-nav { margin-inline-start: auto; }
.nav-list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list a { position: relative; display: block; padding: 10px 14px; color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav-list a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .25s ease; }
.nav-list a:hover, .nav-list a.active { color: #fff; }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.alceo-lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); }
.alceo-lang button { min-width: 40px; min-height: 36px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .75); font: 700 13.5px var(--font); cursor: pointer; }
.alceo-lang button:hover { color: #fff; }
.alceo-lang button[aria-pressed="true"] { background: #fff; color: var(--night); }
.header-cta { min-height: 42px; padding-inline: 22px; font-size: 15px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1020px) {
  .site-nav { position: absolute; top: var(--header-h); inset-inline: 0; margin: 0; background: var(--night); border-top: 1px solid rgba(255, 255, 255, .1); padding: 12px max(5vw, 20px) 28px; display: none; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5); }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 16px 4px; font-size: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-list a::after { display: none; }
  .nav-cta-mobile { display: flex; margin-top: 20px; width: 100%; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-tools { margin-inline-start: auto; }
}
@media (max-width: 380px) { .brand-word { font-size: 22px; } .alceo-lang button { min-width: 34px; padding: 0 5px; } .header-inner { gap: 10px; } }

/* ---------- Journey rail ---------- */
.rail { position: fixed; z-index: 40; inset-inline-start: 26px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 20px; padding-block: 8px; }
.rail::before { content: ""; position: absolute; inset-inline-start: 50%; top: -32vh; bottom: -32vh; border-inline-start: 1.5px dashed rgba(143, 163, 200, .55); transform: translateX(-50%); }
html[dir="rtl"] .rail::before { transform: translateX(50%); }
.rail a { position: relative; display: grid; place-items: center; width: 22px; height: 22px; }
.rail a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8FA3C8; transition: all .25s ease; }
.rail a.active::before { width: 14px; height: 14px; background: transparent; border: 3px solid var(--sky); box-shadow: 0 0 0 7px rgba(125, 184, 255, .22); }
.rail a:hover::before { background: var(--sky); }
.rail span { position: absolute; inset-inline-start: 34px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--night); color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s; }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; }
@media (min-width: 1320px) { .rail { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(calc(100svh - var(--header-h) - 42px), 900px); display: grid; align-items: center; overflow: clip; padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.hero-bg, .process-bg { position: absolute; inset: 0; }
.hero-bg svg, .process-bg svg { width: 100%; height: 100%; }
.hero-inner { text-align: center; }
.eyebrow { margin: 0 0 22px; font: italic 600 clamp(20px, 2vw, 26px)/1.2 var(--serif); color: var(--sky); }
html[lang="ar"] .eyebrow { font: 700 20px/1.5 var(--font-ar); }
.hero .mega { margin-bottom: 28px; }
.hero .mega span { display: block; }
html[lang="ar"] .hero .mega { line-height: 1.25; }
.hero-sub { font-size: clamp(21px, 2.2vw, 30px); font-weight: 700; margin-bottom: 14px; }
.hero-desc { font-size: clamp(17px, 1.4vw, 19px); color: rgba(255, 255, 255, .8); max-width: 640px; margin: 0 auto 36px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.next { display: grid; place-items: center; width: 50px; height: 50px; margin: 40px auto 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); color: #fff; transition: background-color .2s, color .2s; }
.next:hover { background: #fff; color: var(--night); }
.next svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drift-a { animation: driftA 16s ease-in-out infinite alternate; }
.drift-b { animation: driftB 20s ease-in-out infinite alternate; }
@keyframes driftA { to { transform: translate(60px, -18px); } }
@keyframes driftB { to { transform: translate(-50px, 14px); } }
@media (max-width: 600px) { .hero-actions .btn { flex: 1 1 100%; } }

/* Contour decorations */
.topo { position: absolute; pointer-events: none; fill: none; stroke: #C9D6F0; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.topo use { vector-effect: non-scaling-stroke; }
.topo .topo-dash { stroke: var(--sky); stroke-dasharray: 4 7; stroke-width: 1.5; }
.dark .topo { stroke: rgba(255, 255, 255, .16); }
.topo-about { width: 720px; inset-inline-end: -260px; top: -120px; }
.topo-why { width: 760px; inset-inline-end: -240px; top: -80px; }
.topo-foot { width: 820px; inset-inline-end: -260px; bottom: -380px; }

/* ---------- About ---------- */
.about .h2 { max-width: 14em; }
.statement { max-width: 980px; }
.statement p { font-size: clamp(21px, 2.3vw, 30px); font-weight: 700; line-height: 1.4; color: var(--black); margin-bottom: .7em; letter-spacing: -0.01em; }
html[lang="ar"] .statement p { line-height: 1.75; letter-spacing: 0; }
.statement mark { background: none; color: var(--deep); }
.about-foot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.about-side > p { color: var(--ink-2); }
.philosophy { margin: 24px 0 0; }
.philosophy figcaption { font: italic 600 19px var(--serif); color: var(--deep); margin-bottom: 6px; }
html[lang="ar"] .philosophy figcaption { font: 700 16px var(--font-ar); }
.philosophy blockquote { margin: 0; font-size: clamp(19px, 1.8vw, 23px); font-weight: 800; line-height: 1.4; color: var(--black); }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.values li { padding-top: 18px; border-top: 3px solid var(--deep); }
.values li:nth-child(2) { border-color: var(--medium); }
.values li:nth-child(3) { border-color: var(--royal); }
.values li:nth-child(4) { border-color: var(--sky); }
.values h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.values p { margin: 0; color: var(--ink-3); font-size: 16px; }
@media (max-width: 900px) { .about-foot { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Services ---------- */
.services { padding-top: 0; }
.svc-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(28px, 4.5vw, 64px); border-radius: 28px; background: var(--mist); }
.svc-list { font-size: clamp(26px, 3vw, 42px); font-weight: 800; line-height: 1.35; letter-spacing: -0.015em; color: var(--black); }
.svc-tab { display: inline; padding: 0; margin: 0 .25em 0 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: start; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 4px; text-underline-offset: 8px; transition: color .2s, text-decoration-color .2s; }
html[dir="rtl"] .svc-tab { margin: 0 0 0 .25em; }
.svc-tab:hover { color: var(--deep); }
.svc-tab[aria-selected="true"] { color: var(--deep); text-decoration-color: var(--c); }
.svc-tab .dot { color: var(--c); }
.svc-hint { margin: 28px 0 0; font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.5; color: var(--ink-3); }
.svc-details { position: relative; }
.svc { background: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 36px); }
.svc + .svc { margin-top: 16px; }
.js .svc:not(.active) { display: none; }
.js .svc.active { animation: svcIn .35s ease; }
@keyframes svcIn { from { opacity: 0; transform: translateY(8px); } }
.svc .card-ico { width: 56px; height: 56px; border: 0; background: var(--c); color: #fff; margin-bottom: 20px; }
.svc .card-ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.svc > p { color: var(--ink-2); }
.inc { margin: 20px 0 10px; font-size: 14px; font-weight: 700; color: var(--deep); }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; }
.ticks li { position: relative; padding: 10px 0; padding-inline-start: 28px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 17px; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--c); }
.card-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--deep); text-decoration: none; }
.card-link:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .card-link:hover .arrow { transform: scaleX(-1) translateX(3px); }
@media (max-width: 900px) { .svc-panel { grid-template-columns: 1fr; } }

/* ---------- Why (accordion) ---------- */
.why .section-head { max-width: 980px; }
.accordion { border-top: 1px solid rgba(255, 255, 255, .28); max-width: 1060px; }
.accordion details { border-bottom: 1px solid rgba(255, 255, 255, .28); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 8px; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion h3 { font-size: clamp(21px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.01em; transition: color .2s; }
.accordion summary:hover h3 { color: var(--sky); }
.plus { position: relative; flex: none; width: 26px; height: 26px; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; margin-top: -1px; background: var(--sky); transition: transform .3s ease; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.accordion p { margin: -6px 0 0; padding: 0 8px 28px; max-width: 62ch; font-size: 18px; color: rgba(255, 255, 255, .78); }

/* ---------- Audiences ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.aud { border-radius: 24px; overflow: hidden; background: var(--mist); transition: transform .3s ease; }
.aud:hover { transform: translateY(-6px); }
.aud-art { padding: 34px 30px 0; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; justify-content: center; }
.aud-art svg { width: 100%; max-width: 280px; height: auto; }
.aud-1 .aud-art { background: var(--deep); }
.aud-2 .aud-art { background: var(--night-2); }
.aud-3 .aud-art { background: var(--sky); }
.aud-body { padding: 26px 30px 32px; }
.aud h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.aud p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .aud-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Process ---------- */
.process { background: var(--night-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 10px; inset-inline: 0; border-top: 2px dashed rgba(143, 163, 200, .6); }
.steps li { position: relative; }
.stop { position: relative; display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--night-2); border: 3px solid var(--sky); box-shadow: 0 0 0 8px rgba(125, 184, 255, .16); margin-bottom: 30px; }
.step-n { display: block; font: italic 600 22px var(--serif); color: var(--sky); margin-bottom: 6px; }
.steps h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; margin-bottom: 10px; }
.steps p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 16.5px; max-width: 26ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px; padding-inline-start: 44px; }
  .steps::before { top: 6px; bottom: 6px; inset-inline: 10px auto; border-top: 0; border-inline-start: 2px dashed rgba(143, 163, 200, .6); }
  .stop { position: absolute; inset-inline-start: -44px; top: 2px; margin: 0; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--sky); color: var(--night); padding-block: clamp(72px, 9vw, 120px); text-align: center; position: relative; overflow: clip; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-band .mega { color: var(--night); max-width: 16em; }
.cta-band p { max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; margin-bottom: 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.channels { list-style: none; margin: 32px 0 28px; padding: 0; display: grid; gap: 18px; }
.channels li { display: flex; gap: 16px; align-items: center; }
.channels li[hidden] { display: none; }
.ch-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.ch-value { font-weight: 700; color: var(--black); text-decoration: none; font-size: 17px; overflow-wrap: anywhere; }
a.ch-value:hover { color: var(--deep); text-decoration: underline; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.socials a, .socials span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--deep); transition: background-color .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.socials span { color: #A8B3CC; cursor: not-allowed; }
.socials svg { width: 21px; height: 21px; fill: currentColor; }
.placeholder-note { margin-top: 24px; font-size: 13.5px; color: var(--ink-3); background: var(--mist); border-radius: 10px; padding: 10px 14px; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: clamp(24px, 3.5vw, 44px); border-radius: 28px; background: var(--mist); }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 15px; color: var(--black); }
.req { color: var(--deep); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid transparent; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 150px; }
html[lang="ar"] .field input[dir="ltr"] { text-align: right; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9C7E6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 4px rgba(125, 184, 255, .35); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select::after { content: ""; position: absolute; inset-inline-end: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); pointer-events: none; }
.err { margin: 6px 0 0; font-size: 14px; color: var(--danger); }
.err:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consent { margin: 0; font-size: 14px; color: var(--ink-3); }
.consent .linklike { color: var(--deep); }
.form-actions .btn { width: 100%; }
.status { border-radius: 14px; padding: 16px 18px; font-size: 15.5px; border: 1px solid; }
.status p { margin: 0 0 10px; }
.status p:last-child { margin: 0; }
.status.success { background: #ECFDF3; border-color: #ABEFC6; color: var(--success); }
.status.error { background: #FEF3F2; border-color: #FECDCA; color: var(--danger); }
.status.info { background: #fff; border-color: var(--line); color: var(--ink); }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.status-actions .btn { min-height: 44px; font-size: 15px; padding-inline: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: clip; background: #0A1638; padding-top: clamp(64px, 8vw, 110px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.footer-statement { margin: 0; font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
html[lang="ar"] .footer-statement { line-height: 1.4; }
.footer-statement b { color: var(--sky); font-weight: 800; }
.chev-links { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.chev-links a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; color: #fff; text-decoration: none; font-size: 16px; }
.chev-links a:hover { color: var(--sky); }
.chev-links .chev { color: var(--sky); width: 16px; height: 16px; }
.footer-desc { color: rgba(255, 255, 255, .7); max-width: 44ch; font-size: 15.5px; }
.site-footer .socials { margin: 48px 0 56px; }
.site-footer .socials a, .site-footer .socials span { border-color: rgba(255, 255, 255, .8); color: #fff; }
.site-footer .socials a:hover { background: #fff; color: var(--night); }
.site-footer .socials span { border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .35); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 900px; }
.footer-cols h2 { font-size: 15px; font-weight: 800; letter-spacing: 0; margin-bottom: 10px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a, .footer-cols p { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: 15.5px; margin: 0; }
.footer-cols li a { display: inline-block; padding: 3px 0; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: clamp(56px, 7vw, 96px); padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.footer-bottom p { margin: 0; }
.footer-bottom .linklike { margin-inline-start: 12px; color: rgba(255, 255, 255, .85); }
.footer-bottom .brand { color: #fff; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Dialog ---------- */
.dialog { width: min(620px, calc(100% - 32px)); border: 0; border-radius: 22px; padding: 0; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.dialog::backdrop { background: rgba(15, 31, 77, .6); }
.dialog-body { padding: clamp(24px, 4vw, 40px); }
.dialog h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.dialog p { color: var(--ink-2); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

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

/* ---------- Photos (optional; slots appear only when the image file exists) ---------- */
.hero-photo { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1s ease; }
.hero-photo.loaded { opacity: 1; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 31, 77, .78) 0%, rgba(15, 31, 77, .62) 45%, rgba(15, 31, 77, .92) 100%), linear-gradient(90deg, rgba(27, 58, 140, .35), rgba(61, 123, 255, .15)); }
.photo { margin: clamp(40px, 5vw, 64px) 0 0; border-radius: 28px; overflow: hidden; background: var(--mist); }
.photo img, .svc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-wide { aspect-ratio: 16 / 7; }
.svc-photo { margin: calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)) 22px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 22px 22px 0 0; background: var(--mist); }
.svc.has-photo .card-ico { display: none; }
@media (max-width: 600px) { .photo-wide { aspect-ratio: 4 / 3; } }
