/* ===========================================
   SFD THEME — Main Stylesheet
   Ink Navy #0C1B2A | Orange #FF6A2B | Teal #1AC7BE | Paper #EAE6DC
   =========================================== */

/* ══════════════════════════════════════════════
   PRECIOS — hero + estimador fusionados
══════════════════════════════════════════════ */
.precios-hero-estimador {
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.precios-hero-estimador::before {
  content: '>>';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 26rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.precios-hook {
  text-align: center;
  margin-bottom: 40px;
}
.precios-hook h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 12px 0 16px;
  line-height: 1.1;
}
.precios-hook > p {
  color: rgba(255,255,255,0.62);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
}

.precios-trust-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.precios-trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.50);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}
.precios-trust-row .material-symbols-outlined {
  font-size: 16px;
  color: var(--teal);
}

/* ══════════════════════════════════════════════
   ESTIMADOR INLINE — página Precios
══════════════════════════════════════════════ */
.sfd-inline-estimator {
  max-width: 760px;
  margin: 0 auto;
}

#sfd-inline-project-input {
  width: 100%;
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 130px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#sfd-inline-project-input::placeholder { color: rgba(255,255,255,0.3); }
#sfd-inline-project-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,106,43,0.2);
  background: rgba(255,255,255,0.08);
}

/* Pestañas: describir proyecto / subir TDR */
.sfd-input-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
}
.sfd-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 14px;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.sfd-tab .material-symbols-outlined { font-size: 19px; }
.sfd-tab:hover { color: rgba(255,255,255,0.85); }
.sfd-tab.is-active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,106,43,0.3);
}

/* Zona para arrastrar / subir el documento TDR */
.sfd-dropzone {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 28px 20px;
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}
.sfd-dropzone:hover,
.sfd-dropzone.is-dragover {
  border-color: var(--orange);
  background: rgba(255,106,43,0.08);
}
.sfd-dropzone.has-file {
  min-height: auto;
  padding: 18px 20px;
  border-style: solid;
  border-color: rgba(26,199,190,0.6);
  background: rgba(26,199,190,0.08);
}
.sfd-dz-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sfd-dz-icon { font-size: 42px; color: var(--orange); }
.sfd-dz-title {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
}
.sfd-dz-hint {
  margin: 0;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}
.sfd-dz-file {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.sfd-dz-fileicon { font-size: 26px; color: var(--teal); flex-shrink: 0; }
.sfd-dz-filename {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  word-break: break-all;
}
.sfd-dz-remove {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.sfd-dz-remove:hover { background: rgba(227,51,51,0.85); }

/* Resultado inline */
.sfd-inline-result-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.sfd-inline-result-inner .sfd-result-hero { border-radius: var(--radius); }

.sfd-reset-row {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

/* ══════════════════════════════════════════════
   MINI FORMULARIO DE CONTACTO (post-estimación)
══════════════════════════════════════════════ */
.sfd-mini-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

/* Widget: fondo sutil */
#sfd-result-area .sfd-mini-contact {
  background: rgba(12,27,42,0.04);
  border: 1.5px solid rgba(255,106,43,0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 16px;
  border-top: none;
}

/* Inline: fondo ligeramente diferente */
.sfd-inline-result-inner .sfd-mini-contact {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
  border-top: none;
}

.sfd-mc-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.sfd-mc-divider::before,
.sfd-mc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.sfd-mc-divider span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}

.sfd-mc-form { display: flex; flex-direction: column; gap: 10px; }

.sfd-mc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sfd-mc-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--graphite);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.sfd-mc-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,106,43,0.12);
}
.sfd-mc-email { width: 100%; }

.sfd-mc-error {
  font-size: 0.82rem;
  color: #dc3545;
  min-height: 16px;
  margin: 0;
  max-width: none;
}

.sfd-mc-submit {
  width: 100%;
  padding: 14px 20px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.sfd-mc-submit:hover:not(:disabled) {
  background: var(--orange-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,106,43,0.3);
}
.sfd-mc-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.sfd-mc-note {
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  max-width: none;
  margin: 0;
}

/* Estado éxito */
.sfd-mc-success {
  text-align: center;
  padding: 32px 20px;
}
.sfd-mc-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(26,199,190,0.12);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  color: var(--teal);
}
.sfd-mc-success h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.sfd-mc-success p {
  font-size: 0.92rem;
  color: #555;
  max-width: none;
}

/* ── RESPONSIVE: mini form ── */
@media (max-width: 480px) {
  .sfd-mc-row { grid-template-columns: 1fr; }
  .sfd-inline-result-inner { padding: 20px 16px; }
}

