:root {
  --primary: #173b67;
  --primary-dark: #102b4d;
  --accent: #1f74b7;
  --background: #f5f7fa;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5f6b7a;
  --border: #dbe2ea;
  --whatsapp: #168c46;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}

.header-content {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 96px 0 82px;
  background:
    linear-gradient(135deg, rgba(16, 43, 77, 0.96), rgba(31, 116, 183, 0.89));
  color: white;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero p {
  max-width: 680px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.button-whatsapp {
  background: var(--whatsapp);
  color: white;
}

.button-light {
  background: white;
  color: var(--primary-dark);
}

section {
  padding: 76px 0;
  scroll-margin-top: 90px;
}

section:nth-of-type(even) {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  color: var(--primary-dark);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

h3 {
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.section-heading p,
.legal-text p,
.legal-text li {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(16, 43, 77, 0.05);
}

.card p {
  color: var(--muted);
}

.contact-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.contact-list {
  list-style: none;
}

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

.contact-list strong {
  display: block;
  color: var(--primary-dark);
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.legal-text {
  max-width: 880px;
}

.legal-text h3 {
  margin-top: 26px;
}

.legal-text p + p {
  margin-top: 12px;
}

.legal-text ul {
  margin: 10px 0 0 22px;
}

.legal-note {
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: #eef6fc;
  border-radius: 6px;
}

footer {
  padding: 38px 0;
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.86);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

footer strong {
  color: white;
}

footer a {
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}

.page-hero {
  padding: 72px 0 54px;
  color: white;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
}

.page-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 820px) {
  header {
    position: static;
  }

  .header-content {
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .grid,
  .contact-box,
  .footer-content {
    grid-template-columns: 1fr;
  }

  section {
    padding: 58px 0;
  }
}

@media (max-width: 520px) {
  nav a {
    font-size: 0.88rem;
  }

  .actions,
  .button {
    width: 100%;
  }

  .card {
    padding: 22px;
  }
}
