:root {
  --blue-900: #042E78;
  --blue-700: #0070C0;
  --green: #2BBF6A;
  --dark: #102033;
  --muted: #667085;
  --bg: #F5F8FC;
  --white: #FFFFFF;
  --line: #D8E2EF;
  --shadow: 0 18px 45px rgba(16, 32, 51, 0.16);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  box-shadow: var(--shadow);
}
.brand small { display: block; color: var(--muted); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--blue-700); }
.nav-toggle { display: none; border: 0; background: var(--blue-900); color: var(--white); border-radius: 10px; padding: 8px 11px; font-size: 20px; }

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(4,46,120,0.92) 0%, rgba(4,46,120,0.72) 42%, rgba(4,46,120,0.10) 100%),
    url('images/cover-mallas.jpg') center right / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -140px auto;
  width: 460px;
  height: 460px;
  background: rgba(43, 191, 106, 0.2);
  transform: rotate(35deg);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--white);
  padding: 80px 0;
}
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; }
.hero h1 { max-width: 690px; margin: 0; font-size: clamp(42px, 7vw, 76px); line-height: 0.94; letter-spacing: -0.06em; }
.hero-text { max-width: 590px; margin: 24px 0 0; color: rgba(255,255,255,0.86); font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 14px 22px; font-weight: 800; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-secondary { background: rgba(255,255,255,0.14); color: var(--white); border: 1px solid rgba(255,255,255,0.34); }

.section { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 78px 0; }
.section-heading { max-width: 680px; margin-bottom: 32px; }
.section h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.04em; }
.section p { color: var(--muted); line-height: 1.7; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 32px rgba(16,32,51,0.08); }
.card img { height: 210px; width: 100%; object-fit: cover; background: #dfe7f0; }
.card h3 { margin: 22px 22px 8px; font-size: 22px; }
.card p { margin: 0 22px 24px; }
.alt { width: 100%; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alt .split { width: min(1120px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); font-weight: 700; }
.check-list li::before { content: "✓"; color: var(--green); margin-right: 10px; font-weight: 900; }
.contact-card { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: var(--white); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 5vw, 54px); box-shadow: var(--shadow); }
.contact-card p { color: rgba(255,255,255,0.84); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.contact-grid a, .contact-grid span { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); border-radius: 18px; padding: 18px; }
.contact-grid strong, .contact-grid span span { display: block; }
.contact-grid span span, .contact-grid a span { margin-top: 6px; color: rgba(255,255,255,0.84); }
.footer { padding: 24px 16px; text-align: center; color: var(--muted); }

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; padding: 20px; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .hero { min-height: 560px; background-position: center; }
  .cards, .alt .split, .contact-grid { grid-template-columns: 1fr; }
}