/* ── CHAT WIDGET ── */
#sfd-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Floating button */
#sfd-chat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 16px;
  height: 52px;
  border-radius: 100px;
  background: var(--orange);
  border: none;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(255,106,43,0.45);
  transition: all var(--transition);
  white-space: nowrap;
}
#sfd-chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,106,43,0.55);
}
#sfd-chat-btn.open {
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.sfd-icon-open  { transition: var(--transition); flex-shrink: 0; }
.sfd-icon-close { display: none; flex-shrink: 0; }
#sfd-chat-btn.open .sfd-icon-open  { display: none; }
#sfd-chat-btn.open .sfd-icon-close { display: block; }

.sfd-btn-label { pointer-events: none; }

/* Panel */
#sfd-chat-panel {
  width: 390px;
  max-height: 82vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
#sfd-chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Panel header */
.sfd-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--navy);
  flex-shrink: 0;
}

.sfd-panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sfd-panel-chevron {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.sfd-panel-title strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.sfd-panel-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.08em;
}

#sfd-chat-close {
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}
#sfd-chat-close:hover { background: rgba(255,255,255,0.16); }

/* Panel body */
.sfd-panel-body {
  overflow-y: auto;
  flex: 1;
  padding: 20px;
}

.sfd-intro {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 14px;
  line-height: 1.55;
  max-width: none;
}

/* Input area */
#sfd-project-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--graphite);
  resize: vertical;
  min-height: 130px;
  max-height: 220px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  line-height: 1.55;
}
#sfd-project-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,106,43,0.12);
}

.sfd-error {
  font-size: 0.82rem;
  color: #dc3545;
  margin: 6px 0 0;
  min-height: 18px;
}

.sfd-submit-btn {
  width: 100%;
  margin-top: 12px;
  padding: 13px 20px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sfd-submit-btn:hover:not(:disabled) {
  background: var(--orange-dk);
  transform: translateY(-1px);
}
.sfd-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Spinner */
.sfd-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sfd-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes sfd-spin { to { transform: rotate(360deg); } }

/* ── RESULT AREA ── */
#sfd-result-area { padding-top: 4px; }

.sfd-result-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
}

.sfd-result-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}

.sfd-result-lbl {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.sfd-size-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
}

.sfd-proj-type {
  font-size: 0.8rem;
  color: var(--teal);
  margin-top: 6px;
  font-family: var(--font-mono);
}

/* Metrics row */
.sfd-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.sfd-metric { flex: 1; text-align: center; }

.sfd-m-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.sfd-m-price { font-size: 1rem; }

.sfd-m-lbl {
  display: block;
  font-size: 0.75rem;
  color: #777;
  margin-top: 2px;
}

.sfd-metric-sep {
  width: 1px;
  height: 36px;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}

/* Plan badge */
.sfd-plan-badge {
  font-size: 0.83rem;
  color: #555;
  background: rgba(255,106,43,0.08);
  border: 1px solid rgba(255,106,43,0.2);
  border-radius: var(--radius);
  padding: 8px 14px;
  margin-bottom: 14px;
}
.sfd-plan-badge span {
  font-weight: 700;
  color: var(--orange);
}

/* Features list */
.sfd-features-block { margin-bottom: 12px; }

.sfd-features-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  max-width: none;
}

.sfd-features-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 160px;
  overflow-y: auto;
  padding-right: 4px;
}

.sfd-features-ul li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.4;
}

.sfd-fnum {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  width: 16px;
}

/* Notes */
.sfd-notes {
  font-size: 0.82rem;
  color: #666;
  background: rgba(26,199,190,0.07);
  border-left: 3px solid var(--teal);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
  max-width: none;
  line-height: 1.5;
}

/* Result footer */
.sfd-result-footer {
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 16px;
  text-align: center;
}

.sfd-result-footer p {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 12px;
  max-width: none;
}

.sfd-cta-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition);
  margin-bottom: 10px;
}
.sfd-cta-btn:hover {
  background: var(--orange-dk);
  transform: translateY(-1px);
  color: var(--white);
}

.sfd-reset-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  color: #888;
  transition: color var(--transition);
  padding: 4px 0;
}
.sfd-reset-btn:hover { color: var(--navy); }

/* ── RESPONSIVE: chat widget ── */
@media (max-width: 480px) {
  #sfd-chat-btn { padding: 0 14px; height: 48px; font-size: 0.88rem; }
  .sfd-btn-label { display: none; }
  #sfd-chat-btn { width: 48px; border-radius: 50%; padding: 0; justify-content: center; }

  #sfd-chat-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  #sfd-chat-widget {
    bottom: 16px;
    right: 16px;
  }
}

