/* Obludzyner & Co. - sitio, Nueva Generación (stage 2).
   Tema que va después de site.css. No cambia el texto: cambia mundos, tipografía, luz, grano, franja y la foto del hero.
   Mundos por sección: navy (por defecto), crema (.section--well, .section--raised, .ob-on-light, banda de cifras y logos)
   y arena (algunas secciones elegidas, ver abajo). Nunca dos mundos iguales seguidos.
   Esquinas: rectas o círculo. Dorado acompaña: eyebrows, frase en itálica, cifras, franja y CTA.
   Fuentes: las carga Google Fonts desde el <head> (opción A, Newsreader con peso 300 normal e itálica). */

:root {
  --ng-display: 'Newsreader', Georgia, serif;
  --ng-gold: #C9A96E;
  --ng-gold-dark: #7E6536;
  --ng-arena: #E0CB9F;
  --radius-card: 0; --radius-button: 0; --radius-pill: 999px;
}
:root[dir="rtl"] { --ng-display: 'Frank Ruhl Libre', Georgia, serif; }

/* Grano de película sobre toda la página, muy sutil */
body.ng::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 240px 240px; }

/* ---------- Tipografía ---------- */
.ng h1, .ng h2, .ng .diag h1, .ng .diag h2.diag-h1 { font-family: var(--ng-display); font-weight: 300; font-variation-settings: "opsz" 72; letter-spacing: -.028em; line-height: 1.02; text-wrap: balance; }
.ng h2 { font-size: clamp(34px, 4.4vw, 60px); }
.ng h3 { font-family: var(--ng-display); font-weight: 400; font-variation-settings: "opsz" 36; letter-spacing: -.01em; }
.ng .ng-acento { font-style: italic; font-weight: 300; color: var(--ng-acento, var(--ng-gold)); }
:root[dir="rtl"] .ng h1, :root[dir="rtl"] .ng h2 { font-weight: 400; letter-spacing: 0; line-height: 1.12; }
:root[dir="rtl"] .ng .ng-acento { font-style: normal; }
.ng .ob-eyebrow { color: var(--ng-acento, var(--ng-gold)); letter-spacing: .2em; }
.ng .ob-stat__value { font-family: var(--ng-display); font-weight: 250; font-variation-settings: "opsz" 72; font-size: clamp(48px, 5vw, 80px); letter-spacing: -.04em; color: var(--ng-acento, var(--ng-gold)); }
.ng .hero-band .bio__stats .ob-stat:first-child .ob-stat__value { color: var(--ng-acento, var(--ng-gold)); }
.ng .ob-stat__value--geo { font-size: clamp(22px, 2.2vw, 30px) !important; line-height: 1.25; letter-spacing: -.01em; }

