/* =============================================================
   Estructura Legal — site stylesheet (self-contained)
   Tokens + components. No external CSS imports beyond Google Fonts.
   ============================================================= */
/* =============================================================
   Estructura Legal — Design Tokens
   Source: Informe Estratégico (paleta §11.2) + Informe Maestro Web
   ============================================================= */

/* Fonts: Manrope (display/headings) + Inter (body/UI).
   Pulled from Google Fonts. See fonts/README.md for fallback notes. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* -------- COLOR — Brand palette (oficial) -------- */
  --el-azul-estructura: #1F3658;   /* Color principal */
  --el-azul-profundo:   #14243C;   /* Títulos, contraste, piezas premium */
  --el-gris-cemento:    #6B7280;   /* Texto secundario */
  --el-blanco-calido:   #F7F6F1;   /* Fondo elegante (warm white) */
  --el-acero-suave:     #D9E0EA;   /* Tablas, líneas, separadores */
  --el-terracota:       #B8845B;   /* Acento — CTA inmobiliario / construcción */
  --el-terracota-warm:  #C99670;   /* Variante más cálida para tints suaves */

  /* Derived neutrals (matched to warm white) */
  --el-white:           #FFFFFF;
  --el-bone:            #FBFAF6;   /* between white and blanco-calido */
  --el-paper:           #F2F0E9;   /* slightly darker warm panel */
  --el-hairline:        #E6E2D7;   /* warm hairline divider */
  --el-ink:             #0E1A2E;   /* near-black for max contrast */
  --el-graphite:        #2E3A4F;   /* body emphasis */
  --el-mute:            #8A8F9A;   /* tertiary text */

  /* Accent variants */
  --el-terracota-deep: #8E5E3C;
  --el-terracota-soft: #E8D6C3;

  /* Brand mark (logo SVG) — tone tokens so the mark adapts to light/dark surfaces */
  --brand-mark-bar:    var(--el-azul-profundo);
  --brand-mark-accent: var(--el-terracota);

  /* States — semantic */
  --el-success: #2F7D5A;
  --el-warning: #B8845B;
  --el-danger:  #B14848;

  /* -------- SEMANTIC ROLES -------- */
  --bg:             var(--el-blanco-calido);
  --bg-elevated:    var(--el-white);
  --bg-panel:       var(--el-bone);
  --bg-inverse:     var(--el-azul-profundo);

  --fg-1:           var(--el-azul-profundo);  /* headings, top emphasis */
  --fg-2:           var(--el-graphite);       /* body */
  --fg-3:           var(--el-gris-cemento);   /* secondary */
  --fg-4:           var(--el-mute);           /* tertiary, labels */
  --fg-on-dark:     #F2EFE6;
  --fg-on-accent:   var(--el-blanco-calido);

  --border:         var(--el-acero-suave);
  --border-warm:    var(--el-hairline);
  --border-strong:  #C2CBD8;

  --brand:          var(--el-azul-estructura);
  --brand-hover:    #2A4570;
  --brand-press:    var(--el-azul-profundo);
  --accent:         var(--el-terracota);
  --accent-hover:   #C8956D;
  --accent-press:   #A06F4A;

  /* -------- TYPOGRAPHY -------- */
  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Type scale — fluid via clamp(), targeted at desktop with mobile floor */
  --fs-display:   clamp(2.5rem, 1.6rem + 4.4vw, 4.5rem);     /* 40–72 */
  --fs-h1:        clamp(2rem, 1.4rem + 2.8vw, 3.25rem);      /* 32–52 */
  --fs-h2:        clamp(1.625rem, 1.3rem + 1.6vw, 2.25rem);  /* 26–36 */
  --fs-h3:        clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);    /* 20–24 */
  --fs-h4:        1.125rem;                                  /* 18 */
  --fs-lead:      clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);   /* 17–20 */
  --fs-body:      1rem;                                      /* 16 */
  --fs-small:     0.875rem;                                  /* 14 */
  --fs-eyebrow:   0.75rem;                                   /* 12 */

  /* Tracking — tight at large sizes, generous on eyebrows */
  --tracking-display: -0.02em;
  --tracking-tight:   -0.01em;
  --tracking-body:    0;
  --tracking-eyebrow: 0.14em;

  /* Line heights */
  --lh-display: 1.04;
  --lh-heading: 1.15;
  --lh-body:    1.6;
  --lh-tight:   1.35;

  /* -------- SPACING (4px base) -------- */
  --space-0:  0;
  --space-1:  0.25rem;   /* 4  */
  --space-2:  0.5rem;    /* 8  */
  --space-3:  0.75rem;   /* 12 */
  --space-4:  1rem;      /* 16 */
  --space-5:  1.5rem;    /* 24 */
  --space-6:  2rem;      /* 32 */
  --space-7:  3rem;      /* 48 */
  --space-8:  4rem;      /* 64 */
  --space-9:  6rem;      /* 96 */
  --space-10: 8rem;      /* 128 */

  /* Section rhythm */
  --section-py:   clamp(4rem, 3rem + 5vw, 7rem);
  --container-px: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  --container-max: 1240px;

  /* -------- RADII -------- */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* -------- SHADOWS / ELEVATION -------- */
  /* Restrained, premium — tinted with the brand blue, never sooty grey */
  --shadow-1: 0 1px 2px rgba(20, 36, 60, 0.04), 0 1px 1px rgba(20, 36, 60, 0.03);
  --shadow-2: 0 2px 6px rgba(20, 36, 60, 0.05), 0 1px 2px rgba(20, 36, 60, 0.04);
  --shadow-3: 0 10px 30px -12px rgba(20, 36, 60, 0.18), 0 4px 10px -6px rgba(20, 36, 60, 0.08);
  --shadow-4: 0 24px 60px -24px rgba(20, 36, 60, 0.28), 0 8px 20px -10px rgba(20, 36, 60, 0.12);
  --shadow-press: inset 0 1px 2px rgba(20, 36, 60, 0.10);
  --ring-focus: 0 0 0 3px rgba(31, 54, 88, 0.18);
  --ring-accent: 0 0 0 3px rgba(184, 132, 91, 0.22);

  /* -------- MOTION -------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;

  /* -------- LAYOUT MOTIFS -------- */
  /* Blueprint grid background — "estructura" as concept */
  --grid-line: rgba(20, 36, 60, 0.05);
  --grid-line-strong: rgba(20, 36, 60, 0.08);
  --grid-size: 48px;
}

