/* MOHENDA Estudio Contable · www.mohenda.com.py
   Tokens oficiales de marca (tokens-marca.json). Solo colores de la paleta. */

:root {
  --navy: #002c50;
  --navy-light: #a9bacb;
  --warm: #f4f2ef;
  --warm-alt: #e9e6e1;
  --text: #4f6478;
  --line: #d9d5ce;
  --white: #ffffff;

  --shadow: 0 12px 32px rgba(0, 44, 80, 0.10);
  --r-btn: 8px;
  --r-card: 16px;
  --r-full: 999px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 120px);
  --hdr: 110px;

  --font: Montserrat, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--text); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--navy); }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .nav-cta:focus-visible { outline-offset: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--r-btn);
  font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--white); }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Tipografía */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text);
}
.eyebrow--light { color: var(--navy-light); }
.h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; font-weight: 700; text-wrap: balance; }
.h2--big { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.h2--cierre { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; }
.lead { font-size: 18px; line-height: 1.6; text-wrap: pretty; }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--r-btn);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  background: var(--navy); color: var(--white);
  border: 1.5px solid var(--navy);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.btn:hover { background: #063a63; border-color: #063a63; color: var(--white); }
.btn--secondary { background: transparent; color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--warm); border-color: var(--warm); color: var(--navy); }
.btn--big { padding: 18px 32px; font-size: 16px; font-weight: 700; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Motivo de puntos */
.dots { position: absolute; pointer-events: none; background-size: 28px 28px; }
.dots--light { background-image: radial-gradient(var(--line) 2px, transparent 2.5px); opacity: .9; }
.dots--navy { background-image: radial-gradient(rgba(169, 186, 203, 0.18) 2px, transparent 2.5px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 242, 239, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 18px; padding-bottom: 18px;
}
.logo { display: flex; }
.logo img { height: clamp(52px, 6vw, 72px); width: auto; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); font-size: 14px; font-weight: 500; }
.nav a { color: var(--navy); white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; padding: 11px 20px; border-radius: var(--r-btn);
  background: var(--navy); font-weight: 600;
}
.nav .nav-cta { color: var(--white); }
.nav .nav-cta:hover { background: #063a63; color: var(--white); }

.nav-toggle {
  display: none; appearance: none; background: none; border: 1.5px solid var(--navy); border-radius: var(--r-btn);
  width: 46px; height: 42px; padding: 0; cursor: pointer; color: var(--navy);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--warm); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px var(--gutter); border-top: 1px solid var(--line); font-size: 16px; }
  .nav .nav-cta { margin: 16px var(--gutter) 20px; justify-content: center; border-radius: var(--r-btn); padding: 14px 20px; border-top: 0; }
}

/* ---------- Secciones ---------- */
section[id] { scroll-margin-top: var(--hdr); }

