@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/montserrat-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/montserrat-800-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-700-latin.woff2") format("woff2");
}

:root {
  --navy: #00285d;
  --navy-deep: #001c42;
  --navy-mid: #0a3e72;
  --green: #007445;
  --green-dark: #005c36;
  --green-soft: #e7f4ee;
  --navy-soft: #e8eef5;
  --text: #1a2330;
  --muted: #5a6570;
  --line: #d5dde4;
  --bg: #f4f6f8;
  --white: #ffffff;
  --wa: #25d366;
  --wa-dark: #1ebc59;
  --shadow: 0 8px 24px rgba(0, 40, 93, 0.08);
  --header-h: 76px;
  --radius: 10px;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

h1, h2, h3, .site-nav {
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

h1, h2, h3 { color: var(--navy); letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 700; }

.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { margin: 14px 0 0; color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.h2-bar { position: relative; padding-bottom: 14px; }
.h2-bar::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--green);
  margin-top: 12px;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-wa { background: var(--wa); color: #083318; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(0, 40, 93, 0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 58px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
}
.site-nav a:hover { color: var(--green); }
.header-cta { margin-left: 8px; min-height: 40px; padding: 0 16px; font-size: 0.8rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f3f7f5 0%, #ffffff 70%);
  padding: 72px 0 80px;
}
.hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 20px;
  width: min(520px, 48vw);
  height: min(700px, 90%);
  background: url("assets/hexagono-hsm.png") no-repeat right center;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-copy p.lead {
  margin: 18px 0 28px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.trust span {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-mid);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.hero-aside {
  display: flex;
  justify-content: center;
}
.hero-logo {
  width: min(100%, 440px);
  filter: drop-shadow(0 8px 20px rgba(0, 40, 93, 0.08));
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.about-text p { margin: 0 0 16px; }
.facts {
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.facts div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.facts dd { margin: 0; color: var(--navy); font-weight: 600; }

/* Vision / mission */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.vm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.vm-card p { margin: 12px 0 0; color: var(--text); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 40, 93, 0.12);
}
.service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--navy-soft);
}
.service-card .body { padding: 18px 18px 22px; }
.service-card p { margin: 8px 0 0; color: var(--muted); font-size: 0.98rem; }
.credits-note {
  margin: 28px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.client-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 18px;
}
.client-card h3 { font-size: 1rem; margin-bottom: 8px; }
.client-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.form {
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form label {
  display: grid;
  gap: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--white);
  text-transform: none;
  letter-spacing: normal;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  font-weight: 400;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .form-actions { margin-top: 6px; }
.contact-info { display: grid; gap: 18px; }
.info-block {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.info-block h3 { color: var(--white); margin-bottom: 16px; }
.info-block p { margin: 0 0 14px; color: #d7e0ea; }
.info-block a { color: var(--white); font-weight: 600; text-decoration: none; }
.info-block a:hover { color: #9be7bf; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { color: #d7e0ea; }
.info-list strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9be7bf;
  margin-bottom: 4px;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c5d0dc;
  padding: 40px 0 72px;
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.site-footer a { color: #e8eef5; text-decoration: none; }
.site-footer a:hover { color: #9be7bf; }
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-legal { margin: 8px 0 0; }
.footer-meta { text-align: right; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.wa-float:hover { background: var(--wa-dark); transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-aside { order: -1; }
  .hero-logo { width: min(100%, 320px); margin-inline: auto; }
  .hero { padding: 40px 0 56px; }
  .vm-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 18px;
    box-shadow: 0 12px 24px rgba(0, 40, 93, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; font-size: 0.95rem; }
  body.nav-open { overflow: hidden; }
  .site-footer { padding-bottom: 100px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .section { padding: 56px 0; }
  .services-grid,
  .clients-grid { grid-template-columns: 1fr; }
  .logo img { height: 48px; }
  .form { padding: 20px 16px; }
  .hero-copy p.lead { font-size: 1.05rem; }
  .wa-float { right: 14px; bottom: 14px; }
}


@media (min-width: 621px) {
  .service-card:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    min-height: 230px;
  }
  .service-card:last-child img {
    width: 42%;
    max-width: 480px;
    aspect-ratio: auto;
    height: auto;
    min-height: 230px;
    object-fit: cover;
  }
  .service-card:last-child .body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 36px;
  }
  .service-card:last-child .body p {
    max-width: 40rem;
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card, .btn, .wa-float { transition: none; }
}
