/* Brandcode — Servicios page
   Complementa landing.css. Solo clases exclusivas de esta página. */

/* ───── Header sobre fondo claro (sin hero rojo) ────────────── */
.bcl-header--on-light:not(.scrolled) {
  color: var(--bc-carbon);
}
/* El cuadrado del logo es rojo desde el inicio (no blanco) */
.bcl-header--on-light:not(.scrolled) .bcl-logo .square {
  background: var(--accent);
}
/* El botón CTA empieza oscuro, no blanco-invisible */
.bcl-header--on-light:not(.scrolled) #nav-cta {
  background: var(--bc-carbon);
  border-color: var(--bc-carbon);
  color: var(--bc-white);
}
.bcl-header--on-light:not(.scrolled) #nav-cta:hover {
  background: transparent;
  color: var(--bc-carbon);
}

/* ───── Page hero (compacto, fondo blanco) ──────────────────── */
.srv-hero {
  padding: 160px 0 80px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border-1);
}
.srv-hero-inner {
  display: grid;
  gap: 48px;
  align-items: end;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .srv-hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; }
}
.srv-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-decoration: none;
  margin-bottom: 20px;
}
.srv-hero-breadcrumb span { color: var(--accent); }
.srv-hero-breadcrumb::before {
  content: '←';
  font-size: 14px;
}

/* ───── Services sticky sub-nav ─────────────────────────────── */
.srv-subnav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.srv-subnav::-webkit-scrollbar { display: none; }
.srv-subnav-inner {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 0;
}
@media (min-width: 900px) {
  .srv-subnav-inner { padding: 0 48px; }
}
.srv-subnav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 12px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.srv-subnav-item:hover { color: var(--fg-1); }
.srv-subnav-item.active { color: var(--accent); border-bottom-color: var(--accent); }
.srv-subnav-item .dot {
  width: 8px; height: 8px;
  border-radius: 0;
  flex-shrink: 0;
}
.srv-subnav-item.s-ai     .dot { background: var(--bc-red); }
.srv-subnav-item.s-brand  .dot { background: var(--bc-burgundy); }
.srv-subnav-item.s-platf  .dot { background: var(--bc-ochre); }
.srv-subnav-item.s-gestion .dot { background: var(--bc-vine-green); }

/* ───── Service section ─────────────────────────────────────── */
.srv-section {
  padding: 112px 0;
  border-bottom: 1px solid var(--border-1);
}
.srv-section:nth-child(odd)  { background: var(--bg-1); }
.srv-section:nth-child(even) { background: var(--bg-2); }

.srv-section-inner {
  display: grid;
  gap: 64px;
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .srv-section-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; }
}

/* Color stripe left of the section */
.srv-num-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.srv-num-block .bar {
  width: 4px;
  height: 48px;
  flex-shrink: 0;
}
.srv-section.s-ai     .bar { background: var(--bc-red); }
.srv-section.s-brand  .bar { background: var(--bc-burgundy); }
.srv-section.s-platf  .bar { background: var(--bc-ochre); }
.srv-section.s-gestion .bar { background: var(--bc-vine-green); }

.srv-num-block .num-label {
  font-size: 11px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.srv-heading {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.srv-tagline {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  font-weight: var(--w-medium);
  color: var(--fg-2);
  margin: 0 0 28px;
  max-width: 52ch;
}
.srv-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-1);
  max-width: 60ch;
  margin: 0 0 40px;
}

/* Deliverables list */
.srv-deliverables {
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.srv-deliverables-label {
  font-size: 11px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 12px;
}
.srv-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--fg-1);
  border-top: 1px solid var(--border-1);
}
.srv-deliverables li::before {
  content: '';
  width: 5px; height: 5px;
  flex-shrink: 0;
  margin-top: 8px;
}
.srv-section.s-ai     .srv-deliverables li::before { background: var(--bc-red); }
.srv-section.s-brand  .srv-deliverables li::before { background: var(--bc-burgundy); }
.srv-section.s-platf  .srv-deliverables li::before { background: var(--bc-ochre); }
.srv-section.s-gestion .srv-deliverables li::before { background: var(--bc-vine-green); }

/* Right column: process + visual */
.srv-right { display: flex; flex-direction: column; gap: 48px; }

/* Visual block (big numbered square) */
.srv-visual {
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.srv-section.s-ai     .srv-visual { background: var(--bc-red); }
.srv-section.s-brand  .srv-visual { background: var(--bc-burgundy); }
.srv-section.s-platf  .srv-visual { background: var(--bc-ochre); }
.srv-section.s-gestion .srv-visual { background: var(--bc-vine-green); }

.srv-visual-glyph {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: clamp(72px, 10vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.18);
  position: absolute;
  top: 20px; right: 28px;
  user-select: none;
}
.srv-visual-label {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--bc-white);
  position: relative;
  z-index: 1;
}
.srv-visual-num {
  position: absolute;
  top: 22px; left: 28px;
  font-size: 11px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* Process steps */
.srv-process-label {
  font-size: 11px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 16px;
}
.srv-steps { display: flex; flex-direction: column; gap: 0; }
.srv-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border-1);
  align-items: flex-start;
}
.srv-step:last-child { border-bottom: 1px solid var(--border-1); }
.srv-step-num {
  font-size: 11px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  flex-shrink: 0;
  margin-top: 3px;
  min-width: 24px;
}
.srv-section.s-ai     .srv-step-num { color: var(--bc-red); }
.srv-section.s-brand  .srv-step-num { color: var(--bc-burgundy); }
.srv-section.s-platf  .srv-step-num { color: var(--bc-ochre); }
.srv-section.s-gestion .srv-step-num { color: var(--bc-vine-green); }

.srv-step-content {}
.srv-step-title {
  font-size: 15px;
  font-weight: var(--w-semibold);
  color: var(--fg-1);
  margin: 0 0 4px;
}
.srv-step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* Subnav active state via JS scroll spy */
.srv-subnav-item.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ───── Services overview grid (mini cards top of page) ─────── */
.srv-overview {
  padding: 56px 0;
  background: var(--bc-carbon);
}
.srv-overview-grid {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.1);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) {
  .srv-overview-grid { grid-template-columns: repeat(4, 1fr); }
}
.srv-overview-item {
  background: var(--bc-carbon);
  padding: 28px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background var(--dur-fast) var(--ease);
}
.srv-overview-item:hover { background: var(--bc-stone-900); }
.srv-overview-item .dot {
  width: 8px; height: 8px;
}
.srv-overview-item.s-ai .dot { background: var(--bc-red); }
.srv-overview-item.s-brand .dot { background: var(--bc-burgundy); }
.srv-overview-item.s-platf .dot { background: var(--bc-ochre); }
.srv-overview-item.s-gestion .dot { background: var(--bc-vine-green); }

.srv-overview-item .num {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: var(--w-semibold);
}
.srv-overview-item .title {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: 17px;
  color: var(--bc-white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.srv-overview-item .arrow {
  font-size: 16px;
  color: rgba(255,255,255,0.35);
  margin-top: auto;
  padding-top: 16px;
  transition: color var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease);
}
.srv-overview-item:hover .arrow {
  color: rgba(255,255,255,0.8);
  transform: translateX(4px);
}
