@import url('/fonts.css');

/* ==========================================================================
   Tokens and base elements
   ========================================================================== */

:root {
  --navy: #0c436e;
  --orange: #f5821f;
  --muted: #506675;
  --line: #dce5eb;
  --surface: #f7fafb;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--navy);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
img { max-width: 100%; }
em { font-style: normal; color: var(--orange); }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }

h1 { font-size: 54px; line-height: .99; letter-spacing: -1.6px; margin: 0 0 22px; font-weight: 800; }
h2 { font-size: 38px; line-height: 1.12; letter-spacing: -1.1px; margin: 0; }
h3 { margin: 0; }

label { display: block; font-size: 14px; font-weight: 550; margin-bottom: 18px; }
label > span { color: #bb5d09; }
input, textarea, select {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid #dee5e9;
  border-radius: 7px;
  background: #fafbfc;
  color: var(--navy);
  font-size: 15px;
}
textarea { resize: vertical; min-height: 130px; }
input::placeholder, textarea::placeholder { color: #71818d; }
input:focus, textarea:focus, select:focus { outline: 2px solid #aac1d2; }

@media (min-width: 1600px) {
  h1 { font-size: 62px; }
}
@media (max-width: 600px) {
  :root { scroll-padding-top: 80px; }
  h1 { font-size: clamp(39px, 9.6vw, 54px); letter-spacing: -1.4px; line-height: 1.04; }
  h2 { font-size: 31px; }
  input, textarea, select { font-size: 16px; }
}

/* ==========================================================================
   Shared components
   ========================================================================== */

.container { width: min(1400px, calc(100% - 40px)); margin-inline: auto; }
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px; background: white; }
.skip-link:focus { top: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 46px;
  padding: 12px 23px;
  border: 1px solid #f5821f;
  border-radius: 5px;
  background: #f5821f;
  color: white;
  font-size: 14px;
  font-weight: 650;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.button:hover { background: #df7013; box-shadow: 0 6px 20px #f5821f2b; transform: translateY(-2px); }
.button-outline { min-width: 142px; border: 1px solid #e6edf1; background: #08141b3b; }
.button-outline:hover { background: #ffffff1c; box-shadow: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: var(--orange); }
.eyebrow.light { color: #f4f6fa; }

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .button { gap: 13px; padding: 12px 15px; font-size: 13px; }
  .button-outline { min-width: 118px; }
  .eyebrow { gap: 12px; margin-bottom: 23px; font-size: 10px; }
}

/* ==========================================================================
   Header and navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 102px;
  border-bottom: 1px solid #e6edf1;
  background: #fffffffa;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 40px);
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 8px 12px;
}
.brand { display: inline-flex; align-items: center; }
.brand .original-logo { display: block; max-width: 100%; height: auto; object-fit: contain; }
.header .brand { flex-shrink: 0; }
.header .brand .original-logo { width: 155px; }

nav { display: flex; align-items: stretch; align-self: stretch; gap: 25px; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -6px;
  right: -6px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--orange);
}
.nav-actions { display: flex; align-items: center; margin-left: 36px; }

.language { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 13px; }
.language .icon { width: 19px; height: 19px; }
.language button {
  min-height: 40px;
  padding: 10px 5px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.language button[aria-pressed="true"] {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.language button:hover { color: var(--orange); }

.menu-toggle { display: none; }

@media (max-width: 1150px) {
  .nav-wrap { gap: 18px; }
  nav { gap: 18px; }
}
@media (max-width: 900px) {
  .header .brand .original-logo { width: 145px; }
  .nav-actions { margin-left: 0; }
  nav {
    display: none;
    position: absolute;
    top: 101px;
    left: 0;
    right: 0;
    padding: 14px 24px 22px;
    background: white;
    box-shadow: 0 12px 15px #0c436e15;
  }
  nav.open { display: flex; flex-direction: column; gap: 0; }
  .nav-link { padding: 13px 8px; }
  .nav-link.active::after { top: 12px; left: 0; right: auto; width: 3px; height: 22px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 0;
    background: none;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); }
}
@media (max-width: 600px) {
  .header { height: 88px; }
  .nav-wrap { gap: 6px; width: calc(100% - 32px); }
  .header .brand .original-logo { width: 130px; }
  nav { top: 87px; }
  .language { gap: 3px; }
  .language > .icon { display: none; }
  .language button { padding: 10px 4px; font-size: 12px; }
  .menu-toggle { width: 34px; }
}
@media (max-width: 370px) {
  .header .brand .original-logo { width: 120px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

/* The photo is wide: the hero grows with the viewport and stays near the top so the camera is never cropped. */
.hero {
  position: relative;
  min-height: clamp(632px, 47vw, 860px);
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(1,12,20,.84), rgba(2,14,23,.72) 29%, rgba(2,14,23,.18) 49%, transparent 67%), url('/img/hero.jpg');
  background-size: cover;
  background-position: center 10%;
  color: white;
}
.hero-content { position: relative; padding-top: 84px; padding-bottom: 86px; }
.hero-description {
  max-width: 408px;
  margin: 0 0 24px;
  color: #f1f2f4;
  font-size: 16px;
  line-height: 1.43;
  text-align: justify;
  text-align-last: left;
}
.hero-buttons { display: flex; gap: 16px; }

.stats { display: flex; gap: 0; margin-top: 36px; }
.stats > div { padding: 0 23px; border-left: 1px solid #b0bac3; }
.stats > div:first-child { padding-left: 0; border: 0; }
.stats strong { display: block; color: #f5821f; font-size: 23px; font-weight: 750; letter-spacing: -.6px; }
.stats span { display: block; margin-top: 3px; font-size: 13px; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 52px; }

@media (min-width: 1600px) {
  .hero-content { padding-top: 100px; }
  .hero-description { max-width: 460px; font-size: 18px; }
}
@media (max-width: 900px) {
  .hero { background-position: 58% center; }
}
@media (max-width: 600px) {
  .hero {
    min-height: 660px;
    background-image: linear-gradient(90deg, #020e1be8, #020e1b8f), url('/img/hero.jpg');
    background-position: 60% center;
  }
  .hero-content { padding-top: 66px; padding-bottom: 80px; }
  .hero-description { max-width: 380px; font-size: 15px; line-height: 1.6; text-align: left; }
  .hero-buttons { gap: 10px; }
  .stats { margin-top: 35px; }
  .stats > div { flex: 1; padding-inline: 13px; }
  .stats > div:last-child { padding-right: 0; }
  .stats span { max-width: 100px; font-size: 11px; line-height: 1.45; }
  .hero-wave { height: 34px; }
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  padding-block: 28px 60px;
  background: radial-gradient(ellipse at 50% 0, #edf3f700, #fff9), var(--surface);
}
.about-grid { display: grid; grid-template-columns: .88fr 1.3fr; gap: 58px; }
.about .eyebrow { margin-bottom: 17px; }
.about-copy h2 { margin: 0 0 17px; font-size: 37px; font-weight: 800; line-height: 1.08; letter-spacing: -1.4px; }
.about-copy > p:not(.eyebrow) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
}

.services { padding-top: 22px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff60;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.service-card:hover { border-color: #86a1b5; transform: translateY(-3px); }
.service-card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 750; line-height: 1.3; letter-spacing: -.35px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0 0;
  color: #7894a9;
  font-family: 'Marck Script', cursive;
  font-size: 26px;
  white-space: nowrap;
}
.signature span { flex: 1; height: 1px; background: #d2dfe8; }

@media (max-width: 1150px) {
  .about-grid { grid-template-columns: .9fr 1.2fr; gap: 28px; }
  .about-copy h2 { font-size: 33px; }
  .signature { font-size: 23px; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { max-width: 640px; }
  .about-copy h2 br { display: none; }
  .services { padding-top: 0; }
}
@media (max-width: 600px) {
  .about { padding-block: 24px 46px; }
  .about-copy h2 { font-size: 32px; line-height: 1.13; }
  .about-copy > p:not(.eyebrow) { line-height: 1.6; text-align: left; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .signature { gap: 7px; font-size: 22px; white-space: normal; }
  .signature span { min-width: 20px; }
}

/* ==========================================================================
   Solutions
   ========================================================================== */

.solutions { padding-block: 80px; background: white; }
.section-heading { display: flex; justify-content: center; margin-bottom: 36px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.solution {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 22px 25px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: center;
  scroll-margin-top: 95px;
}
.solution-number { color: #82919b; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.solution h3 { min-height: 53px; margin-top: 24px; font-size: 21px; line-height: 1.25; letter-spacing: -.5px; }
.solution p { max-width: 310px; margin-bottom: 26px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.solution a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
}
.solution a span { color: var(--orange); font-size: 22px; }

@media (max-width: 900px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .solutions { padding-block: 46px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution { padding-bottom: 22px; }
  .solution h3 { min-height: 0; margin-top: 20px; font-size: 22px; }
  .solution p { margin-bottom: 20px; font-size: 15px; }
}

/* ==========================================================================
   Partners
   ========================================================================== */

.partners {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 0 30px;
  background: linear-gradient(155deg, #fff 12%, #f8fbff 70%, #eef6ff);
}
.partners::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 24px;
  left: 12px;
  width: 112px;
  height: 126px;
  background: radial-gradient(circle, #e4effd 2px, transparent 3px) 0 0 / 20px 20px;
  pointer-events: none;
}
.partners::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -150px;
  bottom: -235px;
  width: 720px;
  height: 300px;
  border: 1px solid #ffd3a0;
  border-radius: 50%;
  box-shadow: 0 -48px 0 32px #eaf3ff80;
  transform: rotate(-18deg);
  pointer-events: none;
}
.partners > .container { position: relative; max-width: 960px; }
.partners-heading { position: relative; margin: 0 0 16px; padding: 0 140px; text-align: center; }
.partners-heading .eyebrow { justify-content: center; margin: 0 0 10px; font-size: 11px; letter-spacing: 2.5px; }
.partners h2 { margin: 0; color: #103b68; font-size: 27px; line-height: 1.2; letter-spacing: -.7px; }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 10px; }
.partners .slider-controls { position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
.slider-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dbe8f8;
  border-radius: 50%;
  background: #ffffffb3;
  color: #315681;
  transition: background .2s, border-color .2s;
}
.slider-controls button:hover { border-color: #a8c9ed; background: #eaf3ff; }
.slider-controls button:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.slider-controls .icon { width: 19px; height: 19px; }
#partner-prev .icon { transform: rotate(180deg); }
#partner-pause { width: 30px; height: 30px; border-color: transparent; background: transparent; font-size: 12px; }

.partner-slider {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 18px;
  overflow: hidden;
  outline-offset: 6px;
  touch-action: pan-y;
}
.partner-track { display: flex; align-items: stretch; gap: 24px; }
.partner-track.moving-next { transform: translateX(calc(-1 * var(--partner-step))); transition: transform 1.4s ease-in-out; }
.partner-track.before-prev { transform: translateX(calc(-1 * var(--partner-step))); }
.partner-track.moving-prev { transform: translateX(0); transition: transform 1.4s ease-in-out; }
.partner-slide {
  display: flex;
  flex: 0 0 calc((100% - 72px) / 4);
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 6px 6px 8px;
  border: 1px solid #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf6ff, #f5f9ff);
  box-shadow: 0 5px 14px #2167a507;
}
.partner-art {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 76px;
  padding: 4px 6px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #f9fbff);
  box-shadow: 0 7px 14px #2167a512;
}
.partner-art img { display: block; flex: none; width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.partner-caption {
  margin-top: auto;
  padding: 6px 0 0;
  color: #103b68;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1000px) {
  .slider-controls { gap: 6px; }
  .partner-slide { flex-basis: calc((100% - 48px) / 3); }
}
@media (max-width: 760px) {
  .partners { padding: 26px 0 28px; }
  .partners-heading { padding: 0; }
  .partners h2 { font-size: 26px; }
  .partners .slider-controls { position: static; margin-top: 14px; transform: none; }
  .partner-slide { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 480px) {
  .partners h2 { font-size: 24px; }
  .partner-slide { flex-basis: 100%; padding: 6px 8px 8px; }
  .partner-art { width: 200px; max-width: 100%; height: 74px; }
  .partner-caption { padding-top: 8px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  position: relative;
  padding-block: 78px 82px;
  border-top: 1px solid #e9edef;
  background: radial-gradient(ellipse at 94% 6%, #f5821f0a, transparent 45%), #f4f6f7;
  color: var(--navy);
}
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }

.contact-copy { grid-column: 1 / -1; text-align: center; }
.contact-copy .eyebrow { justify-content: center; }
.contact-copy h2 { font-size: 46px; line-height: 1.13; letter-spacing: -1.5px; }
.contact-copy > p:not(.eyebrow) { margin: 20px auto 8px; color: var(--muted); font-size: 16px; line-height: 1.65; }

.contact-details {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  order: 1;
  margin: 0 0 12px;
  padding: 12px 0 20px;
  font-style: normal;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0 0 0 20px;
  border-left: 1px solid #dbe2e7;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.contact-detail:first-child { padding-left: 0; border-left: 0; }
.contact-detail-label { color: #627581; font-size: 13px; font-weight: 500; }
.contact-detail a { color: var(--navy); font-size: 16px; font-weight: 550; line-height: 1.55; overflow-wrap: anywhere; }
.contact-detail a:hover { color: #b75808; text-decoration: underline; text-underline-offset: 4px; }
.contact-detail:first-child a { font-size: 15px; letter-spacing: -.2px; }

.contact-form {
  order: 2;
  padding: 34px;
  border: 1px solid #e1e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 35px #0c436e06;
}
.contact-form-title { margin: 0 0 28px; font-size: 25px; font-weight: 600; letter-spacing: -.5px; }
.contact-form .button { min-height: 48px; padding-inline: 25px; border-radius: 7px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-privacy { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-status { margin: 14px 0 0; font-size: 14px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.error { color: #b42318; }
.form-status.success { color: #167144; }
#turnstile-widget:not(:empty) { margin: 0 0 18px; }
#security-status:not(:empty) { margin-bottom: 16px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-map {
  position: relative;
  order: 3;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid #dfe6ea;
  border-radius: 16px;
  background: #edf3f7;
  box-shadow: 0 10px 35px #0c436e06;
}
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 540px; border: 0; }
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 30px 95px;
  background: radial-gradient(ellipse at center, #fff, #eaf2fb);
  color: #103b68;
  text-align: center;
}
.map-consent strong { font-size: 24px; }
.map-consent p { max-width: 330px; margin: 0; font-size: 15px; line-height: 1.6; }
.map-directions {
  position: absolute;
  bottom: 28px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 4px 20px #0c436e20;
  color: var(--navy);
  font-size: 15px;
  font-weight: 650;
}
.map-directions:hover { color: var(--orange); }
.map-directions .icon { width: 18px; height: 18px; }

@media (min-width: 1150px) {
  .contact-copy > p:not(.eyebrow) { white-space: nowrap; }
}
@media (max-width: 1000px) {
  .contact-details { grid-template-columns: 1fr 1fr; gap: 25px 40px; }
  .contact-detail:first-child { grid-column: 1 / -1; }
  .contact-detail:nth-child(2) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map, .contact-map iframe { min-height: 380px; }
  .contact-map iframe { height: 380px; }
}
@media (max-width: 600px) {
  .contact { padding-block: 46px; }
  .contact-copy h2 { font-size: 36px; letter-spacing: -1px; }
  .contact-copy > p:not(.eyebrow) { font-size: 15px; white-space: normal; }
  .contact-details { gap: 25px 18px; padding-bottom: 12px; }
  .contact-detail { padding-left: 0; border: 0; }
  .contact-detail a { font-size: 15px; }
  .contact-detail:first-child a { font-size: 14px; }
  .contact-form { padding: 24px 20px; border-radius: 12px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-map { border-radius: 12px; }
  .contact-map, .contact-map iframe { min-height: 330px; }
  .contact-map iframe { height: 330px; }
  .map-directions { left: 16px; font-size: 14px; }
}
@media (max-width: 370px) {
  .contact-details { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { border-top: 1px solid #e2e8ec; background: #fff; color: var(--navy); }

.footer-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 30px 55px;
  border-bottom: 1px solid #e3e9ed;
  text-align: center;
}
.footer-top > p { margin: 0; font-size: 23px; font-weight: 550; letter-spacing: -.65px; }
.back-to-top { position: absolute; right: 0; display: flex; align-items: center; }
.back-to-top > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.back-to-top .icon {
  width: 35px;
  height: 35px;
  padding: 9px;
  border-radius: 50%;
  background: #f5821f;
  color: white;
  transform: rotate(-90deg);
}
.back-to-top:hover .icon { background: #df7013; }

.footer-columns {
  display: grid;
  grid-template-columns: 1fr .8fr 1.2fr;
  gap: 40px;
  padding-block: 45px;
  text-align: center;
}
.footer-columns h3 { margin: 0 0 20px; font-size: 14px; font-weight: 650; }
.footer-brand .brand .original-logo { width: 190px; }
.footer-brand p { max-width: 235px; margin: 18px auto 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.footer-links { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.footer-links h3 { margin-bottom: 5px; }
.footer-links a { color: var(--muted); font-size: 15px; }
.footer-links a:hover { color: var(--orange); }

.footer-reach { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-reach h3 { margin-bottom: 5px; }
.footer-reach .footer-email {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 650;
  letter-spacing: -.8px;
}
.footer-email span { color: var(--orange); }
.footer-reach > a:not(.footer-email) { font-size: 18px; font-weight: 500; }
.footer-reach a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-reach p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.footer-privacy { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 18px 0; font-size: 13px; }
.footer-privacy button { padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.footer-privacy a:hover, .footer-privacy button:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid #e3e9ed;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.footer-bottom p { margin: 0; }

@media (max-width: 1000px) {
  .footer-reach .footer-email { font-size: 21px; }
}
@media (max-width: 900px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; grid-column: 1 / -1; }
  .footer-brand p { max-width: 300px; }
  .footer-reach .footer-email { font-size: 22px; }
}
@media (max-width: 600px) {
  .footer-top { gap: 20px; padding: 26px 35px; }
  .footer-top > p { font-size: 19px; line-height: 1.35; }
  .footer-columns { grid-template-columns: 1fr; gap: 30px; padding-block: 32px; }
  .footer-brand { display: block; }
  .footer-brand .brand .original-logo { width: 170px; }
  .footer-brand p { font-size: 14px; }
  .footer-links { grid-column: 1 / -1; gap: 12px; }
  .footer-reach { grid-column: 1 / -1; }
  .footer-reach .footer-email { font-size: 24px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; font-size: 12px; }
  .footer-bottom p { line-height: 1.6; }
}

/* ==========================================================================
   Privacy: consent banner, settings dialog and policy page
   ========================================================================== */

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: block;
  width: 400px;
  max-width: calc(100% - 32px);
  padding: 25px 25px 17px;
  border: 1px solid #e1e9ef;
  border-radius: 20px;
  background: linear-gradient(150deg, #fff 75%, #f6f9fc);
  box-shadow: 0 16px 56px #153a5a1f, 0 2px 8px #153a5a08;
  color: #103b68;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner::before {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 15px;
  border-radius: 4px;
  background: var(--orange);
}
.cookie-banner strong { display: block; color: var(--navy); font-size: 20px; line-height: 1.25; letter-spacing: -.45px; }
.cookie-banner p { margin: 11px 0 12px; color: #586d7f; font-size: 13px; line-height: 1.7; }
.cookie-banner a {
  color: #536c81;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: #b9c8d5;
  text-underline-offset: 4px;
}
.cookie-banner .cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #e9eef3;
}
.cookie-banner .cookie-actions button {
  min-height: 41px;
  padding: 10px 8px;
  border: 1px solid #d4e1ed;
  border-radius: 9px;
  background: #f1f6fb;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  transition: background .18s, border-color .18s;
}
.cookie-banner .cookie-actions button[data-choice="false"] { grid-column: 1; grid-row: 1; }
.cookie-banner .cookie-actions button[data-choice="true"] { grid-column: 2; grid-row: 1; }
.cookie-banner .cookie-actions button[data-settings] {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 28px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #61788b;
  font-weight: 500;
}
.cookie-banner .cookie-actions button[data-choice]:hover { border-color: #9dbbd5; background: #e3edf7; }
.cookie-banner .cookie-actions button[data-settings]:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.cookie-actions button:focus-visible { outline: 2px solid #006aff; outline-offset: 3px; }

.cookie-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: 85dvh;
  padding: 30px;
  overflow: auto;
  border: 1px solid #e3ebf1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 90px #072b4a29;
  color: #103b68;
  font: inherit;
}
.cookie-dialog::backdrop { background: #12324d55; backdrop-filter: blur(4px); }
.cookie-dialog h2 {
  margin: 0 0 14px;
  padding-top: 16px;
  border-top: 3px solid var(--orange);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.5px;
}
.cookie-dialog p { margin: 8px 0 16px; font-size: 14px; line-height: 1.65; }
.cookie-dialog > p { color: #607487; font-size: 13px; }
.cookie-dialog a, .privacy-document a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-category { margin: 12px 0; padding: 17px 18px; border: 1px solid #e5edf5; border-radius: 12px; background: #f7faff; }
.cookie-category label { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.cookie-category strong { font-size: 14px; }
.cookie-category p { margin: 8px 0 0; color: #5a7083; font-size: 13px; }
.cookie-category input[type="checkbox"] {
  appearance: auto;
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  accent-color: var(--navy);
}
.cookie-category input[type="checkbox"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.cookie-dialog .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.cookie-dialog .cookie-actions button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #bfd1e5;
  border-radius: 9px;
  background: #f1f6fb;
  color: #103b68;
  font-size: 13px;
  font-weight: 600;
}
.cookie-dialog .cookie-actions [data-close] {
  grid-column: 1 / -1;
  min-height: 28px;
  padding: 4px;
  border: 0;
  background: none;
  color: #61788b;
}

.privacy-button {
  padding: 10px 14px;
  border: 1px solid #bfd1e5;
  border-radius: 7px;
  background: #f4f8ff;
  color: #103b68;
  font-weight: 600;
}
.privacy-button:hover { background: #e5efff; }
.privacy-button:focus-visible { outline: 2px solid #006aff; outline-offset: 3px; }

.privacy-header { display: flex; align-items: center; justify-content: space-between; max-width: 900px; margin: auto; padding: 22px; }
.privacy-document { max-width: 840px; margin: auto; padding: 24px 22px 80px; line-height: 1.8; }
.privacy-document h1 { font-size: 36px; line-height: 1.2; }
.privacy-document h2 { margin: 32px 0 12px; font-size: 23px; }
.privacy-document p, .privacy-document ul { margin: 12px 0; }
.privacy-document ul { padding-left: 24px; }
.privacy-document article p, .privacy-document article li { text-align: justify; text-align-last: left; }

@media (max-width: 700px) {
  .cookie-banner { right: 16px; bottom: 16px; width: 380px; max-height: 65dvh; padding: 21px 21px 14px; overflow: auto; }
  .cookie-banner strong { font-size: 19px; }
  .cookie-banner .cookie-actions { margin-top: 15px; padding-top: 14px; }
  .cookie-dialog { padding: 23px; }
  .cookie-dialog h2 { font-size: 22px; }
  .privacy-document h1 { font-size: 28px; }
}

/* ========================================================================== 
   404 page (shares the privacy page header)
   ========================================================================== */

/* ========================================================================== 
   SEO service pages
   ========================================================================== */

.service-page { background: #f7faff; color: var(--navy); }
.service-shell { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px max(22px, calc((100% - 1120px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.service-header img { display: block; height: auto; }
.service-header nav { display: flex; gap: 28px; font-size: 14px; font-weight: 650; }
.service-header nav a:hover { color: var(--orange); }
.service-hero {
  padding: 92px 0 98px;
  background: linear-gradient(120deg, #062c4c, #0c436e 62%, #135d91);
  color: #fff;
}
.service-hero h1 { max-width: 900px; margin: 16px 0 24px; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: -2.5px; }
.service-hero p:not(.eyebrow) { max-width: 760px; margin: 0 0 34px; color: #deebf6; font-size: 19px; line-height: 1.7; }
.service-content { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(48px, 8vw, 100px); padding-block: 88px; }
.service-content h2, .service-related h2 { margin: 12px 0 22px; font-size: clamp(29px, 4vw, 43px); line-height: 1.15; letter-spacing: -1.2px; }
.service-content p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.service-content aside { padding: 30px; border-radius: 18px; background: #eaf2fc; }
.service-content aside h2 { margin-top: 0; font-size: 24px; }
.service-content ul { margin: 0; padding-left: 22px; color: #314f66; line-height: 1.7; }
.service-content li + li { margin-top: 10px; }
.service-related { padding: 64px 0 84px; border-top: 1px solid var(--line); }
.service-related > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-related a { min-height: 112px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 700; line-height: 1.5; }
.service-related a:hover { border-color: var(--orange); color: var(--orange); }
.service-footer { padding: 28px 0; background: #062c4c; color: #fff; }
.service-footer > div { display: flex; align-items: center; gap: 28px; }
.service-footer p { margin: 0 auto 0 0; }
.service-footer a { color: #dceaf4; font-size: 14px; }

@media (max-width: 760px) {
  .service-header nav { gap: 14px; font-size: 12px; }
  .service-header nav a:nth-child(2) { display: none; }
  .service-hero { padding: 68px 0 74px; }
  .service-hero h1 { letter-spacing: -1.5px; }
  .service-content { grid-template-columns: 1fr; padding-block: 62px; }
  .service-related > div { grid-template-columns: 1fr; }
  .service-footer > div { align-items: flex-start; flex-direction: column; gap: 12px; }
  .service-footer p { margin: 0; }
}

.not-found { max-width: 640px; margin: 0 auto; padding: 72px 22px 110px; text-align: center; }
.not-found-code { margin: 0 0 6px; color: var(--orange); font-size: 104px; font-weight: 800; line-height: 1; letter-spacing: -4px; }
.not-found h1 { margin-bottom: 16px; font-size: 40px; line-height: 1.15; letter-spacing: -1.2px; }
.not-found-text { margin: 0 0 32px; color: var(--muted); font-size: 17px; line-height: 1.65; }

@media (max-width: 600px) {
  .not-found { padding-block: 44px 80px; }
  .not-found-code { font-size: 76px; letter-spacing: -3px; }
  .not-found h1 { font-size: 30px; letter-spacing: -.8px; }
  .not-found-text { font-size: 16px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
