/* ==========================================================================
   Salviminda.be — static rebuild
   Design tokens measured from the live site: DM Sans throughout, brand blue
   #00A4EF, deep navy footer #001C38, 1420px content column, 64px section
   rhythm. Card accent circles: navy / green / gold.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

:root {
  /* Brand */
  --blue: #00A4EF;        /* primary — buttons, eyebrows, accents */
  --blue-dark: #008ACB;   /* hover state                          */
  --navy: #001C38;        /* footer / dark grounds                */
  --navy-bar: #00162C;    /* footer bottom bar                    */
  --violet: #605BE5;      /* active nav link                      */

  /* Card accent circles */
  --card-navy: #182C47;
  --card-green: #52A969;
  --card-gold: #BEB23A;

  /* Neutrals */
  --text: #000000;
  --text-body: #444444;
  --secondary: #54595F;
  --nav-link: #333333;
  --gray-bg: #F9F9F9;
  --border: #E5E7EB;
  --white: #ffffff;

  /* Type */
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1420px;
  --nav-h: 100px;
  --section-y: 64px;
  --radius: 8px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, .06);
}

/* --------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------- Typography -- */
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; color: var(--text); line-height: 1.3; }
h1 { font-size: 64px; }
h2 { font-size: 56px; }
h3 { font-size: 24px; }
h4 { font-size: 40px; }
h5 { font-size: 24px; }

/* Blue uppercase kicker that sits above most section headings */
.eyebrow {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.lead { font-size: 20px; font-weight: 300; line-height: 1.7; color: var(--text); }
p { margin: 0 0 20px; font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--text); }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-y) 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h5, .section--navy p { color: var(--white); }
.center { text-align: center; }
.section-head { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }

/* -------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  border: 0;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn--primary { padding: 16px 28px; border-radius: 3px; background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--block { width: 100%; }

/* Header CTA */
.btn--nav {
  padding: 12px 24px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}
.btn--nav:hover { background: var(--blue-dark); color: var(--white); }

/* Big white hero button with the diagonal arrow */
.btn--hero {
  padding: 24px 40px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  font-size: 24px;
  font-weight: 600;
}
.btn--hero:hover { background: #f2f2f2; color: var(--blue); }
.btn--hero .arrow { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }

.btn--ghost {
  padding: 16px 28px;
  border-radius: 3px;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .7);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* --------------------------------------------------------------- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img { width: 250px; height: auto; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--nav-link);
  white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--blue); }
.nav-links > li > a.active { color: var(--violet); }
.caret { width: 10px; height: 6px; flex: none; }

/* Services dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  padding: 10px 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 16px;
  color: var(--nav-link);
}
.dropdown a:hover { background: var(--gray-bg); color: var(--blue); }

.mobile-menu {
  display: none;
  font-size: 26px;
  line-height: 1;
  background: none;
  border: 0;
  color: var(--nav-link);
  cursor: pointer;
  padding: 6px 10px;
}

/* ----------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  min-height: 764px;
  display: flex;
  align-items: center;
  background: #1b2430 url('../assets/img/sal-1.png') center / cover no-repeat;
  overflow: hidden;
}
/* Flat dark scrim — matches the original, which sits the artwork under a
   uniform ~62% black wash rather than a directional gradient. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .76);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 40px; }
.hero-copy { padding: 60px 0 120px; }
.hero h1, .hero h2 {
  font-size: 72px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 24px;
}
.hero h1 .accent, .hero h2 .accent { color: var(--blue); }
.hero p { font-size: 30px; font-weight: 400; line-height: 2; color: var(--white); margin: 0 0 32px; }
.hero-figure { align-self: end; }
.hero-figure img { margin-left: auto; }

/* Slim page banner used on the inner pages: an office photo washed in brand
   blue, with the title left-aligned and a subtitle sitting under it. */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 355px;
  background: var(--blue) url('../assets/img/back-view-financial-experts-working-together-office.jpg') center / cover no-repeat;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0, 164, 239, .85); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 72px; font-weight: 700; color: var(--white); }
