/* VÉRTICE en el portal (28/11/2026). Se carga al final: cambia marca, color, tipografía y cortes a bisel.
   No cambia contenido, menú ni estructura. Los valores están en branding/vertice/tokens.css.
   Encabezado, portada y pie son siempre Noche; por eso usan el logo para fondo oscuro en los dos temas. */
/* Tipografías propias (OFL-1.1), tomadas de @fontsource-variable 5.3.0. La licencia está junto a los archivos. */
@font-face {
  font-family: 'Instrument Sans';
  src: url('/marketing/fonts/instrument-sans-latin-ext-5.3.0.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/marketing/fonts/instrument-sans-latin-5.3.0.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Big Shoulders';
  src: url('/marketing/fonts/big-shoulders-latin-ext-5.3.0.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Big Shoulders';
  src: url('/marketing/fonts/big-shoulders-latin-5.3.0.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

.marketing-site {
  --v-display: 'Big Shoulders', 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --v-text: 'Instrument Sans', 'Figtree', 'Segoe UI', sans-serif;
  --v-noche: #0b1020;
  --v-lima: #c8f23c;
  --v-violeta: #5b3df5;
  --v-action: #5b3df5;
  --v-on-action: #fff;
  --m-bg: #eef0f6; --m-card: #fff; --m-soft: #e2e6f2; --m-ink: #0b1020; --m-muted: #4f5775;
  --m-line: #cbd1e3; --m-control: #747d9c; --m-brand: #5b3df5; --m-on-brand: #fff; --m-tint: #ece9ff;
  font-family: var(--v-text);
  overflow-x: clip;
}
html.dark .marketing-site {
  --v-action: #b9aeff;
  --v-on-action: #0b1020;
  --m-bg: #0b1020; --m-card: #1b2242; --m-soft: #151b33; --m-ink: #eef0f6; --m-muted: #b7bedb;
  --m-line: #3a4266; --m-control: #7c87b3; --m-brand: #b9aeff; --m-on-brand: #0b1020; --m-tint: #2b2560;
}

/* Superficies que siempre son oscuras. */
.marketing-site :is(.m-header, .m-hero, .m-footer) {
  --v-action: #5b3df5;
  --v-on-action: #fff;
  --m-ink: #fff; --m-muted: #c9cfe6; --m-line: #2a3150; --m-control: #7c87b3;
  --m-brand: #b9aeff; --m-tint: #2b2560; --m-card: #151b33; --m-soft: #151b33;
}

/* Titulares: Big Shoulders en mayúsculas. Al ser condensada, admite cuerpos mayores en el mismo ancho. */
.marketing-site :is(h1, h2, h3) {
  font-family: var(--v-display);
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1.06;
  text-transform: uppercase;
}
.marketing-site .m-hero h1 { font-size: clamp(34px, 5vw, 72px); line-height: 1.02; }
.marketing-site .m-page-heading h1 { font-size: clamp(44px, 5.2vw, 72px); line-height: 1.02; }
.marketing-site :is(.m-section-title, .m-split, .m-community-preview, .m-start-section, .m-home-intro-grid, .m-investment, .m-community-section, .m-about-story) h2 { font-size: clamp(34px, 3.9vw, 52px); }
.marketing-site .m-trajectory-heading h2 { font-size: clamp(30px, 2.9vw, 40px); }
.marketing-site .m-contact-band h2 { font-size: clamp(32px, 3.4vw, 46px); }
.marketing-site :is(.m-steps h3, .m-solution h3, .m-solution h2) { font-size: 28px; }
.marketing-site .m-eyebrow { font-size: 12px; font-weight: 700; }
.marketing-site .m-eyebrow > span { width: 12px; height: 7px; border-radius: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* Encabezado: barra oscura persistente con el logo horizontal. */
.marketing-site .m-header { background: var(--v-noche); color: #fff; border-bottom-color: var(--m-line); }
.marketing-site .m-brand > img.m-logo { width: 214px; height: auto; padding: 0; background: none; border-radius: 0; }
.marketing-site .m-desktop-nav a { border-radius: 0; color: #eef0f6; }
.marketing-site .m-desktop-nav a:hover { color: #fff; background: #2a3150; }
.marketing-site .m-desktop-nav a[aria-current='page'] { color: #fff; background: var(--v-violeta); }
.marketing-site :is(.m-theme, .m-mobile-nav > summary) { border-radius: 0; background: transparent; color: #fff; }
.marketing-site .m-mobile-nav nav { border-radius: 0; color: #fff; }
.marketing-site .m-mobile-nav nav a { border-radius: 0; }
.marketing-site .m-mobile-nav nav a:is(:hover, [aria-current='page']) { color: #fff; background: var(--v-violeta); }

/* Portada: Noche, retícula isométrica y resplandor violeta. La Lima es un acento puntual. */
.marketing-site .m-hero { position: relative; isolation: isolate; color: #fff; }
.marketing-site .m-hero::before {
  content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background:
    radial-gradient(ellipse 46% 78% at 76% 44%, rgb(91 61 245 / .5), transparent 72%),
    url('/brand/ss-reticula-20261128.svg') 0 0 / 104px 180px,
    var(--v-noche);
}
.marketing-site .m-hero em { color: var(--v-lima); }
.marketing-site .m-hero .m-eyebrow { color: #fff; }
.marketing-site .m-hero .m-eyebrow > span { background: var(--v-lima); }
.marketing-site .m-hero-note strong { color: #fff; }
.marketing-site .m-mini-mark { border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.marketing-site .m-hero-figure > .m-photo,
.marketing-site :is(.m-community-preview, .m-community-image, .m-guidance-photo, .m-about-story) > .m-photo {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 44px 100%, 0 calc(100% - 44px));
}
.marketing-site .m-hero-figure figcaption { background: #fff; border: 0; border-radius: 0; left: 58px; border-left: 5px solid var(--v-violeta); }
.marketing-site .m-hero-figure figcaption strong { color: var(--v-noche); }
.marketing-site .m-hero-figure figcaption small { color: #4f5775; }
.marketing-site .m-hero-figure .m-caption-icon { color: var(--v-violeta); background: #ece9ff; }

/* Botones con bisel hecho con fondos, no con clip-path, para que el borde de foco no se recorte. */
.marketing-site .m-button {
  border: 0; border-radius: 0; color: var(--v-on-action);
  background:
    linear-gradient(225deg, transparent 8px, var(--v-action) 8.5px) top / 100% 51% no-repeat,
    linear-gradient(45deg, transparent 8px, var(--v-action) 8.5px) bottom / 100% 51% no-repeat;
}
.marketing-site .m-button-secondary { border: 2px solid var(--m-ink); background: transparent; color: var(--m-ink); }
.marketing-site .m-button-secondary:hover { background: var(--m-tint); color: var(--m-ink); }

/* Tarjetas y superficies. */
/* En el listado detallado de Ecosistema no hay tarjeta: el bisel va en la foto, para no cortar los separadores. */
.marketing-site .m-solutions-detailed .m-solution-image {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
}
.marketing-site .m-solutions-detailed .m-solution-icon { left: 48px; }
.marketing-site :is(.m-solutions:not(.m-solutions-detailed) > .m-solution, .m-purpose-grid > article) {
  border: 0; border-radius: 0; background: var(--m-card);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.marketing-site :is(.m-caption-icon, .m-purpose-icon, .m-solution-icon, .m-jump-links a, .m-client-tile) { border-radius: 0; }
.marketing-site .m-client-arrows button { border-radius: 0; }
.marketing-site .m-steps li { border-top: 3px solid var(--m-brand); }
.marketing-site .m-steps li > span { font: 700 22px/1 var(--v-display); }

/* Llamado a conversar: violeta con una sola acción en Lima. */
.marketing-site .m-contact-band {
  --v-action: #c8f23c;
  --v-on-action: #0b1020;
  --m-ink: #fff; --m-muted: #fff; --m-brand: #fff; --m-tint: #4b31d6;
  border: 0; border-radius: 0; background: var(--v-violeta); color: #fff;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}

.marketing-site .m-footer { background: var(--v-noche); color: #fff; border-top: 4px solid var(--v-violeta); }
.marketing-site .m-footer .m-brand { min-height: 44px; }
.marketing-site .m-footer-grid > div > a:not(.m-brand) { font-size: 13px; }
.marketing-site .m-footer-bottom { font-size: 12px; }

@media (max-width: 1100px) { .marketing-site .m-brand > img.m-logo { width: 186px; } }
@media (max-width: 760px) {
  .marketing-site .m-hero h1 { font-size: clamp(34px, 11.2vw, 72px); }
  .marketing-site .m-hero-figure > .m-photo { clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
  .marketing-site .m-hero-figure figcaption { left: 38px; }
}
@media (max-width: 540px) {
  .marketing-site .m-brand > img.m-logo { width: 168px; height: auto; }
  .marketing-site :is(.m-theme, .m-mobile-nav > summary) { width: 44px; min-width: 44px; }
  .marketing-site .m-eyebrow { font-size: 12px; }
}
/* En impresión, la portada vuelve a fondo claro y texto oscuro. */
@media print {
  .marketing-site .m-hero { --m-ink: #0b1020; --m-muted: #4f5775; color: #0b1020; }
  .marketing-site .m-hero::before { display: none; }
  .marketing-site .m-hero :is(em, .m-eyebrow, strong) { color: #0b1020; }
}
