:root {
  --background: #050816;
  --navy: #07122d;
  --blue: #114b9b;
  --cyan: #16b5e8;
  --white: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.74);
  --text-muted: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(22, 181, 232, 0.34);
  --panel: rgba(7, 18, 45, 0.62);
  --panel-strong: rgba(7, 18, 45, 0.82);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 181, 232, 0.16), transparent 32rem),
    linear-gradient(180deg, #050816 0%, #07122d 52%, #050816 100%);
  color: var(--white);
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[dir="ltr"] body {
  font-family: "Inter", "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

a,
button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

img,
svg {
  display: block;
}

svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--white);
  color: var(--background);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 180ms ease;
}

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

.section-shell {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 20;
  padding: 18px 0;
  pointer-events: none;
}

.nav-shell {
  display: grid;
  width: min(var(--container), calc(100% - 48px));
  min-height: 68px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 8, 22, 0.62);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  padding: 12px 14px;
  backdrop-filter: blur(22px);
  pointer-events: auto;
}

.brand-mark {
  display: flex;
  align-items: center;
}

.brand-mark img {
  width: 152px;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(22, 181, 232, 0.16));
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.main-nav a,
.language-toggle,
.nav-cta,
.button,
.contact-link {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.main-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle,
.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.language-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  padding: 0 12px;
}

.language-toggle svg {
  width: 18px;
  height: 18px;
}

.language-toggle:hover {
  border-color: var(--line-strong);
  background: rgba(22, 181, 232, 0.12);
}

.nav-cta {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 16px 42px rgba(37, 211, 102, 0.22);
  padding: 0 16px;
}

.nav-cta svg {
  width: 18px;
  height: 18px;
}

.nav-cta:hover,
.button:hover,
.contact-link:hover {
  transform: translateY(-3px);
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 128px 0 72px;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5, 8, 22, 0.86), rgba(5, 8, 22, 0.42) 48%, rgba(5, 8, 22, 0.72)),
    linear-gradient(180deg, rgba(5, 8, 22, 0.76), rgba(5, 8, 22, 0.32) 46%, #050816 100%),
    url("./assets/toronto-niagara-background.png") center / cover no-repeat;
}

.hero-section::before,
.hero-section::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.hero-section::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 76%);
}

.hero-section::after {
  background:
    radial-gradient(circle at 72% 22%, rgba(22, 181, 232, 0.22), transparent 24rem),
    radial-gradient(circle at 26% 72%, rgba(17, 75, 155, 0.28), transparent 28rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 44px;
}

.hero-copy {
  max-width: 780px;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 4.9rem;
  line-height: 0.98;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.58);
}

html[dir="ltr"] h1 {
  max-width: 820px;
  font-size: 4.55rem;
}

.hero-subtitle {
  margin: 22px 0 0;
  color: var(--cyan);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1.22rem;
  line-height: 1.8;
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

html[dir="ltr"] .hero-lead {
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
}

.button svg {
  width: 22px;
  height: 22px;
}

.button-primary {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.26);
}

.button-secondary {
  border: 1px solid rgba(22, 181, 232, 0.42);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.button-secondary:hover {
  border-color: rgba(22, 181, 232, 0.7);
  background: rgba(22, 181, 232, 0.15);
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
    rgba(5, 8, 22, 0.56);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(24px);
}

.panel-logo {
  width: min(320px, 100%);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 22px 48px rgba(22, 181, 232, 0.18));
}

.metric-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 9px;
  color: var(--text-muted);
  line-height: 1.5;
}

.content-section {
  position: relative;
  padding: 104px 0;
}

.content-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 18%, rgba(17, 75, 155, 0.2), transparent 24rem),
    radial-gradient(circle at 85% 55%, rgba(22, 181, 232, 0.12), transparent 26rem);
  content: "";
  pointer-events: none;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: 3.1rem;
  line-height: 1.08;
}

.section-heading p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.8;
}

html[dir="ltr"] .section-heading p:not(.section-kicker) {
  line-height: 1.65;
}

.compact-heading {
  margin-bottom: 32px;
}

.cards-grid {
  display: grid;
  gap: 16px;
}

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

.service-card,
.process-step,
.why-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    var(--panel);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.service-card {
  min-height: 310px;
  padding: 24px;
}

.service-card:hover,
.process-step:hover,
.why-list article:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
}

.service-card,
.process-step,
.why-list article {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(22, 181, 232, 0.3);
  border-radius: 8px;
  background: rgba(22, 181, 232, 0.12);
  color: var(--cyan);
}

.icon-box svg {
  width: 26px;
  height: 26px;
}

.service-card h3,
.process-step h3 {
  margin-top: 22px;
  font-size: 1.32rem;
  line-height: 1.25;
}

.service-card p,
.process-step p,
.why-list p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.offer-section {
  padding-top: 20px;
}

.offer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  align-items: stretch;
  gap: 18px;
}

.offer-copy,
.offer-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(22, 181, 232, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(7, 18, 45, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.27);
  padding: 30px;
  backdrop-filter: blur(20px);
}

