/* ===================================================
   JONES GRUPO LEGAL — style.css
   Estilos extraídos y depurados del index.html
   =================================================== */

/* ===== TOKENS ===== */
:root {
  --ink: #0E0E0E;
  --char: #1F1D1A;
  --green-deep: #133E44;
  --green-darker: #0C2D32;
  --green-mid: #88997D;
  --green-soft: #C5D2B0;
  --lime: #C9DCAC;
  --lime-bright: #DCEAC0;
  --bone: #F2EDE2;
  --cream: #FAF6EC;
  --line: rgba(14, 14, 14, .14);
  --line-light: rgba(14, 14, 14, .08);
  --mute: rgba(14, 14, 14, .62);
  --mute-bone: rgba(242, 237, 226, .65);
  --mute-lime: rgba(201, 220, 172, .7);

  --display: 'Raleway', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --max: 1320px;
  --pad: clamp(10px, 2vw, 32px);
  --radius-sm: 4px;
  --radius: 8px;
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger para hijos directos de grids */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #133E44;
  border-bottom: 1px solid rgba(201, 220, 172, .15);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}

.nav {
  max-width: 100%;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: #fff;
  transition: color .2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width .25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-login {
  background: rgba(201, 220, 172, .15);
  border: 1px solid rgba(201, 220, 172, .35);
  color: var(--lime);
  padding: 7px 18px;
  border-radius: 4px;
  font-weight: 600;
  transition: all .2s;
}

.nav-links .nav-login:hover {
  background: var(--lime);
  color: var(--green-darker);
}

.nav-links .nav-login::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 60;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: background .2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: #fff;
  left: 0;
  transition: transform .25s ease, top .25s ease, opacity .2s;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after  { top: 7px; }

/* Estado abierto – convierte las 3 líneas en X */
.nav-open .menu-toggle span {
  background: transparent;
}
.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  font-family: var(--sans);
  border-radius: var(--radius-sm);
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--lime);
  border-color: var(--green-deep);
}

.btn-primary:hover {
  background: var(--green-darker);
  border-color: var(--green-darker);
  transform: translateY(-1px);
}

.btn-ink {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.btn-ink:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--lime);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost-dark:hover {
  background: var(--ink);
  color: var(--bone);
}

.btn-lime {
  background: var(--lime);
  color: var(--green-darker);
  border-color: var(--lime);
  font-weight: 700;
}

.btn-lime:hover {
  background: var(--lime-bright);
  border-color: var(--lime-bright);
  transform: translateY(-1px);
}

.btn .arrow {
  transition: transform .2s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ===== SCAFFOLD ===== */
section {
  position: relative;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--green-deep);
}

/* ===== HERO ===== */
.hero {
  padding: calc(clamp(60px, 4vw, 70px) + 30px) 0 clamp(40px, 5vw, 80px);
  background: #133E44;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "j";
  position: absolute;
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(380px, 48vw, 720px);
  color: rgba(201, 220, 172, .05);
  top: -20%;
  right: -10%;
  letter-spacing: -.05em;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.hero .eyebrow {
  color: var(--lime);
}

.hero .eyebrow::before {
  background: var(--lime);
}

.hero-tagline {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  color: var(--green-darker);
  margin-top: 20px;
  display: inline-block;
  padding: 5px 14px;
  background: var(--lime);
  border-radius: 2px;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,220,172,.18);
  border-radius: 4px;
  color: var(--bone);
  font-family: var(--sans);
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
  color: var(--mute-bone);
}

.hero-form input:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--lime);
}

.hero-form textarea {
  resize: none;
  min-height: 100px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.12vw, 74px);
  line-height: 1;
  letter-spacing: -.035em;
  margin-top: 24px;
  color: #fff;
}

.hero h1 .accent {
  color: var(--lime);
  font-weight: 300;
  font-style: italic;
}

.hero h1 .underline {
  position: relative;
  display: inline-block;
}

.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 6px;
  height: 10px;
  background: var(--lime);
  opacity: .4;
  z-index: -1;
}

