/* ====================================================================
   QuantumZIGMA — Premium B2B website CSS
   Inspirado en patrones de spaceforedu.com: editorial, asertivo, real.
   Mobile-first · Sin framework · Inter + Instrument Serif
   ==================================================================== */

:root {
  /* Brand */
  --p950: #1A1430;
  --p900: #2A2240;
  --p800: #3A2F58;
  --p700: #4A3B6B;
  --p600: #5C4B85;
  --p500: #6B5B95;
  --p400: #8A7CB3;
  --p300: #A899D9;
  --p200: #C8BCE8;
  --p100: #EDE9F5;
  --p50:  #F7F4FB;

  --y500: #FFD60A;
  --y600: #E6B800;
  --y100: #FFF7CC;

  /* Neutral */
  --ink:        #0F0E18;
  --ink-light:  #1A1A1A;
  --gray-900:   #1F2937;
  --gray-700:   #374151;
  --gray-500:   #6B7280;
  --gray-400:   #9CA3AF;
  --gray-300:   #D1D5DB;
  --gray-200:   #E5E7EB;
  --gray-100:   #F3F4F6;
  --gray-50:    #FAFAFA;
  --white:      #FFFFFF;
  --cream:      #FAF6F0;

  /* Status */
  --green:  #16A34A;
  --green-light: #DCFCE7;
  --red:    #DC2626;

  /* Tokens */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-xs: 0 1px 2px rgba(15, 14, 24, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 14, 24, 0.06), 0 1px 2px rgba(15, 14, 24, 0.04);
  --shadow-md: 0 4px 16px rgba(74, 59, 107, 0.08), 0 2px 6px rgba(15, 14, 24, 0.04);
  --shadow-lg: 0 16px 48px rgba(74, 59, 107, 0.14), 0 4px 12px rgba(15, 14, 24, 0.06);
  --shadow-xl: 0 32px 80px rgba(74, 59, 107, 0.20);

  --container: 1200px;
  --container-narrow: 980px;
  --gutter: 24px;
}

/* ============== RESET & BASE ============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "ss01", "cv11", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; }

button { font: inherit; cursor: pointer; }

::selection { background: var(--y500); color: var(--p900); }

.skip {
  position: absolute; top: -100px; left: 8px;
  background: var(--p900); color: var(--white);
  padding: 12px 20px; border-radius: var(--r-md);
  z-index: 200; transition: top 0.2s;
}
.skip:focus { top: 12px; }

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

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

em {
  font-family: "Instrument Serif", "Times New Roman", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--p500);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  text-transform: none;
}
.eyebrow-light { color: var(--p300); }

.sec-head {
  max-width: 800px;
  margin-bottom: 64px;
}
.sec-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.sec-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--ink);
}

.sec-lead {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--gray-700);
  max-width: 680px;
  font-weight: 400;
}

/* ============== HEADER ============== */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(15, 14, 24, 0.05);
  transition: box-shadow 0.2s;
}
.hdr.scrolled {
  box-shadow: 0 1px 12px rgba(15, 14, 24, 0.06);
}

.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  gap: 16px;
}

.hdr-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.hdr-logo { width: 36px; height: 36px; }
.hdr-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--p700);
  letter-spacing: -0.02em;
}

.hdr-nav {
  display: none;
  gap: 32px;
  align-items: center;
}
.hdr-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.15s;
  padding: 4px 0;
}
.hdr-nav a:hover { color: var(--p700); }

.hdr-cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.hdr-cta:hover {
  background: var(--p700);
  transform: translateY(-1px);
}

.hdr-lang {
  display: flex;
  gap: 2px;
  background: var(--gray-100);
  border-radius: 999px;
  padding: 3px;
}
.hdr-lang-btn {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--gray-500);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
.hdr-lang-btn.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.hdr-lang-btn:hover:not(.active) {
  color: var(--ink);
}

.hdr-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none; border: none;
  width: 40px; height: 40px;
  align-items: center;
  padding: 8px;
}
.hdr-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: 0.3s;
}
.hdr-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hdr-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 900px) {
  .hdr-toggle { display: none; }
  .hdr-nav { display: flex; }
  .hdr-cta { display: inline-flex; }
}

.hdr-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--gray-200);
  gap: 4px;
  align-items: stretch;
}
.hdr-nav.open a {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 16px;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--p900);
  border-color: var(--p900);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 14, 24, 0.18);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--gray-300);
}
.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--ink);
}

