:root {
  --azul: #5C6A9B;
  --azul-oscuro: #3d4a73;
  --gris: #f4f5f8;
  --texto: #222;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Roboto', sans-serif;
  color: var(--texto);
  line-height: 1.6;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Topbar */
.topbar { background: var(--azul-oscuro); color: #fff; font-size: 14px; }
.topbar-inner { display: flex; gap: 20px; justify-content: space-between; padding: 8px 0; }
.topbar a { color: #fff; text-decoration: none; }

/* Header */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-size: 22px; font-weight: 700; color: var(--azul); text-decoration: none; }
.nav a { margin: 0 12px; color: var(--texto); text-decoration: none; }
.nav a:hover { color: var(--azul); }
.btn-cta { background: var(--azul); color: #fff; padding: 10px 20px; border-radius: 4px; text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 480px;
  background: linear-gradient(135deg, #2a3252, #5C6A9B);
  display: flex; align-items: center; color: #fff;
}
.hero-content { text-align: center; padding: 80px 0; }
.hero h1 { font-size: 34px; margin-bottom: 12px; }
.hero p { font-size: 18px; margin-bottom: 24px; }

/* Botones */
.btn-primary {
  display: inline-block; background: var(--azul); color: #fff;
  padding: 12px 26px; border-radius: 4px; text-decoration: none; border: none;
  cursor: pointer; font-size: 16px;
}
.btn-primary:hover { background: var(--azul-oscuro); }

/* Secciones */
.section { padding: 60px 0; }
.section-alt { background: var(--gris); }
.section-title { text-align: center; font-size: 28px; margin-bottom: 32px; color: var(--azul); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Tarjetas */
.card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.08); transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card h3 { padding: 16px 16px 8px; color: var(--azul); font-size: 18px; }
.card p { padding: 0 16px 16px; font-size: 15px; }

/* Lista check */
.lista-check { list-style: none; }
.lista-check li { padding: 6px 0 6px 26px; position: relative; }
.lista-check li::before {
  content: "✓"; position: absolute; left: 0; color: var(--azul); font-weight: 700;
}

/* CTA */
.section-cta { background: var(--azul); color: #fff; padding: 40px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; }

/* Formulario */
#contact-form input,
#contact-form textarea {
  width: 100%; padding: 12px; margin-bottom: 12px;
  border: 1px solid #ccc; border-radius: 4px; font-family: inherit;
}

.form-status { margin-top: 10px; font-size: 14px; }

/* Footer */
.footer { background: #1c2238; color: #ccc; padding: 30px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; }
.footer a { color: #ccc; text-decoration: none; }

/* WhatsApp flotante */
.whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px;
  background: #25D366; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25); z-index: 200;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .cta-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero h1 { font-size: 26px; }
}