:root{
  --bg: #000000;
  --fg: #ffffff;
  --paper: #ffffff;
  --ink: #0b0b0b;
  --muted: rgba(255,255,255,.72);
  --muted-ink: rgba(0,0,0,.68);
  --line-dark: rgba(255,255,255,.16);
  --line-light: rgba(0,0,0,.10);
  --radius: 14px;
  --container: 1080px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: Tahoma, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.45;
}

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-logo{
  height: 40px;
  width: auto;
  display: block;
}

.nav{
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a{
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .2px;
}
.nav a:hover{ color: var(--fg); }

/* Sections */
.section{
  padding: 72px 0;
}
.section-dark{
  background: var(--bg);
  color: var(--fg);
}
.section-light{
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line-light);
}

.hero{
  padding: 96px 0 84px;
}
h1{
  margin: 0 0 18px;
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.6px;
}
h2{
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.2px;
}
h3{
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 18px;
}
p{
  margin: 0;
  max-width: 76ch;
  font-size: 16px;
}
.section-dark p{ color: var(--muted); }
.section-light p{ color: var(--muted-ink); }

.lead{
  margin: 0 0 22px;
  font-size: 17px;
  color: var(--muted);
  max-width: 78ch;
}

/* Button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  background: transparent;
}
.btn:hover{
  border-color: rgba(255,255,255,.34);
}

.btn-whatsapp{
  background: #1f9f55;
  color: #fff;
  border: none;
  font-weight: 600;
}
.btn-whatsapp:hover{
  background: #1b8a4a;
}

/* Cards */
.cards{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.card{
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
  background: #ffffff;
}
.card p{
  font-size: 14.5px;
  color: var(--muted-ink);
}

/* Products */
.products-section {
  background: #f4f5f7;   /* gris claro elegante */
  color: #111;
    padding-top: 50px;   /* ⬅️ aumentar este valor */
    padding-bottom: 50px;
}

.product-card {
  background: #f5f5f5;
  color: #111;
  border-radius: 14px;
  padding: 32px;
  border: 2px solid #e2e4e8;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.product-card h3 {
 font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 18px;
    line-height: 1.25;
}

.product-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.25;
  margin-bottom: 16px;
}

.product-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px 0;
  color: #333;
}

.product-card ul li {
  font-size: 16px;
  color: #333;
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.product-card ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #333;
}

.product-card .result {
  border-top: 1px solid #1f1f1f;
  padding-top: 12px;
  font-size: 13px;
  color: #333;
  margin-top: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Divider */
.divider{
  background: var(--bg);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.divider-mark{
  color: rgba(255,255,255,.72);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

/* Triptych (Cómo trabajamos) */
.triptych{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.pill{
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
}
.pill-title{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 10px;
}
.mini-mark{
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  font-weight: 700;
  color: rgba(255,255,255,.82);
  transform: translateY(-.5px);
}
.pill p{
  font-size: 14.5px;
  color: var(--muted);
}

/* Footer */
.site-footer{
  padding: 46px 0;
  border-top: 1px solid var(--line-dark);
}
.footer-inner{
  display: grid;
  gap: 10px;
}
.footer-title{
  font-weight: 700;
  font-size: 18px;
}
.footer-link{
  color: var(--fg);
  text-decoration: none;
  font-size: 16px;
}
.footer-link:hover{ text-decoration: underline; }
.footer-small{
  color: rgba(255,255,255,.54);
  font-size: 12px;
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 980px){
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .triptych{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .header-inner{ padding: 14px 0; }
  .nav{ gap: 14px; }
  .section{ padding: 56px 0; }
  .hero{ padding: 78px 0 64px; }
  .cards{ grid-template-columns: 1fr; }
}

/* Forzar colores dentro de cards en Products */
.products-section .product-card {
  color: #000;
}

.products-section .product-card h3,
.products-section .product-card p,
.products-section .product-card li,
.products-section .product-card .result,
.products-section .product-card strong {
  color: #000;
}

/* Tags */
.tags {
 display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;     /* empuja hacia abajo */
  margin-bottom: 14px;  /* solo abajo */
  min-height: 64px;     /* reserva 2 líneas */
  align-content: flex-end;; 
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
}

/* División: Actuarial */
.tag-actuarial {
  background: rgba(30, 58, 138, 0.10); /* azul sobrio */
  color: #1e3a8a;
  border-color: rgba(30, 58, 138, 0.25);
}

/* División: Contable */
.tag-contable {
  background: rgba(15, 118, 110, 0.10); /* verde petróleo */
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.25);
}

/* División: Procesos */
.tag-procesos {
  background: rgba(161, 98, 7, 0.12); /* ocre */
  color: #a16207;
  border-color: rgba(161, 98, 7, 0.25);
}

/* División: Compliance */
.tag-compliance {
  background: rgba(88, 28, 135, 0.10); /* violeta */
  color: #581c87;
  border-color: rgba(88, 28, 135, 0.25);
}


/* Indicador de división – pill horizontal */
.division-dot {
  display: inline-block;
  width: 64px;          /* largo del tag */
  height: 12px;         /* grosor */
  border-radius: 999px; /* forma pill */
  margin-bottom: 14px;
  opacity: 0.9;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06); /* borde sutil */
}
.division-card.actuarial .division-dot {
  background: #1e3a8a; /* azul actuarial */
}

.division-card.contable .division-dot {
  background: #0f766e; /* verde contable */
}

.division-card.procesos .division-dot {
  background: #a16207; /* ocre procesos */
}

.division-card.compliance .division-dot {
  background: #581c87; /* violeta compliance */
}










