/* Brandcode Landing — hi-fi styles
   Built on top of colors_and_type.css tokens. No italics anywhere — italics are
   actively avoided per brand voice. */

/* ───── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-1);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-weight: var(--w-medium);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button { font-family: inherit; cursor: pointer; }

/* ───── Layout primitives ──────────────────────────────────────── */
.bcl-shell { overflow-x: hidden; }

.bcl-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (min-width: 900px) {
  .bcl-container { padding: 0 48px; }
}

.bcl-section { padding: 96px 0; }
.bcl-section.tight { padding: 64px 0; }
.bcl-section.tall { padding: 128px 0; }

/* density tweak */
.bcl-shell[data-density="compact"] .bcl-section       { padding: 72px 0; }
.bcl-shell[data-density="compact"] .bcl-section.tall  { padding: 96px 0; }
.bcl-shell[data-density="airy"]    .bcl-section       { padding: 128px 0; }
.bcl-shell[data-density="airy"]    .bcl-section.tall  { padding: 160px 0; }

/* ───── Type ───────────────────────────────────────────────────── */
.bcl-eyebrow {
  font-size: 11px;
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.bcl-eyebrow.accent { color: var(--accent); }
.bcl-eyebrow.light  { color: rgba(255,255,255,.7); }
.bcl-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

.bcl-display {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.bcl-h1 {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.bcl-h2 {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.bcl-h3 {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.005em;
}
.bcl-h4 {
  font-family: var(--font-display);
  font-weight: var(--w-semibold);
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}
.bcl-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  font-weight: var(--w-medium);
  color: var(--fg-1);
  max-width: 56ch;
  margin: 0;
}
.bcl-body {
  font-size: 16px;
  line-height: 1.65;
  font-weight: var(--w-medium);
  color: var(--fg-1);
  margin: 0;
}
.bcl-body.muted { color: var(--fg-2); }
.bcl-body.small { font-size: 14px; }

.bcl-meta {
  font-size: 12px;
  font-weight: var(--w-medium);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-2);
}

/* Highlighted word (replaces italics for emphasis) */
.bcl-mark {
  color: var(--accent);
  font-weight: inherit;
}

/* ───── Buttons ────────────────────────────────────────────────── */
.bcl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 0;
  border: 1.5px solid var(--bc-carbon);
  background: var(--bc-carbon);
  color: var(--bc-white);
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}
.bcl-btn:hover { background: transparent; color: var(--bc-carbon); }
.bcl-btn:active { transform: translateY(1px); }

.bcl-btn.ghost {
  background: transparent;
  color: var(--bc-carbon);
}
.bcl-btn.ghost:hover {
  background: var(--bc-carbon);
  color: var(--bc-white);
}

.bcl-btn.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bc-white);
}
.bcl-btn.accent:hover {
  background: var(--bc-white);
  color: var(--accent);
  border-color: var(--bc-white);
}

.bcl-btn.light {
  background: var(--bc-white);
  border-color: var(--bc-white);
  color: var(--bc-carbon);
}
.bcl-btn.light:hover { background: transparent; color: var(--bc-white); }

.bcl-btn.outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: var(--bc-white);
}
.bcl-btn.outline-light:hover {
  background: var(--bc-white);
  color: var(--bc-carbon);
  border-color: var(--bc-white);
}

.bcl-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: var(--w-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bc-carbon);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--bc-carbon);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), gap var(--dur-base) var(--ease);
}
.bcl-arrow-link:hover { color: var(--accent); border-color: var(--accent); gap: 14px; }
.bcl-arrow-link.accent { color: var(--accent); border-color: var(--accent); }
.bcl-arrow-link.accent:hover { color: var(--bc-carbon); border-color: var(--bc-carbon); }
.bcl-arrow-link.light { color: var(--bc-white); border-color: var(--bc-white); }
.bcl-arrow-link.light:hover { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.7); }