.btn-yellow {
  background: var(--y500);
  color: var(--p900);
  border-color: var(--y500);
  font-weight: 700;
}
.btn-yellow:hover {
  background: var(--y600);
  border-color: var(--y600);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 214, 10, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding: 14px 8px;
}
.btn-ghost:hover { color: var(--p700); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-full { width: 100%; }

/* ============== HERO ============== */
.hero {
  padding: 48px 0 56px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.10) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-left { max-width: 620px; }

.hero-h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--gray-700);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-micro {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--gray-200);
  padding-top: 32px;
}

.hs-num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.hs-num .hs-pct { font-size: 0.65em; vertical-align: 4px; color: var(--p500); }
.hs-lbl {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .hero-stats { gap: 12px; }
  .hs-lbl { font-size: 11px; }
}

/* Hero photo */
.hero-right { justify-self: center; width: 100%; }

.hero-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
  max-width: 540px;
  margin: 0 auto;
}
.hero-photo img {
  border-radius: var(--r-xl);
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.hero-tag {
  position: absolute;
  background: var(--white);
  border-radius: 100px;
  padding: 10px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  z-index: 2;
}

.hero-tag-1 {
  top: 24px; left: -16px;
  background: var(--white);
}
.hero-tag-2 {
  bottom: 80px; right: -20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-md);
}
.hero-tag-2 strong {
  font-size: 24px;
  font-weight: 700;
  color: var(--y500);
  letter-spacing: -0.02em;
}
.hero-tag-2 span {
  font-size: 11px;
  color: var(--p300);
}
.hero-tag-3 {
  bottom: 24px; left: -16px;
  padding: 8px 14px;
  background: var(--p900);
  color: var(--white);
}

.badge-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--y500);
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot-green {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@media (min-width: 900px) {
  .hero { padding: 80px 0 100px; }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }
  .hero-photo { max-width: none; }
}

/* ============== TRUST BAND ============== */
.trust {
  padding: 36px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.trust-lbl {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
  font-weight: 500;
}

.trust-logos {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.trust-track {
  display: flex;
  gap: 32px;
  animation: marquee 45s linear infinite;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.1em;
}
.trust-track .sep { color: var(--p300); }

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

/* ============== CAPABILITIES ============== */
.capabilities {
  padding: 100px 0;
  background: var(--white);
}

.cap-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: all 0.25s;
  position: relative;
}
.cap-card:hover {
  border-color: var(--p300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cap-featured {
  background: var(--p900);
  color: var(--white);
  border-color: var(--p900);
  position: relative;
}
.cap-featured::before {
  content: "";
  position: absolute;
  top: -1px; right: -1px;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, transparent 50%, var(--y500) 50%);
  border-top-right-radius: var(--r-lg);
  border-bottom-left-radius: 60px;
}

.cap-num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  color: var(--y500);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cap-card:not(.cap-featured) .cap-num { color: var(--p500); }

.cap-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cap-featured .cap-title { color: var(--white); }

.cap-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 20px;
}
.cap-featured .cap-body { color: var(--p200); }

.cap-list {
  list-style: none;
  margin-bottom: 24px;
}
.cap-list li {
  font-size: 13px;
  color: var(--gray-500);
  padding: 7px 0;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px dashed var(--gray-200);
}
.cap-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--p500);
  font-weight: 600;
}
.cap-list li:last-child { border-bottom: none; }
.cap-featured .cap-list li {
  color: var(--p200);
  border-color: rgba(255, 255, 255, 0.1);
}
.cap-featured .cap-list li::before { color: var(--y500); }

.cap-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: gap 0.2s;
}
.cap-link:hover { gap: 10px; }
.cap-featured .cap-link { color: var(--y500); }

/* ============== CASE STUDY ============== */
.case {
  padding: 100px 0;
  background: var(--cream);
}

.case-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
  }
}

.case-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.case-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-xl);
}

.case-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
}
.case-badge-l {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.case-badge-v {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.case-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 32px;
}

.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}
@media (min-width: 700px) {
  .case-stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.cs-num {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.cs-lbl {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}

.case-list {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 0;
  border: 1px solid var(--gray-200);
}
.case-list summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--p700);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}
.case-list summary::-webkit-details-marker { display: none; }
.case-list summary:hover { color: var(--ink); }
.case-list[open] summary {
  border-bottom: 1px solid var(--gray-200);
}

