:root {
  --navy: #102b46;
  --navy-2: #183f61;
  --brand: #4963f4;
  --brand-dark: #354bca;
  --coral: #eb6d46;
  --sky: #8cc0f9;
  --yellow: #f3b74e;
  --pink: #ffddf4;
  --mist: #eaf4f8;
  --sand: #f5efe7;
  --paper: #fbfaf8;
  --white: #ffffff;
  --ink-soft: #526778;
  --line: #cddce4;
  --success: #177a57;
  --danger: #a13d2d;
  --radius-sm: 16px;
  --radius: 28px;
  --radius-lg: 48px;
  --shadow: 0 22px 70px rgba(16, 43, 70, 0.11);
  --shell: min(1180px, calc(100vw - 48px));
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(251, 250, 248, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(16, 43, 70, 0.1);
  box-shadow: 0 12px 32px rgba(16, 43, 70, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img,
.custom-logo {
  width: 184px;
  height: auto;
}

.site-navigation,
.nav-menu {
  display: flex;
  align-items: center;
}

.site-navigation {
  gap: 30px;
}

.nav-menu {
  list-style: none;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  position: relative;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(73, 99, 244, 0.18);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 15px 30px rgba(73, 99, 244, 0.25);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding-inline: 22px;
}

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.button-light:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.button-coral {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 12px 26px rgba(235, 109, 70, 0.2);
}

.button-coral:hover {
  background: #d95832;
  border-color: #d95832;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(3px, -2px);
}

.text-link-light {
  color: var(--sky);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.eyebrow-light {
  color: var(--sky);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(52px, 6.5vw, 92px);
  font-weight: 850;
}

h2 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(38px, 4.4vw, 64px);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.lead {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.52;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading .lead {
  margin-bottom: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 54px;
  background:
    radial-gradient(circle at 82% 28%, rgba(140, 192, 249, 0.28) 0 18%, transparent 18.2%),
    linear-gradient(135deg, var(--paper) 0 60%, var(--mist) 60% 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -120px;
  right: 8%;
  width: 170px;
  height: 820px;
  border: solid rgba(255, 255, 255, 0.75);
  border-width: 0 18px;
  transform: rotate(14deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 70px;
}

.hero-copy {
  padding-bottom: 24px;
}

.hero h1 span {
  color: var(--brand);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 26px;
  margin-top: 36px;
}

.blueprint-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.blueprint-card::before {
  content: "";
  position: absolute;
  top: 72px;
  left: 50%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--navy-2);
  transform: translateX(-50%);
}

.blueprint-card svg {
  position: absolute;
  z-index: 1;
  inset: 54px 30px auto;
  width: calc(100% - 60px);
  height: 360px;
}

.blueprint-caption {
  position: absolute;
  z-index: 2;
  right: 38px;
  bottom: 36px;
  left: 38px;
  padding-top: 22px;
  border-top: 2px solid var(--coral);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

.blueprint-caption span {
  color: var(--sky);
}

.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.proof-card {
  min-height: 134px;
  padding: 25px;
  border: 1px solid var(--line);
  border-top: 7px solid var(--brand);
  border-radius: 18px;
  background: var(--white);
}

.proof-card:nth-child(2) { border-top-color: var(--coral); }
.proof-card:nth-child(3) { border-top-color: var(--yellow); }
.proof-card:nth-child(4) { border-top-color: var(--sky); }
.proof-card:nth-child(5) { border-top-color: #73b88c; }

.proof-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.2;
}

.proof-card span {
  color: var(--ink-soft);
  font-size: 14px;
}

.section {
  padding: 118px 0;
}

.section-mist {
  background: var(--mist);
}

.section-sand {
  background: var(--sand);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .lead,
.section-dark .card p {
  color: #c9d9e3;
}

.story-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 70px 0 90px;
}

.story-step {
  position: relative;
  padding-top: 48px;
  border-top: 3px solid var(--line);
}

.story-step::before {
  content: attr(data-step);
  position: absolute;
  top: -29px;
  left: 0;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.story-step:nth-child(2)::before { background: var(--coral); }
.story-step:nth-child(3)::before { background: var(--yellow); color: var(--navy); }
.story-step:nth-child(4)::before { background: var(--sky); color: var(--navy); }

.story-step h3 {
  font-size: 24px;
}

.story-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  border: 1px solid rgba(16, 43, 70, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--mist);
}

.card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 44px;
  place-items: center;
  border-radius: 18px;
  background: var(--mist);
  color: var(--brand);
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.card:nth-child(2) .card-icon { background: #fff0eb; color: var(--coral); }
.card:nth-child(3) .card-icon { background: #fff7df; color: #bd7910; }
.card:nth-child(4) .card-icon { background: var(--pink); color: #a94786; }

.card h3,
.card p {
  position: relative;
  z-index: 1;
}

.card h3 {
  font-size: 24px;
}

.card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.continuity-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 80px;
}

.continuity-intro {
  position: sticky;
  top: 142px;
}

.signal-diagram {
  position: relative;
  min-height: 235px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(140, 192, 249, 0.22);
  border-radius: var(--radius);
  background: var(--navy-2);
}

.signal-diagram span {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 5px solid var(--brand);
  border-radius: 50%;
  background: var(--navy-2);
}

.signal-diagram span:nth-child(1) { left: 14%; }
.signal-diagram span:nth-child(2) { left: 47%; width: 28px; height: 28px; border-color: var(--sky); transform: translate(-50%, -5px); }
.signal-diagram span:nth-child(3) { right: 14%; }

.signal-diagram::before,
.signal-diagram::after {
  content: "";
  position: absolute;
  top: calc(50% + 8px);
  width: 34%;
  height: 2px;
  background: var(--sky);
}

.signal-diagram::before { left: 17%; transform: rotate(8deg); transform-origin: left; }
.signal-diagram::after { right: 17%; transform: rotate(-8deg); transform-origin: right; }

.dark-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.dark-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(140, 192, 249, 0.16);
  border-radius: var(--radius);
  background: var(--navy-2);
}

.dark-card .card-icon {
  margin-bottom: 35px;
  background: rgba(140, 192, 249, 0.12);
  color: var(--sky);
}

.dark-card h3 {
  color: var(--white);
  font-size: 22px;
}

.dark-card p {
  margin: 0;
  color: #c9d9e3;
  font-size: 15px;
}

.cairo-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
}

.cairo-copy .lead {
  margin-bottom: 34px;
}

.city-card {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow);
}

.city-card::before,
.city-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.city-card::before {
  top: -120px;
  right: -70px;
  width: 360px;
  height: 360px;
  background: var(--coral);
}

.city-card::after {
  right: -30px;
  bottom: -150px;
  width: 410px;
  height: 410px;
  border: 70px solid rgba(255, 255, 255, 0.18);
}

.city-card-content {
  position: absolute;
  z-index: 1;
  right: 42px;
  bottom: 42px;
  left: 42px;
}

.city-card .city-label {
  margin-bottom: 85px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.city-card h3 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
}

.city-card h3 span {
  color: var(--yellow);
}

.cta-band {
  overflow: hidden;
  padding: 100px 0;
  background: var(--coral);
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 50px;
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.cta-band p {
  margin: 0;
  font-size: 20px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 120px;
  background: var(--navy);
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -80px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(140, 192, 249, 0.12);
  border-radius: 50%;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(54px, 6vw, 86px);
}

.page-hero .lead {
  color: #c9d9e3;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 80px;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 23px 24px 23px 62px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(16, 43, 70, 0.06);
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 24px;
  width: 20px;
  height: 11px;
  border-bottom: 3px solid var(--coral);
  border-left: 3px solid var(--coral);
  transform: rotate(-45deg);
}

.feature-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 18px;
}

.feature-list span {
  color: var(--ink-soft);
  font-size: 15px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: process;
}

.process-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: process;
}

.process-card::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 62px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.process-card h3 {
  font-size: 23px;
}

.process-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.contact-details {
  position: sticky;
  top: 140px;
}

.contact-location {
  margin-top: 44px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.contact-location img {
  width: 74px;
  height: 74px;
  margin-bottom: 40px;
  object-fit: contain;
}

.contact-location p {
  margin-bottom: 0;
  color: #c9d9e3;
}

.location-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  margin-top: 72px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.location-panel-copy {
  align-self: center;
  padding: 34px;
}

.location-panel-copy h2 {
  font-size: clamp(36px, 4vw, 54px);
}

.location-panel-copy .lead {
  font-size: 18px;
}

.location-map {
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--mist);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.contact-form {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.addon-services-section {
  background: var(--paper);
}

.addon-service-cards .card {
  min-height: 340px;
}

.addon-form-wrap {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 60px;
  margin-top: 72px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--mist);
}

.addon-form-intro {
  padding-top: 28px;
}

.addon-form-intro h3 {
  font-size: clamp(32px, 3.4vw, 48px);
}

.addon-form-intro p:last-child {
  color: var(--ink-soft);
}

.addon-form {
  box-shadow: none;
}

.service-selector {
  min-width: 0;
  padding: 0;
  border: 0;
}

.service-selector legend {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
}

.field-help {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 13px;
}

.service-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.service-checkbox:hover,
.service-checkbox:has(input:checked) {
  border-color: var(--brand);
  background: #f1f3ff;
  box-shadow: 0 0 0 3px rgba(73, 99, 244, 0.08);
}

.service-checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.service-checkbox strong,
.service-checkbox small {
  display: block;
}

.service-checkbox strong {
  line-height: 1.3;
}

.service-checkbox small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field-full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--navy);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input,
.form-field select {
  height: 56px;
  padding: 0 16px;
}

.form-field textarea {
  min-height: 170px;
  padding: 15px 16px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(73, 99, 244, 0.11);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--brand);
}

.consent-field label {
  color: var(--ink-soft);
  font-size: 14px;
}

.form-status {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 700;
}

.form-status-success {
  background: #e7f5ef;
  color: var(--success);
}

.form-status-error {
  background: #fff0ed;
  color: var(--danger);
}

.entry-shell {
  width: min(800px, calc(100vw - 48px));
  margin-inline: auto;
  padding: 90px 0 120px;
}

.entry-shell > *:not(.alignwide):not(.alignfull) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  padding: 82px 0 28px;
  background: #0a2035;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 70px;
}

.footer-brand .brand img,
.footer-brand .custom-logo {
  width: 200px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 26px;
  color: #aec2cf;
}

.footer-label {
  margin-bottom: 20px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-menu,
.footer-menu .nav-menu {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 68px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #93abb9;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-grid,
  .continuity-grid,
  .cairo-grid,
  .split-grid,
  .contact-layout,
  .addon-form-wrap,
  .location-panel {
    grid-template-columns: 1fr;
  }

  .blueprint-card {
    min-height: 500px;
  }

  .proof-strip,
  .cards-grid-4,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .continuity-intro,
  .contact-details {
    position: static;
  }

  .city-card {
    min-height: 430px;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 32px, 700px);
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img,
  .custom-logo {
    width: 155px;
  }

  .menu-toggle {
    display: block;
  }

  .site-navigation {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    padding: 34px 24px;
    background: var(--paper);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .nav-menu a {
    display: block;
    padding: 13px 0;
    font-size: 24px;
  }

  .site-navigation .button {
    align-self: flex-start;
    margin-top: 18px;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid {
    gap: 40px;
  }

  .section {
    padding: 88px 0;
  }

  .story-line,
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-line {
    gap: 56px 24px;
  }

  .dark-cards {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  h2 {
    font-size: clamp(36px, 10vw, 49px);
  }

  .hero-actions,
  .hero-actions .button,
  .cta-grid .button {
    width: 100%;
  }

  .hero-actions .text-link {
    width: auto;
  }

  .blueprint-card {
    min-height: 400px;
    border-radius: 30px;
  }

  .blueprint-card svg {
    inset: 24px 12px auto;
    width: calc(100% - 24px);
    height: 290px;
  }

  .blueprint-caption {
    right: 24px;
    bottom: 26px;
    left: 24px;
    font-size: 22px;
  }

  .proof-strip,
  .story-line,
  .cards-grid,
  .cards-grid-4,
  .process-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-card {
    min-height: auto;
  }

  .story-line {
    margin-bottom: 60px;
  }

  .card,
  .dark-card,
  .process-card {
    min-height: auto;
  }

  .card-icon,
  .process-card::before {
    margin-bottom: 28px;
  }

  .city-card {
    min-height: 390px;
    border-radius: 32px;
  }

  .city-card-content {
    right: 28px;
    bottom: 28px;
    left: 28px;
  }

  .contact-form {
    padding: 26px 20px;
    border-radius: 28px;
  }

  .addon-form-wrap {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .location-panel {
    padding: 14px;
    border-radius: 28px;
  }

  .location-panel-copy {
    padding: 20px 8px 28px;
  }

  .location-map,
  .location-map iframe {
    min-height: 340px;
  }

  .service-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .field-full {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