.hero-lede {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.55;
  max-width: 580px;
  color: rgba(255, 255, 255, .85);
  font-weight: 400;
}

.hero-lede strong {
  color: var(--lime);
  font-weight: 700;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, .06);
  color: var(--bone);
  padding: 32px 28px;
  border-radius: var(--radius);
  position: relative;
  border: 1px solid rgba(201, 220, 172, .18);
}

.hero-card .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute-bone);
}

/* ===== WAVES DIVIDER ===== */
.hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
  background: #133E44;
  z-index: 5;
}

.wave1 use { animation: move-forever1 10s linear infinite; animation-delay: -2s; }
.wave2 use { animation: move-forever2 8s  linear infinite; animation-delay: -2s; }
.wave3 use { animation: move-forever3 6s  linear infinite; animation-delay: -2s; }

@keyframes move-forever1 {
  0%   { transform: translate(85px, 0%); }
  100% { transform: translate(-90px, 0%); }
}
@keyframes move-forever2 {
  0%   { transform: translate(-90px, 0%); }
  100% { transform: translate(85px, 0%); }
}
@keyframes move-forever3 {
  0%   { transform: translate(-90px, 0%); }
  100% { transform: translate(85px, 0%); }
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--cream);
  border-bottom: 1px solid var(--line-light);
  padding: clamp(24px, 3vw, 40px) 0;
  position: relative;
  overflow: hidden;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.manifesto h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}

.manifesto h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--green-deep);
}

.manifesto .marker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-deep);
  white-space: nowrap;
  font-weight: 600;
}

.manifesto .marker::before {
  content: "§ ";
  color: var(--green-mid);
}

.manifesto .right {
  text-align: right;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ===== LOSS BAR ===== */
.loss-bar {
  background: var(--green-deep);
  color: var(--bone);
  padding: clamp(30px, 4vw, 50px) 0;
  position: relative;
  overflow: hidden;
}

.loss-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(201, 220, 172, .08), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(12, 45, 50, .5), transparent 60%);
  pointer-events: none;
}

.loss-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.loss-head .eyebrow { color: var(--lime); }
.loss-head .eyebrow::before { background: var(--lime); }

.loss-head h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-top: 18px;
  color: var(--bone);
}

.loss-head h2 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.loss-head .copy {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--mute-bone);
  max-width: 520px;
}

.loss-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 220, 172, .12);
  border: 1px solid rgba(201, 220, 172, .12);
  position: relative;
  z-index: 1;
}

.loss-cell {
  background: var(--green-deep);
  padding: 32px 24px;
  position: relative;
  transition: background .25s;
  display: flex;
  flex-direction: column;
}

.loss-cell:hover { background: var(--green-darker); }

.loss-cell .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute-bone);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.loss-cell .price {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1.05;
  margin: 18px 0 4px;
  color: var(--lime);
  font-weight: 300;
  letter-spacing: -.03em;
}

.loss-cell .price small {
  font-size: 13px;
  color: var(--mute-bone);
  font-family: var(--sans);
  display: block;
  margin-top: 6px;
  line-height: 1.4;
}

.loss-cell .what {
  font-size: 14.5px;
  color: var(--bone);
  font-weight: 700;
  margin-top: 14px;
}

.loss-cell .when {
  font-size: 13px;
  color: var(--mute-bone);
  margin-top: 6px;
  line-height: 1.5;
}

.loss-cell .ref {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--lime);
  text-transform: uppercase;
  border-top: 1px dashed rgba(201, 220, 172, .2);
}

.loss-foot {
  margin-top: 48px;
  font-size: 13px;
  font-family: var(--mono);
  color: var(--mute-bone);
  letter-spacing: .04em;
  border-top: 1px solid rgba(201, 220, 172, .15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.loss-foot a { color: var(--lime); }

/* ===== FEATURED SERVICES CARDS ===== */
.feat-services {
  padding: clamp(10px, 1.4vw, 10px) 0;
  background: var(--bone);
}

.feat-services .section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.feat-services h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-top: 14px;
  max-width: 980px;
}

.feat-services h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--green-deep);
}