/* ── VARIABLES & RESET ── */
:root {
  --navy:    #0C1B2A;
  --orange:  #FF6A2B;
  --teal:    #1AC7BE;
  --paper:   #EAE6DC;
  --graphite:#1A1A1A;
  --white:   #FFFFFF;
  --navy-lt: #14263A;
  --orange-dk:#e05820;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body:    'Instrument Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --container:    1160px;
  --radius:       8px;
  --radius-lg:    16px;
  --transition:   0.25s ease;
  --shadow:       0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; font-weight: 700; }

p { max-width: 64ch; }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.text-orange { color: var(--orange); }
.text-teal   { color: var(--teal); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.mono        { font-family: var(--font-mono); font-size: 0.85em; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,106,43,0.35);
}

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

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.btn-teal:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }

.nav-logo-mark { display: block; width: 40px; height: 40px; flex-shrink: 0; }

.nav-logo-wordmark {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-logo-wordmark strong {
  display: block;
  color: var(--white);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

/* legacy, kept for fallback */
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-chevron { color: var(--orange); }

.main-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta { flex-shrink: 0; font-size: 0.9rem; padding: 10px 20px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE OFFSET ── */
body { padding-top: 68px; }

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }

.bg-navy   { background: var(--navy); color: var(--white); }
.bg-paper  { background: var(--paper); }
.bg-white  { background: var(--white); }
.bg-orange { background: var(--orange); color: var(--white); }
.bg-teal   { background: var(--teal); color: var(--navy); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}
.bg-navy .section-label { color: var(--teal); }

.section-header { margin-bottom: 56px; }
.section-header p {
  margin-top: 16px;
  font-size: 1.15rem;
  opacity: 0.8;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: 100px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '>>';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 28rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,106,43,0.15);
  border: 1px solid rgba(255,106,43,0.3);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 900;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 50ch;
}

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

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.hero-trust-item::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.delivery-card {
  background: var(--navy-lt);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.delivery-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.delivery-card-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.1em;
}

.delivery-badge {
  background: rgba(26,199,190,0.15);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(26,199,190,0.3);
}

.delivery-week {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-day {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
}
.delivery-day:hover { background: rgba(255,255,255,0.06); }

.day-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--orange);
  width: 28px;
  flex-shrink: 0;
}

.day-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.day-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.day-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  width: 100px;
  text-align: right;
  flex-shrink: 0;
}

.delivery-result {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(255,106,43,0.1);
  border: 1px solid rgba(255,106,43,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
}

.delivery-result-icon {
  font-size: 1.4rem;
}

.delivery-result-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.delivery-result-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}

/* ══════════════════════════════════════════════
   TECH STACK — Infinite Marquee
══════════════════════════════════════════════ */
.stack-section {
  padding: 80px 0 64px;
  background: var(--paper);
  overflow: hidden;
}

.stack-header {
  margin-bottom: 52px;
}
.stack-header p {
  font-size: 1.05rem;
  color: #555;
  margin: 14px auto 0;
}

/* Marquee track — mask fade on edges */
.marquee-track {
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
.marquee-track + .marquee-track { margin-top: 12px; }

/* Inner belt */
.marquee-inner {
  display: inline-flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}

/* Animations */
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.marquee-left  { animation: marquee-left  42s linear infinite; }
.marquee-right { animation: marquee-right 42s linear infinite; }

/* Pause on hover */
.stack-section:hover .marquee-inner { animation-play-state: paused; }

/* ── Tech chip ── */
.tech-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 12px;
  min-width: 86px;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  cursor: default;
  user-select: none;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tech-chip:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 18px rgba(255,106,43,0.14);
  transform: translateY(-4px) scale(1.04);
}

.tech-chip i {
  font-size: 34px;
  line-height: 1;
  display: block;
}

