/* ==========================================================================
   6 Sigma · secciones
   ========================================================================== */

/* ---------- INICIO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--green-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-2);
  box-shadow: 0 0 0 0 rgba(86, 152, 48, .5);
  animation: ping 2.8s var(--ease-out) -1s infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 9px rgba(86, 152, 48, 0); } }

.hero-title {
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
  margin: 26px 0 0;
}
.hero-title .line { display: block; overflow: hidden; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.hero-title .line-in { display: block; }
.js .hero-title .line-in { transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.js .hero-title .line:nth-child(2) .line-in { transition-delay: .12s; }
.js .hero.ready .hero-title .line-in { transform: none; }
.hero-title em { font-style: normal; color: var(--green); }

.hero-sub { margin-top: 26px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .93rem;
  color: var(--ink-2);
}
.hero-pillars li { display: flex; align-items: baseline; gap: 8px; }
.hero-pillars .mono { color: var(--green); font-size: .68rem; }

/* Composición animada */
.hero-visual { position: relative; perspective: 1400px; }
.hv-stage {
  position: relative;
  aspect-ratio: 1 / .92;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transform-style: preserve-3d;
  transition: transform .8s var(--ease-out);
}
.hv-browser {
  position: absolute;
  inset: 6% 4% 14% 2%;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.hv-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #FAFBF9; }
.hv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #E1E6DF; }
.hv-url { margin-left: 14px; height: 14px; flex: 0 1 46%; border-radius: 999px; background: #EEF2EC; }
.hv-page { padding: 5% 6%; display: grid; gap: 7%; height: calc(100% - 34px); grid-template-rows: auto 1fr auto; }
.hv-nav { display: flex; align-items: center; gap: 8px; }
.hv-nav span { height: 7px; width: 9%; border-radius: 4px; background: #E3E8E1; }
.hv-nav .hv-logo { width: 22px; height: 22px; border-radius: 7px; background: var(--green); margin-right: auto; }
.hv-nav .hv-pill { width: 15%; height: 18px; border-radius: 999px; background: var(--ink); }
.hv-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 7%; align-items: center; }
.hv-lines { display: grid; gap: 9px; }
.hv-lines span { height: 14px; border-radius: 5px; background: var(--ink); }
.hv-lines .thin { height: 7px; background: #D8DED6; }
.hv-lines .w80 { width: 92%; } .hv-lines .w60 { width: 68%; } .hv-lines .w40 { width: 80%; }
.hv-lines .hv-cta { width: 42%; height: 20px; border-radius: 999px; background: var(--green); margin-top: 6px; }
.hv-img {
  position: relative;
  aspect-ratio: 1 / .85;
  border-radius: 14px;
  background: linear-gradient(150deg, #E7F0E5, #CFE2C6 55%, #9CC07F);
  overflow: hidden;
}
.hv-leaf {
  position: absolute;
  width: 58%; aspect-ratio: 1;
  right: -8%; bottom: -12%;
  border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg, var(--green-2), var(--green));
  transform: rotate(-12deg);
  animation: sway 9s var(--ease-io) -3s infinite alternate;
}
@keyframes sway { to { transform: rotate(-4deg) translateY(-4%); } }
.hv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.hv-cards span { height: 46px; border-radius: 10px; background: #F2F5F0; border: 1px solid var(--line); }

/* Armado en secuencia del navegador */
.js .hv-browser > * { opacity: 0; transition: opacity .8s var(--ease-out); }
.js .hv-nav span, .js .hv-lines span, .js .hv-img, .js .hv-cards span {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js .hero.ready .hv-browser > * { opacity: 1; }
.js .hero.ready .hv-nav span,
.js .hero.ready .hv-lines span,
.js .hero.ready .hv-img,
.js .hero.ready .hv-cards span { opacity: 1; transform: none; }
.js .hero.ready .hv-nav span:nth-child(n) { transition-delay: .5s; }
.js .hero.ready .hv-lines span:nth-child(1) { transition-delay: .7s; }
.js .hero.ready .hv-lines span:nth-child(2) { transition-delay: .78s; }
.js .hero.ready .hv-lines span:nth-child(3) { transition-delay: .86s; }
.js .hero.ready .hv-lines span:nth-child(4) { transition-delay: .98s; }
.js .hero.ready .hv-img { transition-delay: .9s; }
.js .hero.ready .hv-cards span:nth-child(1) { transition-delay: 1.1s; }
.js .hero.ready .hv-cards span:nth-child(2) { transition-delay: 1.18s; }
.js .hero.ready .hv-cards span:nth-child(3) { transition-delay: 1.26s; }

.hv-card {
  position: absolute;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transform: translateZ(60px);
}
.hv-label { color: var(--ink-3); font-size: .6rem; }
.hv-value { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; margin-top: 2px; }
.hv-chart { width: 44%; left: -6%; bottom: 2%; }
.hv-chart svg { width: 100%; height: 64px; margin-top: 8px; overflow: visible; }
.hv-curve { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hv-area { opacity: 0; transition: opacity 1s var(--ease-out) 1.9s; }
.hv-point { fill: var(--green); opacity: 0; transition: opacity .4s 2.3s; }
.hero.ready .hv-curve { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out) 1s; }
.hero.ready .hv-area, .hero.ready .hv-point { opacity: 1; }

.hv-flow { right: -5%; top: 0; width: 46%; }
.hv-flow ol { margin-top: 10px; display: grid; gap: 9px; counter-reset: f; }
.hv-flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 500;
}
.hv-flow .node {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: #fff;
  flex: none;
}
.hv-flow li:not(:last-child) .node::after {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 2px; height: 17px;
  background: var(--green-line);
}
.hv-flow li .node { animation: node 4.5s var(--ease-io) infinite; }
.hv-flow li:nth-child(2) .node { animation-delay: 1.5s; }
.hv-flow li:nth-child(3) .node { animation-delay: 3s; }
@keyframes node { 0%, 30% { background: var(--green); } 34%, 100% { background: #fff; } }

.hv-phone {
  position: absolute;
  right: -2%; bottom: -4%;
  width: 22%;
  aspect-ratio: 9 / 18;
  padding: 5px;
  border-radius: 20px;
  background: var(--ink);
  box-shadow: var(--shadow-3);
  transform: translateZ(90px) rotate(4deg);
}
.hv-reel {
  position: relative;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(170deg, #1F3B28, var(--green) 55%, #7FB35A);
}
.hv-reel::before {
  content: "";
  position: absolute;
  width: 140%; aspect-ratio: 1;
  left: -20%; top: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 60%);
  animation: reel 6s var(--ease-io) -2s infinite alternate;
}
@keyframes reel { to { transform: translateY(-30%) scale(1.15); } }
.hv-play {
  position: absolute;
  left: 50%; top: 46%;
  width: 34%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  transform: translate(-50%, -50%);
}
.hv-play::after {
  content: "";
  position: absolute;
  left: 40%; top: 30%;
  border-left: 10px solid var(--green);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.hv-reel-bar { position: absolute; left: 10%; right: 10%; bottom: 8%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hv-reel-bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: bar 6s linear infinite; }
@keyframes bar { from { transform: scaleX(0); } }

/* Entrada de las tarjetas flotantes */
.js .hv-card, .js .hv-phone { opacity: 0; transition: opacity .9s var(--ease-out), translate .9s var(--ease-out); translate: 0 18px; }
.js .hero.ready .hv-card, .js .hero.ready .hv-phone { opacity: 1; translate: 0 0; }
.js .hero.ready .hv-flow { transition-delay: 1.4s; }
.js .hero.ready .hv-chart { transition-delay: .9s; }
.js .hero.ready .hv-phone { transition-delay: 1.7s; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 28px;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--green);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 920px) {
  .hero { min-height: 0; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 8px auto 0; width: 100%; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .hv-flow { right: -2%; width: 58%; top: -4%; }
  .hv-chart { left: -2%; width: 52%; }
  .hv-flow li { font-size: .72rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (max-height: 640px) and (min-width: 921px) { .scroll-cue { display: none; } }

/* ---------- DIFERENCIAL ---------- */
.integral { padding: clamp(56px, 8vw, 104px) 0; }
.integral-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.integral h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.integral-copy p:last-child { margin-top: 18px; color: var(--ink-2); max-width: 46ch; }
.loop { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.loop-step {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: var(--r);
  background: var(--canvas);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .3s, background-color .3s;
}
.loop-step:hover { transform: translateY(-4px); border-color: var(--green-line); background: #fff; }
.loop-step .mono { color: var(--green); font-size: .65rem; }
.loop-step strong { display: block; font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; margin-top: 10px; line-height: 1.25; }
.loop-step small { display: block; margin-top: 8px; color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.loop-line { position: absolute; left: 8%; right: 8%; top: -22px; width: 84%; height: 20px; }
.loop-line path { fill: none; stroke: var(--green-2); stroke-width: 2; stroke-dasharray: .015 .02; vector-effect: non-scaling-stroke; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -.035; } }
@media (max-width: 920px) {
  .integral-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .loop { grid-template-columns: 1fr; }
  .loop-line { display: none; }
}

/* ---------- SERVICIOS ---------- */
.services { padding: var(--section) 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .3s;
}
/* Resplandor que sigue al cursor */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(86, 152, 48, .09), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--green-line); }
.service-card:hover::after { opacity: 1; }
.service-card h3 { margin-top: 22px; }
.service-card > p { margin-top: 10px; color: var(--ink-2); }
.service-card .checks { margin: 16px 0 28px; }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.service-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-soft);
  transition: transform .6s var(--ease-out), background-color .4s;
}
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-icon .accent { stroke: var(--green); stroke-width: 2; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; flex-wrap: wrap; }
.service-card--wide h3 { margin-top: 0; }
.service-card--wide .wide-copy { flex: 1 1 380px; }
.service-card--wide .wide-copy p { margin-top: 8px; color: var(--ink-2); max-width: 70ch; }
.service-card--wide .btn { margin-top: 0; align-self: center; }
@media (max-width: 760px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ---------- VIDEO ---------- */
.film { padding: var(--section) 0; }
.film-chapters { display: flex; flex-wrap: wrap; gap: 8px; }
.film-chapters li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  color: var(--on-dark-2);
  font-size: .9rem;
  transition: color .4s, border-color .4s, background-color .4s;
}
.film-chapters .mono { font-size: .65rem; color: var(--green-on-dark); }
.film-chapters li.on { color: var(--on-dark); border-color: var(--green-on-dark); background: rgba(125, 187, 87, .08); }

.film-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
}
.film-poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 90% at 75% 20%, rgba(86, 152, 48, .28), transparent 60%),
    radial-gradient(60% 70% at 15% 90%, rgba(18, 106, 56, .4), transparent 65%),
    var(--dark-2);
  background-size: cover;
  background-position: center;
}
.film-poster.has-img .film-poster-grid, .film-poster.has-img .film-poster-mark { display: none; }
.film-poster-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  animation: grid-move 40s linear infinite;
}
@keyframes grid-move { to { background-position: 48px 48px; } }
.film-poster-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 22px; border-radius: 28px; background: rgba(255, 255, 255, .95); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.film-poster-mark img { width: auto; height: 64px; }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease-out); will-change: opacity; }
.film-video.ready { opacity: 1; }
.film-ui {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(transparent, rgba(10, 14, 11, .55));
}
.film-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(10, 14, 11, .55);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: background-color .3s, border-color .3s;
}
.film-toggle:hover { background: rgba(10, 14, 11, .8); border-color: rgba(255, 255, 255, .5); }
.film-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film-toggle .i-play { fill: currentColor; display: none; }
.film-toggle.paused .i-play { display: block; }
.film-toggle.paused .i-pause { display: none; }
.film-status { margin-left: auto; color: rgba(238, 242, 236, .85); font-size: .66rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }

