/* ==========================================================================
   NETBULB · Componentes de páginas de servicio
   Arquitectura unificada · v1
   ========================================================================== */

/* ---------- Layout base de servicio ---------- */
.svc-section {
  padding-block: clamp(var(--sp-7), 6vw, var(--sp-9));
  position: relative;
}
.svc-section--alt { background: var(--paper-2); }
.svc-section--dark {
  background: linear-gradient(135deg, #0f4c7a 0%, #1468a3 100%);
  color: #fff;
}
.svc-section--dark h2, .svc-section--dark h3 { color: #fff; }

.svc-section__head {
  max-width: 760px;
  margin: 0 auto var(--sp-6);
  text-align: center;
}
.svc-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 var(--sp-3);
}
.svc-section__head .eyebrow {
  display: inline-block;
  margin-bottom: var(--sp-3);
}
.svc-section__head p {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.svc-section--dark .svc-section__head p { color: rgba(255,255,255,.85); }

/* ---------- Sección 02 · Una frase ---------- */
.svc-one-phrase {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.2rem);
  font-weight: 500;
  line-height: 1.25;
  max-width: 32ch;
  margin: 0 auto;
  color: var(--ink-100);
}
.svc-one-phrase em {
  font-style: normal;
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}

/* ---------- Sección 03 · Para quién sí/no ---------- */
.svc-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.svc-fit__col {
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--white);
}
.svc-fit__col--no {
  background: var(--paper);
  border-color: var(--border-soft);
}
.svc-fit__col h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-lg);
  font-weight: 600;
  margin: 0 0 var(--sp-3);
}
.svc-fit__col--yes h3 { color: #047857; }
.svc-fit__col--yes h3::before {
  content: "✓";
  display: grid; place-items: center;
  width: 28px; height: 28px;
  background: #047857; color: #fff;
  border-radius: 50%;
  font-weight: 700;
}
.svc-fit__col--no h3 { color: #B91C1C; }
.svc-fit__col--no h3::before {
  content: "✕";
  display: grid; place-items: center;
  width: 28px; height: 28px;
  background: #B91C1C; color: #fff;
  border-radius: 50%;
  font-weight: 700;
}
.svc-fit__col ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: var(--fs-base);
  line-height: 1.7;
}
.svc-fit__col li { margin-bottom: 6px; }
@media (max-width: 720px) {
  .svc-fit { grid-template-columns: 1fr; }
}

/* ---------- Sección 04 · Entregables ---------- */
.svc-deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 860px) { .svc-deliverables { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-deliverables { grid-template-columns: 1fr; } }
.svc-deliverable {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  gap: 8px;
}
.svc-deliverable__icon {
  width: 40px; height: 40px;
  color: var(--accent);
}
.svc-deliverable__icon svg { width: 100%; height: 100%; }
.svc-deliverable h4 { font-size: var(--fs-base); font-weight: 600; margin: 0; }
.svc-deliverable p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ---------- Sección 05 · Proceso ---------- */
.svc-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
  max-width: 1200px;
  margin: 0 auto;
  counter-reset: step;
}
@media (max-width: 980px) { .svc-process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .svc-process { grid-template-columns: 1fr; } }
.svc-process__step {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  counter-increment: step;
}
.svc-process__step::before {
  content: "F·0" counter(step);
  position: absolute;
  top: -14px; left: 18px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 999px;
}
.svc-process__step h4 { font-size: var(--fs-base); font-weight: 600; margin: 0 0 6px; }
.svc-process__step p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ---------- Sección 06 · Métricas / Resultados ---------- */
.svc-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 760px) { .svc-metrics { grid-template-columns: repeat(2, 1fr); } }
.svc-metric {
  text-align: center;
}
.svc-metric__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.svc-metric__label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xxs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ---------- Sección 07 · Casos reales ---------- */
.svc-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 860px) { .svc-cases { grid-template-columns: 1fr; } }
.svc-case {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: grid;
  gap: 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.svc-case:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.svc-case__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
}
.svc-case__challenge { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.svc-case__result {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

/* ---------- Sección 08 · Equipo ---------- */
.svc-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-5);
  max-width: 900px;
  margin: 0 auto;
}
.svc-team__person { text-align: center; }
.svc-team__avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto var(--sp-3);
  background: var(--accent-soft);
  border: 3px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  overflow: hidden;
}
.svc-team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.svc-team__name { font-weight: 600; margin: 0 0 4px; }
.svc-team__role {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0 0 8px;
}
.svc-team__linkedin {
  font-size: var(--fs-xxs);
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

/* ---------- Sección 09 · Herramientas ---------- */
.svc-tools-strip {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-4);
  max-width: 900px; margin: 0 auto;
  filter: grayscale(1) opacity(.6);
  transition: filter .3s ease;
}
.svc-tools-strip:hover { filter: grayscale(0) opacity(1); }
.svc-tools-strip img,
.svc-tools-strip svg {
  height: 32px;
  width: auto;
}

/* ---------- Sección 10 · Sectores ---------- */
.svc-sectors {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  max-width: 800px; margin: 0 auto;
}
.svc-sectors span {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-xxs);
  letter-spacing: .08em;
  color: var(--ink-100);
  transition: all .2s ease;
}
.svc-sectors span:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sección 11 · Testimonios ---------- */
.svc-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-4);
  max-width: 1000px; margin: 0 auto;
}
.svc-testimonial {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}
.svc-testimonial__stars {
  color: var(--accent);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-base);
  letter-spacing: 2px;
}
.svc-testimonial__quote {
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-100);
  margin: 0 0 var(--sp-4);
}
.svc-testimonial__author {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-sm);
}
.svc-testimonial__author img,
.svc-testimonial__author .avatar-fallback {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 600;
}
.svc-testimonial__author strong { display: block; }
.svc-testimonial__author small { color: var(--text-muted); font-size: var(--fs-xxs); }

/* ---------- Sección 12 · FAQ (ya existe .faq, se reutiliza) ---------- */
/* Usa el componente .faq existente del CSS principal */

/* ---------- Sección 13 · CTA Booking ---------- */
.svc-booking {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-7);
  align-items: center;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}
.svc-booking__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 var(--sp-3);
  line-height: 1.15;
}
.svc-booking__desc {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin: 0 0 var(--sp-4);
  line-height: 1.5;
}
.svc-booking__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid; gap: 8px;
  font-size: var(--fs-sm);
  color: var(--ink-100);
}
.svc-booking__features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}
@media (max-width: 800px) {
  .svc-booking { grid-template-columns: 1fr; }
}

/* ---------- Sección 14 · Cross-sell ---------- */
.svc-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
  max-width: 1100px;
  margin: 0 auto;
}
.svc-related a {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--ink-100);
  display: flex; align-items: center; justify-content: space-between;
  transition: all .2s ease;
  border-top: 3px solid transparent;
}
.svc-related a:hover {
  border-top-color: var(--accent);
  transform: translateY(-2px);
}
.svc-related__name { font-weight: 600; }
.svc-related__arrow { color: var(--accent); font-size: 1.2rem; }

/* ---------- Sticky CTA contextual en móvil ---------- */
.svc-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -4px 20px rgba(10,22,40,0.08);
  align-items: center; justify-content: space-between; gap: 10px;
}
.svc-sticky-cta__title { font-size: var(--fs-sm); font-weight: 600; margin: 0; }
.svc-sticky-cta__btn {
  background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-size: var(--fs-sm); font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .svc-sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}
