/* MJM CAPITAL VENTURES LLC (MJM Insurance) — hoja de estilos unica.
   Sin dependencias externas, sin imagenes: todo el peso del sitio es texto. */

:root {
  --navy: #0e2a47;
  --navy-deep: #07192d;
  --navy-soft: #17527f;
  --accent: #2b7fb8;
  --accent-deep: #1a5f8f;
  --accent-light: #7cc0e4;
  --ink: #1b2733;
  --muted: #58687a;
  --line: #dbe4ee;
  --bg: #ffffff;
  --bg-alt: #f2f6fb;
  --radius: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

.wrap {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--navy-soft); }
a:hover { color: var(--accent-deep); }

h1, h2, h3 {
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 14px;
  font-weight: 700;
}

h1 { font-size: 30px; letter-spacing: -0.4px; }
h2 { font-size: 23px; margin-top: 4px; }
h3 { font-size: 18px; }

p { margin: 0 0 16px; }

/* ---------- Encabezado ---------- */

.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--accent);
}

.site-header .wrap {
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #fff;
  text-decoration: none;
}

.brand span { color: var(--accent-light); }

.brand-sub {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  color: #b6c9dc;
  text-transform: uppercase;
}

.site-nav {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.site-nav a {
  color: #d5e3ef;
  text-decoration: none;
  font-size: 15px;
}

.site-nav a:hover { color: #fff; text-decoration: underline; }

/* Cambio de idioma ES/EN. Va como un item mas del nav para no romper el
   space-between del encabezado en pantalla ancha. Es un enlace y nada mas:
   sin JavaScript, sin cookies, sin deteccion de idioma del navegador. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  letter-spacing: 0.6px;
}

.lang-switch a { color: #d5e3ef; text-decoration: none; }
.lang-switch a:hover { color: #fff; text-decoration: underline; }
.lang-sep { color: #6f849a; }
.lang-current { color: var(--accent-light); font-weight: 700; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 46px 0 50px;
}

.hero h1 { color: #fff; max-width: 20ch; }

.hero p {
  color: #cddcea;
  font-size: 18px;
  max-width: 58ch;
}

/* CTA del hero. Conserva el reset de caja para no heredar los estilos por
   defecto del navegador si alguna vez vuelve a montarse sobre un boton. */
.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 13px 26px;
  background: var(--accent-deep);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.btn:hover { background: var(--accent-light); color: var(--navy-deep); }

.hero-note {
  margin: 22px 0 0;
  font-size: 14px;
  color: #a4bacf;
  max-width: 62ch;
}

/* ---------- Secciones ---------- */

section { padding: 42px 0; }

section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-sub {
  margin-top: -8px;
  color: var(--muted);
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 20px 6px;
}

.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--muted); }

/* ---------- Sobre nosotros ---------- */

.about {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 20px 6px;
  margin-top: 22px;
  max-width: 70ch;
}

.about-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Bloque de informacion del negocio ---------- */

.biz {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 8px 20px 4px;
  margin-top: 22px;
}

.biz dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.biz dt {
  font-size: 12.5px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}

.biz dd {
  margin: 2px 0 0;
  font-size: 16.5px;
  color: var(--ink);
  font-weight: 600;
}

.biz dd a { color: var(--navy-soft); }

.biz-note {
  margin: 22px 0 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Tarjeta de contacto ---------- */

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  margin-top: 22px;
}

.contact-lead {
  margin: 0;
  font-size: 16.5px;
  color: var(--ink);
}

.contact-list {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  font-size: 12.5px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

.contact-list dt:first-child { margin-top: 0; }

.contact-list dd {
  margin: 2px 0 0;
  font-size: 16.5px;
  font-weight: 600;
}

.legal-links {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.legal-links a {
  display: inline-block;
  margin-right: 16px;
  white-space: nowrap;
}

/* ---------- Paginas legales ---------- */

.legal { padding: 38px 0 10px; }
.legal h2 { margin-top: 34px; }
.legal h3 { margin-top: 22px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }

.updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}

.clause {
  background: var(--bg-alt);
  border-left: 3px solid var(--navy);
  padding: 16px 18px;
  margin: 0 0 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 4px;
  margin-bottom: 30px;
}

.contact-block p { margin-bottom: 6px; }

/* ---------- Pie ---------- */

/* El bubble del chat es fixed y en movil se para encima del pie. Con el saludo
   abierto ocupa los 170px inferiores del viewport, asi que el colchon son esos
   170px mas 30px de holgura: si el saludo crece una linea, el bloque de
   identidad sigue legible. En ancho grande el bubble queda a la derecha, lejos
   del texto, y no hace falta. */
.site-footer {
  background: var(--navy-deep);
  color: #c1d1e1;
  padding: 32px 0 200px;
  margin-top: 20px;
  font-size: 14.5px;
}

.footer-legal { margin: 0 0 6px; }

.footer-links { margin: 16px 0 12px; }

.footer-links a {
  color: #fff;
  text-decoration: underline;
}

.footer-links a:hover { color: var(--accent-light); }

.footer-links span { color: #8ca2b8; padding: 0 6px; }

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: #7d92a7;
}

/* Solo en el home: el disclaimer de agencia independiente. Las tres paginas
   legales dicen lo mismo en ingles dentro de su propio texto. */
.footer-disclaimer {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #1c3450;
  font-size: 13px;
  color: #94a9bd;
  max-width: 72ch;
}

/* Solo en el home en espanol: aviso discreto de que las paginas legales estan
   en ingles. En /en sobra, porque ahi todo el sitio ya esta en ingles. */
.footer-legal-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #7d92a7;
  letter-spacing: 0.2px;
}

/* ---------- 700px ---------- */

@media (min-width: 700px) {
  body { font-size: 17.5px; }

  .wrap { padding: 0 28px; }

  h1 { font-size: 40px; }
  h2 { font-size: 26px; }

  .site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .site-nav { margin-top: 0; gap: 24px; }

  .hero { padding: 70px 0 74px; }

  section { padding: 56px 0; }

  /* Servicios son exactamente 3 tarjetas: una fila de tres, sin huerfanas.
     La verificacion E9 de verify.js falla si el numero de tarjetas cambia. */
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .about { padding: 26px 28px 8px; }

  .biz { padding: 8px 28px 4px; }

  .biz dl { grid-template-columns: 210px 1fr; }

  .biz dt {
    margin-top: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    align-self: stretch;
  }

  .biz dd {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  /* La nota final ya trae su propia linea superior. */
  .biz dt:last-of-type,
  .biz dd:last-of-type { border-bottom: 0; }

  .contact-card { padding: 28px 28px 24px; }

  .contact-list { display: grid; grid-template-columns: 210px 1fr; }
  .contact-list dt { margin-top: 0; padding: 8px 0; align-self: stretch; }
  .contact-list dd { padding: 8px 0; }

  .site-footer { padding-bottom: 32px; }
}
