:root {
  --blue:        #2f7fd1;
  --blue-dark:   #1d5f9f;
  --blue-deep:   #143c66;
  --blue-pale:   #eaf3fc;
  --blue-soft:   #d4e6f8;
  --gray:        #64748b;
  --gray-light:  #94a3b8;
  --gray-pale:   #f5f7f9;
  --border:      #dde5ee;
  --text:        #1f2a37;
  --white:       #ffffff;

  --radius:      10px;
  --radius-lg:   16px;
  --maxw:        1080px;

  --shadow-sm:   0 1px 2px rgba(20, 60, 102, .06);
  --shadow:      0 4px 16px rgba(20, 60, 102, .08);
  --shadow-lg:   0 14px 40px rgba(20, 60, 102, .14);

  --ease:        cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }

.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.container.narrow { width: min(100% - 2rem, 780px); }

h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); letter-spacing: -.02em; }
h3 { font-size: 1.08rem; }
h1, h2, h3 { line-height: 1.2; margin-bottom: .6rem; font-weight: 700; }
p { margin-bottom: .9rem; }
ul { margin: 0 0 1rem 1.25rem; }

.muted { color: var(--gray); }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.sub { color: var(--gray); max-width: 62ch; font-size: 1.02rem; }

/* eyebrow label */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-pale);
  padding: .3rem .7rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}

/* heading with accent rule */
.accent-head { position: relative; padding-bottom: .7rem; margin-bottom: 1.4rem; }
.accent-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
}
.center .accent-head::after { left: 50%; transform: translateX(-50%); }

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: .8rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.02em;
}
.logo img { border-radius: 8px; }

nav { display: flex; flex-wrap: wrap; gap: .2rem; align-items: center; }
nav a {
  position: relative;
  padding: .45rem .8rem;
  border-radius: 6px;
  font-size: .94rem;
  color: var(--gray);
  text-decoration: none;
  transition: color .18s var(--ease), background .18s var(--ease);
}
nav a:hover { background: var(--gray-pale); color: var(--text); }
nav a.active { color: var(--blue-deep); font-weight: 650; background: var(--blue-pale); }
nav a.nav-cta {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
nav a.nav-cta:hover { background: var(--blue-deep); color: var(--white); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 420px at 15% -10%, var(--blue-soft), transparent 65%),
    linear-gradient(160deg, var(--blue-pale) 0%, var(--white) 62%);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}
/* faint grid overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .05;
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero p { color: var(--gray); font-size: 1.06rem; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

.hero-sm { padding: clamp(2rem, 4vw, 3rem) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .72rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  color: var(--white);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }

.btn-secondary {
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--blue-pale); border-color: var(--blue-soft); }

.btn-lg { padding: .9rem 1.8rem; font-size: 1.03rem; }

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- main / sections ---------- */
main { padding: clamp(2.5rem, 5vw, 4rem) 0; }
section { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
section:last-child { margin-bottom: 0; }

.band {
  background: var(--gray-pale);
  border-block: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  margin-bottom: 0;
}
.band-blue {
  background:
    radial-gradient(700px 300px at 80% 0%, var(--blue-soft), transparent 60%),
    var(--blue-pale);
  border-block: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--gray); font-size: .95rem; margin-bottom: .7rem; }

/* clickable nav cards on the home page */
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-soft);
}
.card-link .go {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--blue);
  font-weight: 600;
  font-size: .93rem;
}
.card-link:hover .go { gap: .6rem; }
.card-link .go { transition: gap .18s var(--ease); }

/* icon chip */
.chip {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .8rem;
}
.chip-num { font-size: 1rem; }

/* stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
}
.stats li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.stats strong { display: block; font-size: 1.6rem; color: var(--blue-deep); letter-spacing: -.02em; }
.stats span { color: var(--gray); font-size: .87rem; }

/* numbered steps */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); list-style: none; margin: 0; }
.steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: attr(data-step);
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .7rem;
}
.steps h3 { font-size: 1rem; }
.steps p { color: var(--gray); font-size: .92rem; margin: 0; }

/* ---------- slideshow ---------- */
.slideshow {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.slides { display: flex; transition: transform .5s var(--ease); }
.slide { flex: 0 0 100%; position: relative; }
.slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.slide-label {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--blue-deep);
  font-size: 1.3rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: background .18s, transform .18s var(--ease);
}
.slide-nav:hover { background: var(--white); transform: translateY(-50%) scale(1.06); }
.slide-nav.prev { left: .8rem; }
.slide-nav.next { right: .8rem; }