/* =============================================================
   ELEMENT DEFAULTS — semantic typography
   ============================================================= */

html { color-scheme: light; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg-1);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: var(--tracking-display); line-height: var(--lh-display); }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  color: var(--fg-1);
  text-wrap: balance;
}

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-tight);
  color: var(--fg-2);
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--brand);
}

.eyebrow--accent { color: var(--accent); }
.eyebrow--mute   { color: var(--fg-4); }

small, .small { font-size: var(--fs-small); color: var(--fg-3); }

code, kbd, samp, .mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--el-azul-profundo);
}

a {
  color: var(--brand);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--brand-hover); text-decoration: underline; }

::selection { background: var(--el-azul-profundo); color: var(--el-blanco-calido); }


/* ===== components / layout ===== */
/* =============================================================
   Estructura Legal — Website styles
   Imports tokens from /colors_and_type.css (one level up).
   ============================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg-2); overflow-x: hidden; }

/* -------- container -------- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-inline: var(--container-px); }
.section { padding-block: var(--section-py); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section--dark { background: var(--el-azul-profundo); color: var(--fg-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--el-blanco-calido); }
.section--bone { background: var(--el-bone); }
.section--paper { background: var(--el-paper); }

/* -------- blueprint grid (hero motif) -------- */
.bp-grid {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(20,36,60,0.04) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(20,36,60,0.04) 1px, transparent 1px) 0 0 / 48px 100%;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 100%);
}
.bp-grid--strong {
  background:
    linear-gradient(rgba(20,36,60,0.06) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(20,36,60,0.06) 1px, transparent 1px) 0 0 / 48px 100%;
}
.bp-grid--dark {
  background:
    linear-gradient(rgba(247,246,241,0.04) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(247,246,241,0.04) 1px, transparent 1px) 0 0 / 48px 100%;
}