.tech-chip span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--graphite);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Simple Icons inside chips */
.tech-chip img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Dark-logo corrections */
.devicon-github-original { color: #1a1a1a !important; }
.devicon-nextjs-original { color: #000 !important; }
.devicon-ansible-original { color: #EE0000 !important; }

/* Stack footer note */
.stack-footer {
  margin-top: 40px;
  text-align: center;
}
.stack-footer p {
  font-size: 0.9rem;
  color: #888;
  max-width: none;
}
.stack-footer a {
  color: var(--orange);
  font-weight: 600;
  transition: var(--transition);
}
.stack-footer a:hover { color: var(--orange-dk); }

/* ── MATERIAL SYMBOLS — global settings ── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  font-size: inherit;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* ── PAIN POINTS ── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pain-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pain-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,106,43,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}
.pain-card:hover .pain-icon { transform: scale(1.08); }

.pain-icon .material-symbols-outlined {
  font-size: 26px;
  color: var(--orange);
}

.pain-icon--teal {
  background: rgba(26,199,190,0.09);
}
.pain-icon--teal .material-symbols-outlined {
  color: var(--teal);
}

.pain-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.pain-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  max-width: none;
}

/* ── HOW IT WORKS / WEEK ── */
.week-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.week-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  z-index: 0;
}

.week-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.week-step-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 600;
  flex-shrink: 0;
}

.week-step:nth-child(2) .week-step-dot { border-color: var(--teal); color: var(--teal); }
.week-step:nth-child(3) .week-step-dot { border-color: var(--teal); color: var(--teal); }
.week-step:nth-child(4) .week-step-dot { border-color: var(--teal); color: var(--teal); }
.week-step:nth-child(5) .week-step-dot { border-color: var(--orange); color: var(--orange); background: rgba(255,106,43,0.15); }

/* 6th step — siguiente lunes: revisión con cliente */
.week-step:nth-child(6) .week-step-dot {
  border-color: var(--orange);
  border-style: dashed;
  color: var(--orange);
  background: rgba(255,106,43,0.08);
}
.week-step:nth-child(6) h4 { color: var(--orange); }
.week-step--loop-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: rgba(255,106,43,0.12);
  border: 1px solid rgba(255,106,43,0.25);
  border-radius: 100px;
  padding: 2px 8px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.week-step--loop-tag .material-symbols-outlined { font-size: 11px; }

.week-step h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.week-step p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  max-width: none;
}

/* ── PRINCIPLES ── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.principle-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.principle-card:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.principle-card:nth-child(even) { border-left-color: var(--teal); }

.principle-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.principle-card:nth-child(even) .principle-num { color: var(--teal); }

.principle-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 0.92rem;
  color: #555;
  max-width: none;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
  /* Prevent color inheritance from dark parent sections */
  color: var(--navy);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--orange);
  border-width: 2px;
  background: var(--navy);
  color: var(--white);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--navy);
}
.featured .pricing-name { color: var(--white); }

.pricing-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 28px;
  max-width: none;
}
.featured .pricing-desc { color: rgba(255,255,255,0.6); }

.pricing-price {
  margin-bottom: 8px;
}

.price-main {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.featured .price-main { color: var(--orange); }

.price-period {
  font-size: 0.85rem;
  color: #888;
  display: block;
  margin-top: 4px;
}
.featured .price-period { color: rgba(255,255,255,0.5); }

.price-usd {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--teal);
  margin-bottom: 28px;
  display: block;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.featured .pricing-features li { color: rgba(255,255,255,0.85); }

.pricing-card .btn { width: 100%; justify-content: center; }

.pricing-free {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  border: 1px dashed rgba(0,0,0,0.15);
  border-radius: var(--radius-lg);
}
.bg-navy .pricing-free { border-color: rgba(255,255,255,0.1); }
.pricing-free p { font-size: 1rem; max-width: none; }

/* ── FOUNDER ── */
.founder-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}

.founder-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--orange);
  flex-shrink: 0;
  overflow: hidden;
}

.founder-name {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.founder-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--orange);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  display: block;
}

.founder-bio {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 60ch;
}

.founder-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--orange);
  padding: 72px 0;
  text-align: center;
}

.cta-strip h2 { color: var(--white); margin-bottom: 16px; }
.cta-strip p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin: 0 auto 36px; }