.feat-services .intro-note {
  font-size: 15px;
  color: var(--char);
  line-height: 1.55;
  max-width: 340px;
}

.feat-services .intro-note a {
  color: var(--green-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--green-deep);
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feat-card {
  padding: 28px 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .25s;
  text-decoration: none;
}

.feat-card:hover { transform: translateY(-3px); }

.feat-card .fc-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
}

.feat-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
}

.feat-card p {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.feat-card .fc-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 8px;
}

.fc-urgente {
  background: linear-gradient(180deg, var(--ink) 0%, var(--green-darker) 100%);
  border: 2px solid var(--green-deep);
  position: relative;
}

.fc-urgente .fc-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--green-deep);
  color: var(--lime);
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 3px;
}

.fc-urgente .fc-tag  { color: var(--lime); margin-top: 18px; }
.fc-urgente h3       { color: var(--bone); }
.fc-urgente h3 em    { font-style: italic; font-weight: 300; color: var(--lime); }
.fc-urgente p        { color: var(--mute-bone); }
.fc-urgente .fc-link { color: var(--lime); }

.fc-blindaje {
  background: var(--cream);
  border: 1px solid var(--line);
}

.fc-blindaje .fc-tag  { color: var(--green-mid); }
.fc-blindaje h3       { color: var(--ink); }
.fc-blindaje h3 em    { font-style: italic; font-weight: 300; color: var(--green-deep); }
.fc-blindaje p        { color: var(--char); }
.fc-blindaje .fc-link { color: var(--green-deep); }

.fc-asesoria {
  background: var(--cream);
  border: 1px solid var(--line);
}

.fc-asesoria .fc-tag  { color: var(--green-mid); }
.fc-asesoria h3       { color: var(--ink); }
.fc-asesoria h3 em    { font-style: italic; font-weight: 300; color: var(--green-deep); }
.fc-asesoria p        { color: var(--char); }
.fc-asesoria .fc-link { color: var(--green-deep); }

.fc-talento {
  background: var(--green-deep);
  border: 1px solid var(--green-deep);
}

.fc-talento .fc-tag  { color: var(--lime); }
.fc-talento h3       { color: var(--bone); }
.fc-talento h3 em    { font-style: italic; font-weight: 300; color: var(--lime); }
.fc-talento p        { color: var(--mute-bone); }
.fc-talento .fc-link { color: var(--lime); }

/* ===== SERVICES ===== */
.services {
  padding: clamp(40px, 5vw, 70px) 0;
  background: var(--bone);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-top: 18px;
  color: var(--ink);
}

.section-head h2 em {
  font-style: italic;
  color: var(--green-deep);
  font-weight: 300;
}

.section-head .copy {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--char);
  max-width: 480px;
  align-self: end;
  padding-bottom: 8px;
}

.svc-section { margin-top: 56px; }

.svc-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.svc-divider .lbl {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--green-deep);
  letter-spacing: -.01em;
  white-space: nowrap;
}

.svc-divider .lbl em {
  font-style: italic;
  font-weight: 300;
}

.svc-divider .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.svc-divider .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.svc {
  background: var(--cream);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .25s;
}

.svc:hover { background: #fff; }

.svc-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .16em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}

.svc-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  background: var(--green-deep);
  color: var(--lime);
  padding: 3px 7px;
  letter-spacing: .12em;
  border-radius: 2px;
  text-transform: uppercase;
}

.svc-tag.lime {
  background: var(--lime);
  color: var(--green-darker);
}

.svc h3 {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}

.svc h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--green-deep);
}

.svc p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--char);
}

.svc p strong {
  color: var(--green-deep);
  font-weight: 700;
}

.svc ul {
  list-style: none;
  font-size: 13px;
  color: var(--mute);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.svc ul li {
  position: relative;
  padding-left: 14px;
}

.svc ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green-deep);
  font-weight: 700;
}

.svc-j1 { grid-column: span 4; }
.svc-j2 { grid-column: span 4; }
.svc-j3 { grid-column: span 4; }
.svc-j4 { grid-column: span 12; }
.svc-t1 { grid-column: span 4; }
.svc-t2 { grid-column: span 4; }
.svc-t3 { grid-column: span 4; }