/* -------- eyebrow -------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: currentColor;
  opacity: 0.6;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--mute { color: var(--fg-4); }
.eyebrow--light { color: var(--el-terracota); }

/* -------- buttons -------- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }

.btn--primary { background: var(--brand); color: var(--el-blanco-calido); }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--primary:active { transform: translateY(0); background: var(--brand-press); }

.btn--secondary { background: transparent; color: var(--fg-1); border-color: var(--border); }
.btn--secondary:hover { background: var(--el-white); border-color: var(--border-strong); }

.btn--accent { background: var(--accent); color: var(--el-blanco-calido); }
.btn--accent:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-2); }

.btn--ghost { background: transparent; color: var(--brand); padding: 13px 14px; }
.btn--ghost:hover { color: var(--brand-hover); }

.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #20B958; transform: translateY(-1px); box-shadow: 0 8px 22px -6px rgba(37,211,102,.45); }

.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }

.btn--on-dark.btn--secondary { color: var(--el-blanco-calido); border-color: rgba(247,246,241,0.22); }
.btn--on-dark.btn--secondary:hover { background: rgba(247,246,241,0.07); border-color: rgba(247,246,241,0.4); }

/* -------- nav -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 241, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), background var(--dur-base);
}
.nav.is-scrolled { border-bottom-color: var(--el-hairline); background: rgba(247,246,241,0.94); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; color: var(--el-azul-profundo); font-family: var(--font-display); font-weight: 700; font-size: 17.5px; letter-spacing: -0.018em; line-height: 1.1; text-decoration: none; }
.brand-mark { flex-shrink: 0; display: block; }
.nav__brand-text { display: flex; flex-direction: column; }
.nav__brand-text small { font-family: var(--font-body); font-size: 9.5px; font-weight: 500; color: var(--fg-4); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 3px; }
.nav__links { display: flex; gap: 4px; align-items: center; }
.nav__link {
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  color: var(--fg-2); padding: 8px 14px; border-radius: var(--r-pill);
  text-decoration: none; transition: all var(--dur-fast) var(--ease-out);
  position: relative;
}
.nav__link:hover { color: var(--fg-1); background: rgba(20,36,60,0.04); }
.nav__link.is-active { color: var(--fg-1); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__menu-btn {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  transition: all var(--dur-fast) var(--ease-out);
}
.nav__menu-btn:hover { background: var(--el-white); border-color: var(--border-strong); }
.nav__menu-btn span {
  display: block; width: 18px; height: 1.6px;
  background: var(--el-azul-profundo);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out);
  transform-origin: center;
}
.nav__menu-btn.is-open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.nav__menu-btn.is-open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.nav__drawer {
  position: fixed; inset: 0;
  background: var(--bg);
  padding: 96px 24px 32px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
  overflow-y: auto;
}
.nav__drawer.is-open { display: flex; }
.nav__drawer-links { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
.nav__drawer-links .nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  padding: 16px 4px;
  border-radius: 0;
  border-bottom: 1px solid var(--el-hairline);
  letter-spacing: -0.018em;
  color: var(--fg-1);
}
.nav__drawer-links .nav__link:hover { background: transparent; color: var(--accent); }
.nav__drawer-links .nav__link.is-active { color: var(--accent); }
.nav__drawer-links .nav__link.is-active::after { display: none; }

@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__cta .btn--primary { display: none; }
  .nav__menu-btn { display: inline-flex; }
}

/* -------- whatsapp FAB -------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px;
  background: #25D366; color: #fff;
  border-radius: 50%; border: 0;
  display: grid; place-items: center;
  box-shadow: 0 16px 36px -10px rgba(37,211,102,.42), 0 6px 14px -6px rgba(20,36,60,.18);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -10px rgba(37,211,102,.5), 0 8px 16px -6px rgba(20,36,60,.22); }
.fab::before {
  content: ""; position: absolute; inset: -8px;
  border-radius: 50%; border: 2px solid #25D366; opacity: 0;
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse { 0% { transform: scale(0.85); opacity: 0.7; } 80% { opacity: 0; } 100% { transform: scale(1.4); opacity: 0; } }
.fab__label {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--el-azul-profundo); color: var(--el-blanco-calido);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  padding: 9px 14px; border-radius: var(--r-pill);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: all var(--dur-base) var(--ease-out);
  box-shadow: var(--shadow-3);
}
.fab:hover .fab__label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* -------- hero -------- */
.hero { position: relative; padding-top: clamp(3rem, 2rem + 3vw, 5rem); padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(2.25rem, 1.4rem + 4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-wrap: balance;
  max-width: 18ch;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--fg-2); max-width: 56ch; margin-bottom: 32px; text-wrap: pretty; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero__meta { display: flex; gap: 28px; flex-wrap: wrap; }
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-item .k { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-4); }
.hero__meta-item .v { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--fg-1); }