.cta-strip-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 16px; color: var(--navy); }
.contact-info p  { color: #555; font-size: 0.98rem; margin-bottom: 32px; }

.contact-methods { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
.contact-method:hover { border-color: var(--orange); }

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-method-label {
  font-size: 0.78rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.contact-method-value {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

/* ── CONTACT FORM ── */
.contact-form { background: var(--white); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--graphite);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,106,43,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(26,199,190,0.1);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 0.95rem;
  margin-top: 16px;
}

/* ── RESOURCES ── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.resource-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.resource-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.resource-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.resource-card-body { padding: 24px; }

.resource-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}

.resource-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.resource-card p {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 16px;
  max-width: none;
}

.resource-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.resource-link:hover { gap: 10px; }

/* ── FAST DELIVERY PAGE ── */
.method-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  padding: 28px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card:nth-child(2) { border-top-color: var(--teal); }
.team-card:nth-child(3) { border-top-color: var(--navy); }

.team-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.team-card:hover .team-card-icon { transform: scale(1.06); }

.team-card-icon .material-symbols-outlined {
  font-size: 28px;
  color: var(--orange);
}
.team-card-icon--teal .material-symbols-outlined { color: var(--teal); }
.team-card-icon--white .material-symbols-outlined { color: var(--paper); }
.team-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.team-card p  { font-size: 0.85rem; color: #666; max-width: none; }

/* ── HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin: 0 auto; }

.hero-use-cases {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-use-case {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 420px;
  text-align: left;
}
.hero-use-case .material-symbols-outlined {
  font-size: 28px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-use-case p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.55;
}
.hero-use-case p strong { color: var(--white); }

/* ── STATS ROW ── */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 56px 0;
}

.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  display: block;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0;
}
.bg-navy .divider,
.divider-dark { background: rgba(255,255,255,0.07); }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: none;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-social a:hover { color: var(--orange); }

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  max-width: none;
}

/* ── PAGE CONTENT ── */
.page-content {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}
.page-title {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 32px;
}

/* ── UTILITIES ── */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16      { gap: 16px; }
.gap-24      { gap: 24px; }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mt-24       { margin-top: 24px; }
.mt-32       { margin-top: 32px; }
.mt-48       { margin-top: 48px; }
.mb-8        { margin-bottom: 8px; }
.mb-16       { margin-bottom: 16px; }
.mb-24       { margin-bottom: 24px; }
.mb-32       { margin-bottom: 32px; }
.mb-48       { margin-bottom: 48px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner         { grid-template-columns: 1fr; }
  .hero-visual        { display: none; }
  .pricing-grid       { grid-template-columns: 1fr 1fr; }
  .week-grid          { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .week-grid::before  { display: none; }
  .method-section-grid{ grid-template-columns: 1fr; gap: 48px; }
  .contact-grid       { grid-template-columns: 1fr; }
  .founder-grid       { grid-template-columns: 1fr; text-align: center; }
  .founder-avatar     { margin: 0 auto; }
  .founder-bio        { max-width: none; }
  .founder-certs      { justify-content: center; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }
  .main-nav.open { display: block; }
  .nav-list       { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-list a     { font-size: 1.1rem; padding: 10px 14px; display: block; width: 100%; }
  .nav-cta        { display: none; }
  .header-inner   { gap: 0; }

  .pain-grid        { grid-template-columns: 1fr; }
  .pricing-grid     { grid-template-columns: 1fr; }
  .principles-grid  { grid-template-columns: 1fr; }
  .week-grid        { grid-template-columns: 1fr 1fr; }
  .team-cards       { grid-template-columns: 1fr; }
  .resources-grid   { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; gap: 40px; }
  .footer-links     { grid-template-columns: 1fr 1fr; }
  .form-row         { grid-template-columns: 1fr; }

  .section     { padding: 64px 0; }
  .section-lg  { padding: 80px 0; }
  .hero        { padding: 64px 0; }
}

@media (max-width: 480px) {
  .week-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 32px; }
  .hero-ctas { flex-direction: column; }
  .cta-strip-buttons { flex-direction: column; align-items: center; }
}

/* ════════════════════════════════════════
   APLÍCALO — page styles
════════════════════════════════════════ */

/* Hero badge */
.aplicalo-hero-sub { max-width: 620px; margin: 0 auto 28px; }
.aplicalo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,106,43,0.15);
  border: 1px solid rgba(255,106,43,0.35);
  border-radius: 100px;
  padding: 10px 22px;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 8px;
}
.aplicalo-hero-badge .material-symbols-outlined { font-size: 20px; }

/* Symptom grid */
.aplicalo-symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.symptom-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.symptom-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.symptom-card h3 { font-size: 1rem; color: var(--navy); margin: 0 0 10px; }
.symptom-card p  { font-size: 0.875rem; color: #555; max-width: none; }

/* Phases */
.aplicalo-phases {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.aplicalo-phase {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 32px;
}
.phase-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 4px;
}
.phase-week {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.phase-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--orange), var(--teal));
  margin: 10px 0;
  min-height: 40px;
}
.aplicalo-phase:last-child .phase-line { display: none; }

.phase-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.aplicalo-phase:nth-child(even) .phase-content { border-left-color: var(--teal); }

.phase-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phase-icon-orange { background: rgba(255,106,43,0.10); }
.phase-icon-orange .material-symbols-outlined { color: var(--orange); font-size: 26px; }
.phase-icon-teal   { background: rgba(26,199,190,0.10); }
.phase-icon-teal   .material-symbols-outlined { color: var(--teal); font-size: 26px; }

