/* ============================================================
   NiuMedia — Services Clean Layout
   HTML5 + CSS Grid/Flexbox · Mobile-first · No dependencias JS
   ============================================================ */

/* Reset basico */
.svc *,
.svc *::before,
.svc *::after {
  box-sizing: border-box;
}

.svc {
  --svc-orange: #f06000;
  --svc-orange-light: #ff7a1a;
  --svc-orange-50: #fff4ea;
  --svc-ink: #2b2424;
  --svc-ink-soft: #3d3434;
  --svc-text: #4a4040;
  --svc-muted: #7a6e6e;
  --svc-border: #e5dfdf;
  --svc-bg: #ffffff;
  --svc-bg-soft: #faf8f8;
  --svc-bg-dark: #1f1a1a;

  --svc-radius: 14px;
  --svc-radius-lg: 24px;
  --svc-shadow-sm: 0 2px 8px rgba(43, 36, 36, 0.06);
  --svc-shadow-md: 0 8px 24px rgba(43, 36, 36, 0.08);
  --svc-shadow-orange: 0 12px 28px rgba(240, 96, 0, 0.25);

  font-family:
    "Open Sans",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--svc-text);
  line-height: 1.65;
}

.svc h1,
.svc h2,
.svc h3,
.svc h4 {
  font-family:
    "Nunito",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--svc-ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.svc p {
  margin: 0;
}
.svc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.svc-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Buttons */
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.svc-btn--primary {
  background: var(--svc-orange);
  color: #fff;
  box-shadow: var(--svc-shadow-orange);
}
.svc-btn--primary:hover {
  background: #d95400;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(240, 96, 0, 0.35);
}

.svc-btn--ghost {
  background: transparent;
  color: var(--svc-ink);
  border-color: var(--svc-border);
}
.svc-btn--ghost:hover {
  border-color: var(--svc-orange);
  color: var(--svc-orange);
}

.svc-btn--dark {
  background: var(--svc-ink);
  color: #fff;
}
.svc-btn--dark:hover {
  background: #1a1414;
  transform: translateY(-2px);
}

.svc-btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* Eyebrow tag */
.svc-eyebrow {
  display: inline-block;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--svc-orange);
  background: var(--svc-orange-50);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ============================================================
   HERO
   ============================================================ */
.svc-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--svc-ink) 0%,
    var(--svc-ink-soft) 100%
  );
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
}

.svc-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(240, 96, 0, 0.3) 0%,
    rgba(240, 96, 0, 0) 65%
  );
  pointer-events: none;
}

.svc-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .svc-hero {
    padding: 140px 0 110px;
  }
  .svc-hero__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
  }
}

.svc-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.svc-hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.svc-hero__breadcrumb a:hover {
  color: var(--svc-orange-light);
}
.svc-hero__breadcrumb span {
  color: var(--svc-orange-light);
}

.svc-hero__eyebrow {
  display: inline-block;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--svc-orange-light);
  margin-bottom: 18px;
}

.svc-hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.svc-hero h1 span {
  color: var(--svc-orange-light);
}

.svc-hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 580px;
}

.svc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.svc-hero__actions .svc-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.svc-hero__actions .svc-btn--ghost:hover {
  border-color: var(--svc-orange-light);
  color: var(--svc-orange-light);
}

.svc-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.svc-hero__visual-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(
    135deg,
    rgba(255, 122, 26, 0.15) 0%,
    rgba(240, 96, 0, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--svc-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--svc-orange-light);
  backdrop-filter: blur(10px);
}

/* ============================================================
   GENERIC SECTIONS
   ============================================================ */
.svc-section {
  padding: 80px 0;
}
@media (min-width: 900px) {
  .svc-section {
    padding: 110px 0;
  }
}
.svc-section--soft {
  background: var(--svc-bg-soft);
}
.svc-section--dark {
  background: var(--svc-ink);
  color: rgba(255, 255, 255, 0.85);
}
.svc-section--dark h2 {
  color: #fff;
}

.svc-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.svc-section__head .svc-eyebrow {
  margin-bottom: 16px;
}
.svc-section__head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}
.svc-section__head p {
  font-size: 17px;
  color: var(--svc-muted);
}
.svc-section--dark .svc-section__head p {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   PROBLEMS GRID (Problemas que resolvemos)
   ============================================================ */
.svc-problems {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) {
  .svc-problems {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .svc-problems {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-problem {
  background: #fff;
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-radius);
  padding: 32px;
  transition: all 0.3s ease;
}
.svc-problem:hover {
  border-color: var(--svc-orange);
  box-shadow: var(--svc-shadow-md);
  transform: translateY(-4px);
}
.svc-problem__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--svc-orange-50);
  color: var(--svc-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.svc-problem h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}
.svc-problem p {
  font-size: 15px;
  color: var(--svc-muted);
}

/* ============================================================
   PROCESS / STEPS (Cómo lo hacemos)
   ============================================================ */
.svc-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}
@media (min-width: 700px) {
  .svc-process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .svc-process {
    grid-template-columns: repeat(4, 1fr);
  }
}

.svc-step {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--svc-radius);
  padding: 32px 28px 28px;
  counter-increment: step;
}
.svc-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: rgba(255, 122, 26, 0.25);
  line-height: 1;
}
.svc-step h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 16px 0 10px;
  max-width: 80%;
}
.svc-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
.svc-step__badge {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--svc-orange);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ============================================================
   FEATURES / BENEFITS LIST
   ============================================================ */
.svc-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 32px;
}
@media (min-width: 700px) {
  .svc-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--svc-border);
}
.svc-feature:last-child {
  border-bottom: none;
}
.svc-feature__check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--svc-orange-50);
  color: var(--svc-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-top: 2px;
}
.svc-feature h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.svc-feature p {
  font-size: 14px;
  color: var(--svc-muted);
}

/* ============================================================
   STATS
   ============================================================ */
.svc-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 800px) {
  .svc-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-stat {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--svc-radius);
}
.svc-stat__number {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 56px);
  color: var(--svc-orange-light);
  line-height: 1;
  margin-bottom: 8px;
}
.svc-stat__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.svc-cta {
  background: linear-gradient(135deg, var(--svc-orange) 0%, #d95400 100%);
  color: #fff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.svc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top right,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.svc-cta__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.svc-cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}
.svc-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}
.svc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.svc-cta .svc-btn--primary {
  background: #fff;
  color: var(--svc-ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.svc-cta .svc-btn--primary:hover {
  background: var(--svc-ink);
  color: #fff;
}
.svc-cta .svc-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.svc-cta .svc-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ============================================================
   HUB (service.html — Ver Todos)
   ============================================================ */
.svc-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 800px) {
  .svc-hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-radius-lg);
  padding: 40px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.svc-hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--svc-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.svc-hub-card:hover {
  border-color: var(--svc-orange);
  box-shadow: var(--svc-shadow-md);
  transform: translateY(-6px);
}
.svc-hub-card:hover::before {
  transform: scaleX(1);
}

.svc-hub-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--svc-orange-50);
  color: var(--svc-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 24px;
}
.svc-hub-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}
.svc-hub-card p {
  color: var(--svc-muted);
  margin-bottom: 24px;
  flex: 1;
}
.svc-hub-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.svc-hub-card__tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--svc-bg-soft);
  border-radius: 999px;
  color: var(--svc-text);
}
.svc-hub-card__link {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--svc-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-hub-card__link span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.svc-hub-card:hover .svc-hub-card__link span {
  transform: translateX(6px);
}