/* ---------- PLANES ---------- */
.plans { padding: var(--section) 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.plan h3 { font-size: 1.5rem; }
.plan-for { margin-top: 10px; color: var(--ink-2); font-size: .95rem; min-height: 4.4em; }
.price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 22px 0 6px;
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.2vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
}
.price .cur { font-size: .55em; margin-right: 2px; transform: translateY(-.45em); }
.price small { font-family: var(--f-body); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.plan .checks { padding-top: 18px; margin-top: 14px; border-top: 1px solid var(--line); }
.plan .checks li.hl { color: var(--ink); font-weight: 600; }
.plan-note { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--canvas); color: var(--ink-2); font-size: .88rem; line-height: 1.5; }
.plan-quote { margin: 20px 0 22px; font-family: var(--f-display); font-weight: 500; font-size: 1.02rem; line-height: 1.35; }
.plan .btn { margin-top: auto; }

.plan--pyme { border-color: var(--ink); box-shadow: var(--shadow-2); }
.plan--empresarial {
  background: var(--dark);
  color: var(--on-dark);
  border-color: var(--dark);
  box-shadow: 0 30px 70px rgba(18, 40, 26, .28);
}
.plan--empresarial::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, var(--green-2), transparent 40%, transparent 70%, var(--green));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.plan--empresarial .plan-for, .plan--empresarial .price small { color: var(--on-dark-2); }
.plan--empresarial .checks { border-color: var(--dark-line); }
.plan--empresarial .checks li { color: var(--on-dark-2); }
.plan--empresarial .checks b { color: var(--on-dark); }
.plan--empresarial .checks li::before { background-color: rgba(125, 187, 87, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%237DBB57' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan--empresarial .plan-note { background: var(--dark-2); color: var(--on-dark-2); }
.extras { margin-top: 20px; display: grid; gap: 10px; }
.extras p { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--dark-line); font-size: .88rem; line-height: 1.5; color: var(--on-dark-2); }
.extras strong { color: var(--green-on-dark); font-weight: 600; }
.badge {
  position: absolute;
  top: -13px; right: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(18, 106, 56, .35);
}

/* Promoción del primer mes */
.promo-chip {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  margin-top: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.promo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); animation: promo-dot 2.4s var(--ease-out) infinite; }
@keyframes promo-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(86, 152, 48, .45); } 60% { box-shadow: 0 0 0 6px rgba(86, 152, 48, 0); } }
.price-block { margin-top: 14px; }
.price-regular { color: var(--ink-3); font-size: .9rem; }
.price-regular s { color: var(--ink-2); text-decoration-thickness: 1.5px; }
.price-block .price { margin: 6px 0 0; }
.price-save {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
}
.price-note { margin-top: 10px; color: var(--ink-3); font-size: .78rem; line-height: 1.45; }
.plan--empresarial .promo-chip { background: rgba(125, 187, 87, .14); color: var(--green-on-dark); }
.plan--empresarial .price-regular { color: var(--on-dark-2); }
.plan--empresarial .price-regular s { color: var(--on-dark); }
.plan--empresarial .price-note { color: var(--on-dark-2); }

