/* ============================================================
   ContactaDirecto — estilos compartidos
   Sistema: fondo blanco, un acento (azul marino), hairlines,
   sin gradientes, sin glassmorphism, sombras mínimas.
   ============================================================ */

:root {
  --bg:        #ffffff;
  --paper:     #fafaf8;   /* fondo alterno casi blanco */
  --ink:       #15171c;   /* texto principal, casi negro */
  --muted:     #6a6d75;   /* texto secundario */
  --faint:     #9a9da4;   /* meta / labels */
  --accent:    #16263f;   /* azul marino oscuro — único acento */
  --accent-2:  #1f3a63;   /* hover acento */
  --line:      #e7e5e0;   /* hairline */
  --line-2:    #d9d7d1;

  --maxw: 1120px;
  --gut: 24px;

  --serif-no: 0;
  --r: 4px; /* radio mínimo, usado con moderación */
}

/* reset ligero */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

h1, h2, h3, .display {
  font-family: "Space Grotesk", "Hanken Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 18px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand .dot { color: var(--accent); }
.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }
.nav-cta {
  color: var(--ink) !important;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: var(--r);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: #fff; color: var(--accent); }
.btn-lg { padding: 17px 34px; font-size: 18px; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Home hero ---------- */
.hero { padding: 92px 0 80px; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 56px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 76px);
}
.hero h1 .accent { color: var(--accent); }
.hero-aside {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.hero-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.hero-sub {
  margin: 26px 0 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: 19px;
}

/* ---------- Section scaffolding ---------- */
.section { padding: 84px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 52ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin: 16px 0 0; }
.alt { background: var(--paper); }

/* ---------- Islands list ---------- */
.islands { border-top: 1px solid var(--line-2); }
.island-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: baseline;
  gap: 24px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: padding-left .18s ease, background .18s ease;
}
.island-row:hover { background: var(--paper); padding-left: 18px; color: var(--ink); }
.island-row .row-main { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.island-row .iname {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
}
.island-row .idesc { color: var(--muted); font-size: 16px; }
.island-row .meta {
  display: flex; align-items: baseline; gap: 22px;
  white-space: nowrap;
}
.island-row .count { color: var(--faint); font-size: 15px; font-variant-numeric: tabular-nums; }
.island-row .price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500; font-size: 18px;
}
.island-row .arrow { color: var(--accent); font-size: 20px; transition: transform .18s ease; }
.island-row:hover .arrow { transform: translateX(5px); }

.island-row.pack {
  background: var(--accent);
  color: #fff;
  border-bottom: 1px solid var(--accent);
  border-radius: var(--r);
  margin-top: 14px;
  padding: 34px 24px;
}
.island-row.pack:hover { background: var(--accent-2); padding-left: 38px; }
.island-row.pack .idesc,
.island-row.pack .count { color: rgba(255,255,255,.72); }
.island-row.pack .arrow { color: #fff; }
.island-row.pack .tag {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.4);
  padding: 3px 9px; border-radius: 999px; margin-left: 4px;
  vertical-align: middle;
}

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
}
.audience-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.audience-cols h3 {
  font-size: 20px;
  margin-bottom: 12px;
  padding-top: 14px;
  border-top: 2px solid var(--accent);
  display: inline-block;
}
.audience-cols p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 2px;
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px; font-weight: 400;
  color: var(--accent);
  transition: transform .2s ease;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; } /* en dash */
.faq .answer {
  padding: 0 44px 24px 2px;
  color: var(--muted);
  margin: 0;
}
.faq .answer a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.site-footer .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.site-footer small { color: var(--faint); font-size: 14px; }
.site-footer .foot-links { display: flex; gap: 22px; }
.site-footer .foot-links a { color: var(--muted); font-size: 14px; }

/* ============================================================
   LANDINGS
   ============================================================ */
.lp-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); }
.lp-hero .back {
  font-size: 14px; color: var(--faint); font-family: "Space Grotesk", sans-serif;
  letter-spacing: .02em; display: inline-block; margin-bottom: 26px;
}
.lp-hero .back:hover { color: var(--accent); }
.lp-hero h1 { font-size: clamp(36px, 5.4vw, 64px); max-width: 16ch; }
.lp-hero .lp-sub {
  margin: 24px 0 0; color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px); max-width: 46ch;
}

/* stats row — editorial, hairline separated */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.stat {
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat .lab { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.stat .breakdown { font-size: 19px; }

/* product layout: sample + pricing */
.product {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: start;
}

/* sample data record (the one justified "card") */
.sample {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
}
.sample .sample-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  background: var(--ink);
  color: #fff;
}
.sample .sample-top .t {
  font-family: "Space Grotesk", sans-serif; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.sample .sample-top .badge {
  font-family: "Space Grotesk", sans-serif; font-size: 12px;
  border: 1px solid rgba(255,255,255,.3); padding: 3px 8px; border-radius: 999px;
}
.sample .field {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.sample .field:last-child { border-bottom: 0; }
.sample .field .k {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint);
}
.sample .field .v { font-size: 16px; color: var(--ink); word-break: break-word; }
.sample .field .v.link { color: var(--accent); }
.sample .stars { letter-spacing: 2px; }

/* pricing */
.pricing {
  position: sticky; top: 28px;
}
.pricing .price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing .price .cur { font-size: .5em; vertical-align: super; font-weight: 500; }
.pricing .price-note { color: var(--faint); font-size: 14px; margin: 8px 0 26px; font-family: "Space Grotesk", sans-serif; letter-spacing: .02em; }
.pricing ul {
  list-style: none; padding: 0; margin: 0 0 30px;
  border-top: 1px solid var(--line);
}
.pricing li {
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 15px;
  position: relative;
}
.pricing li::before {
  content: ""; position: absolute; left: 2px; top: 21px;
  width: 9px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pricing .btn { width: 100%; text-align: center; }

/* cross-sell note */
.crosssell {
  margin-top: 22px; padding: 16px 18px;
  border: 1px dashed var(--line-2); border-radius: var(--r);
  font-size: 15px; color: var(--muted);
}
.crosssell a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  body { font-size: 16px; }
  .hero { padding: 60px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .hero-aside { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
  .section { padding: 60px 0; }
  .audience-grid { grid-template-columns: 1fr; gap: 28px; }
  .audience-cols { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
  .product { grid-template-columns: 1fr; gap: 40px; }
  .pricing { position: static; }
  .island-row { grid-template-columns: 1fr; gap: 10px; }
  .island-row .meta { gap: 16px; }
}
@media (max-width: 560px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .site-header .wrap { height: 60px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(odd) { border-right: 0; }
  .sample .field { grid-template-columns: 1fr; gap: 4px; }
}

/* hide nav items that crowd very small screens, keep essentials */
@media (max-width: 420px) {
  .nav .nav-extra { display: none; }
}