.hero__corner-mark {
  position: absolute; top: 16px; right: 0;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.08em;
}

/* -------- section header -------- */
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.sec-head__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head__lead { font-size: var(--fs-lead); color: var(--fg-2); line-height: 1.45; max-width: 60ch; text-wrap: pretty; }
.sec-head__num { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.10em; }

/* -------- service card -------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--el-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
  min-height: 320px;
}
.svc-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-3); }
.svc-card.is-feature { border-top: 3px solid var(--accent); background: linear-gradient(160deg, rgba(184,132,91,0.05) 0%, var(--el-white) 55%); }
.svc-card__num { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); margin-bottom: 4px; }
.svc-card__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; color: var(--fg-1); margin: 0; }
.svc-card__desc { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.svc-card__bullets { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.svc-card__bullets li {
  font-size: 13px; color: var(--fg-3); padding-left: 16px;
  position: relative; line-height: 1.5;
  list-style: none;
}
.svc-card__bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--accent);
}
.svc-card__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--el-hairline); display: flex; justify-content: space-between; align-items: center; }
.svc-card__cta { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }

/* -------- product cards -------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 920px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  background: var(--el-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: inherit;
  transition: all var(--dur-base) var(--ease-out);
}
.prod-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.prod-card__cat { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-4); }
.prod-card__cat.is-real { color: var(--accent); }
.prod-card__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: -0.014em; color: var(--fg-1); }
.prod-card__pain { font-size: 13px; line-height: 1.5; color: var(--fg-2); }
.prod-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--el-hairline); display: flex; align-items: center; justify-content: space-between; }
.prod-card__id { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-4); }
.prod-card__cta { font-size: 12.5px; font-weight: 600; color: var(--brand); }

/* -------- pain blocks -------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 740px) { .pain-grid { grid-template-columns: 1fr; } }
.pain {
  background: var(--el-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.pain.is-accent { border-left-color: var(--accent); }
.pain__num { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-4); letter-spacing: 0.06em; }
.pain__q { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.22; letter-spacing: -0.014em; color: var(--fg-1); margin: 0; }
.pain__d { font-size: 13.5px; line-height: 1.5; color: var(--fg-2); margin: 0; }

/* -------- testimonial -------- */
.testimonial {
  background: var(--el-azul-profundo);
  color: var(--fg-on-dark);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.testimonial__mark { font-family: var(--font-display); font-weight: 700; font-size: 90px; line-height: 0.6; color: var(--accent); }
.testimonial__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.4vw + 0.5rem, 26px); line-height: 1.32; letter-spacing: -0.012em; color: var(--el-blanco-calido); text-wrap: balance; margin: 0 0 18px; }
.testimonial__attr { font-size: 13px; color: rgba(247,246,241,0.65); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.testimonial__attr b { color: var(--el-blanco-calido); font-family: var(--font-display); font-weight: 600; }
.testimonial__attr .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(247,246,241,0.3); }