.page-hero p { color: var(--white); font-size: 24px; font-weight: 400; margin: 6px 0 0; }

/* ---------------------------------------------------------- Page intro -- */
/* Opening statement on Mission & Vision. Set as body copy rather than a
   heading: it is a full paragraph, and at heading size it reads as a wall. */
.intro { max-width: 840px; }
.intro-lead {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}
.intro-lead strong { font-weight: 600; color: var(--text); }

/* The three words from the logo tagline, given their own beat. */
.mission-statement {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.mission-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 18px;
}
.mission-triad {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 0;
}
.mission-triad span {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .03em;
  color: var(--blue);
}
.mission-triad i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .4;
  flex-shrink: 0;
}

/* --------------------------------------------------------- Split blocks -- */
/* Image one side, copy the other — the workhorse layout of the site. */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split + .split { margin-top: 96px; }
.split--reverse .split-media { order: 2; }
.split-media img, .split-media video { width: 100%; border-radius: var(--radius); display: block; }
video.media { width: 100%; border-radius: var(--radius); display: block; }
.split-copy h2 { margin-bottom: 24px; }

/* ------------------------------------------------------------ Card grid -- */
.grid { display: grid; gap: 30px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Service card with the floating circular icon */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 76px 30px 30px;
  margin-top: 53px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.service-card .icon {
  position: absolute;
  top: -53px;
  left: 50%;
  transform: translateX(-50%);
  width: 106px;
  height: 106px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 25px;
}
.service-card .icon img, .service-card .icon svg { width: 100%; height: 100%; }
.service-card .icon--navy { background: var(--card-navy); }
.service-card .icon--green { background: var(--card-green); }
.service-card .icon--gold { background: var(--card-gold); }
.service-card h3 { margin-bottom: 18px; }
.service-card ul { flex: 1; margin-bottom: 28px; }
.service-card ul li { font-size: 16px; font-weight: 300; line-height: 1.9; color: var(--text); }

/* Plain bordered card used on the inner pages */
.card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 22px; margin-bottom: 14px; }
.card--flat { box-shadow: none; border: 1px solid var(--border); }

/* Numbered / bulleted feature list */
.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.section--navy .ticks li { color: var(--white); }

/* ------------------------------------------------------------ Team grid -- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; max-width: 1200px; margin: 0 auto; }
.team-member { text-align: center; }
.team-member img { width: 100%; max-width: 446px; margin: 0 auto 22px; border-radius: var(--radius); }
.team-member h5 { font-size: 24px; margin-bottom: 4px; }
.team-member .role { font-size: 16px; font-weight: 300; color: var(--text); margin-bottom: 16px; }
.socials { display: flex; justify-content: center; gap: 8px; }
.socials a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: #1a1a1a;
  color: var(--white);
}
.socials a:hover { background: var(--blue); color: var(--white); }
.socials svg { width: 13px; height: 13px; fill: currentColor; }

/* Long-form bio block on the About page */
.bio { display: grid; grid-template-columns: 440px 1fr; gap: 60px; align-items: start; max-width: 1160px; margin: 0 auto; }
/* Mirrored row: the photo moves to the right, so the fixed column must too. */
.bio--reverse { grid-template-columns: 1fr 420px; }
.bio--reverse .bio-photo { order: 2; }
.bio-photo img { width: 100%; border-radius: var(--radius); }
.bio h2 { font-size: 40px; margin-bottom: 6px; }
.bio .role { font-size: 24px; font-weight: 400; color: var(--text); margin-bottom: 20px; }
.bio p { font-size: 17px; line-height: 1.75; }
.bio + .bio { margin-top: 80px; }