.svc-m1 {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 44px 40px;
  align-items: start;
}

.svc-m1 .left h3 { font-size: 32px; }

.svc-m1 .right ul {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
  font-size: 14px;
}

.services-cta {
  margin-top: 56px;
  padding: 36px 40px;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.services-cta h4 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--bone);
  margin-bottom: 6px;
}

.services-cta h4 em {
  font-style: italic;
  font-weight: 300;
  color: var(--lime);
}

.services-cta p {
  font-size: 14.5px;
  color: var(--mute-bone);
  max-width: 520px;
}

/* ===== BUILDER ===== */
.builder {
  background: var(--green-deep);
  color: var(--bone);
  padding: clamp(40px, 5vw, 70px) 0;
  position: relative;
  overflow: hidden;
}

.builder::before {
  content: "j";
  position: absolute;
  font-family: var(--display);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(280px, 40vw, 520px);
  color: rgba(201, 220, 172, .05);
  bottom: -30%;
  left: -5%;
  letter-spacing: -.04em;
  pointer-events: none;
  line-height: 1;
}

.builder .section-head h2      { color: var(--bone); }
.builder .section-head .eyebrow { color: var(--lime); }
.builder .section-head .eyebrow::before { background: var(--lime); }
.builder .section-head h2 em   { color: var(--lime); }
.builder .section-head .copy   { color: var(--mute-bone); }

.builder-shell {
  display: grid;
  grid-template-columns: 1fr 1fr 380px;
  gap: 32px;
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

.module-col {
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(201, 220, 172, .12);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.module-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 6px;
  font-weight: 600;
}

.module-col h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--bone);
  letter-spacing: -.02em;
}

.module-col h3 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.module {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: padding-left .2s;
}

.module:first-of-type {
  border-top: none;
  padding-top: 8px;
}

.module:hover { padding-left: 6px; }

.module input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(201, 220, 172, .4);
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all .2s;
  background: transparent;
}

.module input:checked {
  background: var(--lime);
  border-color: var(--lime);
}

.module input:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  color: var(--green-darker);
  font-size: 13px;
  font-weight: 700;
}

.module-text { flex: 1; }

.module-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--bone);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.module-name .micro {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .15em;
  color: var(--lime);
  font-weight: 500;
}

.module-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--mute-bone);
}

.summary {
  background: var(--bone);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.summary h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}

.summary h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--ink);
  letter-spacing: -.02em;
}

.summary h3 em {
  font-style: italic;
  color: var(--green-deep);
  font-weight: 300;
}

.summary-empty {
  color: var(--mute);
  font-size: 14px;
  font-style: italic;
  border: 1px dashed var(--line);
  padding: 24px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 20px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  flex: 1;
}

.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 13.5px;
  animation: slideIn .25s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.summary-item .check {
  color: var(--green-deep);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.summary-item .name {
  flex: 1;
  font-weight: 500;
}

.summary-item .area {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--mute);
  text-transform: uppercase;
}

.summary-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.summary-count strong {
  color: var(--ink);
  font-weight: 700;
}

.summary-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-fine {
  font-size: 11px;
  color: var(--mute);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ===== SANEAMIENTO ===== */
.saneamiento {
  padding: clamp(40px, 5vw, 70px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.san-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.san-left h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-top: 18px;
  color: var(--ink);
}

.san-left h2 em {
  font-style: italic;
  color: var(--green-deep);
  font-weight: 300;
}

.san-left .lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--char);
}