.case-list ol {
  list-style: none;
  padding: 16px 20px;
  counter-reset: opp;
}
.case-list ol li {
  counter-increment: opp;
  padding: 10px 0;
  padding-left: 36px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px dashed var(--gray-200);
  color: var(--gray-700);
}
.case-list ol li::before {
  content: counter(opp, decimal-leading-zero);
  position: absolute;
  left: 0; top: 10px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--p500);
  font-weight: 400;
}
.case-list ol li:last-child { border: none; }
.case-list ol li strong { color: var(--ink); font-weight: 600; }
.case-list ol li em {
  font-family: inherit;
  font-style: normal;
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
}

/* ============== HOW IT WORKS ============== */
.how {
  padding: 100px 0;
  background: var(--white);
}

.how-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .how-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .how-grid { grid-template-columns: repeat(4, 1fr); } }

.how-step {
  padding: 28px;
  background: var(--gray-50);
  border-radius: var(--r-md);
  border-left: 3px solid var(--y500);
  transition: all 0.25s;
}
.how-step:hover {
  background: var(--p50);
  border-left-color: var(--p700);
  transform: translateY(-2px);
}

.how-week {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--p500);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.how-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.how-step p {
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.55;
}

/* ============== COMPARE ============== */
.compare {
  padding: 100px 0;
  background: var(--cream);
}

.cmp-wrap {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
}

.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.cmp th, .cmp td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}
.cmp thead th {
  background: var(--white);
  padding-top: 28px; padding-bottom: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--gray-200);
}
.cmp thead th:first-child { border-bottom: none; }
.cmp thead th.cmp-own { color: var(--gray-500); }
.cmp thead th.cmp-us {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-md) var(--r-md) 0 0;
  position: relative;
}
.cmp thead th.cmp-us::before {
  content: "";
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: var(--y500);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.3);
}
.cmp tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
  width: 32%;
}
.cmp tbody td:nth-child(2) {
  color: var(--gray-500);
  font-size: 13.5px;
}
.cmp tbody td.cmp-us, .cmp tbody td:nth-child(3) {
  background: var(--gray-50);
  color: var(--ink);
  font-weight: 500;
}
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr:last-child td.cmp-us, .cmp tbody tr:last-child td:nth-child(3) {
  border-radius: 0 0 var(--r-md) var(--r-md);
}

/* ============== PRICING ============== */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.price-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
  }
}

.price-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.price-card:hover {
  border-color: var(--p400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.price-tag {
  position: absolute;
  top: -12px; right: 28px;
  background: var(--y500);
  color: var(--p900);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.price-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.price-featured .price-name { color: var(--white); }

.price-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.55;
  min-height: 60px;
}
.price-featured .price-desc { color: var(--p200); }

.price-amt {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.price-curr {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-500);
}
.price-featured .price-curr { color: var(--y500); }
.price-num {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.price-featured .price-num { color: var(--white); }
.price-per {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-500);
  margin-left: 4px;
}
.price-featured .price-per { color: var(--p300); }

.price-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.price-featured .price-sub { color: var(--p300); }

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.price-features li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px dashed var(--gray-200);
  line-height: 1.5;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}
.price-features li:last-child { border: none; }
.price-featured .price-features li {
  color: var(--p200);
  border-color: rgba(255, 255, 255, 0.08);
}
.price-featured .price-features li::before { color: var(--y500); }

/* Guarantees */
.guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  background: var(--gray-50);
  border-radius: var(--r-xl);
  padding: 40px;
  border: 1px solid var(--gray-200);
}
.guarantees .guar {
  flex: 1 1 320px;
  max-width: 560px;
}
@media (min-width: 800px) { .guarantees { padding: 48px; } }

.guar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guar-icon {
  width: 56px; height: 56px;
  background: var(--ink);
  color: var(--y500);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.guar h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.guar p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.55;
}

/* ============== SECTORS ============== */
.sectors {
  padding: 100px 0;
  background: var(--cream);
}

.sec-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .sec-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.sec-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.25s;
}
.sec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sec-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.sec-body {
  padding: 22px 24px 26px;
}
.sec-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.sec-body p {
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: 16px;
}
.sec-stat {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.sec-stat .pct { font-size: 0.75em; color: var(--p500); }
.sec-stat span {
  display: block;
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* ============== TEAM (humanidad real) ============== */
.team {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.team-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 800px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.team-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s;
}
.team-card:hover {
  background: var(--white);
  border-color: var(--p300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
}
.team-avatar svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(74, 59, 107, 0.18);
}

.cap-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap-icon svg {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(74, 59, 107, 0.18);
}

.capacity-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--gray-300);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-700);
  text-align: center;
  font-style: italic;
}