/* ---------------------------------------------------------------- Stats -- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat .num { font-size: 56px; font-weight: 600; line-height: 1.1; color: var(--blue); }
.stat .label { font-size: 20px; font-weight: 300; color: var(--text); }
.section--navy .stat .label { color: var(--white); }

/* ------------------------------------------------------------ Logo strip -- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.logo-strip img { max-height: 64px; width: auto; }

/* -------------------------------------------------------------- Contact -- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item .ic {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.contact-item .ic svg { width: 20px; height: 20px; fill: currentColor; }
.contact-item h3 { font-size: 20px; margin-bottom: 4px; }
.contact-item p { margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 500; color: var(--text); }
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: transparent;
}
.form-note { font-size: 14px; color: var(--secondary); margin-top: 14px; }

/* Honeypot — off-screen rather than display:none so bots still fill it in */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Inline submission feedback */
.form-status { font-size: 15px; margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); }
.form-status:empty { display: none; }
.form-status.is-sending { background: #eef6fb; color: var(--secondary); }
.form-status.is-success { background: #e8f6ed; color: #1c6b38; }
.form-status.is-error { background: #fdeeee; color: #96261f; }

button[type="submit"][disabled] { opacity: .65; cursor: progress; }

/* --------------------------------------------------------------- Footer -- */
.site-footer { background: var(--navy); color: var(--white); }
.footer-main { padding: 70px 0; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 60px; }
.footer-logo { width: 280px; margin-bottom: 26px; }
.footer-about { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--white); }
.site-footer h2 { font-size: 18px; font-weight: 500; color: var(--white); margin-bottom: 28px; }
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; font-size: 16px; font-weight: 300; color: var(--white); }
.footer-contact svg { flex: none; width: 16px; height: 16px; margin-top: 4px; fill: var(--white); }
.footer-contact a { color: var(--white); }
.footer-contact a:hover { color: var(--blue); }
.footer-links li { margin-bottom: 18px; }
.footer-links a { font-size: 16px; font-weight: 300; color: var(--white); }
.footer-links a:hover { color: var(--blue); }
.footer-bar { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bar p { font-size: 14px; font-weight: 300; color: rgba(255, 255, 255, .75); margin: 0; }

/* Back-to-top tab pinned to the right edge, as on the original */
.to-top {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 90;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #1a1a1a;
  color: var(--white);
  border: 0;
  cursor: pointer;
}
.to-top:hover { background: var(--blue); }
.to-top svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.4; fill: none; }

/* ==========================================================  Responsive == */
@media (max-width: 1200px) {
  h1, .page-hero h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  .hero h1, .hero h2 { font-size: 52px; }
  .hero p { font-size: 24px; line-height: 1.7; }
  .bio { grid-template-columns: 320px 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 14px 4px; justify-content: space-between; }
  .mobile-menu { display: block; }
  .nav-cta { display: none; }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    padding: 0 0 8px 14px;
    min-width: 0;
  }
  .has-dropdown.open .dropdown { display: block; transform: none; }
  .has-dropdown:hover .dropdown { transform: none; }

  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 0 60px; }
  .hero-figure { display: none; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-media { order: 0; }
  .split + .split { margin-top: 64px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .bio, .bio--reverse { grid-template-columns: 1fr; gap: 28px; }
  .bio--reverse .bio-photo { order: 0; }
  .bio-photo img { max-width: 420px; }
}

@media (max-width: 767px) {
  h1, .page-hero h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  h3, h5 { font-size: 21px; }
  .eyebrow { font-size: 18px; letter-spacing: 1.5px; }
  .hero h1, .hero h2 { font-size: 38px; }
  .hero p { font-size: 19px; }
  .btn--hero { font-size: 18px; padding: 18px 26px; }
  .section { padding: 48px 0; }
  .grid--3, .grid--2, .grid--4, .team, .stats, .form-grid { grid-template-columns: 1fr; }
  .team { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-logo img { width: 190px; }
  .to-top { display: none; }
  .stat .num { font-size: 42px; }
  .intro-lead { font-size: 18px; }
  .mission-statement { margin-top: 32px; padding-top: 28px; }
  /* The row does not fit at this width; stack it rather than wrap and
     strand a separator dot at the end of the first line. */
  .mission-triad { flex-direction: column; gap: 10px; }
  .mission-triad span { font-size: 20px; }
  .mission-triad i { display: none; }
}