.san-left .danger {
  background: var(--green-deep);
  color: var(--bone);
  padding: 24px 28px;
  margin-top: 32px;
  border-left: 4px solid var(--lime);
  font-size: 15.5px;
  line-height: 1.55;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.san-left .danger strong { color: var(--lime); font-weight: 700; }

.san-left .danger .quote-mark {
  font-family: var(--display);
  font-style: italic;
  color: var(--lime);
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 300;
}

.san-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.san-fix {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: flex-start;
  transition: all .2s;
}

.san-fix:hover {
  border-color: var(--green-deep);
  transform: translateX(4px);
}

.san-fix .num {
  font-family: var(--display);
  font-size: 32px;
  color: var(--green-deep);
  line-height: 1;
  flex-shrink: 0;
  font-weight: 300;
  font-style: italic;
}

.san-fix h4 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
  letter-spacing: -.01em;
}

.san-fix p {
  font-size: 14px;
  color: var(--char);
  line-height: 1.5;
}

/* ===== LITIGIO ===== */
.litigio {
  padding: clamp(40px, 5vw, 70px) 0;
  background: var(--ink);
  color: var(--bone);
  position: relative;
}

.lit-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.lit-head .eyebrow         { color: var(--mute-bone); }
.lit-head .eyebrow::before { background: var(--lime); }

.lit-head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-top: 18px;
  color: var(--bone);
}

.lit-head h2 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.lit-head .copy {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--mute-bone);
  align-self: end;
}

.lit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201, 220, 172, .1);
  border: 1px solid rgba(201, 220, 172, .1);
}

.lit-card {
  background: var(--ink);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  transition: background .25s;
}

.lit-card:hover { background: #161616; }

.lit-card .icon {
  font-family: var(--display);
  font-size: 42px;
  color: var(--lime);
  line-height: 1;
  font-weight: 300;
  font-style: italic;
}

.lit-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--bone);
  letter-spacing: -.015em;
}

.lit-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mute-bone);
}

.lit-card .when {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--lime);
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px dashed rgba(201, 220, 172, .15);
}

/* ===== CLIENTS / CARRUSEL ===== */
.clients {
  padding: clamp(30px, 4vw, 50px) 0;
  background: var(--ink);
  color: var(--bone);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.clients-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.clients-head .eyebrow         { color: var(--mute-bone); }
.clients-head .eyebrow::before { background: var(--lime); }

.clients-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 18px;
  color: var(--bone);
  letter-spacing: -.025em;
}

.clients-head h2 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.clients-head .copy {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mute-bone);
  text-transform: uppercase;
  align-self: end;
  padding-bottom: 12px;
}

/* Carrusel automático */
.client-carousel-wrapper {
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(201, 220, 172, .1);
}

.client-carousel-wrapper::before,
.client-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.client-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--ink) 0%, transparent 100%);
}

.client-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--ink) 0%, transparent 100%);
}

.client-carousel-track {
  display: flex;
  gap: 1px;
  width: max-content;
  animation: carousel-scroll 32s linear infinite;
}

.client-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client {
  background: var(--ink);
  min-height: 110px;
  width: calc(100vw / 6 - 1px);
  min-width: 140px;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  transition: background .25s;
  overflow: hidden;
  flex-shrink: 0;
}

.client:hover { background: #1a1a1a; }

.client img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  opacity: 0.7;
  transition: all .3s ease;
}

.client:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* Filtros de logo */
.logo-trans     { filter: brightness(0) invert(1); }
.logo-light-bg  { filter: grayscale(1) invert(1) brightness(1.5); mix-blend-mode: screen; }
.logo-dark-bg   { filter: grayscale(1) brightness(1.5); mix-blend-mode: screen; }

.clients-foot {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--mute-bone);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FOUNDER ===== */
.founder {
  padding: clamp(40px, 5vw, 70px) 0;
  background: var(--bone);
  position: relative;
}

.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.founder-photo {
  background: var(--green-deep);
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.founder-photo::before {
  content: "j";
  position: absolute;
  top: 8%;
  right: -8%;
  font-family: var(--display);
  font-weight: 200;
  font-style: italic;
  font-size: 300px;
  color: rgba(201, 220, 172, .08);
  line-height: 1;
}

.founder-photo .placeholder {
  position: relative;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--mute-bone);
  text-transform: uppercase;
  border: 1px dashed rgba(201, 220, 172, .25);
  padding: 8px 12px;
  border-radius: 2px;
}

.founder-photo .name-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
}

