@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy: #1E3A8A;
  --navy-dark: #12235A;
  --navy-ink: #10193B;
  --navy-tint: #EEF1FA;
  --navy-tint-strong: #DDE4F5;
  --gray: #64748B;
  --gray-light: #E2E8F0;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(30, 58, 138, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: var(--navy-ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy-dark);
  line-height: 1.2;
  margin: 0 0 0.6em 0;
}

h1 { font-size: clamp(2.4rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1.1em 0; max-width: 62ch; }
p.wide { max-width: 76ch; }

a { color: var(--navy); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy-ink);
  font-size: 0.98rem;
  font-weight: 400;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--navy);
  color: var(--navy);
}

.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-ghost:hover { background: var(--navy-tint); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--gray);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-art {
  animation: rise 0.9s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Stat band (visual anchor, restrained) ---------- */
.stat-band {
  background: var(--white);
  padding: 56px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.stat-band-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  align-self: stretch;
  background: var(--gray-light);
  flex-shrink: 0;
}

.stat-band p {
  margin: 0;
  color: var(--navy-ink);
  font-weight: 400;
  font-size: 1.05rem;
  max-width: 52ch;
}

/* ---------- Alternating solution rows ---------- */
.solution-row {
  padding: 84px 0;
  border-bottom: 1px solid var(--gray-light);
}

.solution-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.solution-row.reverse .solution-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.solution-row.reverse .solution-grid > .solution-figure {
  order: 2;
}

.solution-tag {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.solution-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.bullets {
  list-style: none;
  margin: 18px 0 0 0;
  padding: 0;
}

.bullets li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  max-width: 56ch;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--navy);
}

/* ---------- Process (legit sequence, numbered) ---------- */
.process {
  padding: 96px 0;
  background: var(--navy-tint);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
}

.process-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 10px;
}

/* ---------- Closing CTA band ---------- */
.cta-band {
  background: var(--navy-dark);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--navy-tint-strong); margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--navy-dark); }
.cta-band .btn-primary:hover { background: var(--navy-tint); }

/* ---------- Generic section ---------- */
.section { padding: 80px 0; }
.section-narrow { max-width: 74ch; }

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.card {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 26px;
}

/* ---------- Logo placeholder ---------- */
.logo-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1.5px dashed var(--gray);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}

.contact-list .label {
  display: block;
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* ---------- Contact form ---------- */
.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-ink);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 6px;
}

.form-status {
  margin-top: 14px;
  font-weight: 700;
  min-height: 1.4em;
}

.form-status.ok { color: #1E7A4A; }
.form-status.err { color: #B3261E; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-ink);
  color: var(--navy-tint-strong);
  padding: 40px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer a { color: var(--white); }
.site-footer .fine { color: var(--gray-light); font-size: 0.85rem; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .solution-grid, .contact-grid { grid-template-columns: 1fr; }
  .solution-row.reverse .solution-grid > .solution-figure { order: 0; }
  .process-steps, .card-row { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .stat-band-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-divider { display: none; }
}

@media (max-width: 600px) {
  .nav-links span.nav-cta { display: none; }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  transition: background 0.15s ease, transform 0.15s ease;
}

.whatsapp-float:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 600px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 23px; height: 23px; }
}

.lang-switch {
  border: 1px solid var(--gray-light) !important;
  border-radius: 8px;
  padding: 5px 10px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lang-switch:hover {
  border-color: var(--navy) !important;
  background: var(--navy-tint);
}

/* Accessible focus */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