/* ───── Header ─────────────────────────────────────────────────── */
.bcl-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease),
              backdrop-filter var(--dur-base) var(--ease), padding var(--dur-base) var(--ease);
  color: var(--bc-white);
}
@media (min-width: 900px) {
  .bcl-header { padding: 24px 48px; }
}
.bcl-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  color: var(--bc-carbon);
  padding: 14px 48px;
  box-shadow: 0 1px 0 var(--border-1);
}
.bcl-header .bcl-logo { display: flex; align-items: baseline; gap: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.04em; line-height: 1; color: inherit;
  text-decoration: none;
}
.bcl-header .bcl-logo .square {
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
}
.bcl-header:not(.scrolled) .bcl-logo .square { background: #ffffff; }
.bcl-header.scrolled .bcl-logo .square { background: var(--accent); }

/* Header sobre fondo claro (páginas interiores con fondo blanco) */
.bcl-header--on-light:not(.scrolled) { color: var(--bc-carbon); }
.bcl-header--on-light:not(.scrolled) .bcl-logo .square { background: var(--accent); }
.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);
}

.bcl-nav { display: none; align-items: center; gap: 36px; }
@media (min-width: 900px) { .bcl-nav { display: flex; } }
.bcl-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: var(--w-medium);
  letter-spacing: 0.01em;
  transition: opacity var(--dur-fast) var(--ease);
}
.bcl-nav a:hover { opacity: 0.65; }
.bcl-nav .bcl-btn {
  height: 38px;
  padding: 0 18px;
  font-size: 12px;
}

/* ───── Hero ───────────────────────────────────────────────────── */
.bcl-hero {
  position: relative;
  overflow: hidden;
  color: var(--bc-white);
  background: var(--bc-carbon);
  padding: 160px 0 120px;
  isolation: isolate;
}
@media (min-width: 900px) {
  .bcl-hero { padding: 180px 0 140px; min-height: 88vh; display: flex; align-items: center; }
}

.bcl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.bcl-hero-bg svg { width: 100%; height: 100%; }

.bcl-hero-grid {
  display: grid;
  gap: 64px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .bcl-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
}

.bcl-hero-title { color: var(--bc-white); }
.bcl-hero-sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  font-weight: var(--w-medium);
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
}
.bcl-hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.bcl-hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.bcl-hero-mark svg { width: 100%; height: auto; max-width: 380px; }

/* bottom meta strip inside hero */
.bcl-hero-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 48px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.bcl-hero-meta strong { color: var(--bc-white); font-weight: var(--w-semibold); }

/* ───── Intro band (photo + copy) ──────────────────────────────── */
.bcl-intro {
  background: var(--bg-1);
  padding: 96px 0;
}
.bcl-intro .grid {
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .bcl-intro .grid { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}
.bcl-intro-photo {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
}
.bcl-intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.bcl-intro-photo .tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(29,29,27,0.88);
  color: var(--bc-white);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  font-weight: var(--w-semibold);
  backdrop-filter: blur(8px);
}

/* ───── Service cards ──────────────────────────────────────────── */
.bcl-services-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}
@media (min-width: 900px) {
  .bcl-services-head { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.bcl-services-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .bcl-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .bcl-services-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.bcl-service {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  isolation: isolate;
}
.bcl-service-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  color: var(--bc-white);
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 48px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  transition: transform var(--dur-base) var(--ease);
}
.bcl-service:hover .bcl-service-thumb { transform: scale(1.015); }
.bcl-service-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), transparent 60%);
  pointer-events: none;
}
.bcl-service-thumb .num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 12px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.18em;
  opacity: 0.7;
}
.bcl-service-thumb .glyph {
  position: relative;
  z-index: 1;
}
.bcl-service-thumb.ai     { background: var(--bc-red); }
.bcl-service-thumb.brand  { background: var(--bc-burgundy); }
.bcl-service-thumb.platf  { background: var(--bc-ochre); }
.bcl-service-thumb.gestion{ background: var(--bc-vine-green); }

.bcl-service h3 { padding-top: 4px; }
.bcl-service-promise {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-1);
  margin: 0;
}
.bcl-service-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.bcl-service-list li {
  padding: 10px 0;
  font-size: 13px;
  color: var(--fg-2);
  border-top: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.bcl-service-list li::before {
  content: ''; width: 4px; height: 4px;
  background: var(--accent); display: inline-block;
}

/* ───── BC Suite dark section ──────────────────────────────────── */
.bcl-suite {
  background: var(--bc-carbon);
  color: var(--bc-white);
  position: relative;
  overflow: hidden;
}
.bcl-suite-head {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .bcl-suite-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 80px; }
}
.bcl-suite h2 { color: var(--bc-white); }
.bcl-suite .bcl-body { color: rgba(255,255,255,0.78); }
.bcl-suite .bcl-body.muted { color: rgba(255,255,255,0.55); }