.founder-photo .name-overlay .role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.founder-photo .name-overlay .name {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
  color: var(--bone);
  font-weight: 700;
  letter-spacing: -.02em;
}

.founder-text h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 18px 0 24px;
  color: var(--ink);
}

.founder-text h2 em {
  font-style: italic;
  color: var(--green-deep);
  font-weight: 300;
}

.founder-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.cred {
  background: var(--green-deep);
  color: var(--lime);
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  border-radius: 2px;
  font-weight: 500;
}

.cred.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.founder-bio {
  font-size: 16px;
  line-height: 1.65;
  color: var(--char);
  margin-bottom: 20px;
}

.founder-bio strong {
  color: var(--green-deep);
  font-weight: 700;
}

.founder-quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
  border-left: 3px solid var(--green-deep);
  padding: 8px 0 8px 24px;
  margin-top: 32px;
  letter-spacing: -.005em;
}

/* ===== ABOUT ===== */
.about {
  padding: clamp(40px, 5vw, 70px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.03em;
  margin-top: 18px;
  color: var(--ink);
}

.about-text h2 em {
  font-style: italic;
  color: var(--green-deep);
  font-weight: 300;
}

.about-text p {
  font-size: 16.5px;
  line-height: 1.7;
  margin-top: 22px;
  color: var(--char);
}

.about-text p strong {
  color: var(--green-deep);
  font-weight: 700;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pillar {
  padding: 28px 24px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .2s;
}

.pillar:hover {
  border-color: var(--green-deep);
  background: #fff;
}

.pillar .num {
  font-family: var(--display);
  font-style: italic;
  color: var(--green-deep);
  font-size: 42px;
  line-height: 1;
  font-weight: 300;
  margin-bottom: 14px;
}

.pillar h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -.015em;
}

.pillar p {
  font-size: 14px;
  color: var(--char);
  line-height: 1.55;
}

/* ===== PROCESS ===== */
.process {
  padding: clamp(40px, 5vw, 60px) 0;
  background: var(--bone);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step .step-num {
  font-family: var(--display);
  font-size: 84px;
  line-height: 1;
  color: var(--green-deep);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 8px;
}

.step h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
}

.step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--char);
}

.step .micro {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mute);
  text-transform: uppercase;
}

/* ===== FAQ ===== */
.faq {
  padding: clamp(40px, 5vw, 60px) 0;
  background: var(--cream);
  border-top: 1px solid var(--line-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  cursor: pointer;
}

.faq-item:first-of-type { border-top: 1px solid var(--line); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  transition: color .2s;
  color: var(--ink);
}

.faq-item:hover .faq-q { color: var(--green-deep); }

.faq-toggle {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--green-deep);
  font-weight: 700;
  width: 24px;
  text-align: center;
  transition: transform .25s;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  font-size: 15px;
  line-height: 1.65;
  color: var(--char);
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-top: 14px;
}

/* ===== CTA FINAL ===== */
.cta {
  padding: clamp(40px, 5vw, 60px) 0;
  background: var(--green-deep);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "J";
  position: absolute;
  font-family: var(--display);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(180px, 24vw, 340px);
  color: rgba(201, 220, 172, .06);
  top: 50%;
  right: -3%;
  transform: translateY(-50%);
  letter-spacing: -.04em;
  pointer-events: none;
  line-height: 1;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.03em;
  margin-top: 18px;
  color: var(--bone);
}

.cta h2 em {
  font-style: italic;
  color: var(--lime);
  font-weight: 300;
}

.cta .copy {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--mute-bone);
  max-width: 560px;
}

.cta .eyebrow          { color: var(--lime); }
.cta .eyebrow::before  { background: var(--lime); }

.cta-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(201, 220, 172, .18);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.cta-card .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
  font-weight: 600;
}

.cta-card .options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(201, 220, 172, .12);
  border-radius: var(--radius-sm);
  transition: all .2s;
  color: var(--bone);
  text-decoration: none;
}

.cta-option:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--green-darker);
  transform: translateY(-2px);
}