.phase-content h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.phase-content > div > p { font-size: 0.9rem; color: #555; max-width: none; margin-bottom: 14px; }

.phase-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phase-includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  color: #444;
}
.phase-includes .material-symbols-outlined {
  font-size: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

/* Compare */
.aplicalo-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 48px;
}
.compare-col {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.compare-before {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}
.compare-after {
  background: rgba(26,199,190,0.10);
  border: 1px solid rgba(26,199,190,0.25);
}
.compare-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.compare-before .compare-header { color: rgba(255,255,255,0.45); }
.compare-before .compare-header .material-symbols-outlined { color: rgba(255,255,255,0.3); }
.compare-after  .compare-header { color: var(--teal); }
.compare-after  .compare-header .material-symbols-outlined { color: var(--teal); }
.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare-before li { color: rgba(255,255,255,0.50); font-size: 0.875rem; padding-left: 12px; border-left: 2px solid rgba(255,255,255,0.12); }
.compare-after  li { color: rgba(255,255,255,0.85); font-size: 0.875rem; padding-left: 12px; border-left: 2px solid var(--teal); }
.compare-arrow { color: var(--orange); font-size: 2.5rem; display: flex; align-items: center; }
.compare-arrow .material-symbols-outlined { font-size: 40px; }

/* Deliverables */
.aplicalo-deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.deliverable-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.deliverable-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.deliverable-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(12,27,42,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.deliverable-icon .material-symbols-outlined { font-size: 24px; color: var(--navy); }
.deliverable-card h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; }
.deliverable-card p  { font-size: 0.85rem; color: #666; max-width: none; }

/* Responsive */
@media (max-width: 900px) {
  .aplicalo-symptom-grid  { grid-template-columns: 1fr; }
  .aplicalo-deliverables  { grid-template-columns: 1fr 1fr; }
  .aplicalo-compare       { grid-template-columns: 1fr; }
  .compare-arrow          { display: none; }
  .aplicalo-phase         { grid-template-columns: 90px 1fr; }
}
@media (max-width: 600px) {
  .aplicalo-deliverables  { grid-template-columns: 1fr; }
  .aplicalo-phase         { grid-template-columns: 1fr; }
  .phase-marker           { flex-direction: row; align-items: center; margin-bottom: 10px; }
  .phase-line             { display: none; }
  .phase-content          { flex-direction: column; }
}

/* ════════════════════════════════════════
   RECURSOS — page styles
════════════════════════════════════════ */

/* Hero */
.recursos-hero {
  background: var(--navy);
  padding: 80px 0 64px;
  text-align: center;
}
.recursos-hero h1 { color: var(--white); margin-bottom: 16px; line-height: 1.1; }
.recursos-hero > .container > p { color: rgba(255,255,255,0.62); font-size: 1.1rem; max-width: 560px; margin: 0 auto 40px; }

/* Category pills */
.recursos-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.recursos-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--transition);
}
.recursos-pill .material-symbols-outlined { font-size: 16px; }
.recursos-pill--orange {
  background: rgba(255,106,43,0.12);
  border-color: rgba(255,106,43,0.30);
  color: var(--orange);
}
.recursos-pill--orange:hover { background: rgba(255,106,43,0.22); color: var(--orange); }
.recursos-pill--teal {
  background: rgba(26,199,190,0.12);
  border-color: rgba(26,199,190,0.30);
  color: var(--teal);
}
.recursos-pill--teal:hover { background: rgba(26,199,190,0.22); color: var(--teal); }

/* Ticker */
.recursos-ticker {
  display: flex;
  align-items: center;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  height: 44px;
}
.ticker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.10);
  height: 100%;
  flex-shrink: 0;
}
.ticker-label .material-symbols-outlined { font-size: 16px; }
.ticker-track-wrap {
  overflow: hidden;
  flex: 1;
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* Category section header */
.recursos-seccion { scroll-margin-top: 80px; }

.recursos-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.recursos-cat-accent {
  display: block;
  width: 4px;
  height: 36px;
  border-radius: 4px;
  flex-shrink: 0;
}
.recursos-cat-accent--orange { background: var(--orange); }
.recursos-cat-accent--teal   { background: var(--teal); }

.recursos-cat-icon {
  font-size: 26px;
  flex-shrink: 0;
}
.recursos-cat-icon--orange { color: var(--orange); }
.recursos-cat-icon--teal   { color: var(--teal); }

.recursos-cat-title {
  font-size: 1.45rem;
  color: var(--navy);
  margin: 0;
}

/* Cards grid */
.recursos-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.recursos-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.recursos-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.recursos-card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.recursos-card--soon { opacity: 0.72; }
.recursos-card--soon:hover { transform: none; box-shadow: var(--shadow); }

.recursos-soon-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #999;
  background: #f0f0f0;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
}

.recursos-link-soon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: #bbb;
  margin-top: auto;
}
.recursos-link-soon .material-symbols-outlined { font-size: 16px; }

.recursos-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.recursos-badge .material-symbols-outlined { font-size: 13px; }
.recursos-badge--orange { background: rgba(255,106,43,0.10); color: var(--orange); }
.recursos-badge--teal   { background: rgba(26,199,190,0.10); color: var(--teal); }

.recursos-card h3 {
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
}
.recursos-card p {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
  flex: 1;
  max-width: none;
}
.recursos-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s;
}
.recursos-link:hover { gap: 8px; }
.recursos-link .material-symbols-outlined { font-size: 16px; }

