/* Nimia WebTools: estilos compartidos */
:root {
  --verde: #72d905;          /* verde del logotipo */
  --verde-osc: #5bb300;
  --verde-suave: #effbe3;
  --gris: #6b8285;           /* gris del logotipo */
  --gris-claro: #888b8d;     /* Cool Gray 8 C */
  --tinta: #1c2426;
  --tinta-2: #263033;
  --fondo: #f5f7f6;
  --card: #ffffff;
  --borde: #e2e7e6;
  --texto: #1c2426;
  --mut: #5f6f71;
  --error: #c43d2f;
  --radio: 16px;
  --sombra: 0 1px 2px rgba(20,30,30,.05), 0 8px 24px rgba(20,30,30,.06);
  font-family: Calibri, Carlito, "Lato", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--fondo); color: var(--texto); font-size: 17px; line-height: 1.55; }
a { color: inherit }
img { max-width: 100% }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 20; background: rgba(28,36,38,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { height: 34px; display: block }
.brand span { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--verde); border-left: 1px solid rgba(255,255,255,.2); padding-left: 12px; font-weight: 700; }
.nav, .nav .links { display: flex; align-items: center; gap: 6px; }
.nav a, .nav button { color: #d9e2e1; text-decoration: none; font: inherit; font-size: 16px; background: none; border: 0; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.nav a:hover, .nav button:hover, .nav a.on { color: #fff; background: rgba(255,255,255,.08) }
.drop { position: relative }
.drop-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 280px; background: #fff; color: var(--texto); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.25); padding: 8px; display: none; }
.drop.open .drop-menu { display: block }
.drop-menu a { display: flex; gap: 12px; align-items: flex-start; color: var(--texto) !important; padding: 10px 12px; border-radius: 8px; }
.drop-menu a:hover { background: var(--verde-suave) !important }
.drop-menu .ico { font-size: 22px; line-height: 1 }
.drop-menu b { display: block; font-size: 16px }
.drop-menu small { color: var(--mut); font-size: 14px }
.cta { background: var(--verde) !important; color: var(--tinta) !important; font-weight: 700; }
.cta:hover { background: #86ec1a !important }
.burger { display: none }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 17px; line-height: 1; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px) }
.btn-verde { background: var(--verde); color: var(--tinta); }
.btn-verde:hover { background: #86ec1a }
.btn-linea { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-linea:hover { box-shadow: inset 0 0 0 1.5px #fff }
.btn:disabled { opacity: .45; cursor: default; transform: none }

/* Pie */
.pie { background: var(--tinta); color: #a9b6b6; margin-top: 80px; padding: 40px 0; font-size: 15px; }
.pie .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.pie img { height: 28px; display: block; opacity: .9 }
.pie a { color: #d9e2e1; text-decoration: none }
.pie a:hover { color: var(--verde) }

/* Tarjetas */
.card { background: var(--card); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); }

@media (max-width: 760px) {
  .brand span { display: none }
  .burger { display: block }
  .nav .links { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--tinta); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; }
  .nav.open .links { display: flex }
  .drop-menu { position: static; display: block; box-shadow: none; background: transparent; padding: 0 0 0 8px; min-width: 0 }
  .drop-menu a { color: #d9e2e1 !important }
  .drop-menu a:hover { background: rgba(255,255,255,.06) !important }
  .drop > button { display: none }
}
