* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0b1524;
  --navy-2: #16263c;
  --blue: #d81e3e;
  --cyan: #f2a900;
  --green: #10a678;
  --text: #17202e;
  --muted: #66707f;
  --light: #f6f7f9;
  --white: #ffffff;
  --border: #e3e2e0;
  --shadow: 0 18px 50px rgba(11,21,36,.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(6,29,56,.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 150px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: color .2s ease;
}

.nav a:hover {
  color: var(--blue);
}

.nav a.nav-cta:hover {
  color: var(--blue);
}

.brand { order: 1; }
.nav { order: 2; }
.lang-switch { order: 3; }
.menu-toggle { order: 4; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-left: auto;
}

.lang-switch a {
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--muted);
}

.lang-switch a.active {
  background: var(--navy);
  color: #fff !important;
}

.lang-switch span {
  color: var(--border);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  display: block;
  margin: 6px 0;
}

.hero {
  min-height: 860px;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(90deg, rgba(11,21,36,.92) 0%, rgba(20,32,52,.78) 48%, rgba(20,32,52,.22) 100%),
    url('assets/canada-banner.png') center center / cover no-repeat;
  color: #fff;
  padding-top: 78px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(to top, rgba(11,21,36,.35), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 70px;
}

.eyebrow, .section-label {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px;
}

.hero .eyebrow {
  color: #ffcf5c;
}

.hero h1,
.section h2,
.contact-section h2 {
  font-family: 'Manrope', sans-serif;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 980px;
  margin-bottom: 28px;
}

.hero h1 span {
  color: #ffd98a;
}

.hero > .container > p,
.hero-content > p {
  max-width: 720px;
  font-size: 20px;
  color: rgba(255,255,255,.86);
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  transition: .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 12px 28px rgba(216,30,62,.30);
}

.btn-secondary {
  background: rgba(255,255,255,.08);
  color: white;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}

.hero-badges {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  gap: 16px;
}

.hero-badges div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(12px);
}

.hero-badges strong,
.hero-badges span {
  display: block;
}

.hero-badges strong {
  font-size: 14px;
}

.hero-badges span {
  color: rgba(255,255,255,.67);
  font-size: 12px;
  margin-top: 5px;
}

.section {
  padding: 105px 0;
}

.section-alt {
  background: var(--light);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section h2,
.contact-section h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.intro-copy p {
  font-size: 20px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}

.section-heading > p {
  max-width: 520px;
  color: var(--muted);
}

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  min-height: 250px;
  transition: .25s ease;
}

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

.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e8f6ff;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 34px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.process {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  padding: 24px 20px;
  border-top: 3px solid #dfe9f0;
}

.step span {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.step h3 {
  font-size: 19px;
  margin: 10px 0;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.why {
  background: linear-gradient(180deg, #f7fbfe 0%, #fff 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.why-image {
  background: #fff;
  padding: 42px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.why-image img {
  width: 100%;
  max-height: 510px;
  object-fit: contain;
}

.why-content > p {
  color: var(--muted);
  margin: 24px 0 28px;
  font-size: 18px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dcf8ef;
  color: var(--green);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 13px;
}

.contact-section {
  background:
    radial-gradient(circle at top right, rgba(242,169,0,.18), transparent 32%),
    var(--navy);
  color: #fff;
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.section-label.light {
  color: #7be8f5;
}

.contact-section h2 {
  margin-bottom: 18px;
}

.contact-section p {
  color: rgba(255,255,255,.72);
  max-width: 590px;
}

.contact-info {
  margin-top: 38px;
  display: grid;
  gap: 16px;
}

.contact-info a,
.contact-info > div {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-info span,
.contact-info strong {
  display: block;
}

.contact-info span {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 3px;
}

.contact-info strong {
  font-size: 16px;
  font-weight: 600;
}

.contact-form {
  background: #fff;
  color: var(--text);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,.22);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7e0e7;
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(216,30,62,.12);
}

.contact-form textarea {
  resize: vertical;
}

.full {
  width: 100%;
  border: none;
}

.form-status {
  display: none;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #d9534f;
}

.contact-form button[disabled] {
  opacity: .7;
  cursor: not-allowed;
}

.contact-form small {
  display: block;
  color: #7b8795;
  font-size: 11px;
  text-align: center;
  margin-top: 12px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue);
}

footer {
  background: #041427;
  color: rgba(255,255,255,.68);
  padding: 36px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 38px;
}

.footer-brand img {
  width: 120px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
  background: #fff;
  border-radius: 8px;
  padding: 3px 6px;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
}

.footer-copy {
  font-size: 12px;
}

@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 780px;
  }

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 760px;
    background-position: 42% center;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-content > p {
    font-size: 17px;
  }

  .hero-badges,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    margin-top: 48px;
  }

  .section {
    padding: 75px 0;
  }

  .section h2,
  .contact-section h2 {
    font-size: 36px;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }
}