/* Responsive */
@media (max-width: 900px) {
  .recursos-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .recursos-cards-grid { grid-template-columns: 1fr; }
  .recursos-pills { gap: 8px; }
}

/* ════════════════════════════════════════
   SINGLE ARTICLE — blog post styles
════════════════════════════════════════ */

/* Article hero */
.article-hero {
  background: var(--navy);
  padding: 64px 0 48px;
}
.article-cat-badge {
  display: inline-block;
  background: rgba(255,106,43,0.15);
  border: 1px solid rgba(255,106,43,0.30);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.article-hero h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 760px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.50);
}
.article-meta .material-symbols-outlined { font-size: 16px; }

/* Layout: content + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

/* Prose content */
.article-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #2a2a2a;
  max-width: none;
}
.article-content h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 40px 0 14px;
  padding-top: 8px;
  border-top: 2px solid var(--orange);
  display: inline-block;
  padding-right: 8px;
}
.article-content h3 { font-size: 1.1rem; color: var(--navy); margin: 28px 0 10px; }
.article-content p  { margin-bottom: 18px; }
.article-content ul, .article-content ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  margin: 28px 0;
  background: rgba(255,106,43,0.05);
  border-radius: 0 8px 8px 0;
}
.article-content blockquote p {
  margin: 0;
  font-style: italic;
  color: #444;
}
.article-content strong { color: var(--navy); }

/* Inline CTA boxes */
.article-inline-cta {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(12,27,42,0.04);
  border: 1px solid rgba(12,27,42,0.10);
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
  margin: 28px 0;
}
.article-inline-cta .material-symbols-outlined {
  font-size: 24px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.article-inline-cta div { font-size: 0.88rem; }
.article-inline-cta strong { display: block; color: var(--navy); margin-bottom: 4px; }
.article-inline-cta a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}
.article-inline-cta a:hover { text-decoration: underline; }

/* Sidebar */
.article-sidebar { position: sticky; top: 100px; }

.article-cta-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
}
.article-cta-icon {
  font-size: 32px;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
}
.article-cta-box h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.article-cta-box p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.60);
  margin-bottom: 20px;
  max-width: none;
}

.article-sidebar-links {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}
.article-sidebar-links h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 14px;
}
.article-sidebar-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-sidebar-links li a {
  font-size: 0.83rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s;
}
.article-sidebar-links li a:hover { color: var(--orange); }

/* Final CTA */
.article-final-cta {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}
.article-final-cta h2 { color: var(--white); margin-bottom: 14px; }
.article-final-cta p  { color: rgba(255,255,255,0.62); max-width: 540px; margin: 0 auto 32px; }

/* Responsive */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 580px) {
  .article-hero { padding: 48px 0 36px; }
}

/* ════════════════════════════════════════
   ANIMATIONS & MOTION  v2.0
════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes sfd-slide-down {
  from { opacity: 0; transform: translateY(-22px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes sfd-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sfd-slide-in-right {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes sfd-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-13px); }
}
@keyframes sfd-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0   rgba(26,199,190,0.45); }
  60%       { box-shadow: 0 0 0 8px rgba(26,199,190,0);    }
}
@keyframes sfd-count-in {
  0%   { opacity: 0; transform: translateY(10px) scale(0.82); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    }
}
@keyframes sfd-shimmer-label {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ── Hero entrance (immediate, CSS-only) ── */
.hero-badge {
  animation: sfd-slide-down 0.65s cubic-bezier(0.34,1.56,0.64,1) 0.08s both;
}
.hero-content h1 {
  animation: sfd-fade-up 0.85s cubic-bezier(0.22,1,0.36,1) 0.26s both;
}
.hero-subtitle {
  animation: sfd-fade-up 0.8s cubic-bezier(0.22,1,0.36,1) 0.43s both;
}
.hero-ctas {
  animation: sfd-fade-up 0.8s cubic-bezier(0.22,1,0.36,1) 0.59s both;
}
.hero-trust {
  animation: sfd-fade-up 0.7s ease 0.75s both;
}
.hero-visual {
  animation: sfd-slide-in-right 0.9s cubic-bezier(0.22,1,0.36,1) 0.36s both;
  perspective: 1100px;
}

/* ── Delivery card: float wrapper (added by JS) ── */
.delivery-float-wrap {
  animation: sfd-float 5s ease-in-out 1.4s infinite;
}

/* ── Delivery card: 3D tilt target ── */
.delivery-card {
  transform-style: preserve-3d;
  transition: transform 0.16s ease-out !important;
}

/* ── Delivery badge: pulse ── */
.delivery-badge {
  animation: sfd-pulse-glow 2.4s ease infinite;
}