.cta-option .ico {
  width: 34px;
  height: 34px;
  background: rgba(201, 220, 172, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--lime);
}

.cta-option:hover .ico {
  background: var(--green-darker);
  color: var(--lime);
}

.cta-option .info { flex: 1; }

.cta-option .info .way {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute-bone);
}

.cta-option:hover .info .way {
  color: var(--green-darker);
  opacity: .7;
}

.cta-option .info .val {
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
}

/* ===== BUBBLES ===== */
.bubbles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  left: var(--position);
  bottom: calc(var(--size) * -1.5);
  width: var(--size);
  height: var(--size);
  background: rgba(201, 220, 172, 0.12);
  border-radius: 50%;
  animation: bubble-float var(--time) var(--delay) ease-in-out infinite;
}

@keyframes bubble-float {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 0.4; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(calc(var(--distance) * -1.5)); opacity: 0; }
}

/* ===== FOOTER ===== */
footer {
  background: var(--char);
  color: var(--bone);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.foot-map {
  min-height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
}

.foot-map iframe {
  width: 100%;
  min-height: 180px;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.foot-brand .logo-mark {
  color: var(--lime);
  font-size: 38px;
}

.foot-brand .tag {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--lime);
  margin-top: 18px;
  display: block;
  letter-spacing: -.005em;
}

.foot-brand p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute-bone);
  max-width: 340px;
}

.foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
  font-weight: 600;
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-col ul a {
  font-size: 14px;
  color: var(--mute-bone);
  transition: color .2s;
}

.foot-col ul a:hover { color: var(--bone); }

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--mute-bone);
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { transform: none; max-width: 480px; }
  .loss-grid { grid-template-columns: repeat(2, 1fr); }
  .loss-head, .lit-head, .section-head, .clients-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .builder-shell { grid-template-columns: 1fr 1fr; gap: 24px; }
  .summary { grid-column: span 2; position: static; }
  .svc-j1, .svc-j2, .svc-j3, .svc-t1, .svc-t2, .svc-t3 { grid-column: span 6; }
  .svc-j4 { grid-column: span 12; }
  .svc-m1 { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .san-grid, .about-grid, .founder-grid, .faq-grid, .cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .founder-photo { max-width: 380px; }
  .client { width: calc(100vw / 3 - 1px); }
  .lit-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-map { grid-column: span 1; min-height: 250px; }
  .nav-links { gap: 20px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 16px; }
  .manifesto .right { text-align: left; }
  .services-cta { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #133E44;
    flex-direction: column;
    padding: 24px var(--pad);
    gap: 16px;
    border-top: 1px solid rgba(201, 220, 172, .1);
    border-bottom: 1px solid rgba(201, 220, 172, .15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    align-items: stretch;
  }
  .nav-links a {
    text-align: center;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(201, 220, 172, .05);
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-open .nav-links {
    display: flex;
    animation: slideDownMenu 0.3s ease-out forwards;
  }
  .menu-toggle { display: flex; }
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width:640px) {
  .builder-shell { grid-template-columns: 1fr; }
  .summary { grid-column: span 1; min-height: auto; }
  .loss-grid { grid-template-columns: 1fr; }
  .svc-j1, .svc-j2, .svc-j3, .svc-j4, .svc-t1, .svc-t2, .svc-t3, .svc-m1 {
    grid-column: span 12;
  }
  .client { width: calc(100vw / 2 - 1px); min-width: 120px; }
  .lit-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 46px; }
  .feat-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  font-family: var(--sans);
}

.chat-launcher {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  position: relative;
  transition: all .25s ease;
}

.chat-launcher:hover {
  background: #1DA851;
  transform: scale(1.06);
}

/* Icono WhatsApp SVG inline vía CSS */
.chat-launcher .wa-icon {
  width: 34px;
  height: 34px;
  fill: #fff;
  flex-shrink: 0;
}

.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  background: var(--lime);
  color: var(--green-darker);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  border: 2px solid var(--bone);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(201, 220, 172, .4);
  animation: badgePop .5s cubic-bezier(.18, .89, .32, 1.28);
}