.team-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.team-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--p500);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.team-bio {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.team-foot {
  font-size: 13px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-300);
}
.team-foot a {
  color: var(--p700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
  word-break: break-word;
}
.team-foot a:hover { color: var(--ink); text-decoration: underline; }

/* Lo que somos / lo que no somos */
.team-honesty {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
}
@media (min-width: 800px) {
  .team-honesty { padding: 48px 56px; }
}

.team-honesty h4 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
  text-align: center;
}

.honesty-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .honesty-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.honesty-grid > div { display: flex; flex-direction: column; }

.hn-yes, .hn-no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid currentColor;
  display: inline-block;
  align-self: flex-start;
}
.hn-yes { color: var(--green); }
.hn-no { color: var(--gray-500); }

.honesty-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.honesty-grid ul li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-700);
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px dashed var(--gray-200);
}
.honesty-grid ul li:last-child { border-bottom: none; }
.honesty-grid > div:first-child ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.honesty-grid > div:last-child ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gray-400);
  font-weight: 700;
}

/* ============== CASE DISCLAIMER ============== */
.case-disclaimer {
  margin: 20px 20px 4px;
  padding: 14px 18px;
  background: rgba(255, 214, 10, 0.10);
  border-left: 3px solid var(--y500);
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gray-700);
  font-style: italic;
}

.dot-amber {
  background: var(--y500);
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.25);
}

/* ============== FINAL MICRO TEXT ============== */
.final-micro {
  margin-top: 18px;
  font-size: 13px;
  color: var(--p300);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

/* ============== ABOUT ============== */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
@media (min-width: 800px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.about-card {
  background: var(--gray-50);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.25s;
}
.about-card:hover {
  border-color: var(--p300);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.about-flag {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}

.about-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-loc {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about-card p {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 20px;
}

.about-list {
  list-style: none;
}
.about-list li {
  font-size: 13px;
  color: var(--gray-500);
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
  border-bottom: 1px dashed var(--gray-200);
}
.about-list li::before {
  content: "→";
  position: absolute;
  left: 0; color: var(--p500);
}
.about-list li:last-child { border: none; }

.about-foot {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

/* ============== FINAL CTA ============== */
.final-cta {
  padding: 100px 0;
  background: var(--ink);
  color: var(--white);
}

.final-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .final-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 72px;
  }
}

.final-h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--white);
}
.final-h2 em { color: var(--y500); }

.final-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--p200);
  margin-bottom: 32px;
}

.final-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.final-deliv {
  background: var(--p900);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.final-deliv h3 {
  font-size: 15px;
  color: var(--y500);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}
.final-deliv ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.final-deliv li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
  color: var(--white);
  line-height: 1.4;
}
.final-deliv svg { flex-shrink: 0; }

/* ============== FOOTER ============== */
.ftr {
  background: var(--p950);
  color: var(--p300);
  padding: 64px 0 24px;
  font-size: 13.5px;
}

.ftr-top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 800px) {
  .ftr-top {
    grid-template-columns: 1.2fr 2.5fr;
    gap: 64px;
  }
}

.ftr-brand { display: flex; align-items: center; gap: 14px; }
.ftr-logo { width: 56px; height: 56px; }
.ftr-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.ftr-tag { font-size: 12px; color: var(--p400); max-width: 280px; }

.ftr-cols {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 600px) { .ftr-cols { grid-template-columns: repeat(3, 1fr); } }

.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ftr-col a {
  color: var(--p300);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.ftr-col a:hover { color: var(--y500); }

.ftr-bottom {
  border-top: 1px solid rgba(168, 153, 217, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--p500);
}

/* ============== WHATSAPP FAB ============== */
.wa-fab {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 60px; height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  text-decoration: none;
  transition: all 0.25s;
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
@media (max-width: 600px) {
  .wa-fab { bottom: 16px; right: 16px; width: 54px; height: 54px; }
}

/* ============== A11Y ============== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .trust-track { animation: none; }
  .hero-photo { animation: none; }
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--y500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Print */
@media print {
  .hdr, .hdr-cta, .wa-fab, .final-cta, .ftr { display: none; }
}
