/* ==========================================================================
   LinkProtech — Design tokens
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Italic-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/Sora-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root{
  /* Brand palette — sampled directly from LinkProtech brand deck */
  --ink: #1c1c1c;
  --ink-soft: #2a2a2a;
  --cream: #f4f0e8;
  --cream-2: #ece6da;
  --teal: #0e7c66;
  --teal-deep: #0a5c4b;
  --teal-tint: #e4efec;
  --mint: #34d99f;
  --mint-bright: #42ffbd;
  --violet: #5425b3;
  --violet-deep: #3e2477;
  --lavender: #c1b0d6;

  --text-on-dark: #f4f0e8;
  --text-on-dark-muted: rgba(244,240,232,0.68);
  --text-on-light: #1c1c1c;
  --text-on-light-muted: rgba(28,28,28,0.64);

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.16,.8,.24,1);

  color-scheme: light;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--cream);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
svg{ display: block; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section{ position: relative; }

/* ==========================================================================
   Utility
   ========================================================================== */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
section.on-dark .eyebrow{ color: var(--mint-bright); }

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
.section-head p{
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--text-on-light-muted);
}
section.on-dark .section-head p{ color: var(--text-on-dark-muted); }

.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--teal); color: #fff; }
.btn-primary:hover{ background: var(--teal-deep); }
.btn-ghost-dark{ border-color: rgba(244,240,232,0.35); color: var(--text-on-dark); }
.btn-ghost-dark:hover{ border-color: var(--mint-bright); color: var(--mint-bright); }
.btn-ghost-light{ border-color: rgba(28,28,28,0.2); color: var(--text-on-light); }
.btn-ghost-light:hover{ border-color: var(--teal); color: var(--teal); }
.btn-mint{ background: var(--mint-bright); color: var(--ink); }
.btn-mint:hover{ background: #5dffca; }

.pill{
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(14,124,102,0.09);
  color: var(--teal-deep);
}
section.on-dark .pill{ background: rgba(244,240,232,0.1); color: var(--text-on-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.is-scrolled{
  padding: 12px 0;
  background: rgba(28,28,28,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}
.brand{
  display: flex;
  align-items: center;
}
.brand img{ height: 37px; width: auto; margin: -4px 0 -4px -5px; } /* logo-glow.svg ya viene en blanco y trae margen para el brillo */

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a{
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-on-dark);
  opacity: 0.82;
  transition: opacity .2s, color .2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active{ opacity: 1; color: var(--mint-bright); }

.header-actions{ display: flex; align-items: center; gap: 18px; }

/* ===== Selector de idioma ES/EN ===== */
.lang-switch{
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(244,240,232,0.25);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(244,240,232,0.05);
}
.lang-btn{
  background: transparent;
  border: none;
  color: var(--text-on-dark);
  opacity: 0.5;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  padding: 2px 4px;
  transition: opacity .2s, color .2s;
}
.lang-btn:hover{ opacity: 0.85; }
.lang-btn.is-active{ opacity: 1; color: var(--mint-bright); }
.lang-sep{ color: rgba(244,240,232,0.25); font-size: 13px; }

.site-header.is-scrolled .lang-switch{
  border-color: rgba(15,17,16,0.2);
  background: rgba(15,17,16,0.03);
}
.site-header.is-scrolled .lang-btn{ color: var(--ink); }
.site-header.is-scrolled .lang-btn.is-active{ color: var(--teal); }
.site-header.is-scrolled .lang-sep{ color: rgba(15,17,16,0.25); }

.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(244,240,232,0.25);
  background: transparent;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--text-on-dark);
  position: relative;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
.nav-toggle.is-open span{ background: transparent; }
.nav-toggle.is-open span::before{ top:0; transform: rotate(45deg); background: var(--mint-bright); }
.nav-toggle.is-open span::after{ top:0; transform: rotate(-45deg); background: var(--mint-bright); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 168px 0 120px;
  overflow: hidden;
  position: relative;
}
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 460px at 88% 8%, rgba(14,124,102,0.5), transparent 60%),
    radial-gradient(520px 420px at 100% 55%, rgba(84,37,179,0.35), transparent 65%);
  pointer-events: none;
}
.hero-deco{
  position: absolute;
  top: 0; right: 0;
  width: min(56vw, 780px);
  height: auto;
  opacity: 0.95;
  pointer-events: none;
}
.hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 34px;
  max-width: 760px;
}
.hero .eyebrow{ color: var(--mint-bright); }
.hero h1{
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.08;
  color: #fff;
}
.hero h1 em{
  font-style: normal;
  background: linear-gradient(92deg, var(--mint-bright), var(--teal) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead{
  font-size: 1.15rem;
  color: var(--text-on-dark-muted);
  max-width: 560px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }

.hero-stats{
  position: relative;
  z-index: 1;
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid rgba(244,240,232,0.14);
}
.hero-stats .stat b{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--mint-bright);
}
.hero-stats .stat span{
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Generic section paddings / dark variant
   ========================================================================== */
.section{ padding: 108px 0; }
.section.tight{ padding: 88px 0; }
.section.on-dark{ background: var(--ink); color: var(--text-on-dark); }
.section.on-teal{ background: var(--teal); color: #fff; }
.section.on-cream-2{ background: var(--cream-2); }

/* ==========================================================================
   Problem section
   ========================================================================== */
.problem-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.problem-card{
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid rgba(28,28,28,0.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.problem-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px rgba(28,28,28,0.08); }
.problem-card .num{
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
}
.problem-card h3{ margin-top: 14px; font-size: 1.2rem; }
.problem-card p{ margin-top: 10px; color: var(--text-on-light-muted); font-size: 0.96rem; }

/* ==========================================================================
   Promise / quote band
   ========================================================================== */
.promise{
  background: linear-gradient(120deg, var(--teal-deep), var(--teal) 60%, #147f68);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.promise-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.promise h2{ font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; }
.promise p{ margin-top: 18px; color: rgba(255,255,255,0.86); font-size: 1.02rem; max-width: 480px; }
.promise-quote{
  border-left: 3px solid var(--mint-bright);
  padding-left: 24px;
}
.promise-quote p{
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.45;
  font-weight: 500;
  color: #fff;
}
.promise-quote span{
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.about-figure{
  border-radius: var(--radius-lg);
  background: var(--ink);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.about-figure .stat-badge{
  position: relative;
  z-index: 1;
}
.about-figure .stat-badge b{
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--mint-bright);
  line-height: 1;
}
.about-figure .stat-badge span{
  display: block;
  margin-top: 10px;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  max-width: 220px;
}
.about-copy p{ font-size: 1.05rem; color: var(--text-on-light-muted); }
.about-copy p + p{ margin-top: 16px; }
.about-tags{
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Differentiator
   ========================================================================== */
.compare{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
.compare-card{
  border-radius: var(--radius-md);
  padding: 34px;
}
.compare-card.old{
  background: #fff;
  border: 1px dashed rgba(28,28,28,0.18);
}
.compare-card.new{
  background: var(--ink);
  color: var(--text-on-dark);
  box-shadow: 0 24px 50px rgba(20,20,20,0.18);
}
.compare-card h3{ font-size: 1.1rem; }
.compare-card.old h3{ color: var(--text-on-light-muted); }
.compare-card.new h3{ color: var(--mint-bright); }
.compare-card ul{ margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.compare-card li{ display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.compare-card.old li{ color: var(--text-on-light-muted); }
.compare-card.new li{ color: rgba(244,240,232,0.9); }
.compare-card svg{ flex: none; margin-top: 3px; }

.callout-strip{
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: var(--teal-tint);
  color: var(--teal-deep);
  font-weight: 500;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
}
.service-card{
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(28,28,28,0.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(28,28,28,0.09);
  border-color: rgba(14,124,102,0.25);
}
.service-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  margin-bottom: 22px;
}
.service-card h3{ font-size: 1.28rem; }
.service-card .tagline{
  margin-top: 6px;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 600;
}
.service-card p.desc{ margin-top: 14px; color: var(--text-on-light-muted); font-size: 0.97rem; }
.service-tags{ margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags span{
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--text-on-light);
}

/* ==========================================================================
   Assessment (dark feature section)
   ========================================================================== */
.assessment{
  background: var(--ink);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.assessment-top{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.assessment h2{ color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.14; }
.assessment .lead{ margin-top: 18px; color: var(--text-on-dark-muted); font-size: 1.05rem; }

.stat-card{
  background: rgba(244,240,232,0.05);
  border: 1px solid rgba(244,240,232,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.stat-card .big{
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--mint-bright);
  line-height: 1;
}
.stat-card p{ margin-top: 14px; color: var(--text-on-dark-muted); font-size: 0.98rem; }
.stat-card .iceberg{
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(244,240,232,0.12);
  font-size: 0.92rem;
  color: rgba(244,240,232,0.8);
}
.stat-card .iceberg b{ color: var(--mint-bright); font-weight: 600; }

.analogy{
  margin-top: 64px;
  position: relative;
  z-index: 1;
  border-left: 3px solid var(--violet);
  padding-left: 28px;
}
.analogy p{
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  max-width: 760px;
}
.analogy span{
  display: block;
  margin-top: 14px;
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}

.questions-grid{
  margin-top: 64px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
}
.question-card{
  background: rgba(244,240,232,0.04);
  border: 1px solid rgba(244,240,232,0.1);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.question-card .tag{ font-family: var(--font-display); font-weight: 600; color: var(--mint-bright); font-size: 0.95rem; }
.question-card p{ margin-top: 10px; font-size: 0.93rem; color: var(--text-on-dark-muted); }

.phases{
  margin-top: 88px;
  position: relative;
  z-index: 1;
}
.phases-head{ max-width: 620px; }
.phases-head h3{ font-size: 1.6rem; color: #fff; }
.phases-head p{ margin-top: 12px; color: var(--text-on-dark-muted); }
.phase-grid{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.phase-card{
  border-radius: var(--radius-md);
  padding: 28px;
  background: rgba(244,240,232,0.04);
  border: 1px solid rgba(244,240,232,0.1);
  position: relative;
}
.phase-card .phase-index{
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--mint-bright);
  font-weight: 700;
}
.phase-card h4{ margin-top: 12px; font-size: 1.12rem; color: #fff; }
.phase-card ul{ margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.phase-card li{
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  padding-left: 16px;
  position: relative;
}
.phase-card li::before{
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.eval-grid{
  margin-top: 88px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
}
.eval-card{
  border-radius: var(--radius-md);
  padding: 26px 22px;
  background: rgba(244,240,232,0.04);
  border: 1px solid rgba(244,240,232,0.1);
}
.eval-card h4{ font-size: 1rem; color: #fff; }
.eval-card p{ margin-top: 10px; font-size: 0.88rem; color: var(--text-on-dark-muted); }

.impact-row{
  margin-top: 88px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 50px;
  align-items: center;
  padding-top: 64px;
  border-top: 1px solid rgba(244,240,232,0.12);
}
.impact-row h3{ font-size: 1.5rem; color: #fff; }
.impact-row > p{ margin-top: 14px; color: var(--text-on-dark-muted); }
.impact-list{ display: flex; flex-direction: column; gap: 18px; }
.impact-list li{
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(244,240,232,0.04);
}
.impact-list b{ display: block; color: var(--mint-bright); font-size: 0.95rem; font-family: var(--font-display); }
.impact-list span{ display: block; margin-top: 4px; font-size: 0.9rem; color: var(--text-on-dark-muted); }

.assessment-cta{
  margin-top: 72px;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ==========================================================================
   Methodology (general "consultoria a operacion")
   ========================================================================== */
.method-steps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  position: relative;
}
.method-steps::before{
  content: "";
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(28,28,28,0.18) 0 8px, transparent 8px 16px);
}
.method-step{ padding: 0 18px; position: relative; text-align: left; }
.method-step .dot{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mint-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.method-step h4{ margin-top: 20px; font-size: 1.08rem; }
.method-step p{ margin-top: 8px; color: var(--text-on-light-muted); font-size: 0.94rem; }

.method-quote{
  margin-top: 60px;
  text-align: center;
}
.method-quote p{
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--teal-deep);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.45;
}

/* ==========================================================================
   Culture
   ========================================================================== */
.culture-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.culture-card{
  border-radius: var(--radius-md);
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(28,28,28,0.06);
}
.culture-card .icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.culture-card h3{ margin-top: 20px; font-size: 1.1rem; }
.culture-card p{ margin-top: 10px; color: var(--text-on-light-muted); font-size: 0.95rem; }

/* ==========================================================================
   Certifications
   ========================================================================== */
.cert-marquee{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cert-track{
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scrollX 38s linear infinite;
}
.cert-marquee:hover .cert-track{ animation-play-state: paused; }
@keyframes scrollX{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.cert-chip{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28,28,28,0.08);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-on-light);
}
.cert-chip svg{ color: var(--teal); flex: none; }

/* ==========================================================================
   Value close
   ========================================================================== */
.value-close{
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.value-formula{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0 auto;
}
.value-item{
  padding: 26px 30px;
  border-radius: var(--radius-md);
  background: rgba(244,240,232,0.05);
  border: 1px solid rgba(244,240,232,0.12);
  min-width: 190px;
}
.value-item span{ font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--mint-bright); }
.value-op{ font-family: var(--font-display); font-size: 1.6rem; color: rgba(244,240,232,0.4); }
.value-result{
  margin-top: 30px;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
  color: #fff;
}
.value-close .final-quote{
  position: relative;
  z-index: 1;
  margin: 46px auto 0;
  max-width: 680px;
  font-size: 1.2rem;
  color: var(--text-on-dark-muted);
  font-style: italic;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact{
  background: var(--cream-2);
}
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.contact h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.14; }
.contact > .container > .contact-grid > div:first-child p{
  margin-top: 18px;
  color: var(--text-on-light-muted);
  font-size: 1.06rem;
  max-width: 480px;
}
.contact-cards{ display: flex; flex-direction: column; gap: 14px; }
.contact-card{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(28,28,28,0.07);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.contact-card:hover{ transform: translateX(4px); border-color: rgba(14,124,102,0.3); }
.contact-card .icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.contact-card b{ display: block; font-size: 0.95rem; }
.contact-card span{ display: block; margin-top: 2px; font-size: 0.88rem; color: var(--text-on-light-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: 48px 0 28px;
}
.footer-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244,240,232,0.1);
}
.footer-top img{ height: 32px; margin-left: -4px; }
.footer-nav{ display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a{ font-size: 0.9rem; opacity: 0.8; }
.footer-nav a:hover{ opacity: 1; color: var(--mint-bright); }
.footer-bottom{
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .about-grid, .promise-inner, .compare, .assessment-top, .impact-row, .contact-grid{
    grid-template-columns: 1fr;
  }
  .about-figure{ order: -1; aspect-ratio: 16/9; }
  .problem-cards, .services-grid, .culture-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .questions-grid, .eval-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .phase-grid{ grid-template-columns: 1fr; }
  .hero-stats{ grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 30px; }
  .method-steps{ grid-template-columns: 1fr; gap: 34px; }
  .method-steps::before{ display: none; }
}

@media (max-width: 720px){
  .nav-links, .header-actions .btn{ display: none; }
  .nav-toggle{ display: flex; }
  .site-header.nav-open .nav-links{
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(20,20,20,0.98);
    padding: 18px 28px 26px;
    border-bottom: 1px solid rgba(244,240,232,0.1);
  }
  .site-header.nav-open .nav-links a{ padding: 10px 0; width: 100%; }
  .hero{ padding: 140px 0 90px; }
  .hero-deco{ width: 70vw; opacity: 0.5; }
  .problem-cards, .services-grid, .culture-grid, .questions-grid, .eval-grid{ grid-template-columns: 1fr; }
  .section{ padding: 76px 0; }
  .value-formula{ flex-direction: column; }
  .value-op{ transform: rotate(90deg); }
  .compare-card{ padding: 26px; }
  .footer-bottom{ flex-direction: column; }
}

/* ===================== MOVIMIENTO: circuitos con luz ===================== */
.circuit-pulses path{
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 0.09 1;
  stroke-dashoffset: 0.09;
  animation: circuitPulse var(--dur, 3.6s) cubic-bezier(.55,.1,.35,1) var(--delay, 0s) infinite;
}
@keyframes circuitPulse{
  0%   { stroke-dashoffset: 0.09; opacity: 0; }
  8%   { opacity: 1; }
  70%  { stroke-dashoffset: -1;   opacity: 1; }
  71%,100% { stroke-dashoffset: -1; opacity: 0; }
}
/* el nodo de inicio se enciende cuando sale la luz */
.circuit-nodes circle{
  fill: #ffffff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodeFlash var(--dur, 3.6s) ease-out var(--delay, 0s) infinite;
}
@keyframes nodeFlash{
  0%   { opacity: 0;   transform: scale(.6); }
  6%   { opacity: 1;   transform: scale(1.4); }
  30%,100% { opacity: 0; transform: scale(.6); }
}
/* círculos del hero flotando suavemente */
.hero-deco .float-a, .hero-deco .float-b, .hero-deco .float-c{
  transform-box: fill-box;
  transform-origin: center;
  animation: floatY 9s ease-in-out infinite;
}
.hero-deco .float-b{ animation-duration: 11s; animation-delay: -3s; }
.hero-deco .float-c{ animation-duration: 10s; animation-delay: -6s; }
@keyframes floatY{
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
/* tarjetas: pequeño realce al pasar el mouse */
.question-card, .phase-card, .culture-card{
  transition: transform .35s ease, box-shadow .35s ease;
}
.question-card:hover, .phase-card:hover, .culture-card:hover{
  transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce){
  .circuit-pulses path, .circuit-nodes circle,
  .hero-deco .float-a, .hero-deco .float-b, .hero-deco .float-c{ animation: none; }
  .circuit-pulses path, .circuit-nodes circle{ opacity: 0; }
}

/* ===================== RED ANIMADA (Nosotros) ===================== */
.about-net{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.about-figure::after{ /* oscurece la base para que el +20 se lea bien */
  content: "";
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, var(--ink) 35%, transparent);
  pointer-events: none;
}
.net-pulses path{ stroke-width: 2.4; stroke-dasharray: 0.16 1; }
.net-pulses path.rev{ animation-direction: reverse; }
.net-led{
  fill: #42FFBD;
  animation: netLed 2.8s steps(1, end) var(--delay, 0s) infinite;
}
@keyframes netLed{
  0%   { opacity: 1; }
  8%   { opacity: .25; }
  14%  { opacity: 1; }
  22%  { opacity: .25; }
  28%,100% { opacity: 1; }
}
.net-core > rect:first-child{ filter: drop-shadow(0 0 12px rgba(66,255,189,.4)); }
.net-breathe{
  transform-box: fill-box; transform-origin: center;
  animation: netBreathe 6s ease-in-out infinite;
}
@keyframes netBreathe{
  0%,100% { opacity: .7; transform: scale(.95); }
  50%     { opacity: 1;  transform: scale(1.05); }
}
@media (max-width: 980px){
  /* en tablet/celular: la red arriba y el +20 debajo, sin encimarse */
  .about-figure{ aspect-ratio: auto; display: block; padding: 0; max-width: 440px; width: 100%; margin: 0 auto; }
  .about-net{ position: relative; inset: auto; height: auto; aspect-ratio: 400 / 590; display: block; max-width: 440px; margin: 0 auto; }
  .about-figure .stat-badge{ margin-top: calc(min(100%, 440px) * -0.52); padding: 0 28px 28px; }
  .about-figure::after{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .net-led, .net-breathe{ animation: none; }
}
/* LEDs de actividad de puertos (parpadeo irregular, como tráfico real) */
.port-led{
  fill: #42FFBD;
  animation: portBlink var(--d, 1.2s) steps(1, end) var(--delay, 0s) infinite;
}
@keyframes portBlink{
  0%   { opacity: 1; }
  30%  { opacity: .15; }
  45%  { opacity: 1; }
  70%  { opacity: .35; }
  85%,100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce){ .port-led{ animation: none; } }