/* ---------- Botones: rectos. En navy, crema; en crema y arena, navy ---------- */
.ng .ob-btn { border-radius: 0; }
.ng .ob-btn--accent, .ng .ob-btn--primary { background: var(--ng-btn-bg, #F5F1E8); color: var(--ng-btn-ink, #001040); }
/* Hover y foco: el botón se enciende en dorado (en crema y arena, dorado oscuro con texto crema) */
.ng .ob-btn { transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.ng .ob-btn--accent:hover, .ng .ob-btn--primary:hover, .ng .ob-btn--accent:focus-visible, .ng .ob-btn--primary:focus-visible { background: var(--ng-btn-hover-bg, #C9A96E); color: var(--ng-btn-hover-ink, #001040); }
.ng .ob-btn--accent:active, .ng .ob-btn--primary:active { background: var(--ng-btn-active-bg, #A8884E); color: var(--ng-btn-hover-ink, #001040); }
.ng .ob-btn--secondary { border-radius: 0; }
.ng .ob-btn--secondary:hover, .ng .ob-btn--secondary:focus-visible { border-color: var(--ng-acento, #C9A96E); color: var(--ng-acento, #C9A96E); background: transparent; }
.ng .nav .ob-btn--accent { background: #F5F1E8; color: #001040; }
.ng .nav .ob-btn--accent:hover, .ng .nav .ob-btn--accent:focus-visible { background: #C9A96E; color: #001040; }

/* ---------- Mundo navy (por defecto): degradado con focos de luz ---------- */
.ng .section, .ng .hero, .ng .photo-hero, .ng .about-hero { position: relative; isolation: isolate; }
.ng .section::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(55% 60% at 88% 8%, rgba(96,116,186,.42), transparent 70%), radial-gradient(45% 50% at 6% 100%, rgba(245,241,232,.06), transparent 70%), linear-gradient(165deg, #001040 0%, #001040 45%, #000a24 100%); }
.ng .section { background: #001040; box-shadow: 0 0 0 100vmax var(--ng-band, #001040); clip-path: inset(0 -100vmax); }

/* ---------- Mundo crema ---------- */
.ng .section--well, .ng .section--raised, .ng .ob-on-light, .ng #hero-stats {
  --text-primary: #001040; --text-secondary: rgba(0,16,64,.74); --text-muted: rgba(0,16,64,.64); --text-faint: rgba(0,16,64,.56);
  --text-on-light: #001040; --text-on-light-muted: rgba(0,16,64,.7);
  --border-subtle: rgba(0,16,64,.12); --border-default: rgba(0,16,64,.16); --border-strong: rgba(0,16,64,.3); --border-on-light: rgba(0,16,64,.14);
  --surface-card: #FBF8F1; --surface-well: #EFE9DC; --surface-card-alt: #EFE9DC; --surface-raised: #FBF8F1;
  --navy-700: #FBF8F1; --navy-650: #EFE9DC; --navy-600: #E8E2D4; --navy-900: #F5F1E8;
  --gold-500: #7E6536; --gold-400: #7E6536; --gold-300: #7E6536; --gold-600: #5e4b27; --text-accent: #7E6536; --accent: #7E6536;
  --ng-acento: #7E6536; --ng-btn-bg: #001040; --ng-btn-ink: #F5F1E8; --ng-btn-hover-bg: #7E6536; --ng-btn-hover-ink: #F5F1E8; --ng-btn-active-bg: #5e4b27;
  color: #001040; background: #F5F1E8; }
.ng .section--well::before, .ng .section--raised::before, .ng .ob-on-light::before, .ng #hero-stats::before {
  background: radial-gradient(55% 60% at 90% 0%, rgba(255,252,244,.95), transparent 70%), radial-gradient(45% 50% at 0% 100%, rgba(212,205,186,.55), transparent 70%), linear-gradient(165deg, #F5F1E8 0%, #F5F1E8 50%, #E8E2D4 100%); }
.ng .logos { background: #000a24; padding-top: 56px; padding-bottom: 40px; }
.ng .logos img { border-radius: 0; }
.ng #hero-stats { padding-top: 88px; padding-bottom: 88px; }

/* ---------- Mundo arena: bloques de acento elegidos ---------- */
.ng #pattern, .ng #ai, .ng #shift-t, .ng .about-lessons, .ng #formats, .ng .logos + #recommendations {
  --text-primary: #001040; --text-secondary: rgba(0,16,64,.8); --text-muted: rgba(0,16,64,.7); --text-faint: rgba(0,16,64,.6);
  --text-on-light: #001040; --text-on-light-muted: rgba(0,16,64,.74);
  --border-subtle: rgba(0,16,64,.16); --border-default: rgba(0,16,64,.2); --border-strong: rgba(0,16,64,.34); --border-on-light: rgba(0,16,64,.2);
  --surface-card: rgba(255,250,238,.55); --surface-well: rgba(255,250,238,.4); --surface-raised: rgba(255,250,238,.55);
  --navy-700: rgba(255,250,238,.55); --navy-650: rgba(255,250,238,.4); --navy-600: rgba(255,250,238,.4); --navy-900: #E0CB9F;
  --gold-500: #4F3C17; --gold-400: #4F3C17; --gold-300: #4F3C17; --gold-600: #3b2c10; --text-accent: #4F3C17; --accent: #4F3C17;
  --ng-acento: #4F3C17; --ng-btn-bg: #001040; --ng-btn-ink: #F5F1E8; --ng-btn-hover-bg: #4F3C17; --ng-btn-hover-ink: #F5F1E8; --ng-btn-active-bg: #3b2c10;
  color: #001040; background: #E0CB9F; }
.ng #pattern::before, .ng #ai::before, .ng #shift-t::before, .ng .about-lessons::before, .ng #formats::before, .ng .logos + #recommendations::before {
  background: radial-gradient(55% 70% at 92% 0%, rgba(248,240,220,.9), transparent 70%), radial-gradient(45% 55% at 0% 100%, rgba(168,136,78,.45), transparent 70%), linear-gradient(165deg, #E0CB9F 0%, #E0CB9F 50%, #C9A96E 100%); }


/* Componentes que el sitio pinta siempre en navy: adentro vuelve el mundo navy aunque la sección sea crema o arena */
.ng .contrast-col--reactive, .ng .chart-wrap, .ng .shift-panel, .ng .weeks tr.weeks__group th, .ng .photo-hero__card, .ng .video-embed, .ng .company .ob-btn--primary {
  --text-primary: #F5F1E8; --text-secondary: rgba(245,241,232,.72); --text-muted: rgba(245,241,232,.62); --text-faint: rgba(245,241,232,.56);
  --border-subtle: rgba(245,241,232,.12); --border-default: rgba(245,241,232,.16); --border-strong: rgba(245,241,232,.28);
  --gold-500: #C9A96E; --gold-400: #D8BC86; --gold-300: #E0CB9F; --gold-600: #A8884E; --text-accent: #C9A96E; --accent: #C9A96E; --ng-acento: #C9A96E;
  color: #F5F1E8; }


/* Ajustes de ritmo para que no queden dos mundos iguales seguidos */
.ng .section.about-career {
  --text-primary: #F5F1E8; --text-secondary: rgba(245,241,232,.72); --text-muted: rgba(245,241,232,.62); --text-faint: rgba(245,241,232,.56);
  --border-subtle: rgba(245,241,232,.12); --border-default: rgba(245,241,232,.16); --border-strong: rgba(245,241,232,.28);
  --surface-card: #00183C; --surface-well: #14224F; --navy-700: #00183C; --navy-650: #0A1F44; --navy-600: #14224F; --navy-900: #000C30;
  --gold-500: #C9A96E; --gold-400: #D8BC86; --gold-300: #E0CB9F; --gold-600: #A8884E; --text-accent: #C9A96E; --accent: #C9A96E;
  --ng-acento: #C9A96E; --ng-btn-bg: #F5F1E8; --ng-btn-ink: #001040; --ng-btn-hover-bg: #C9A96E; --ng-btn-hover-ink: #001040; --ng-btn-active-bg: #A8884E; color: #F5F1E8; background: #001040; }
.ng .section.about-career::before { background: radial-gradient(55% 60% at 88% 8%, rgba(96,116,186,.42), transparent 70%), radial-gradient(45% 50% at 6% 100%, rgba(245,241,232,.06), transparent 70%), linear-gradient(165deg, #001040 0%, #001040 45%, #000a24 100%); }

/* ---------- Cabecera ---------- */
.ng .nav { background: rgba(0,16,64,.94); border-bottom: 1px solid rgba(245,241,232,.12); }
.ng .nav__brand img { border-radius: 0; }
.ng .nav__links a[aria-current="page"] { color: #F5F1E8; box-shadow: inset 0 -2px 0 var(--ng-gold); padding-bottom: 6px; }

/* ---------- Hero ---------- */
.ng .hero { background: transparent; }
.ng main > .hero:first-child, .ng .hero#hero { max-width: none; width: 100%; box-sizing: border-box; }
.ng .hero::before, .ng .photo-hero::before, .ng .about-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(45% 70% at 82% 40%, rgba(96,116,186,.6), transparent 70%), linear-gradient(160deg, #001040 0%, #001040 50%, #000a24 100%); }
.ng .hero h1 { font-size: clamp(44px, 5.6vw, 88px); line-height: .98; }
.ng .hero p.lede--lead { color: #F5F1E8; font-weight: 400; font-size: 21px; }
/* La franja: firma de la marca bajo el primer bloque y sobre el pie */
.ng .hero::after, .ng .photo-hero::after, .ng .about-hero::after, .ng .footer::before { content: ""; position: absolute; left: 0; right: 0; height: 6px; z-index: 3;
  background: linear-gradient(90deg, #7E6536 0 33.33%, #C9A96E 33.33% 66.66%, #E0CB9F 66.66% 100%); }
.ng .hero::after, .ng .photo-hero::after, .ng .about-hero::after { bottom: 0; }

/* Hero con foto (home, B2B SaaS, AI First): texto a la izquierda, foto a la derecha desde arriba */
.ng .hero.ng-hero-foto { display: block; text-align: start; padding: 96px max(40px, calc((100% - 1240px) / 2)) 112px; min-height: min(860px, calc(100svh - 60px)); overflow: hidden; }
.ng .ng-hero__texto { position: relative; z-index: 2; max-width: 56%; display: flex; flex-direction: column; align-items: flex-start; }
.ng .ng-hero__texto p.lede { max-width: 600px; }
.ng .ng-hero__foto { position: absolute; top: 0; inset-inline-end: 0; margin: 0; z-index: 1; }
.ng .ng-hero__foto img { display: block; height: clamp(500px, calc(100svh - 100px), 1000px); width: auto; max-width: 48vw; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to bottom, #000 82%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to bottom, #000 82%, transparent 100%); mask-composite: intersect; }
:root[dir="rtl"] .ng .ng-hero__foto img { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 22%), linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to left, transparent 0, #000 22%), linear-gradient(to bottom, #000 82%, transparent 100%); }
.ng .ng-hero-foto .hero__ctas { justify-content: flex-start; }
/* Nombre sobre la foto: abajo, centrado y dorado, sobre una franja navy suave en degradado (sin borde) para el contraste */
.ng .ng-hero__nombre { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 44px 24px 14px; text-align: center;
  background: radial-gradient(ellipse 72% 100% at 50% 100%, rgba(0,16,64,.94) 0, rgba(0,16,64,.94) 55%, rgba(0,16,64,0) 100%);
  font: 500 12px/1.6 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .2em; color: #C9A96E;
  text-shadow: 0 0 2px rgba(0,16,64,.9), 0 1px 10px rgba(0,16,64,.95), 0 0 22px rgba(0,16,64,.8); }
.ng .ng-hero__nombre span { display: block; white-space: nowrap; }

/* Banda de cifras (crema) */
.ng #hero-stats .hero-band { grid-template-columns: 1fr; }
.ng #hero-stats .bio__stats { border-top: 1px solid var(--border-default); }

/* Tarjetas y filas: esquinas rectas, filetes finos */
.ng .ob-card, .ng .pain-card, .ng .tier-card, .ng .ficha, .ng .rec-card, .ng .bio__frame, .ng .bio__frame img, .ng input, .ng textarea, .ng select { border-radius: 0 !important; }
.ng .pain-card__box { border-radius: 0; }
.ng .corner { display: none; }
.ng .bio__frame { padding: 12px; background: #001040; position: relative; }
.ng .bio__frame::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(201,169,110,.85); pointer-events: none; }

/* Pie */
.ng .footer { position: relative; background: #000a24; max-width: none; padding-left: max(24px, calc((100% - 1200px) / 2)); padding-right: max(24px, calc((100% - 1200px) / 2)); border-top: 0; }
.ng .footer::before { top: 0; }

/* Móvil */
@media (max-width: 900px) {
  .ng .hero.ng-hero-foto { padding: 0 20px 56px; min-height: 0; }
  .ng .ng-hero__foto { position: relative; margin: 0 -20px 32px; inset-inline-end: auto; }
  .ng .ng-hero__foto img { width: 100%; max-width: none; height: 460px; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }
  .ng .ng-hero__texto { max-width: none; }
}
