/* Salt Solutions — "Less is more"
   Brand: Deep navy #102B4E · Accent blue #1765A5 · White / light blue */

:root {
  --navy: #102B4E;
  --navy-deep: #0B1F3A;
  --blue: #1765A5;
  --blue-bright: #1E8AD6;
  --sky: #EEF5FC;
  --sky-2: #E1EDF9;
  --line: #D6E3F1;
  --ink: #102B4E;
  --body: #3E5470;
  --muted: #6B7F98;
  --white: #FFFFFF;

  --radius: 14px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --shadow: 0 1px 2px rgba(16, 43, 78, .04), 0 8px 24px rgba(16, 43, 78, .06);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-size: .9rem; font-weight: 600; padding: 8px 12px; border-radius: 8px;
  position: relative; white-space: nowrap;
}
.nav a:hover { text-decoration: none; color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--blue); border-radius: 2px;
}
.nav .btn { margin-left: 10px; }
.nav .btn::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy); align-items: center; justify-content: center;
}

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--sky-2); border-radius: 0; font-size: 1rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 16px 0 0; text-align: center; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 15px 24px; border-radius: 10px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--sky); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 40px; height: 4px; border-radius: 4px; background: var(--blue-bright); }
.rule { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--blue-bright); margin-bottom: 22px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--body); max-width: 40em; }
.section { padding: var(--section) 0; }
.section-tint { background: var(--sky); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 + .lead { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F5F9FE 0%, #fff 100%); }
.hero-media {
  position: absolute; inset: 0 0 0 auto; width: 54%;
  background: url("../assets/img/building.jpg") center left / cover no-repeat;
}
.hero-media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #F5F9FE 0%, rgba(245, 249, 254, .85) 25%, rgba(245, 249, 254, 0) 60%);
}
.hero-inner { position: relative; padding: clamp(72px, 11vw, 136px) var(--gutter); }
.hero-copy { max-width: 700px; }
.hero:not(.page-hero) h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero .hero-inner { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.page-hero .hero-copy { max-width: 620px; }

@media (max-width: 860px) {
  .hero-media { position: relative; width: 100%; height: 240px; inset: auto; background-position: center 30%; }
  .hero-media::before { background: linear-gradient(180deg, rgba(245,249,254,0) 50%, #fff 100%); }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-inner { padding-top: 48px; padding-bottom: 56px; }
}

/* ---------- Split (challenge) ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > :last-child { border-left: 1px solid var(--line); padding-left: clamp(24px, 5vw, 64px); }
.split .lead + .lead { margin-top: 16px; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split > :last-child { border-left: 0; padding-left: 0; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { display: flex; gap: 20px; padding: 8px clamp(16px, 3vw, 36px); border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar h3 { text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.pillar p { font-size: .98rem; }
.icon-tile {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 14px;
  background: var(--sky-2); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.section-tint .icon-tile { background: #fff; }
.icon-tile svg { width: 32px; height: 32px; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; gap: 28px; }
  .pillar { border-left: 0; padding: 0; }
}

/* ---------- Steps (approach) ---------- */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 16px; list-style: none; padding: 0; margin: 0; }
.step { background: var(--sky); border: 1px solid var(--sky-2); border-radius: var(--radius); padding: 30px 28px; }
.section-tint .step { background: #fff; border-color: var(--line); }
.step-top { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.step-top svg { width: 34px; height: 34px; color: var(--blue); flex-shrink: 0; }
.step-top > div { border-left: 1px solid var(--line); padding-left: 18px; }
.step-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -0.02em; }
.step h3 { text-transform: uppercase; letter-spacing: .03em; margin-top: 6px; }
.step p { font-size: .98rem; }
.step-arrow { align-self: center; color: var(--blue); }
.step-arrow svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step-arrow { justify-self: center; transform: rotate(90deg); }
}

/* ---------- Generic cards / lists ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } .grid-3:has(.tile) { grid-template-columns: 1fr 1fr; gap: 12px; } .tile { min-height: 140px; padding: 24px 12px; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-tint .card { border-color: transparent; box-shadow: var(--shadow); }
.card .icon-tile { margin-bottom: 18px; width: 56px; height: 56px; }
.card .icon-tile svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .97rem; }
.card ul { margin: 0; padding: 0; list-style: none; font-size: .97rem; }
.card li { display: flex; gap: 10px; align-items: baseline; padding: 3px 0; }
.card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); flex-shrink: 0; transform: translateY(-2px); }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list h3 { margin-bottom: 4px; font-size: 1.2rem; }

.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;
  background: var(--sky); border: 1px solid var(--sky-2); border-radius: var(--radius); padding: 34px 20px; min-height: 170px;
}
.tile svg { width: 38px; height: 38px; color: var(--blue); }
.tile h3 { font-size: 1.08rem; }

.note {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--sky); border: 1px solid var(--sky-2); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
}
.note svg { width: 40px; height: 40px; color: var(--blue); flex-shrink: 0; }
.note h3 { font-size: 1.35rem; margin-bottom: 8px; }

/* ---------- Solution feature image ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.media-split img { border-radius: var(--radius); width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; } .media-split img { max-height: 280px; } }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 55%, #17437A 100%);
}
.cta::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 38%;
  background: url("../assets/img/building-glass.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
  opacity: .85;
}
.cta .container { position: relative; z-index: 1; padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); }
.cta h2 { color: #fff; max-width: 15em; margin-bottom: 32px; }
@media (max-width: 760px) { .cta::after { width: 100%; opacity: .14; -webkit-mask-image: none; mask-image: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-details li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-details svg { width: 24px; height: 24px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-details strong { display: block; color: var(--ink); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid #C5D5E6; border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 101, 165, .18); }
.field .error { display: none; color: #B42318; font-size: .85rem; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #B42318; }
.field.invalid .error { display: block; }
.form-card .btn { width: 100%; background: var(--navy); }
.form-card .btn:hover { background: var(--blue); }
.form-status { margin-top: 16px; font-size: .95rem; color: var(--blue); min-height: 1.5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B9C8DB; font-size: .93rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #DCE6F2; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 28px; font-size: .85rem; color: #8DA2BC; }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

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