/* -------- people -------- */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 820px) { .people { grid-template-columns: 1fr; } }
.person {
  background: var(--el-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: flex-start;
}
.person__avatar {
  width: 90px; height: 110px;
  background: var(--el-azul-profundo);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--el-terracota);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.person__avatar::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(247,246,241,0.06) 1px, transparent 1px) 0 0 / 100% 18px,
    linear-gradient(90deg, rgba(247,246,241,0.06) 1px, transparent 1px) 0 0 / 18px 100%;
}
.person__role { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.person__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.018em; color: var(--fg-1); margin: 0 0 10px 0; }
.person__bio { font-size: 14px; line-height: 1.55; color: var(--fg-2); margin: 0 0 12px; }
.person__cred { display: flex; flex-wrap: wrap; gap: 6px; }
.person__cred span { font-size: 11.5px; color: var(--fg-3); background: var(--el-bone); border: 1px solid var(--el-hairline); padding: 4px 10px; border-radius: var(--r-pill); }

/* -------- logos band -------- */
.logos {
  display: flex; gap: 36px; flex-wrap: wrap;
  align-items: center; justify-content: center;
  padding: 24px 0;
  color: var(--fg-3);
  position: relative;
}
.logos__item {
  width: 96px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.7;
  transition: opacity var(--dur-base) var(--ease-out);
}
.logos__item svg { width: 100%; height: auto; display: block; }
.logos__item:hover { opacity: 1; }
.logos__note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  color: var(--fg-4);
  padding-left: 16px;
  border-left: 1px solid var(--el-hairline);
  white-space: nowrap;
}

/* -------- newsletter -------- */
.newsletter {
  background: var(--el-azul-profundo);
  color: var(--el-blanco-calido);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(247,246,241,0.04) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(247,246,241,0.04) 1px, transparent 1px) 0 0 / 48px 100%;
  mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, #000 30%, transparent 100%);
}
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter > * { position: relative; z-index: 1; }
.newsletter h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.5vw + 0.5rem, 36px); line-height: 1.1; letter-spacing: -0.022em; color: var(--el-blanco-calido); margin: 12px 0 12px; text-wrap: balance; }
.newsletter p { color: rgba(247,246,241,0.7); line-height: 1.55; max-width: 50ch; margin: 0; }
.news-form { display: flex; flex-direction: column; gap: 12px; }
.news-input {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-pill);
  padding: 5px 5px 5px 22px;
}
.news-input input {
  flex: 1; background: transparent; border: 0; outline: 0;
  font-family: var(--font-body); font-size: 14.5px; color: var(--el-blanco-calido);
  padding: 12px 8px;
}
.news-input input::placeholder { color: rgba(247,246,241,0.45); }
.news-input button {
  background: var(--accent); color: var(--el-blanco-calido);
  border: 0; border-radius: var(--r-pill); padding: 12px 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.news-input button:hover { background: var(--accent-hover); }
.news-note { font-size: 11.5px; color: rgba(247,246,241,0.5); }

/* -------- FAQ -------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--el-hairline);
  padding-block: 22px;
  cursor: pointer;
  display: grid; grid-template-columns: 1fr 24px;
  gap: 16px;
  align-items: center;
}
.faq-item:last-child { border-bottom: 1px solid var(--el-hairline); }
.faq-item__q { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.012em; color: var(--fg-1); }
.faq-item__ico { display: grid; place-items: center; }
.faq-item__ico svg { width: 18px; height: 18px; color: var(--brand); transition: transform var(--dur-base) var(--ease-out), color var(--dur-base); }
.faq-item.is-open .faq-item__ico svg { transform: rotate(45deg); color: var(--accent); }
.faq-item__a {
  grid-column: 1 / -1;
  font-size: 14.5px; line-height: 1.6; color: var(--fg-2);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height var(--dur-slow) var(--ease-out), opacity var(--dur-base) var(--ease-out), margin var(--dur-base) var(--ease-out);
  max-width: 70ch;
  margin: 0;
}
.faq-item.is-open .faq-item__a { max-height: 280px; opacity: 1; margin-top: 8px; }

/* -------- "no encuentras" CTA -------- */
.cta-banner {
  background: var(--el-paper);
  border: 1px solid var(--el-hairline);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 44px);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
@media (max-width: 820px) { .cta-banner { grid-template-columns: 1fr; } }
.cta-banner h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 1.8vw + 0.5rem, 28px); letter-spacing: -0.018em; color: var(--fg-1); margin: 0 0 8px; }
.cta-banner p { color: var(--fg-2); margin: 0; max-width: 55ch; }