.offer-copy h2 {
  max-width: 760px;
  font-size: 2.7rem;
  line-height: 1.08;
}

.offer-copy p:not(.section-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.75;
}

.offer-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.offer-features span {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  line-height: 1.55;
  padding: 14px 16px 14px 42px;
}

html[dir="rtl"] .offer-features span {
  padding: 14px 42px 14px 16px;
}

.offer-features span::before {
  position: absolute;
  inset-block-start: 17px;
  inset-inline-start: 16px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(22, 181, 232, 0.72);
  content: "";
}

.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(37, 211, 102, 0.36);
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.14);
  color: #8effb9;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.offer-card strong {
  display: block;
  margin-top: 18px;
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1.02;
}

.offer-card p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.offer-button {
  width: 100%;
  margin-top: 26px;
}

.process-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  min-height: 260px;
  padding: 24px;
}

.process-step span {
  display: inline-flex;
  min-width: 44px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 181, 232, 0.34);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 48px;
}

.left-heading {
  position: sticky;
  top: 128px;
  margin-bottom: 0;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-list article {
  padding: 24px;
}

.why-list strong {
  display: block;
  font-size: 1.2rem;
}

.contact-section {
  padding: 110px 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 181, 232, 0.18), rgba(17, 75, 155, 0.1)),
    var(--panel-strong);
  box-shadow: var(--shadow);
  padding: 42px;
  backdrop-filter: blur(20px);
}

.contact-shell h2 {
  font-size: 3rem;
  line-height: 1.08;
}

.contact-shell p:not(.section-kicker) {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.75;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  padding: 16px;
}

.contact-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 8px;
}

.whatsapp-link .contact-icon {
  background: rgba(37, 211, 102, 0.18);
  color: #25d366;
}

.email-link .contact-icon {
  background: rgba(22, 181, 232, 0.16);
  color: var(--cyan);
}

.portal-link .contact-icon {
  background: rgba(17, 75, 155, 0.24);
  color: #7fdcff;
}

.contact-icon svg {
  width: 25px;
  height: 25px;
}

.contact-link span:last-child {
  min-width: 0;
}

.contact-link strong,
.contact-link em {
  display: block;
}

.contact-link strong {
  font-size: 1.05rem;
}

.contact-link em {
  margin-top: 3px;
  color: var(--text-muted);
  font-style: normal;
  white-space: nowrap;
}

.contact-link:hover {
  border-color: var(--line-strong);
  background: rgba(22, 181, 232, 0.12);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  color: var(--text-muted);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.95rem;
}

@media (max-width: 1040px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .nav-actions {
    justify-content: flex-end;
  }

  .hero-grid,
  .split-section,
  .contact-shell,
  .offer-shell {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

  .services-grid,
  .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .left-heading {
    position: static;
  }

  h1,
  html[dir="ltr"] h1 {
    font-size: 3.7rem;
  }

  .section-heading h2,
  .contact-shell h2,
  .offer-copy h2 {
    font-size: 2.55rem;
  }
}

@media (max-width: 720px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    padding: 12px 0;
  }

  .nav-shell {
    min-height: 60px;
    gap: 10px;
    padding: 10px;
  }

  .brand-mark img {
    width: 124px;
  }

  .nav-actions {
    gap: 8px;
  }

  .language-toggle,
  .nav-cta {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.88rem;
  }

  .nav-cta span {
    display: none;
  }

  .nav-cta svg {
    width: 20px;
    height: 20px;
  }

  .hero-section {
    padding: 108px 0 54px;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(5, 8, 22, 0.84), rgba(5, 8, 22, 0.42) 46%, #050816 100%),
      url("./assets/toronto-niagara-background-mobile.png") center / cover no-repeat;
  }

  .hero-grid {
    gap: 28px;
  }

  h1,
  html[dir="ltr"] h1 {
    font-size: 2.7rem;
    line-height: 1.05;
  }

  .hero-subtitle {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .hero-lead,
  .section-heading p:not(.section-kicker),
  .contact-shell p:not(.section-kicker) {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 56px;
  }

  .hero-panel {
    padding: 20px;
  }

  .panel-logo {
    width: min(270px, 100%);
  }

  .content-section,
  .contact-section {
    padding: 72px 0;
  }

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

  .section-heading h2,
  .contact-shell h2 {
    font-size: 2.1rem;
  }

  .services-grid,
  .process-track {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step {
    min-height: auto;
    padding: 20px;
  }

  .offer-copy,
  .offer-card {
    padding: 22px;
  }

  .offer-copy h2 {
    font-size: 2.05rem;
  }

  .offer-features {
    grid-template-columns: 1fr;
  }

  .offer-card strong {
    font-size: 2.05rem;
  }

  .contact-shell {
    padding: 24px;
  }

  .contact-link {
    align-items: flex-start;
  }

  .contact-link em {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

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

@media (max-width: 420px) {
  .brand-mark img {
    width: 112px;
  }

  .language-toggle span {
    min-width: 22px;
  }

  h1,
  html[dir="ltr"] h1 {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    max-width: 280px;
  }
}