/* Pyme: el plan más recomendado */
.plan--pyme {
  border: 2px solid var(--green);
  box-shadow: 0 24px 60px rgba(18, 106, 56, .16), 0 0 0 6px rgba(231, 240, 229, .7);
  transform: translateY(-12px);
  z-index: 1;
}
.plan--pyme:hover { transform: translateY(-18px); box-shadow: 0 30px 70px rgba(18, 106, 56, .22), 0 0 0 6px rgba(231, 240, 229, .8); }
.plan--pyme h3 { color: var(--green); }
.badge--rec { right: auto; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.plan .btn-rec { min-height: 54px; font-size: 1rem; }
.compare-table .promo-row td { font-family: var(--f-display); font-weight: 600; color: var(--green); }

@media (max-width: 1020px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 28px; }
  .plan-for { min-height: 0; }
  .plan--pyme { order: -1; transform: none; }
  .plan--pyme:hover { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-dot { animation: none; }
}

/* Comparador */
.compare { margin-top: clamp(56px, 8vw, 96px); }
.compare-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.compare-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.compare-tabs { display: none; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.compare-tabs button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: background-color .3s, color .3s; }
.compare-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.compare-scroll { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; background: var(--canvas); }
.compare-table thead .col-top { color: var(--green); }
.compare-table tbody th { font-weight: 500; color: var(--ink-2); width: 28%; }
.compare-table td:nth-of-type(2) { background: rgba(231, 240, 229, .45); }
.compare-table tbody tr { transition: background-color .25s; }
.compare-table tbody tr:hover { background: #FAFBF9; }
.compare-table tbody tr:first-child td { font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.compare-table td.yes, .compare-table td.no { padding-left: 46px; position: relative; }
.compare-table td.yes::before, .compare-table td.no::before {
  content: "";
  position: absolute;
  left: 20px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border-radius: 50%;
}
.compare-table td.yes::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.compare-table td.no { color: var(--ink-3); }
.compare-table td.no::before { border: 1.5px solid var(--line-strong); background: linear-gradient(var(--line-strong), var(--line-strong)) center / 8px 1.5px no-repeat; }
.compare-foot { margin-top: 14px; color: var(--ink-3); font-size: .88rem; }

@media (max-width: 760px) {
  .compare-tabs { display: inline-flex; }
  .compare-table thead { display: none; }
  .compare-table th, .compare-table td { padding: 14px 16px; }
  .compare-table tbody th { width: 48%; }
  .compare-table td.yes, .compare-table td.no { padding-left: 42px; }
  .compare-table td.yes::before, .compare-table td.no::before { left: 16px; }
  .compare-table td { display: none; }
  .compare-table[data-show="1"] td:nth-of-type(1),
  .compare-table[data-show="2"] td:nth-of-type(2),
  .compare-table[data-show="3"] td:nth-of-type(3) { display: table-cell; animation: cell-in .4s var(--ease-out); }
  .compare-table td:last-child { background: none; }
}
@keyframes cell-in { from { opacity: 0; transform: translateX(8px); } }

/* ---------- DESARROLLO WEB ---------- */
.webdev { padding: var(--section) 0; overflow: hidden; }
.webdev-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.webdev .section-head { margin-bottom: 0; }
.price-card {
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
}
.price-card > .mono { color: var(--green-on-dark); }
.price-card .price { margin-top: 14px; color: var(--on-dark); }
.price-card .price small { order: -1; margin: 0 8px 0 0; color: var(--on-dark-2); }
.price-note { color: var(--on-dark-2); font-size: .92rem; margin: 10px 0 22px; }

.demo { margin-top: clamp(56px, 8vw, 96px); }
.demo-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.demo-steps button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: transparent;
  color: var(--on-dark-2);
  font-size: .92rem;
  font-weight: 600;
  text-align: left;
  transition: color .3s, border-color .3s, background-color .3s;
}
.demo-steps .mono { font-size: .64rem; color: var(--green-on-dark); }
.demo-steps button:hover { color: var(--on-dark); border-color: #4A584D; }
.demo-steps button[aria-selected="true"] { color: var(--on-dark); background: var(--dark-2); border-color: var(--green-on-dark); }
.demo-progress { height: 2px; margin-top: 12px; border-radius: 2px; background: var(--dark-line); overflow: hidden; }
.demo-progress span { display: block; height: 100%; width: 100%; background: var(--green-on-dark); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .8s var(--ease-out); }
.demo-caption { margin-top: 20px; text-align: center; color: var(--on-dark-2); min-height: 1.6em; }

.demo-stage {
  position: relative;
  margin-top: 36px;
  height: clamp(300px, 46vw, 560px);
}
.laptop {
  position: absolute;
  left: 50%; top: 0;
  width: min(100%, 860px);
  transform: translateX(-50%);
  transition: transform 1.1s var(--ease-out);
}
.laptop-screen {
  aspect-ratio: 16 / 10;
  padding: 1.6%;
  border-radius: 18px 18px 6px 6px;
  background: #0B0E0C;
  border: 1px solid #343E37;
}
.laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(#3A433C, #262D28); }
.laptop-base::before { content: ""; display: block; width: 16%; height: 5px; margin: 0 auto; border-radius: 0 0 6px 6px; background: #1A1F1B; }

.phone {
  position: absolute;
  right: 6%; bottom: 0;
  width: clamp(120px, 17%, 190px);
  aspect-ratio: 9 / 19;
  padding: 7px;
  border-radius: 28px;
  background: #0B0E0C;
  border: 1px solid #343E37;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(40px) scale(.94);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
}
.phone-screen { height: 100%; border-radius: 21px; overflow: hidden; }
.s5 .laptop { transform: translateX(-62%); }
.s5 .phone { opacity: 1; transform: none; }

/* Página en miniatura: cada etapa agrega una capa */
.mini {
  position: relative;
  height: 100%;
  padding: 3.4% 4.4%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 6%;
  border-radius: 10px;
  background: #0F1310;
  overflow: hidden;
  transition: background-color .8s var(--ease-out);
}
.mini span { display: block; transition: background-color .8s var(--ease-out), border-color .8s var(--ease-out), box-shadow .8s var(--ease-out), opacity .6s, transform .8s var(--ease-out); }
/* Etapa 1: estructura en líneas punteadas */
.mini .m-nav { display: flex; align-items: center; gap: 3%; }
.m-logo, .m-link, .m-btn, .m-h1, .m-p, .m-cta, .m-photo, .m-card, .m-burger { border: 1.5px dashed #5C6B60; border-radius: 6px; background: transparent; }
.m-logo { width: 5%; aspect-ratio: 1; margin-right: auto; border-radius: 30%; }
.m-link { width: 8%; height: 9px; }
.m-btn { width: 12%; height: 20px; border-radius: 999px; }
.m-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; }
.m-copy { display: grid; gap: 9px; }
.m-h1 { height: 18px; width: 90%; }
.m-h1.short { width: 64%; }
.m-p { height: 8px; width: 84%; }
.m-p.short { width: 60%; }
.m-cta { width: 34%; height: 24px; border-radius: 999px; margin-top: 8px; }
.m-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.m-sun, .m-hill { position: absolute; opacity: 0; }
.m-sun { width: 18%; aspect-ratio: 1; border-radius: 50%; right: 16%; top: 16%; background: #F6F8F5; }
.m-hill { left: -10%; right: -10%; bottom: -40%; height: 80%; border-radius: 50% 50% 0 0; background: var(--green); }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.m-card { height: 46px; border-radius: 10px; position: relative; }
.m-card i { position: absolute; left: 12%; top: 26%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--green-2); opacity: 0; transition: opacity .6s; }
.m-cursor {
  position: absolute;
  left: 60%; top: 70%;
  width: 14px; height: 14px;
  opacity: 0;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 30% 72%, 52% 100%, 66% 92%, 44% 66%, 80% 66%);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4));
}
.m-wa { position: absolute; right: 3%; bottom: 5%; width: 6%; aspect-ratio: 1; border-radius: 50%; background: #25A55A; opacity: 0; transform: scale(.4); }

/* Etapa 2: componentes con relleno neutro */
.s2 .m-logo, .s2 .m-link, .s2 .m-btn, .s2 .m-h1, .s2 .m-p, .s2 .m-cta, .s2 .m-photo, .s2 .m-card, .s2 .m-burger { border-style: solid; border-color: transparent; background: #2A332D; }
.s2 .m-h1 { background: #3A453D; }
.s2 .m-card i { opacity: .5; }

/* Etapa 3: diseño con color, tipografía e imagen */
.s3 .mini { background: #F6F8F5; }
.s3 .m-logo { background: var(--green); }
.s3 .m-link { background: #D5DCD3; }
.s3 .m-btn { background: #171917; }
.s3 .m-h1 { background: #171917; }
.s3 .m-p { background: #C9D1C7; }
.s3 .m-cta { background: var(--green); }
.s3 .m-photo { background: linear-gradient(160deg, #DCEBD6, #A9CB91); }
.s3 .m-sun, .s3 .m-hill { opacity: 1; }
.s3 .m-card { background: #fff; border-color: #E1E6DF; box-shadow: 0 6px 16px rgba(23, 25, 23, .06); }
.s3 .m-card i { opacity: 1; }
.s3 .m-burger { background: #171917; }

/* Etapa 4: terminada, con interacción */
.s4 .m-cursor { opacity: 1; animation: cursor 3.2s var(--ease-io) .3s infinite; }
.s4 .m-cta { box-shadow: 0 0 0 0 rgba(18, 106, 56, .5); animation: cta-pulse 3.2s var(--ease-io) .3s infinite; }
.s4 .m-wa { opacity: 1; transform: none; }
.s4 .m-card:nth-child(2) { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(23, 25, 23, .1); }
@keyframes cursor { 0% { transform: translate(60px, 40px); } 45%, 60% { transform: translate(-98px, -24px); } 100% { transform: translate(60px, 40px); } }
@keyframes cta-pulse { 45% { box-shadow: 0 0 0 0 rgba(18, 106, 56, .5); } 60% { box-shadow: 0 0 0 10px rgba(18, 106, 56, 0); } }

/* Versión de celular */
.mini--phone { display: flex; flex-direction: column; gap: 7px; padding: 10px 9px; border-radius: 0; }
.mini--phone .m-logo { width: 18px; }
.m-burger { width: 18px; height: 10px; border-radius: 3px; }
.mini--phone .m-photo { aspect-ratio: 1 / .8; width: 100%; }
.mini--phone .m-h1 { height: 11px; }
.mini--phone .m-p { height: 6px; }
.mini--phone .m-cta { width: 60%; height: 18px; margin-top: 2px; }
.mini--phone .m-card { height: 40px; width: 100%; }
.mini--phone .m-wa { width: 24px; right: 9px; bottom: 9px; }

.webdev-bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); margin-top: clamp(64px, 9vw, 112px); }
.webdev-bottom h3 { font-size: 1.4rem; margin-bottom: 18px; }
.checks--two { columns: 2; column-gap: 28px; }
.checks--two li { break-inside: avoid; }
.small-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--dark-line); color: var(--on-dark-2); font-size: .88rem; }
.process { position: relative; }
.process-list { position: relative; z-index: 1; display: grid; gap: 22px; }
.process-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.process-list .mono {
  grid-row: span 2;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--dark-line);
  background: var(--dark);
  color: var(--green-on-dark);
  font-size: .7rem;
  letter-spacing: .04em;
  transition: background-color .4s, color .4s, border-color .4s;
}
.process-list li:hover .mono { background: var(--green); color: #fff; border-color: var(--green); }
.process-list strong { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; padding-top: 10px; }
.process-list small { color: var(--on-dark-2); font-size: .92rem; margin-top: 4px; }
.process-line { position: absolute; left: 21px; top: 62px; bottom: 30px; width: 3px; height: calc(100% - 92px); }
.process-line path { fill: none; stroke: var(--green-on-dark); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-out) .3s; }
.process.in .process-line path { stroke-dashoffset: 0; }

@media (max-width: 920px) {
  .webdev-top, .webdev-bottom { grid-template-columns: 1fr; }
  .demo-steps { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .demo-steps::-webkit-scrollbar { display: none; }
}
@media (max-width: 620px) {
  .checks--two { columns: 1; }
  .demo-stage { height: auto; aspect-ratio: 1 / .9; }
  .laptop { width: 100%; }
  .phone { right: 2%; width: 30%; }
  .s5 .laptop { transform: translateX(-50%) scale(.76); transform-origin: 0 60%; }
  .laptop { transform-origin: 0 60%; }
  .mini span.m-link { display: none; }
}

/* ---------- NOSOTROS ---------- */
.about { padding: var(--section) 0 calc(var(--section) * .5); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.about .lead { margin-top: 22px; }
.pillars { display: grid; gap: 14px; }
.pillar {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
  padding: 22px;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .3s;
}
.pillar:hover { transform: translateX(6px); border-color: var(--green-line); }
.pillar-n {
  grid-row: span 2;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
}
.pillar:nth-child(2) .pillar-n { background: var(--green); }
.pillar:nth-child(3) .pillar-n { background: var(--green-2); color: var(--ink); }
.pillar h3 { font-size: 1.15rem; padding-top: 4px; }
.pillar p { color: var(--ink-2); font-size: .95rem; margin-top: 4px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- COLABORADORES ---------- */
.team { padding: calc(var(--section) * .6) 0 var(--section); }
.team-nav { display: flex; gap: 8px; }
.team-nav button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color .3s, color .3s, border-color .3s;
}
.team-nav button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.member {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  overflow: clip;
}
.member::before {
  content: "";
  position: absolute;
  width: 520px; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 70px rgba(231, 240, 229, .35), 0 0 0 140px rgba(231, 240, 229, .2);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  transition: left 1s var(--ease-out);
  pointer-events: none;
}
.member.open::before { left: 22%; }
.member-photo {
  position: relative;
  z-index: 1;
  flex: none;
  transition: transform 1s var(--ease-out);
}
.avatar {
  width: clamp(200px, 22vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green-soft) center / cover no-repeat;
  border: 6px solid #fff;
  box-shadow: var(--shadow-2), 0 0 0 1px var(--green-line);
  overflow: hidden;
}
.avatar.placeholder {
  display: grid;
  place-items: end center;
  background: linear-gradient(160deg, #EEF4EC, #D6E6CF);
}
.avatar.placeholder svg { width: 72%; fill: #B7CFAE; }
.member-open {
  position: absolute;
  right: 4%; top: calc(clamp(200px, 22vw, 260px) * .74);
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 106, 56, .35);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.member-open::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--green); opacity: .5; animation: ring 2.8s var(--ease-out) -1s infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
.member-open svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .5s var(--ease-out); }
.member-open:hover { transform: scale(1.06); background: var(--green-hover); }
.member.open .member-open svg { transform: rotate(45deg); }
.member-caption { margin-top: 22px; text-align: center; transition: opacity .5s var(--ease-out); }
.member-caption strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.member-caption .mono { display: block; margin-top: 4px; color: var(--ink-3); font-size: .64rem; }
.member.open .member-caption { opacity: 0; }

.member-panel {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(40px);
  transition: max-width 1s var(--ease-out), opacity .6s var(--ease-out), transform 1s var(--ease-out), margin .9s var(--ease-out);
}
.member-panel[hidden] { display: block; visibility: hidden; }
.member.open .member-panel { max-width: 560px; opacity: 1; transform: none; margin-left: clamp(28px, 5vw, 64px); visibility: visible; }
.member-panel > * { min-width: 280px; }
.member-close {
  position: absolute;
  right: 0; top: 0;
  min-width: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  transition: border-color .3s, transform .4s var(--ease-out);
}
.member-close:hover { border-color: var(--ink); transform: rotate(90deg); }
.member-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.temp-flag { display: inline-block; padding: 3px 9px; border-radius: 999px; border: 1px dashed #B7791F; background: #FFF7E8; color: #8A5A12; font-size: .62rem; }
.temp-flag[hidden] { display: none; }

/* Tarjetas del equipo: ambos colaboradores juntos */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.tm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 3.4vw, 44px) clamp(28px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  overflow: clip;
  transition: border-color .4s, box-shadow .6s var(--ease-out);
}
.tm-card::before {
  content: "";
  position: absolute;
  left: 50%; top: clamp(32px, 4vw, 48px);
  width: clamp(190px, 18vw, 220px); aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 46px rgba(231, 240, 229, .55), 0 0 0 96px rgba(231, 240, 229, .3);
  pointer-events: none;
}
.tm-card:hover { border-color: var(--green-line); box-shadow: var(--shadow-2); }
.tm-photo {
  position: relative;
  width: clamp(190px, 18vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: var(--shadow-2), 0 0 0 1px var(--green-line);
  overflow: hidden;
  background: var(--green-soft);
}
.tm-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.tm-card:hover .tm-photo img { transform: scale(1.05); }
.tm-head { position: relative; margin-top: 26px; }
.tm-name { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.tm-role { margin-top: 8px; color: var(--green); font-size: .7rem; }
.tm-bio { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); text-align: left; }
.tm-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: auto; padding-top: 22px; }
.tm-tags li { padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .84rem; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .tm-photo img { transition: none; }
  .tm-card:hover .tm-photo img { transform: none; }
}
.member-name { margin-top: 14px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); padding-right: 52px; }
.member-role { margin-top: 8px; color: var(--green); }
.member-bio { margin-top: 16px; color: var(--ink-2); max-width: 48ch; }
.member-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.member-tags li { padding: 6px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .84rem; font-weight: 600; }
.member.open .member-panel > * { animation: panel-in .8s var(--ease-out) both; }
.member.open .member-panel > :nth-child(3) { animation-delay: .08s; }
.member.open .member-panel > :nth-child(4) { animation-delay: .14s; }
.member.open .member-panel > :nth-child(5) { animation-delay: .2s; }
.member.open .member-panel > :nth-child(6) { animation-delay: .26s; }
@keyframes panel-in { from { opacity: 0; transform: translateX(18px); } }

@media (max-width: 760px) {
  .member { flex-direction: column; min-height: 0; }
  .member::before { left: 50% !important; top: 30%; }
  .member-panel, .member.open .member-panel { max-width: none; margin-left: 0; transform: none; }
  .member-panel { flex: none; width: 100%; max-height: 0; transition: max-height .9s var(--ease-out), opacity .6s var(--ease-out), margin .9s var(--ease-out); }
  .member.open .member-panel { max-height: 900px; margin-top: 28px; }
  .member-panel > * { min-width: 0; }
}

/* ---------- CONTACTO ---------- */
.contact { padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr minmax(320px, .9fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact .lead { margin-top: 20px; }
.wa-block { margin-top: 40px; }
.wa-title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.wa-ico { width: 22px; height: 22px; fill: none; stroke: var(--green-on-dark); stroke-width: 1.6; stroke-linejoin: round; }
.wa-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--dark-line);
  border-radius: 14px;
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: border-color .3s, background-color .3s, transform .4s var(--ease-out);
}
.wa-btn::after { content: ""; width: 8px; height: 8px; border-top: 1.8px solid var(--green-on-dark); border-right: 1.8px solid var(--green-on-dark); transform: rotate(45deg); transition: transform .4s var(--ease-out); }
.wa-btn:hover { border-color: var(--green-on-dark); background: rgba(125, 187, 87, .08); transform: translateY(-2px); }
.wa-btn:hover::after { transform: translateX(3px) rotate(45deg); }
.wa-pending { margin-top: 14px; color: var(--on-dark-2); font-size: .9rem; }
.contact-facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.contact-facts dt { color: var(--on-dark-2); font-size: .66rem; }
.contact-facts dd { margin: 4px 0 0; font-weight: 600; }
.contact-facts a { color: var(--on-dark); }
.social-links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; }
.social-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 12px;
  border: 1px solid var(--dark-line); border-radius: 999px;
  color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .92rem;
  transition: border-color .3s, background .3s, transform .4s var(--ease-out);
}
.social-btn svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(125, 187, 87, .14); fill: none; stroke: var(--green-on-dark); stroke-width: 1.7; stroke-linejoin: round; flex: none; }
.social-btn span { display: flex; flex-direction: column; line-height: 1.25; }
.social-btn small { font-size: .62rem; font-weight: 500; color: var(--on-dark-2); letter-spacing: .08em; text-transform: uppercase; }
.social-btn:hover, .social-btn:focus-visible { border-color: var(--green-on-dark); background: rgba(125, 187, 87, .08); transform: translateY(-2px); }

.contact-form {
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--canvas);
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
}
.contact-form :focus-visible { outline-color: var(--green); }
.form-status { margin-top: 14px; font-size: .92rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--green); }
.form-status.warn { padding: 12px 14px; border-radius: 12px; background: #FFF7E8; border: 1px solid #F0D6A8; color: #6E4A0E; }
.form-status button { margin-top: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; background: transparent; font-size: .86rem; font-weight: 600; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .wa-list { grid-template-columns: 1fr; } }

/* ---------- MOVIMIENTO REDUCIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .hero-title .line-in, .js .hv-card, .js .hv-phone,
  .js .hv-browser > *, .js .hv-nav span, .js .hv-lines span, .js .hv-img, .js .hv-cards span { opacity: 1; transform: none; translate: 0 0; }
  .hv-curve, .draw path, .process-line path { stroke-dashoffset: 0; }
  .hv-area, .hv-point { opacity: 1; }
  .hv-stage { transform: none !important; }
  .s4 .m-cursor { animation: none; transform: translate(-98px, -24px); }
  .hv-phone { transform: translateZ(90px) rotate(4deg); }
}