@keyframes badgePop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.chat-tooltip {
  position: absolute;
  right: 78px;
  bottom: 14px;
  background: var(--green-deep);
  color: var(--lime);
  padding: 12px 16px;
  border-radius: 12px 12px 4px 12px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(19, 62, 68, .35);
  display: none;
  animation: tipIn .4s ease-out;
}

.chat-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 8px;
  width: 0;
  height: 0;
  border-left: 8px solid var(--green-deep);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.chat-tooltip strong {
  display: block;
  color: var(--bone);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 13px;
}

.chat-tooltip .tip-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--lime);
  color: var(--green-darker);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--bone);
}

.chat-widget.show-tip .chat-tooltip { display: block; }
.chat-widget.open .chat-tooltip    { display: none !important; }
.chat-widget.open .chat-badge      { display: none; }

@keyframes tipIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.chat-pulse {
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(37, 211, 102, .6);
  border-radius: 50%;
  animation: chatPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes chatPulse {
  0%   { transform: scale(.95); opacity: .7; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.chat-widget.open .chat-launcher { display: none; }

.chat-panel {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 580px;
  max-height: calc(100vh - 80px);
  background: var(--bone);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(19, 62, 68, .45);
  flex-direction: column;
  border: 1px solid var(--green-soft);
  animation: chatOpen .3s ease-out;
}

@keyframes chatOpen {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-widget.open .chat-panel { display: flex; }

.chat-header {
  background: var(--green-deep);
  color: var(--bone);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--green-darker);
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.chat-info { flex: 1; min-width: 0; }

.chat-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  color: var(--bone);
}

.chat-name span {
  font-style: italic;
  font-weight: 300;
  color: var(--lime);
  font-size: 13px;
}

.chat-status {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: dotBlink 1.8s infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.chat-close {
  background: transparent;
  color: var(--bone);
  border: none;
  cursor: pointer;
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s;
  flex-shrink: 0;
}

.chat-close:hover { background: rgba(255, 255, 255, .1); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--cream);
}

.chat-messages::-webkit-scrollbar       { width: 6px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--green-soft); border-radius: 3px; }

.chat-msg {
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  animation: msgIn .3s ease;
  word-wrap: break-word;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
  background: var(--bone);
  color: var(--ink);
  border: 1px solid var(--green-soft);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: var(--green-deep);
  color: var(--bone);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-msg strong { font-weight: 700; color: var(--green-deep); }
.chat-msg.user strong { color: var(--lime); }

.chat-msg .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: var(--lime);
  color: var(--green-darker) !important;
  padding: 8px 13px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  transition: all .2s;
}

.chat-msg .cta-link:hover {
  background: var(--lime-bright);
  transform: translateY(-1px);
}

.typing {
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  background: var(--bone);
  border: 1px solid var(--green-soft);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}

.typing span {
  width: 7px;
  height: 7px;
  background: var(--green-mid);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}

.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

.chat-quick-replies {
  padding: 10px 16px;
  border-top: 1px solid var(--green-soft);
  background: var(--bone);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 130px;
  overflow-y: auto;
}

.qr-btn {
  background: var(--cream);
  border: 1px solid var(--green-soft);
  color: var(--green-deep);
  padding: 8px 13px;
  border-radius: 18px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--sans);
  white-space: nowrap;
}

.qr-btn:hover {
  background: var(--green-deep);
  color: var(--lime);
  border-color: var(--green-deep);
}

.chat-footer {
  padding: 12px 14px;
  background: var(--bone);
  border-top: 1px solid var(--green-soft);
}

.chat-wa-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 11px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all .2s;
}

.chat-wa-btn:hover {
  background: #1DA851;
  transform: translateY(-1px);
}

.chat-wa-btn .wa-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-wa-btn .wa-number {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  font-weight: 700;
}

@media(max-width:640px) {
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-panel {
    position: fixed;
    bottom: 0; right: 0; left: 0;
    width: 100%; max-width: none;
    height: 90vh;
    border-radius: 16px 16px 0 0;
  }
}