.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  padding: .8rem;
  background: var(--gray-pale);
  border-top: 1px solid var(--border);
}
.dots button {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--gray-light);
  opacity: .5;
  transition: width .3s var(--ease), opacity .2s, background .2s;
}
.dots button.active { width: 26px; opacity: 1; background: var(--blue); }

.thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* media + copy split */
.split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* ---------- forms ---------- */
form { display: grid; gap: 1.4rem; }

fieldset {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  gap: 1.1rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
legend {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 .6rem;
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 1rem;
}
legend .step-dot {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* block, not grid — grid would put the label text, the "*" and the
   control on three separate rows */
label { display: block; font-size: .92rem; font-weight: 550; }
label > input, label > select, label > textarea { margin-top: .3rem; }
label .req { color: var(--blue); }
label .hint { font-weight: 400; color: var(--gray-light); font-size: .82rem; }

input, select, textarea {
  padding: .62rem .7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: .95rem;
  font-weight: 400;
  width: 100%;
  background: var(--white);
  color: var(--text);
  transition: border-color .16s, box-shadow .16s;
}
input:hover, select:hover, textarea:hover { border-color: var(--blue-soft); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 127, 209, .15);
}
input.invalid, textarea.invalid, select.invalid {
  border-color: #c0392b;
  background: #fdf4f3;
}
input[readonly] { background: var(--gray-pale); color: var(--gray); }
textarea { resize: vertical; }

/* checkbox / radio rows */
.check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .93rem;
  font-weight: 400;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--gray-pale);
  cursor: pointer;
  transition: border-color .16s, background .16s;
}
.check:hover { border-color: var(--blue-soft); background: var(--blue-pale); }
.check input { width: auto; margin-top: .2rem; accent-color: var(--blue); }
.check-inline { background: transparent; border-color: transparent; padding: .2rem 0; }
.check-inline:hover { background: transparent; border-color: transparent; }

.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .6rem; }

/* highlighted sub-block (return trip) */
.subblock {
  display: grid;
  gap: 1.1rem;
  padding: 1.2rem;
  border: 1px dashed var(--blue-soft);
  border-radius: var(--radius);
  background: var(--blue-pale);
}

[hidden] { display: none !important; }

/* ---------- autosuggest ---------- */
.autosuggest { position: relative; }
.suggestions {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0; right: 0;
  margin-top: 3px;
  padding: .3rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-height: 250px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.suggestions li {
  padding: .5rem .6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .92rem;
}
.suggestions li:hover, .suggestions li.active { background: var(--blue-pale); color: var(--blue-deep); }
.suggestions .group {
  padding: .45rem .6rem .25rem;
  color: var(--gray-light);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: default;
}
.suggestions .group:hover { background: transparent; color: var(--gray-light); }

/* ---------- notes / confirmation ---------- */
.note { margin: 0; font-size: .92rem; min-height: 1.2em; }
.note.err { color: #c0392b; font-weight: 550; }

.confirmation {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--blue-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 200px at 100% 0%, var(--blue-soft), transparent 70%),
    var(--blue-pale);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.confirmation .tick {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: var(--shadow);
}
.confirmation h2 { color: var(--blue-deep); }
.confirmation p { color: var(--gray); max-width: 46ch; margin-inline: auto; }
.confirmation .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

/* ---------- contact details ---------- */
.details { list-style: none; margin: 0; display: grid; gap: 1.1rem; }
.details li { display: flex; gap: .9rem; align-items: flex-start; }
.details .chip { margin-bottom: 0; flex: none; width: 38px; height: 38px; font-size: 1rem; }
.details strong { display: block; font-size: .85rem; color: var(--gray); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: var(--white);
  box-shadow: var(--shadow);
}
.cta h2 { margin-bottom: .2rem; color: var(--white); }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta .btn { background: var(--white); color: var(--blue-deep); }
.cta .btn:hover { background: var(--blue-pale); }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--gray-pale);
  padding: 2rem 0;
  font-size: .9rem;
  color: var(--gray);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
footer nav a { padding: .2rem .6rem .2rem 0; }
footer p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .row, .row-3 { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
