/* Fuente */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* ===== Paleta (variables) ===== */
:root{
  --bg: #f8fafc;             /* fondo general */
  --text: #1f2937;           /* texto */
  --brand: #0f172a;          /* header slate oscuro */
  --brand-ink: #ffffff;      /* texto sobre brand */
  --accent: #059669;         /* verde acento (botones) */
  --accent-dark:#047857;     /* hover verde */
  --surface:#ffffff;         /* tarjetas / formularios */
  --muted:#e2e8f0;           /* bordes suaves */
  --hero:#f9fafb;            /* bloque hero neutral */
  --outline:#d1d5db;         /* inputs */
  --shadow: 0 4px 16px rgba(0,0,0,.06);
  --whatsapp:#25D366;
  --whatsapp-hover:#1ebe5d;
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--brand); color: var(--brand-ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--brand-ink); }
.brand-logo { max-height: 40px; border-radius: 6px; }
.brand-text h1 { font-size: 18px; line-height: 1.1; }
.brand-text .tagline { font-size: 12px; opacity: .85; color: var(--brand-ink); }

.main-nav { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.main-nav a { color: var(--brand-ink); font-weight: 700; padding: 8px 10px; border-radius: 6px; }
.main-nav a:hover { background: rgba(255,255,255,.10); }
.btn-nav { background: var(--accent); }
.btn-nav:hover { background: var(--accent-dark); }
.wa-inline { display: inline-flex; gap: 6px; align-items: center; color: var(--whatsapp); font-weight: 700; }
.wa-inline:hover { color: var(--whatsapp-hover); }

/* Hero */
.hero { background: var(--hero); border-bottom: 1px solid var(--muted); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; padding: 28px 0; }
.hero-copy h2 { font-size: 26px; margin-bottom: 10px; color: var(--brand); }
.micro { font-size: 12px; opacity: .8; margin-top: 6px; }

/* Tarjetas */
.hero-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card { background: var(--surface); padding: 16px; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid #eef2f7; }
.card h3 { color: var(--brand); margin-bottom: 8px; }

/* Secciones */
.section { padding: 36px 0; }
.section.alt { background: var(--surface); }
.section h2 { font-size: 22px; color: var(--brand); margin-bottom: 10px; }

.bullets { margin: 10px 0 14px 18px; }
.bullets li { margin-bottom: 6px; }

.grid-list {
  margin: 12px 0 14px 0;
  display: grid; gap: 8px 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: disc inside;
}

/* Botones */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 9px 14px; border-radius: 8px; font-weight: 700;
  border: 1px solid rgba(0,0,0,0.02);
}
.btn:hover { background: var(--accent-dark); }

/* Formularios */
.form {
  background: var(--surface); padding: 16px; border-radius: 12px;
  box-shadow: var(--shadow); border: 1px solid #eef2f7;
}
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; padding: 10px; margin-bottom: 12px;
  border: 1px solid var(--outline); border-radius: 8px; font-family: inherit; background: #fff;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-row { margin-top: 8px; }
.cta-box {
  background:#f3f5f7; border: 1px solid var(--muted);
  border-radius: 12px; padding: 16px; margin-top: 16px;
}
.note { margin-top: 10px; font-size: 12px; opacity: .8; }

/* Footer */
.site-footer { background: #f3f6fa; border-top: 1px solid var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.fine { font-size: 12px; opacity: .75; }

/* Botón flotante WhatsApp */
.whatsapp-btn {
  position: fixed; right: 16px; bottom: 16px;
  background: var(--whatsapp); color: #fff; border-radius: 999px;
  width: 54px; height: 54px; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.whatsapp-btn:hover { background: var(--whatsapp-hover); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
