:root {
  color-scheme: light;
  --bg: #f6f9fc;
  --bg-alt: #eef5fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #102033;
  --muted: #5b6b7d;
  --border: rgba(16, 32, 51, 0.1);
  --accent: #0f766e;
  --accent-dark: #155e75;
  --accent-cool: #2563eb;
  --accent-warm: #f59e0b;
  --shadow: 0 24px 60px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.1), transparent 30%),
    radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #edf3f9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(16, 32, 51, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 32, 51, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(280px, 58vw);
  height: auto;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent-cool);
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.68);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.active {
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}

.hero-copy,
.hero-card,
.content-card,
.info-card,
.contact-card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 28px;
  padding: 40px;
}

.eyebrow,
.section-heading span,
.card-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 10px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.lead {
  margin-top: 18px;
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.contact-links {
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-cool));
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.22);
}

.button.primary:hover {
  box-shadow: 0 20px 32px rgba(37, 99, 235, 0.28);
}

.button.secondary {
  border-color: rgba(37, 99, 235, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.button.whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 16px 28px rgba(15, 118, 110, 0.2);
}

.button.whatsapp:hover {
  box-shadow: 0 20px 32px rgba(15, 118, 110, 0.24);
}

.hero-card {
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 245, 255, 0.82)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 35%);
}

.avatar {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-cool));
}

.card-text {
  margin-top: 10px;
  line-height: 1.7;
  color: var(--muted);
}

.section {
  margin-top: 28px;
}

.section + .section {
  margin-top: 34px;
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.content-card,
.contact-card {
  border-radius: 24px;
  padding: 26px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card,
.partners-card,
.partner-slot {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 22px;
  display: grid;
  gap: 8px;
}

.stat-card strong {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.5;
}

.partners-panel {
  display: grid;
  gap: 16px;
}

.partners-card {
  padding: 22px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.partner-slot {
  min-height: 96px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.02em;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 245, 252, 0.8));
}

.section-heading + .partners-panel,
.section-heading + .stats-grid,
.section-heading + .chips,
.section-heading + .contact-grid {
  margin-top: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.contact-form {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 26px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 27, 22, 0.16);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
  color: var(--text);
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(168, 90, 43, 0.48);
  box-shadow: 0 0 0 4px rgba(168, 90, 43, 0.12);
}

.submit-button {
  width: 100%;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  padding: 20px;
  box-shadow: var(--shadow);
}

.timeline-role {
  font-size: 1rem;
  font-weight: 800;
}

.timeline-meta {
  margin-top: 6px;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(235, 245, 255, 0.9));
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-brand {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.site-footer p {
  color: var(--text);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-links a {
  color: var(--accent-dark);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--accent-cool);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font-weight: 600;
}

.content-card p,
.contact-card p,
.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  border-radius: 22px;
  padding: 22px;
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

@media (max-width: 860px) {
  .hero,
  .grid,
  .stats-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    text-align: left;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: min(240px, 72vw);
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero-copy,
  .hero-card {
    padding: 28px;
  }
}

@media (max-width: 540px) {
  .page-shell {
    width: min(100% - 20px, 1100px);
    padding-top: 14px;
  }

  .hero-copy,
  .hero-card,
  .content-card,
  .info-card,
  .contact-card {
    border-radius: 20px;
  }

  .nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .actions,
  .contact-links {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