/* Portada */
.hero { position: relative; overflow: hidden; }
.hero .dots { top: 0; right: 0; width: 46%; height: 100%; }
.hero__grid {
  position: relative;
  padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance;
}
.hero__p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 520px; text-wrap: pretty; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { display: flex; justify-content: center; position: relative; }
.hero__photo-wrap { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
.hero__card {
  position: absolute; left: -8px; bottom: 28px;
  background: var(--white); border-radius: var(--r-card); padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px;
}
.hero__card strong { font-size: 15px; font-weight: 700; color: var(--navy); }
.hero__card span { font-size: 13px; color: var(--text); }
@media (max-width: 480px) { .hero__card { left: 0; bottom: 12px; } }

/* Foto circular. Hasta que lleguen las fotos nuevas de Liz, el círculo lleva el motivo de puntos y el isotipo. */
.foto {
  width: 100%; height: 100%; aspect-ratio: 1; border-radius: var(--r-full); object-fit: cover; display: block;
}
.foto--pendiente {
  position: relative; overflow: hidden;
  background: var(--warm-alt);
  background-image: radial-gradient(var(--line) 2px, transparent 2.5px);
  background-size: 28px 28px;
  border: 10px solid var(--white);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.foto--pendiente img { width: 34%; height: auto; opacity: .95; }
.foto--real { border: 8px solid var(--white); box-shadow: var(--shadow); background: var(--white); }

/* Datos */
.datos { background: var(--navy); color: var(--white); }
.datos__grid {
  padding-top: 44px; padding-bottom: 44px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px;
}
.dato { display: flex; flex-direction: column; gap: 6px; }
.dato strong { font-size: 40px; font-weight: 700; color: var(--white); line-height: 1; }
.dato span { font-size: 14px; color: var(--navy-light); }

/* A quién acompañamos */
.acompanamos { padding-top: var(--section-y); padding-bottom: var(--section-y); display: flex; flex-direction: column; gap: 48px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.card {
  background: var(--white); border-radius: var(--r-card); padding: 32px 28px; border: 1px solid var(--warm-alt);
  display: flex; flex-direction: column; gap: 14px;
}
.card__n { font-size: 13px; font-weight: 600; color: var(--navy-light); letter-spacing: 0.1em; }
.card h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.card p { font-size: 15px; line-height: 1.55; text-wrap: pretty; }

/* Sistema vs nosotros */
.diferencial { background: var(--warm-alt); }
.diferencial__inner { padding-top: var(--section-y); padding-bottom: var(--section-y); display: flex; flex-direction: column; gap: 48px; }
.diferencial .section-head { max-width: 680px; }
.paneles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.panel { border-radius: var(--r-card); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.panel h3 { font-size: 22px; font-weight: 600; }
.panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.panel li { display: flex; gap: 14px; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.panel li::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-full); flex: none; transform: translateY(-1px); }
.panel--sistema { background: var(--warm); }
.panel--sistema h3 { color: var(--text); }
.panel--sistema li::before { border: 1.5px solid var(--text); }
.panel--mohenda { background: var(--navy); color: var(--white); }
.panel--mohenda h3 { color: var(--white); }
.panel--mohenda li { color: var(--white); border-bottom-color: rgba(169, 186, 203, 0.3); }
.panel--mohenda li::before { background: var(--white); }

/* Planes */
.planes { padding-top: var(--section-y); padding-bottom: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 48px; }
.planes__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.planes__head .section-head { max-width: 620px; }
.planes__note { font-size: 15px; line-height: 1.55; max-width: 340px; }
.plan { gap: 16px; }
.plan img { width: 36px; height: auto; opacity: .9; }
.plan h3 { font-size: 21px; line-height: 1.25; font-weight: 700; }
.plan p { flex: 1; }
.plan__link { font-size: 14px; font-weight: 600; color: var(--navy); border-top: 1px solid var(--warm-alt); padding-top: 16px; }
.plan__link:hover { color: var(--text); }

/* Transformate 2027 */
.transformate { padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section-y); }
.transformate__box {
  position: relative; overflow: hidden;
  background: var(--navy); border-radius: var(--r-card); padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.transformate__box .dots { inset: 0; }
.transformate__text { position: relative; display: flex; flex-direction: column; gap: 22px; }
.transformate__text h2 { color: var(--white); font-size: clamp(30px, 3.3vw, 42px); }
.transformate__text h2 small { display: block; font-weight: 300; font-size: inherit; }
.transformate__quote { font-size: 18px; line-height: 1.6; color: var(--white); text-wrap: pretty; }
.transformate__para { font-size: 15px; line-height: 1.6; color: var(--navy-light); }
.transformate__steps { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.transformate__foto { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.transformate__foto img { width: min(100%, 300px); height: auto; aspect-ratio: 1; border-radius: var(--r-full); object-fit: cover; border: 6px solid var(--white); display: block; }
.transformate__foto figcaption { font-size: 13px; color: var(--navy-light); text-align: center; }
.transformate__firma { font-size: 20px; font-weight: 600; color: var(--white); margin-top: 6px; }
.step {
  display: grid; grid-template-columns: 1fr; gap: 8px; padding: 22px 24px;
  border: 1px solid rgba(169, 186, 203, 0.3); border-radius: var(--r-card); background: rgba(255, 255, 255, 0.03);
}
.step__k { font-size: 13px; font-weight: 600; color: var(--navy-light); letter-spacing: 0.1em; padding-top: 3px; white-space: nowrap; }
.step__body { display: flex; flex-direction: column; gap: 6px; }
.step__t { font-size: 17px; font-weight: 600; color: var(--white); }
.step__d { font-size: 14px; line-height: 1.55; color: var(--navy-light); }
@media (max-width: 420px) { .step { grid-template-columns: 1fr; gap: 8px; } }

/* Soy Liz */
.liz { background: var(--white); }
.liz__grid {
  padding-top: var(--section-y); padding-bottom: var(--section-y);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.liz__visual { display: flex; justify-content: center; }
.liz__visual .foto { width: min(100%, 380px); height: auto; }
.liz__visual .foto--pendiente { background-color: var(--warm); }
.liz__text { display: flex; flex-direction: column; gap: 22px; }
.liz__lema { font-size: 18px; font-weight: 600; color: var(--navy); }

/* Visión, Misión y Valores */
.esencia { padding-top: var(--section-y); padding-bottom: var(--section-y); display: flex; flex-direction: column; gap: 40px; }
.esencia__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.esencia__item { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--navy); }
.esencia h3 { font-size: 22px; font-weight: 600; }
.esencia p { font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.valores { display: flex; flex-direction: column; gap: 18px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-full); padding: 12px 20px;
  font-size: 15px; font-weight: 500; color: var(--navy);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--navy); }

/* Cierre */
.cierre { position: relative; overflow: hidden; background: var(--navy); }
.cierre .dots { top: 0; left: 0; width: 40%; height: 100%; }
.cierre__grid {
  position: relative;
  padding-top: var(--section-y); padding-bottom: var(--section-y);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.cierre__text { display: flex; flex-direction: column; gap: 22px; }
.cierre__text h2 { color: var(--white); }
.cierre__text p { font-size: 18px; line-height: 1.6; color: var(--navy-light); }
.cierre__datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.cdato { display: flex; flex-direction: column; gap: 6px; }
.cdato span { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy-light); }
.cdato a, .cdato strong { font-size: 16px; font-weight: 400; color: var(--white); line-height: 1.5; }
.cdato a:hover { color: var(--navy-light); }

/* Footer */
.footer { background: var(--navy); border-top: 1px solid rgba(169, 186, 203, 0.25); }
.footer__inner {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer__inner img { height: clamp(52px, 6vw, 72px); width: auto; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 13px; color: var(--navy-light); }
.footer__social { display: flex; gap: 18px; }
.footer__social a { color: var(--white); font-weight: 500; }
.footer__social a:hover { color: var(--navy-light); }
@media (max-width: 599px) { .footer__right { align-items: flex-start; } }

/* 404 */
.p404 { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.p404__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 560px; }
.p404__inner img { height: 64px; width: auto; }
.p404 h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