/* -------- footer -------- */
.footer { background: var(--el-azul-profundo); color: var(--fg-on-dark); padding-top: 80px; padding-bottom: 32px; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(247,246,241,0.03) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(247,246,241,0.03) 1px, transparent 1px) 0 0 / 48px 100%;
  opacity: 0.6;
}
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 60px; border-bottom: 1px solid rgba(247,246,241,0.1); position: relative; z-index: 1; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__brand { display: flex; flex-direction: column; gap: 12px; --brand-mark-bar: var(--el-blanco-calido); }
.footer__brand .nav__brand { color: var(--el-blanco-calido); }
.footer__brand .nav__brand-text small { color: rgba(247,246,241,0.45); }
.footer__tag { font-size: 14px; line-height: 1.5; color: rgba(247,246,241,0.65); max-width: 32ch; }
.footer__col h4 { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 4px 0 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(247,246,241,0.75); font-size: 14px; text-decoration: none; transition: color var(--dur-fast); }
.footer__col a:hover { color: var(--el-blanco-calido); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; color: rgba(247,246,241,0.5); position: relative; z-index: 1; flex-wrap: wrap; gap: 12px; }
.footer__bottom a { color: rgba(247,246,241,0.55); text-decoration: none; }
.footer__bottom a:hover { color: var(--el-blanco-calido); }

/* -------- 2-col responsive cluster -------- */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; } }

