/* Estética BDU (bduarquitectura.com), cargada después de brand.css: misma maquetación,
   grafismo de BDU (Helvetica Now Display, rojo #ff4848, casiblanco, blackbueno), menú en minúsculas y logo BDU. */
@font-face { font-family: "HelveticaNowDisplay-Regular"; src: url("https://bduarquitectura.com/wp-content/themes/bdu/fonts/HelveticaNowDisplay/HelveticaNowDisplay-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "HelveticaNowDisplay-Medium"; src: url("https://bduarquitectura.com/wp-content/themes/bdu/fonts/HelveticaNowDisplay/HelveticaNowDisplay-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "HelveticaNowDisplay-Bold"; src: url("https://bduarquitectura.com/wp-content/themes/bdu/fonts/HelveticaNowDisplay/HelveticaNowDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --rojo: #ff4848; --blackbueno: #302f2c; --casiblanco: #f5f5f5; --gris: #949492; --muted: #61615f; --line: #e2e2e0;
  --regular: "HelveticaNowDisplay-Regular", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --medium: "HelveticaNowDisplay-Medium", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bold: "HelveticaNowDisplay-Bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --green: var(--rojo); --green-soft: rgba(255, 72, 72, .22); --graphite: var(--blackbueno);
  --slate-50: var(--casiblanco); --slate-200: var(--line); --slate-400: var(--gris); --slate-500: var(--muted); --slate-600: var(--muted); --slate-800: var(--blackbueno);
  --sans: var(--regular); --monof: var(--medium);
  --accent: var(--rojo); --ink: var(--blackbueno);
}
body { font-family: var(--regular); letter-spacing: .4px; color: var(--blackbueno); background: var(--casiblanco); }
h1, h2, h3, .big, .mult, .fig b { font-family: var(--bold); font-weight: 700; letter-spacing: .2px; }
b, strong { font-family: var(--bold); font-weight: 700; }
.slide, .slide.white { background: #fff; }
#thesis, #review, #avatar { background: var(--casiblanco); }

/* acentos: palabras en rojo, sin subrayado de rotulador */
.red { color: var(--rojo); background: none; padding: 0; }
.slide:not(.dark) .rule .big { box-shadow: none; }
.client { color: var(--rojo); font-family: var(--bold); font-weight: 700; }
a.plain-link { text-decoration-color: var(--rojo); text-decoration-thickness: 1px; }

/* etiquetas: minúsculas en rojo, como en bduarquitectura.com */
.kicker, .inner > .kicker, .split-end > .kicker { font-family: var(--medium); font-weight: 500; font-size: 14px; letter-spacing: .4px; text-transform: lowercase; background: none; color: var(--rojo) !important; padding: 0; }
.kpis .kicker, .l2 .kicker, .strip .kicker { color: var(--muted) !important; font-size: 13px; }
.terms { font-family: var(--medium); text-transform: lowercase; letter-spacing: .4px; font-size: 15px; font-weight: 400; color: var(--blackbueno); }
.pillars span { font-family: var(--medium); font-weight: 500; text-transform: lowercase; letter-spacing: .4px; font-size: 14px; border-radius: 0; border-color: var(--blackbueno); color: var(--blackbueno); }
.facts .k, .kpi-col h3 span, th, .strip li em { font-family: var(--medium); font-weight: 500; text-transform: lowercase; letter-spacing: .4px; }

/* cifras y fases */
.fig { border-top: 1px solid var(--blackbueno); }
.fig:first-child b { color: var(--rojo); }
.steps li::before { height: 1px; background: var(--blackbueno); }
.steps i { background: var(--blackbueno); font-family: var(--medium); font-weight: 500; }
.steps li:last-child i { background: var(--rojo); }
.steps b, .l2-cards .kpi-col h3, .strip li b { font-family: var(--bold); font-weight: 700; }
.strip li, .kpi-col, .dark .kpi-col { border-top: 1px solid var(--blackbueno); }
.kpis div { border-left-color: var(--rojo); }
.kpis b { font-family: var(--bold); font-weight: 700; }
.clause { border-left-color: var(--rojo); }
ul.plain li::marker { color: var(--rojo); }
.results, .slide .results { background: var(--blackbueno); }
.results .kicker { color: var(--rojo) !important; }
.mult { color: var(--rojo); }
#b-co { background: var(--rojo) !important; }
.field input { font-family: var(--regular); }

/* botones: texto en negrita con flecha, sin pastillas */
.cta, .more, .cta.ghost { height: auto; padding: 0 0 4px; border: 0; border-bottom: 2px solid var(--rojo); border-radius: 0; background: none; color: var(--blackbueno); font-family: var(--bold); font-weight: 700; font-size: 18px; letter-spacing: .4px; text-transform: lowercase; }
.cta:hover, .cta:focus-visible, .more:hover, .more:focus-visible, .cta.ghost:hover { background: none; color: var(--rojo); }
.actions { gap: 16px 40px; }

/* menú y cambio de idioma: los de BDU */
.menu-label { font-family: var(--regular); font-weight: 400; font-size: 20px; letter-spacing: .4px; text-transform: lowercase; color: var(--blackbueno); }
.menu-current { font-family: var(--medium); font-weight: 500; font-size: 14px; letter-spacing: .4px; text-transform: lowercase; color: var(--rojo); }
.menu-btn:hover .menu-label { background: none; color: var(--rojo); }
.lang-btn, .site-header ~ .lang-btn { width: auto; height: auto; border: 0; border-radius: 0; background: none; font-family: var(--regular); font-weight: 400; font-size: 20px; letter-spacing: .4px; text-transform: lowercase; color: var(--blackbueno); top: calc(var(--pad) + env(safe-area-inset-top, 0px)); right: calc(var(--pad) + 150px); }
.lang-btn:hover, .lang-btn:focus-visible { background: none; color: var(--rojo); }
.nav { background-color: var(--casiblanco); }
.nav a.item { font-family: var(--regular); font-weight: 400; letter-spacing: .4px; text-transform: lowercase; }
.nav a.item:hover, .nav a.item:focus-visible, .nav a.item.current { background: none; color: var(--rojo); }
.close::before, .close::after { background-color: var(--rojo); }
.mouse-icon { border-color: var(--blackbueno); } .mouse-icon::after { background: var(--blackbueno); }

/* logo BDU a su tamaño natural */
.logo-tile { background: none; width: auto; height: auto; }
.logo-slot img { display: block; height: auto; width: auto; max-width: 42vw; }  /* tamaño natural, como en bduarquitectura.com */
.logo-text { color: var(--blackbueno) !important; font-family: var(--bold); font-size: 40px; }
@media (max-width: 760px) { .lang-btn, .site-header ~ .lang-btn { right: calc(var(--pad) + 110px); } }

@media (max-width: 760px) { .more, .actions .cta { width: auto; justify-content: flex-start; } }
/* Móvil: franja fija detrás de «menú» para que el texto no pase por debajo al desplazarse */
@media (max-width: 760px) {
  body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: calc(76px + env(safe-area-inset-top, 0px)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 10; pointer-events: none; }
  .lang-btn, .site-header ~ .lang-btn { top: calc(var(--pad) + env(safe-area-inset-top, 0px) + 6px); }
  .slide { padding-top: 104px; }
}
/* BDU + Avatar: logos juntos y diapositiva del equipo */
.logo-slot { display: inline-flex; align-items: center; gap: 18px; }
.logo-slot .logo-avatar { display: inline-block; width: 48px; height: 48px; background: var(--blackbueno); line-height: 0; padding-left: 18px; border-left: 1px solid var(--line); background-clip: content-box; box-sizing: content-box; }
.logo-slot .logo-avatar img { width: 48px; height: 48px; display: block; }
@media (max-width: 760px) { .logo-slot { gap: 12px; } .logo-slot .logo-avatar, .logo-slot .logo-avatar img { width: 36px; height: 36px; } .logo-slot .logo-avatar { padding-left: 12px; } }
.duo { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 24px clamp(24px, 3vw, 48px); align-items: start; }
.side { display: grid; gap: 14px; }
.side-k { font-family: var(--medium); font-weight: 500; font-size: 15px; letter-spacing: .4px; text-transform: lowercase; color: var(--muted); }
.side-k b { color: var(--blackbueno); text-transform: none; }
.side .figs { grid-template-columns: 1fr 1fr; margin-top: 0; }
.side-p { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.plus { font-family: var(--bold); font-weight: 700; font-size: clamp(48px, 5vw, 80px); line-height: 1; color: var(--rojo); align-self: center; }
.win { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; max-width: 80ch; border-left: 3px solid var(--rojo); padding-left: 16px; }
.win b { color: var(--blackbueno); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .plus { font-size: 40px; justify-self: start; } }
.side .figs:has(.fig:nth-child(4)) { grid-template-columns: 1fr 1fr; }
.side .figs:has(.fig:nth-child(4)) .fig b { font-size: clamp(30px, 2.8vw, 46px); }
.side .figs .fig b { font-size: clamp(30px, 2.8vw, 46px); }
.logo-slot .logo-avatar img { width: 100%; height: 100%; }
.side-logo { display: block; height: 56px; line-height: 0; }
.side-logo img { height: 56px; width: auto; display: block; }
.side-logo.av img { width: 56px; background: var(--blackbueno); }
.side-logo .logo-text { line-height: 56px; font-size: 44px; }
@media (max-width: 760px) { .side-logo, .side-logo img, .side-logo.av img { height: 44px; } .side-logo.av img { width: 44px; } .side-logo .logo-text { line-height: 44px; font-size: 36px; } }
@media (min-width: 761px) {
  #avatar .inner { gap: clamp(12px, 2vh, 22px); }
  #avatar .side { gap: 10px; }
  #avatar .side .figs { gap: 16px 28px; }
  #avatar .fig { padding-top: 12px; gap: 4px; }
  .side-logo, .side-logo img { height: 48px; } .side-logo.av img { width: 48px; } .side-logo .logo-text { line-height: 48px; font-size: 40px; }
}
.team-line { font-size: 16px; line-height: 1.5; color: var(--muted); }
.team-line b { color: var(--blackbueno); }
.signers { display: flex; flex-wrap: wrap; gap: 6px 40px; font-size: 16px; }
.signers b { font-family: var(--bold); font-weight: 700; }
.side-k { text-transform: none; }
/* Sin colisiones con la cabecera, también con el detalle abierto */
.site-header .logo-slot img { max-height: 108px; }
@media (min-width: 761px) { #thesis, #thesis.open { padding-top: calc(var(--pad) + 108px + 56px); } }
@media (max-width: 760px) { .site-header .logo-slot img { max-height: 56px; } #thesis, #thesis.open { padding-top: calc(var(--pad) + 56px + 48px); } }
@media (min-width: 761px) and (max-height: 820px) { .slide, #offer, #scope, #roi { padding-top: calc(var(--pad) + 56px); } }
/* equipo: cabecera de cada columna ordenada (empresa · papel a la izquierda, responsable a la derecha) */
.side-k { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; padding-bottom: 2px; }
.side-k .who { color: var(--blackbueno); }
.side-logo { height: 48px; display: flex; align-items: flex-end; }
.l2-duo { align-items: start; }
.l2-duo .plus-sp { width: clamp(28px, 3.4vw, 54px); }
.l2-duo .facts div { grid-template-columns: 120px minmax(0, 1fr); font-size: 15px; }
@media (max-width: 760px) { .l2-duo .plus-sp { display: none; } .l2-duo .facts div { grid-template-columns: 1fr; } }
/* franja fija detrás de «en» y «menú» también en ordenador: al desplazarse por un detalle abierto nada pasa por debajo */
@media (min-width: 761px) { body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: calc(var(--pad) + 56px); background: rgba(245, 245, 245, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 10; pointer-events: none; } }