.bcl-suite-name {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
}
.bcl-suite-name .dot {
  width: 14px; height: 14px;
  background: var(--accent);
  display: inline-block;
  align-self: center;
  margin-bottom: 6px;
}

.bcl-suite-mosaic {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}
@media (min-width: 700px) {
  .bcl-suite-mosaic {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-auto-flow: dense;
  }
  .bcl-suite-mosaic .m1 { grid-column: 1 / span 2; grid-row: 1; }
  .bcl-suite-mosaic .m2 { grid-column: 3; grid-row: 1; }
  .bcl-suite-mosaic .m3 { grid-column: 1; grid-row: 2; }
  .bcl-suite-mosaic .m4 { grid-column: 2 / span 2; grid-row: 2; }
}
.bcl-suite-card {
  position: relative;
  background: #2a2826;
  overflow: hidden;
  isolation: isolate;
}
.bcl-suite-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.bcl-suite-card:hover img { transform: scale(1.02); }
.bcl-suite-card .label {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(29,29,27,0.85);
  color: var(--bc-white);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  font-weight: var(--w-semibold);
  backdrop-filter: blur(8px);
}
.bcl-suite-card.tall { aspect-ratio: 4/3; }
.bcl-suite-card.wide { aspect-ratio: 16/9; }

.bcl-suite-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 32px;
}
.bcl-suite-tags .tag {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--bc-white);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: var(--w-medium);
  letter-spacing: 0.04em;
}

/* ───── IA pillars ─────────────────────────────────────────────── */
.bcl-pillars {
  background: var(--bg-2);
  position: relative;
}
.bcl-pillars-head {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 64px;
  align-items: start;
}
@media (min-width: 900px) {
  .bcl-pillars-head { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 80px; }
}
.bcl-pillars-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .bcl-pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}
.bcl-pillar {
  padding-top: 28px;
  border-top: 1.5px solid var(--bc-carbon);
}
.bcl-pillar .num {
  font-size: 12px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.bcl-pillar h3 { margin-bottom: 10px; }

/* ───── CTA strip (full-bleed red) ─────────────────────────────── */
.bcl-cta {
  background: var(--accent);
  color: var(--bc-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.bcl-cta .grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 800px) {
  .bcl-cta .grid { grid-template-columns: 1fr auto; gap: 48px; }
}
.bcl-cta h2 { color: var(--bc-white); margin: 0; max-width: 18ch; }
.bcl-cta p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.85);
  max-width: 50ch;
  font-size: 16px;
}

/* ───── About (Quiénes somos) ──────────────────────────────────── */
.bcl-about .grid {
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .bcl-about .grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; }
}
.bcl-about-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.bcl-about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ───── Footer ─────────────────────────────────────────────────── */
.bcl-footer {
  background: var(--bc-carbon);
  color: var(--bc-stone-200);
  padding: 80px 0 32px;
}
.bcl-footer .grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 700px) {
  .bcl-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 56px; }
}
.bcl-footer h4 {
  color: var(--bc-white);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: var(--w-semibold);
}
.bcl-footer ul {
  list-style: none;
  margin: 0; padding: 0;
}
.bcl-footer li { margin: 0 0 10px; }
.bcl-footer a {
  color: var(--bc-stone-200);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--dur-fast) var(--ease);
}
.bcl-footer a:hover { color: var(--bc-white); }
.bcl-footer .logo-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  color: var(--bc-white); letter-spacing: -0.04em; line-height: 1;
}
.bcl-footer .logo-row .square {
  width: 9px; height: 9px;
  background: var(--accent);
  display: inline-block;
}
.bcl-footer .blurb {
  font-size: 13px;
  color: var(--bc-stone-400);
  max-width: 28ch;
  line-height: 1.6;
}
.bcl-footer .bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--bc-stone-500);
  letter-spacing: 0.04em;
}
.bcl-footer .bottom a { font-size: 11px; }

/* ───── Misc utility ───────────────────────────────────────────── */
.bcl-divider {
  width: 60px;
  height: 1.5px;
  background: var(--bc-carbon);
  margin-bottom: 24px;
}
.bcl-divider.light { background: rgba(255,255,255,0.5); }
.bcl-divider.accent { background: var(--accent); }