/* ── Section label: shimmer gradient ── */
.section-label {
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    #ffb570      40%,
    var(--orange) 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--orange); /* fallback */
  animation: sfd-shimmer-label 3s linear infinite;
}
.bg-navy .section-label {
  background: linear-gradient(90deg, var(--teal) 0%, #6ef5ef 40%, var(--teal) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sfd-shimmer-label 3s linear infinite;
}

/* ── Scroll reveal classes (added by JS) ── */
.sfd-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity  0.65s cubic-bezier(0.22,1,0.36,1) var(--d, 0ms),
    transform 0.65s cubic-bezier(0.22,1,0.36,1) var(--d, 0ms);
}
.sfd-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity  0.65s cubic-bezier(0.22,1,0.36,1) var(--d, 0ms),
    transform 0.65s cubic-bezier(0.22,1,0.36,1) var(--d, 0ms);
}
.sfd-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity  0.65s cubic-bezier(0.22,1,0.36,1) var(--d, 0ms),
    transform 0.65s cubic-bezier(0.22,1,0.36,1) var(--d, 0ms);
}
.sfd-reveal.is-visible,
.sfd-reveal-left.is-visible,
.sfd-reveal-right.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Stat counter pop ── */
.stat-num.counting {
  animation: sfd-count-in 0.55s cubic-bezier(0.34,1.56,0.64,1) both;
}

/* ── Enhanced hover effects ── */
.pain-icon {
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.pain-card:hover .pain-icon {
  transform: scale(1.14) rotate(-5deg);
}

.principle-num {
  display: block;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1),
              color 0.2s ease;
}
.principle-card:hover .principle-num {
  transform: scale(1.12) translateX(4px);
  color: var(--orange);
}

.btn:not(.nav-cta) {
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1),
              background-color 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease !important;
}
.btn:not(.nav-cta):hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}
.btn:active {
  transform: translateY(0) scale(0.97) !important;
  transition-duration: 0.08s !important;
}

/* team card icon bounce */
.team-card-icon {
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.team-card:hover .team-card-icon {
  transform: scale(1.1) rotate(3deg);
}

/* Hero visual glint line */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.025) 50%,
    transparent 60%
  );
  animation: sfd-glint 8s ease-in-out 2s infinite;
  pointer-events: none;
}
@keyframes sfd-glint {
  0%   { left: -60%; opacity: 0; }
  10%  { opacity: 1; }
  40%  { left: 120%; opacity: 0; }
  100% { left: 120%; opacity: 0; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero-content h1, .hero-subtitle,
  .hero-ctas, .hero-trust, .hero-visual,
  .delivery-float-wrap, .delivery-badge,
  .section-label, .bg-navy .section-label,
  .hero::after { animation: none !important; }

  .sfd-reveal, .sfd-reveal-left, .sfd-reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .section-label, .bg-navy .section-label {
    -webkit-text-fill-color: unset;
    background: none;
    color: var(--orange);
  }
  .bg-navy .section-label { color: var(--teal); }
}

/* ════════════════════════════════════════
   ¿PARA QUIÉN? — section
════════════════════════════════════════ */
.para-quien-section .section-header { margin-bottom: 48px; }

.para-quien-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pq-card {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 12px rgba(12,27,42,0.06);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.pq-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  border-radius: 18px 18px 0 0;
}
.pq-card--featured::before { background: var(--teal); }
.pq-card:last-child::before { background: var(--navy); }
.pq-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(12,27,42,0.12);
}

/* Icon */
.pq-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.pq-icon--orange { background: rgba(255,106,43,0.10); }
.pq-icon--orange .material-symbols-outlined { color: var(--orange); font-size: 28px; }
.pq-icon--teal   { background: rgba(26,199,190,0.10); }
.pq-icon--teal   .material-symbols-outlined { color: var(--teal);   font-size: 28px; }
.pq-icon--navy   { background: rgba(12,27,42,0.07); }
.pq-icon--navy   .material-symbols-outlined { color: var(--navy);   font-size: 28px; }

/* Persona label */
.pq-persona {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  line-height: 1.2;
  display: block;
}
.pq-card--featured .pq-persona { color: var(--teal); }
.pq-card:last-child .pq-persona { color: var(--navy); }

/* Title */
.pq-card h3 {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-weight: 700;
}

/* Description */
.pq-card p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  max-width: none;
}

/* CTA */
.pq-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pq-cta .btn {
  justify-content: center;
  font-size: 0.9rem;
  padding: 13px 20px;
}
.pq-cta .btn .material-symbols-outlined { font-size: 18px; }

.pq-hint {
  text-align: center;
  font-size: 0.72rem;
  color: #aaa;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* Responsive */
@media (max-width: 900px) {
  .para-quien-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .para-quien-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .pq-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; width: 100%; }
}