/* -------- video tile (placeholder for Dominick / Marcelo videos) -------- */
.video-tile {
  position: relative;
  aspect-ratio: 9 / 12;
  background: var(--el-azul-profundo);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--el-terracota);
}
.video-tile::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(247,246,241,0.05) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(247,246,241,0.05) 1px, transparent 1px) 0 0 / 28px 100%;
}
.video-tile__play {
  position: relative; z-index: 1;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 16px 36px -10px rgba(184,132,91,0.5);
}
.video-tile__play svg { width: 22px; height: 22px; margin-left: 3px; color: var(--el-blanco-calido); }
.video-tile__meta {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  color: var(--el-blanco-calido);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em;
  display: flex; justify-content: space-between; align-items: center;
}
.video-tile__meta small { color: rgba(247,246,241,0.55); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

/* -------- big stat row -------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 24px; border-top: 1px solid var(--el-hairline); border-bottom: 1px solid var(--el-hairline); }
@media (max-width: 740px) { .stat-row { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.5vw + 0.5rem, 38px); letter-spacing: -0.024em; color: var(--fg-1); line-height: 1; }
.stat__lbl { font-size: 12.5px; color: var(--fg-3); line-height: 1.4; }

/* -------- step list (numbered) -------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { display: flex; flex-direction: column; gap: 10px; }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: 0.08em; }
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.014em; color: var(--fg-1); }
.step__desc { font-size: 13.5px; color: var(--fg-2); line-height: 1.5; }

/* -------- utility -------- */
.lucide-ico { width: 1em; height: 1em; vertical-align: -0.125em; }
.divider-h { height: 1px; background: var(--el-hairline); margin-block: var(--space-6); }

.fade-in { animation: fadeUp 700ms var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.stagger > * { opacity: 0; animation: fadeUp 700ms var(--ease-out) forwards; }
.stagger > *:nth-child(1) { animation-delay: 60ms; }
.stagger > *:nth-child(2) { animation-delay: 140ms; }
.stagger > *:nth-child(3) { animation-delay: 220ms; }
.stagger > *:nth-child(4) { animation-delay: 300ms; }
.stagger > *:nth-child(5) { animation-delay: 380ms; }
.stagger > *:nth-child(6) { animation-delay: 460ms; }

/* =============================================================
   MEJORAS FRONTEND — añadidas en revisión premium
   ============================================================= */

/* -------- hero split 2-col (home) -------- */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__split { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
}

/* Hero visual card (columna derecha) */
.hero__visual-card {
  background: var(--el-azul-profundo);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247,246,241,0.08);
  box-shadow: var(--shadow-4);
}
.hero__visual-card::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(247,246,241,0.04) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(247,246,241,0.04) 1px, transparent 1px) 0 0 / 48px 100%;
}
.hero__visual-card > * { position: relative; z-index: 1; }
.hero__visual-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(247,246,241,0.1);
}
.hero__visual-firm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--el-blanco-calido);
  letter-spacing: -0.018em;
  margin-top: 8px;
}
.hero__visual-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.hero__visual-svc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(247,246,241,0.06);
  border: 1px solid rgba(247,246,241,0.09);
  border-radius: var(--r-md);
  transition: background var(--dur-fast) var(--ease-out);
}
.hero__visual-svc:hover { background: rgba(247,246,241,0.10); }
.hero__visual-svc-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--el-blanco-calido);
  letter-spacing: -0.01em;
}
.hero__visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero__visual-stat {
  background: rgba(247,246,241,0.05);
  border: 1px solid rgba(247,246,241,0.09);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.hero__visual-stat .vs-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.022em;
  color: var(--el-blanco-calido);
  line-height: 1;
}
.hero__visual-stat .vs-lbl {
  font-size: 11px;
  color: rgba(247,246,241,0.5);
  margin-top: 4px;
  line-height: 1.35;
}

/* Hero CTAs y meta — mobile -------- */
@media (max-width: 600px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { justify-content: center; width: 100%; }
  .hero__meta { gap: 16px; }
}

/* -------- Service card icon + badge -------- */
.svc-card__ico {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(31,54,88,0.07);
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: 4px;
  flex-shrink: 0;
}
.svc-card__ico--accent {
  background: rgba(184,132,91,0.12);
  color: var(--el-terracota-deep, #8E5E3C);
}
.svc-card__badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--el-terracota-deep, #8E5E3C);
  background: var(--el-terracota-soft, #E8D6C3);
  border: 1px solid rgba(184,132,91,0.25);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

/* -------- Product card icon -------- */
.prod-card__ico {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.prod-card__ico--real   { background: rgba(184,132,91,0.10); color: var(--el-terracota-deep, #8E5E3C); }
.prod-card__ico--default { background: rgba(31,54,88,0.07);  color: var(--brand); }

/* -------- 4-col service grid (páginas de nicho) -------- */
.svc-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .svc-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .svc-grid--4 { grid-template-columns: 1fr; } }

/* -------- Footer mobile 1-col -------- */
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* -------- Nav tagline oculta en pantallas muy pequeñas -------- */
@media (max-width: 380px) {
  .nav__brand-text small { display: none; }
}
