/* Bdeo editorial visual layer
Extends the existing site without changing routes, content, i18n or navigation. */

:root {
--ed-dark: #141416;
--ed-footer: #0e0e10;
--ed-light: #fafafa;
--ed-white: #fff;
--ed-heading: #282828;
--ed-body: #6B6B6B;
--ed-muted: #8c8c8c;
--ed-border: #e3e3e3;
--ed-green: #6bd7b4;
--ed-accent: #34c2a0;
--ed-blue: #468fbd;
--ed-gradient: linear-gradient(301.92deg, #6bd7b4 30.38%, #468fbd 78.8%);
--ed-grid-dark:
linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
}

/* Shared editorial rhythm */
.wrap {
max-width: 1400px !important;
padding-left: 48px !important;
padding-right: 48px !important;
}

.eyebrow {
display: inline-flex !important;
align-items: center;
gap: 10px;
width: auto;
font-size: 11px !important;
letter-spacing: .16em !important;
}

.eyebrow::before {
content: "";
display: inline-block;
width: 24px;
height: 1px;
flex: 0 0 24px;
background: currentColor;
}

.shead {
max-width: 720px;
}

.shead h2 {
font-size: clamp(30px, 3.5vw, 42px) !important;
line-height: 1.1 !important;
}

.shead .lead {
max-width: 64ch;
font-size: 16px !important;
line-height: 1.65;
}

.sec-light,
.sec-white {
position: relative;
}

.sec-dark {
position: relative;
overflow: hidden;
background-color: var(--ed-dark) !important;
background-image: none !important;
}

.impact-v2 {
background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px) !important;
background-size: 28px 28px !important;
}

.sec-light + .sec-light,
.sec-white + .sec-light,
.sec-light + .sec-white {
border-top: 1px solid var(--ed-border) !important;
}

/* Keep the existing navigation architecture, refine only its surface. */
header {
background: rgba(20, 20, 22, .88) !important;
border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
}

.nav {
height: 68px !important;
}

.nav-link {
padding: 8px 10px !important;
background: transparent !important;
}

.nav-link:hover,
.nav-link.active {
color: #fff !important;
background: transparent !important;
}

.dropdown {
padding: 10px !important;
background: rgba(20, 20, 22, .96) !important;
box-shadow: 0 24px 64px rgba(0, 0, 0, .32) !important;
}

.dd-item {
padding: 12px 14px !important;
}

.dd-item:hover {
background: rgba(255, 255, 255, .055) !important;
}

.btn {
border-radius: 2px !important;
font-weight: 400 !important;
}

.btn-primary {
color: #0b0b0c !important;
}

/* Shared inner-page hero */
.psub-hero,
.demo-hero {
position: relative;
isolation: isolate;
min-height: 360px;
display: flex;
align-items: flex-end;
padding: 96px 0 76px !important;
background: var(--bd-hero-gradient) !important;
}

.psub-hero::before,
.demo-hero::before,
.hero-v2::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
pointer-events: none;
background-image: var(--ed-grid-dark);
background-size: 56px 56px;
}

.psub-hero::after,
.demo-hero::after,
.hero-v2::after {
content: "";
position: absolute;
z-index: -1;
width: 620px;
height: 620px;
right: -190px;
top: -280px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, rgba(107, 215, 180, .18), transparent 65%);
}

.psub-hero .wrap {
width: 100%;
}

.psub-hero h1,
.demo-hero h1 {
max-width: 920px;
font-size: clamp(38px, 5vw, 64px) !important;
line-height: 1.04 !important;
letter-spacing: -.02em !important;
}

.psub-hero .sub,
.demo-hero .sub {
max-width: 700px !important;
color: rgba(255, 255, 255, .68) !important;
font-size: 17px !important;
line-height: 1.65;
}

/* Home hero: retain current copy and interactions, add visual evidence. */
.hero-v2 {
position: relative;
isolation: isolate;
min-height: auto;
}

.hero-v2__grid {
grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
gap: 64px;
padding-top: 86px !important;
padding-bottom: 78px !important;
}

.hero-v2 h1 {
font-size: clamp(40px, 5vw, 64px);
line-height: 1.03;
}

.hero-v2 .sub {
font-size: 17px;
line-height: 1.65;
}

.hero-proof {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
max-width: 520px;
margin-top: 34px;
padding-top: 22px;
border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero-proof__item {
min-width: 0;
padding-right: 18px;
}

.hero-proof__item + .hero-proof__item {
padding-left: 18px;
border-left: 1px solid rgba(255, 255, 255, .16);
}

.hero-proof strong {
display: block;
color: #fff;
font-size: 26px;
font-weight: 500;
line-height: 1;
}

.hero-proof span {
display: block;
margin-top: 8px;
color: rgba(255, 255, 255, .58);
font-family: var(--font-mono);
font-size: 9.5px;
line-height: 1.35;
letter-spacing: .1em;
text-transform: uppercase;
}

.fcard-v2 {
position: relative;
padding: 0 !important;
overflow: visible;
background: rgba(10, 10, 18, .78);
box-shadow: 0 30px 80px rgba(0, 0, 0, .3) !important;
}

.fcard-v2__head {
min-height: 44px;
padding: 11px 16px;
background: rgba(10, 10, 14, .8);
border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.fcard-v2__head .ttl {
font-size: 10.5px;
}

.fcard-v3__visual {
position: relative;
height: 190px;
overflow: hidden;
background: #1a1b24;
border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.fcard-v3__visual > img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

.fcard-v3__visual::after {
content: "";
position: absolute;
left: 0;
right: 0;
height: 2px;
top: 0;
background: linear-gradient(90deg, transparent, var(--ed-green), transparent);
animation: edScan 5s ease-in-out infinite;
}

.fcard-v3__box {
position: absolute;
border: 1.5px solid var(--ed-green);
}

.fcard-v3__box--main {
left: 32%;
top: 18%;
width: 42%;
height: 62%;
}

.fcard-v3__box--delta {
left: 5%;
top: 50%;
width: 26%;
height: 32%;
border-color: var(--ed-blue);
}

.fcard-v3__box span {
position: absolute;
left: -1.5px;
top: -23px;
padding: 3px 7px;
white-space: nowrap;
background: var(--ed-green);
color: #0b0b0c;
font-family: var(--font-mono);
font-size: 9px;
line-height: 1.5;
}

.fcard-v3__box--delta span {
top: auto;
bottom: -23px;
background: var(--ed-blue);
color: #fff;
}

.fcard-v3__count {
position: absolute;
right: 12px;
bottom: 12px;
padding: 3px 7px;
border-radius: 2px;
background: rgba(10, 10, 14, .76);
color: rgba(255, 255, 255, .8);
font-family: var(--font-mono);
font-size: 9px;
}

.fcard-v3__badge {
position: absolute;
z-index: 2;
right: -12px;
top: 36px;
padding: 7px 12px;
border-radius: 2px;
background: var(--ed-gradient);
color: #0b0b0c;
font-family: var(--font-mono);
font-size: 9.5px;
letter-spacing: .1em;
}

.fcard-v2__status,
.fcard-v2__block,
.fcard-v2__delta,
.fcard-v2__score,
.fcard-v2__foot {
margin-left: 18px;
margin-right: 18px;
}

.fcard-v2__status {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 11px 0;
margin-top: 0;
border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.fcard-v2__block {
margin-top: 12px;
}

.fcard-v2__narr {
margin-top: 6px !important;
font-size: 13.5px !important;
line-height: 1.45 !important;
}

.fcard-v2__evidence {
gap: 6px;
margin-top: 7px;
}

.fcard-v2__evi {
padding: 7px 11px;
font-size: 12px;
}

.fcard-v2__delta {
margin-top: 12px;
padding: 12px;
}

.fcard-v2__delta p:last-child {
margin-top: 6px;
font-size: 13px;
line-height: 1.45;
}

.fcard-v2__score {
margin-top: 12px;
padding-top: 12px;
}

.fcard-v2__score-val {
font-size: 28px;
}

.fcard-v2__foot {
margin-top: 10px;
margin-bottom: 14px;
}

@keyframes edScan {
0% { top: 0; }
50% { top: calc(100% - 2px); }
100% { top: 0; }
}

.hero-logos {
padding: 30px 0 34px;
}

.hero-logos__lab {
max-width: 1400px;
margin: 0 auto 20px;
padding: 0 48px;
text-align: left;
font-family: var(--font-mono);
font-size: 10.5px;
letter-spacing: .14em;
text-transform: uppercase;
}

.hero-logos__track img {
height: 44px;
opacity: .65;
filter: brightness(0) invert(1);
}

/* Home problem: photo and numbered editorial list. */
.home-problem-editorial {
background: var(--ed-light) !important;
color: var(--ed-heading) !important;
background-image: none !important;
}

.home-problem-editorial > .wrap {
display: grid;
grid-template-columns: .9fr 1.1fr;
grid-template-areas:
"copy list"
"photo list";
gap: 0 72px;
align-items: start;
}

.home-problem-editorial .shead {
grid-area: copy;
}

.home-problem-editorial .eyebrow {
color: var(--ed-muted) !important;
}

.home-problem-editorial .shead h2 {
color: var(--ed-heading);
}

.home-problem-editorial .shead .lead {
color: var(--ed-body);
}

.problem-editorial-photo {
grid-area: photo;
position: relative;
height: 280px;
margin-top: 36px;
overflow: hidden;
border: 1px solid var(--ed-border);
border-radius: 4px;
}

.problem-editorial-photo img {
width: 100%;
height: 100%;
object-fit: cover;
}

.problem-editorial-photo span {
position: absolute;
left: 0;
bottom: 0;
padding: 4px 8px;
background: rgba(10, 10, 14, .76);
color: #fff;
font-family: var(--font-mono);
font-size: 9px;
}

.home-problem-editorial .problem-grid {
grid-area: list;
display: block;
margin: 0;
}

.home-problem-editorial .problem-card {
position: relative;
min-height: 0;
padding: 30px 0 30px 96px;
border: 0;
border-top: 1px solid var(--ed-border);
border-radius: 0;
background: transparent;
}

.home-problem-editorial .problem-card:last-child {
border-bottom: 1px solid var(--ed-border);
}

.home-problem-editorial .problem-card__svg {
display: none;
}

.home-problem-editorial .problem-card__n {
position: absolute;
left: 0;
top: 30px;
margin: 0;
color: var(--ed-border) !important;
font-family: var(--font-sans);
font-size: 46px;
font-weight: 600;
line-height: .9;
letter-spacing: -.03em !important;
}

.home-problem-editorial .problem-card h3 {
margin: 0 0 8px;
color: var(--ed-heading);
font-weight: 600;
}

.home-problem-editorial .problem-card p {
margin: 0;
color: var(--ed-body);
}

/* Existing home process, now using the technical editorial language. */
.how-v2 {
gap: 72px;
}

.agents-card {
border: 1px solid rgba(255, 255, 255, .13);
background-image: var(--ed-grid-dark);
background-size: 28px 28px;
}

.how-step__connector,
.how-timeline__dash {
border-color: rgba(70, 143, 189, .5);
}

.how-timeline__fill {
background: var(--ed-gradient);
}

.how-step__dot {
border-color: var(--ed-blue);
}

.audit-v2 {
margin-top: 64px;
}

/* Horizontal process from the editorial reference. */
.how-editorial {
background: #f5f4f0 !important;
}

.how-editorial__head {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 48px;
margin-bottom: 64px;
}

.how-editorial__head .shead {
margin: 0;
}

.how-editorial__head > p {
flex: none;
margin: 0 0 5px;
color: var(--ed-accent);
font-family: var(--font-mono);
font-size: 11px;
letter-spacing: .08em;
}

.how-editorial__flow {
position: relative;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
gap: 24px;
}

.how-editorial__flow::before {
content: "";
position: absolute;
top: 25px;
left: 26px;
right: 26px;
border-top: 2px dashed rgba(107, 215, 180, .7);
}

.how-editorial__step {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
}

.how-editorial__step > div {
flex: 1;
}

.how-editorial__num {
display: flex;
width: 52px;
height: 52px;
align-items: center;
justify-content: center;
margin-bottom: 24px;
border: 2px solid rgba(107, 215, 180, .7);
border-radius: 50%;
background: #fff;
color: var(--ed-accent);
font-family: var(--font-mono);
font-size: 13px;
}

.how-editorial__step > div {
display: flex;
flex-direction: column;
gap: 8px;
min-height: 216px;
padding: 24px;
border: 1px solid var(--ed-border);
border-radius: 4px;
background: #fff;
box-shadow: 0 2px 8px rgba(20, 20, 22, .035);
}

.how-editorial__step h3 {
margin: 0;
color: var(--ed-heading);
font-size: 16px;
line-height: 24px;
font-weight: 600;
}

.how-editorial__step p {
margin: 0;
color: var(--ed-body);
font-size: 14px;
line-height: 20px;
}

.how-editorial__step--agent .how-editorial__num {
border-color: var(--ed-accent);
background: var(--ed-accent);
color: #fff;
}

.how-editorial__title {
display: flex;
align-items: center;
gap: 8px;
}

.how-editorial__title > span {
padding: 2px 6px;
border-radius: 2px;
background: var(--ed-accent);
color: #fff;
font-family: var(--font-mono);
font-size: 8px;
letter-spacing: .1em;
text-transform: uppercase;
}

.cycle-compare {
margin-top: 64px;
padding: 32px 36px 36px;
border: 1px solid var(--ed-border);
border-radius: 4px;
background: #fff;
}

.cycle-compare__head,
.cycle-compare__label {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 24px;
}

.cycle-compare__head {
margin-bottom: 26px;
}

.cycle-compare__head h3 {
margin: 0;
color: var(--ed-heading);
font-size: 19px;
}

.cycle-compare__head span,
.cycle-compare__label span {
color: var(--ed-muted);
font-family: var(--font-mono);
font-size: 10px;
letter-spacing: .08em;
}

.cycle-compare__row + .cycle-compare__row {
margin-top: 20px;
}

.cycle-compare__label {
margin-bottom: 8px;
color: var(--ed-body);
font-size: 13px;
}

.cycle-compare__label b {
color: var(--ed-heading);
font-weight: 400;
}

.cycle-compare__label--bdeo span {
color: var(--ed-accent);
}

.cycle-compare__bar {
display: grid;
gap: 3px;
min-height: 34px;
}

.cycle-compare__bar span {
display: flex;
min-width: 0;
align-items: center;
padding: 0 10px;
overflow: hidden;
border-radius: 2px;
color: var(--ed-body);
font-family: var(--font-mono);
font-size: 9.5px;
white-space: nowrap;
}

.cycle-compare__bar--traditional {
grid-template-columns: 30fr 25fr 30fr 15fr;
}

.cycle-compare__bar--traditional span:nth-child(1) { background: #deddd7; }
.cycle-compare__bar--traditional span:nth-child(2) { background: #d2d1cb; }
.cycle-compare__bar--traditional span:nth-child(3) { background: #c6c4bd; }
.cycle-compare__bar--traditional span:nth-child(4) { background: #bab8b0; }

.cycle-compare__bar--bdeo {
grid-template-columns: 5fr 6fr 89fr;
}

.cycle-compare__bar--bdeo span:nth-child(1) { background: var(--ed-accent); }
.cycle-compare__bar--bdeo span:nth-child(2) { background: var(--ed-green); }
.cycle-compare__bar--bdeo span:nth-child(3) {
border: 1px dashed #d2d1cb;
background: #efeee9;
color: var(--ed-muted);
}

/* Home solution families: preserve every link and description. */
.home-solutions-editorial {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 28px;
margin-top: 54px;
}

.solution-family {
overflow: hidden;
border: 1px solid var(--ed-border);
border-radius: 4px;
background: var(--ed-white);
}

.solutions-editorial-photo {
position: relative;
height: 220px;
overflow: hidden;
}

.solutions-editorial-photo img {
width: 100%;
height: 100%;
object-fit: cover;
}

.solutions-editorial-photo span {
position: absolute;
left: 16px;
top: 16px;
padding: 5px 11px;
border-radius: 2px;
background: var(--ed-dark);
color: #fff;
font-family: var(--font-mono);
font-size: 10px;
letter-spacing: .14em;
}

.solution-family .vcat-lab {
display: none;
}

.solution-family .sol-list {
margin: 0;
padding: 8px 30px 24px;
border: 0;
background: transparent;
}

.solution-family .sol-row {
padding: 20px 0;
border-bottom: 1px solid #efefed;
}

.solution-family .sol-row:last-child {
border-bottom: 0;
}

.solution-family .sol-row h3 {
color: var(--ed-muted) !important;
}

.solution-family .sol-row__desc {
font-size: 13px;
}

/* Metrics and trust */
body .impact-v2 {
background-image: none !important;
background-color: var(--ed-dark) !important;
}

.impact-v2__curve {
display: none;
}

.impact-v2__cell {
background: rgba(255, 255, 255, .025);
}

.impact-v2__cell::after {
background: var(--ed-gradient);
}

/* Verified-evidence core with four specialist agents. */
.agentic-layer {
background: var(--ed-light) !important;
}

.agentic-layer__head {
margin-bottom: 66px;
}

.agentic-network {
position: relative;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 150px 170px;
}

.agentic-network__lines {
position: absolute;
inset: 0;
z-index: 0;
width: 100%;
height: 100%;
pointer-events: none;
}

.agentic-network__lines line {
stroke: var(--ed-accent);
stroke-width: .3;
stroke-linecap: round;
stroke-dasharray: 1 3;
animation: edDash 2s linear infinite;
opacity: .7;
}

.agentic-network__core {
position: absolute;
top: 50%;
left: 50%;
z-index: 2;
display: flex;
width: 148px;
height: 148px;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 4px;
transform: translate(-50%, -50%);
border: 2px solid var(--ed-accent);
border-radius: 50%;
background: var(--ed-dark);
box-shadow: 0 0 0 8px var(--ed-light), 0 16px 40px rgba(20, 20, 22, .22);
color: #fff;
}

.agentic-network__core span {
color: var(--ed-green);
font-family: var(--font-mono);
font-size: 9px;
letter-spacing: .13em;
}

.agentic-network__core strong {
font-size: 15px;
font-weight: 600;
line-height: 1.25;
text-align: center;
}

.agentic-card {
position: relative;
z-index: 1;
display: flex;
min-height: 250px;
padding: 30px;
flex-direction: column;
border: 1px solid var(--ed-border);
border-radius: 4px;
background: #fff;
box-shadow: 0 2px 12px rgba(20, 20, 22, .045);
}

.agentic-card__type {
display: flex;
align-items: center;
gap: 10px;
margin: 0 0 14px !important;
color: var(--ed-accent) !important;
font-family: var(--font-mono);
font-size: 10px !important;
letter-spacing: .15em;
}

.agentic-card__type::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--ed-accent);
animation: edPulse 2s ease-in-out infinite;
}

.agentic-card h3 {
margin: 0 0 12px;
color: var(--ed-heading);
font-size: 20px;
}

.agentic-card > p:not(.agentic-card__type) {
margin: 0;
flex: 1;
color: var(--ed-body);
font-size: 14px;
line-height: 1.6;
}

.agentic-card > span {
margin-top: 18px;
padding-top: 10px;
border-top: 1px solid #efeee9;
color: var(--ed-muted);
font-family: var(--font-mono);
font-size: 10.5px;
}

@keyframes edDash {
to { stroke-dashoffset: -4; }
}

@keyframes edPulse {
50% { opacity: .35; transform: scale(.75); }
}

.trust-v2__cell {
border-color: var(--ed-border);
}

.trust-v2__cell h3 {
line-height: 24px;
}

.trust-v2__cell p {
color: var(--ed-body) !important;
}

/* Generic cards across product, AI, security and legal pages. */
.pcard,
.step,
.vcard,
.tcell,
.acard,
.ucard,
.fstage,
.wcard,
.mcard,
.hyper,
.copilot-callout,
.arch-wrap,
.outcomes,
.cert-card,
.feat,
.status-embed,
.fleet-card,
.ia-mock,
.demo-form-card {
border-radius: 4px !important;
box-shadow: none !important;
}

.sec-light .pcard,
.sec-light .step,
.sec-light .vcard,
.sec-light .tcell,
.sec-light .acard,
.sec-light .ucard,
.sec-light .fstage,
.sec-light .wcard,
.sec-light .mcard,
.sec-light .hyper,
.sec-light .copilot-callout,
.sec-light .arch-wrap,
.sec-light .outcomes,
.sec-light .cert-card,
.sec-light .feat {
border-color: var(--ed-border) !important;
}

.agents {
gap: 20px;
}

.acard {
padding: 28px !important;
}

.acard .h .badge {
display: inline-flex;
align-items: center;
gap: 8px;
border: 0 !important;
padding: 0 !important;
}

.acard .h .badge::before {
content: "";
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--ed-green);
}

.fleet-card-bar,
.ia-mock-bar {
background: rgba(255, 255, 255, .025) !important;
}

.platform-visual img,
.nos-imgs img {
border-radius: 4px !important;
}

/* Nosotros team grid: 3 equal columns on desktop. */
.nos-imgs {
display: grid !important;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
gap: 16px !important;
margin-top: 52px;
}

.nos-imgs img,
.nos-imgs img:first-child,
.nos-imgs img:not(:first-child) {
grid-column: auto !important;
width: 100% !important;
height: 270px !important;
aspect-ratio: auto !important;
object-fit: cover !important;
border: 1px solid var(--ed-border);
}

@media (max-width: 980px) {
.nos-imgs {
grid-template-columns: 1fr !important;
}

.nos-imgs img,
.nos-imgs img:first-child,
.nos-imgs img:not(:first-child) {
height: 220px !important;
}
}

/* Resource hub, blog listing and article pages. */
.rsc-shead {
padding-bottom: 20px;
border-bottom: 1px solid currentColor;
border-color: rgba(140, 140, 140, .28);
}

.rsc-grid {
gap: 24px;
}

.rsc-card {
border-radius: 4px !important;
box-shadow: none;
}

.rsc-media {
aspect-ratio: 16 / 9;
}

.rsc-media img {
transition: transform .6s var(--ease-standard);
}

.rsc-card:hover .rsc-media img {
transform: scale(1.025);
}

.rsc-body {
padding: 22px 22px 24px;
}

.rsc-title {
font-size: 19px;
}

.rsc-tags span,
.rsc-meta {
font-family: var(--font-mono);
}

.rsc-chip,
.rsc-more-btn {
border-radius: 2px !important;
}

.rsc-chip.is-active {
background: var(--ed-dark) !important;
border-color: var(--ed-dark) !important;
color: #fff !important;
}

.rsc-post {
max-width: 820px;
padding-top: 76px;
}

.rsc-post-title {
margin-top: 18px;
font-size: clamp(38px, 5vw, 60px);
line-height: 1.08;
letter-spacing: -.02em;
}

.rsc-post-hero-img {
width: min(1040px, calc(100vw - 48px));
max-width: none;
margin-left: 50%;
transform: translateX(-50%);
border-radius: 4px;
margin-top: 38px;
margin-bottom: 44px;
}

.rsc-post-body {
color: var(--ed-body);
font-size: 17px;
line-height: 1.8;
}

.rsc-post-body h2 {
margin-top: 48px;
padding-top: 24px;
border-top: 1px solid var(--ed-border);
}

.rsc-post-body blockquote {
padding: 20px 24px;
border-left: 2px solid var(--ed-blue);
background: #f4f4f2;
}

/* Legal pages use the same reading column as editorial articles. */
.legal-doc {
max-width: 860px;
}

.legal-doc h2 {
margin-top: 52px;
padding-top: 24px;
border-top: 1px solid var(--ed-border);
}

.legal-doc p,
.legal-doc li {
font-size: 16px;
line-height: 1.8;
}

.cert-grid {
gap: 20px;
}

.cert-card {
min-height: 180px;
padding: 26px 22px;
}

/* Demo and company retain their current content and functionality. */
.demo-grid {
gap: 72px;
}

.demo-form-card {
border: 1px solid rgba(255, 255, 255, .15);
background: rgba(10, 10, 18, .72);
}

.nos-join {
position: relative;
overflow: hidden;
background: var(--ed-dark) !important;
}

.nos-join > img {
display: none !important;
}

.nos-join::after {
display: none !important;
}

.nos-join-inner {
z-index: 1;
}

footer {
background: var(--ed-footer) !important;
}

@media (max-width: 1080px) {
.wrap {
padding-left: 32px !important;
padding-right: 32px !important;
}

.hero-v2__grid {
grid-template-columns: 1fr 1fr;
gap: 40px;
}

.how-editorial__flow {
grid-template-columns: repeat(3, minmax(0, 1fr));
}

.how-editorial__flow::before {
display: none;
}

.home-problem-editorial > .wrap {
gap: 0 48px;
}

}

@media (max-width: 820px) {
.wrap {
padding-left: 24px !important;
padding-right: 24px !important;
}

.psub-hero,
.demo-hero {
min-height: 300px;
padding: 72px 0 56px !important;
}

.hero-v2__grid,
.home-problem-editorial > .wrap,
.home-solutions-editorial {
grid-template-columns: 1fr;
}

.how-editorial__head {
display: block;
}

.how-editorial__head > p {
margin-top: 20px;
}

.how-editorial__flow {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agentic-network {
gap: 100px 110px;
}

.agentic-network__core {
width: 120px;
height: 120px;
}

.hero-v2__grid {
padding-top: 64px !important;
}

.home-problem-editorial > .wrap {
grid-template-areas:
"copy"
"photo"
"list";
}

.home-problem-editorial .problem-grid {
margin-top: 40px;
}

.problem-editorial-photo {
height: 250px;
}

.hero-logos__lab {
padding: 0 24px;
}

.rsc-post-hero-img {
width: calc(100vw - 32px);
}
}

@media (max-width: 560px) {
.nav-right .lang {
display: none;
}

.hero-v2 h1 {
font-size: clamp(36px, 11vw, 48px);
}

.hero-proof {
margin-top: 28px;
}

.hero-proof strong {
font-size: 23px;
}

.hero-proof__item {
padding-right: 10px;
}

.hero-proof__item + .hero-proof__item {
padding-left: 10px;
}

.fcard-v3__visual {
height: 170px;
}

.fcard-v3__box span {
font-size: 7.5px;
}

.home-problem-editorial .problem-card {
padding-left: 72px;
}

.home-problem-editorial .problem-card__n {
font-size: 38px;
}

.solutions-editorial-photo {
height: 190px;
}

.how-editorial__flow,
.agentic-network {
grid-template-columns: 1fr;
gap: 18px;
}

.how-editorial__step {
display: grid;
grid-template-columns: 44px 1fr;
gap: 12px;
}

.how-editorial__num {
width: 44px;
height: 44px;
margin: 0;
}

.how-editorial__step > div {
min-height: 0;
}

.cycle-compare {
padding: 24px 20px;
}

.cycle-compare__head {
display: block;
}

.cycle-compare__head span {
display: block;
margin-top: 8px;
}

.cycle-compare__bar span {
padding: 0 5px;
font-size: 7px;
}

.agentic-network__lines {
display: none;
}

.agentic-network__core {
position: static;
width: 118px;
height: 118px;
margin: 0 auto 14px;
transform: none;
}

.agentic-card {
min-height: 0;
}

.rsc-post-title {
font-size: 36px;
}
}

/* Vertical hero visuals (motor & hogar inner pages). */
.vhero-grid {
display: grid;
grid-template-columns: minmax(0, 1.03fr) minmax(400px, .97fr);
gap: 60px;
align-items: center;
}

.vhero-card {
position: relative;
overflow: hidden;
background: rgba(10, 10, 18, .78);
border: 1px solid rgba(255, 255, 255, .1);
box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}

.vhero-card__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
min-height: 44px;
padding: 11px 16px;
background: rgba(10, 10, 14, .8);
border-bottom: 1px solid rgba(255, 255, 255, .08);
font-family: var(--font-mono);
font-size: 10.5px;
letter-spacing: .1em;
text-transform: uppercase;
color: rgba(255, 255, 255, .74);
}

.vhero-card__live {
display: inline-flex;
align-items: center;
gap: 7px;
flex: 0 0 auto;
font-size: 9.5px;
color: var(--ed-green);
}

.vhero-card__live::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--ed-green);
animation: vheroBlink 1.6s ease-in-out infinite;
}

@keyframes vheroBlink {
0%, 100% { opacity: 1; }
50% { opacity: .25; }
}

.vhero-visual {
position: relative;
height: 230px;
overflow: hidden;
background: #1a1b24;
border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.vhero-visual > img,
.vhero-visual > svg {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

.vhero-svgbox rect {
fill: none;
stroke: var(--ed-green);
stroke-width: 1.5;
}

.vhero-svgbox .vhero-svgbox__lbl {
fill: var(--ed-green);
stroke: none;
}

.vhero-svgbox text {
fill: #0b0b0c;
font-family: var(--font-mono);
font-size: 9px;
}

.vhero-svgbox--alt rect {
stroke: var(--ed-blue);
}

.vhero-svgbox--alt .vhero-svgbox__lbl {
fill: var(--ed-blue);
}

.vhero-svgbox--alt text {
fill: #fff;
}

.vhero-visual::after {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
height: 2px;
background: linear-gradient(90deg, transparent, var(--ed-green), transparent);
animation: edScan 5s ease-in-out infinite;
}

.vhero-box {
position: absolute;
border: 1.5px solid var(--ed-green);
}

.vhero-box span {
position: absolute;
left: -1.5px;
top: -22px;
padding: 3px 7px;
white-space: nowrap;
background: var(--ed-green);
color: #0b0b0c;
font-family: var(--font-mono);
font-size: 9px;
line-height: 1.5;
}

.vhero-box--alt {
border-color: var(--ed-blue);
}

.vhero-box--alt span {
top: auto;
bottom: -22px;
background: var(--ed-blue);
color: #fff;
}

.vhero-count {
position: absolute;
right: 12px;
bottom: 12px;
padding: 3px 7px;
background: rgba(10, 10, 14, .76);
color: rgba(255, 255, 255, .8);
font-family: var(--font-mono);
font-size: 9px;
}

.vhero-thumbs {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px;
padding: 14px 16px;
}

.vhero-thumb {
position: relative;
aspect-ratio: 4 / 3;
background: rgba(255, 255, 255, .05) center / cover no-repeat;
border: 1px solid rgba(255, 255, 255, .12);
}

.vhero-rows {
display: grid;
gap: 1px;
background: rgba(255, 255, 255, .08);
border-top: 1px solid rgba(255, 255, 255, .08);
}

.vhero-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 11px 16px;
background: rgba(10, 10, 18, .78);
color: rgba(255, 255, 255, .72);
font-size: 13px;
}

.vhero-row b {
flex: 0 0 auto;
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
letter-spacing: .08em;
text-transform: uppercase;
color: var(--ed-green);
}

.vhero-row b.is-alt {
color: var(--ed-blue);
}

.vhero-foot {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 13px 16px;
background: rgba(10, 10, 14, .6);
border-top: 1px solid rgba(255, 255, 255, .08);
}

.vhero-chip {
padding: 4px 9px;
border: 1px solid rgba(255, 255, 255, .16);
color: rgba(255, 255, 255, .62);
font-family: var(--font-mono);
font-size: 9.5px;
letter-spacing: .08em;
text-transform: uppercase;
}

.vhero-chip--ok {
color: var(--ed-green);
border-color: rgba(107, 215, 180, .42);
}

.vhero-chip--alt {
color: var(--ed-blue);
border-color: rgba(70, 143, 189, .45);
}

@media (max-width: 1080px) {
.vhero-grid {
grid-template-columns: 1fr;
gap: 44px;
}

.vhero-visual {
height: 210px;
}
}

@media (max-width: 560px) {
.vhero-visual {
height: 170px;
}

.vhero-box span {
font-size: 7.5px;
}
}

@media (prefers-reduced-motion: reduce) {
.fcard-v3__visual::after,
.vhero-visual::after,
.vhero-card__live::before,
.rsc-media img,
.agentic-network__lines line,
.agentic-card__type::before {
animation: none !important;
transition: none !important;
}
}


/* Agentes: tarjeta destacada con degradado de marca. */
.how-editorial__step--agent > div {
position: relative;
border-color: rgba(52, 194, 160, .32);
background:
linear-gradient(301.92deg, rgba(107, 215, 180, .10) 30.38%, rgba(70, 143, 189, .10) 78.8%),
#fff;
box-shadow: 0 4px 16px rgba(52, 194, 160, .10);
}

.how-editorial__step--agent .how-editorial__title > span {
position: absolute;
top: 16px;
right: 16px;
padding: 3px 7px;
border-radius: 2px;
background: var(--ed-accent);
color: #0b0b0c;
font-size: 8.5px;
font-weight: 600;
}

.how-editorial__step--agent .how-editorial__title {
padding-right: 64px;
min-height: 24px;
}


/* Impacto: rejilla de resultados en 8pt. */
.impact-v2__grid {
margin-top: 64px;
gap: 48px;
}

.impact-v2__grid--sm {
margin-top: 48px;
}

.impact-v2__cat {
padding-bottom: 16px;
}

.impact-v2__num {
margin-top: 24px;
}

.impact-v2__lbl {
margin-top: 16px;
line-height: 24px;
}

.impact-v2__cell--sm {
gap: 16px;
}

.impact-v2__lbl--sm {
line-height: 20px;
}


.impact-v2__cell {
padding: 16px;
border-radius: 4px;
}


.impact-v2__grid-bg {
display: none;
}


/* Pedir demo: hero sin patrón de fondo. */
body .demo-hero::before,
body .psub-hero::before,
body .hero-v2::before {
display: none;
}


.how-editorial__flow + .hyper {
margin-top: 48px;
}


.how-editorial__lab {
margin: 0 !important;
color: var(--ed-accent) !important;
font-family: var(--font-mono);
font-size: 10px !important;
letter-spacing: .15em;
text-transform: uppercase;
}


/* Radios consistentes: 4px en superficies, 2px en chips y etiquetas. */
.vhero-card,
.fcard-v2,
.fcard-v3,
.demo-form-card,
.acard,
.feat,
.problem-card,
.trust-v2__cell,
.ucard,
.rsc-card,
.cs-panel,
.ia-mock {
border-radius: 4px !important;
}

.vhero-card__head,
.vhero-visual,
.vhero-foot {
border-radius: 0 !important;
}

.vhero-box > span,
.vhero-chip,
.badge,
.cs-head span {
border-radius: 2px !important;
}


.impact-grid {
background: transparent !important;
border: 0 !important;
border-radius: 0 !important;
overflow: visible !important;
gap: 16px;
}

.impact-cell {
padding: 24px !important;
border: 1px solid var(--ed-border) !important;
border-radius: 4px !important;
background: #fff !important;
}


/* Callouts / kicker+card: patrón visual único (padding, kicker, body, overflow). */
.hyper,
.hyper.copilot-callout {
padding: 30px !important;
overflow: visible !important;
height: auto !important;
max-height: none !important;
}

.hyper .flabel {
margin: 0 !important;
color: var(--ed-accent) !important;
font-family: var(--font-mono);
font-size: 10px !important;
font-weight: 400 !important;
letter-spacing: .15em;
text-transform: uppercase;
line-height: 1.4;
}

.hyper p:not(.flabel):not(.q),
.sec-light .hyper p:not(.flabel):not(.q),
.sec-white .hyper p:not(.flabel):not(.q),
.how-editorial .hyper p:not(.flabel):not(.q) {
margin-top: 12px !important;
color: var(--ed-body) !important;
font-size: 16px !important;
line-height: 1.65 !important;
overflow: visible !important;
height: auto !important;
max-height: none !important;
-webkit-line-clamp: unset !important;
display: block !important;
}

.hyper .q {
color: var(--ed-heading) !important;
font-size: clamp(22px, 2.6vw, 30px) !important;
font-weight: 400 !important;
line-height: 1.25 !important;
max-width: none !important;
overflow: visible !important;
}

.shead + .how-editorial__flow {
margin-top: 56px;
}


.grad-text {
background: var(--ed-gradient);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}


/* Cards genéricas: títulos y cuerpo consistentes con el resto de la web. */
.pcard, .vcard, .ucard, .mcard, .wcard, .fstage, .tcell, .cert-card, .feat, .fleet-card, .acard {
padding: 24px !important;
}

.pcard h3, .vcard h3, .ucard h3, .mcard h3, .wcard h3,
.fstage h3, .tcell h3, .cert-card h3, .feat h3, .fleet-card h3, .acard h3 {
margin: 8px 0 0 !important;
color: var(--ed-heading) !important;
font-size: 16px !important;
font-weight: 400 !important;
line-height: 24px !important;
}

.pcard p:not(.sn), .vcard p:not(.sn), .ucard p:not(.sn), .mcard p:not(.sn),
.wcard p:not(.sn), .fstage p:not(.sn), .tcell p:not(.sn), .cert-card p:not(.sn),
.feat p:not(.ic), .fleet-card p:not(.sn), .acard p {
margin-top: 8px !important;
color: var(--ed-body) !important;
font-size: 14px !important;
line-height: 20px !important;
}

.grid-3, .pgrid, .vgrid, .ugrid, .mgrid, .wgrid, .tgrid, .fstages, .cert-grid, .demo-feats {
gap: 24px;
}

.psub-hero .hero-cta,
.hero-v2 .hero-cta,
.demo-hero .hero-cta {
margin-top: 32px;
}


.pcard .sn, .vcard .sn, .ucard .sn, .mcard .sn, .wcard .sn,
.fstage .sn, .tcell .sn, .cert-card .sn, .fleet-card .sn {
margin: 0 !important;
color: var(--ed-muted) !important;
font-family: var(--font-mono);
font-size: 10px !important;
line-height: 16px !important;
letter-spacing: .14em;
text-transform: uppercase;
}


/* Arquitectura Copilot: diagrama en CSS. */
.arch-diagram {
display: grid;
grid-template-columns: 1fr 132px 1fr 132px 1fr;
align-items: stretch;
margin-top: 56px;
}

.arch-diagram__col {
display: flex;
flex-direction: column;
gap: 8px;
}

.arch-diagram__lab {
margin: 0;
color: var(--ed-muted);
font-family: var(--font-mono);
font-size: 10px;
line-height: 16px;
letter-spacing: .14em;
text-transform: uppercase;
}

.arch-diagram__node {
flex: 1;
padding: 24px;
border: 1px solid var(--ed-border);
border-radius: 4px;
background: #fff;
box-shadow: 0 2px 8px rgba(20, 20, 22, .035);
}

.arch-diagram__node--core {
border-color: rgba(52, 194, 160, .32);
background:
linear-gradient(301.92deg, rgba(107, 215, 180, .10) 30.38%, rgba(70, 143, 189, .10) 78.8%),
#fff;
box-shadow: 0 4px 16px rgba(52, 194, 160, .10);
}

.arch-diagram__node h4 {
margin: 0;
color: var(--ed-heading);
font-size: 16px;
font-weight: 400;
line-height: 24px;
}

.arch-diagram__node ul {
margin: 8px 0 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 4px;
}

.arch-diagram__node li {
position: relative;
padding-left: 16px;
color: var(--ed-body);
font-size: 14px;
line-height: 20px;
}

.arch-diagram__node li::before {
content: "";
position: absolute;
left: 0;
top: 8px;
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--ed-accent);
}

.arch-diagram__link {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
padding-top: 24px;
}

.arch-diagram__link::after {
content: "";
width: 100%;
border-top: 1px dashed rgba(52, 194, 160, .8);
}

.arch-diagram__link span {
color: var(--ed-body);
font-family: var(--font-mono);
font-size: 10px;
line-height: 16px;
letter-spacing: .12em;
text-transform: uppercase;
}

.arch-diagram__return {
grid-column: 1 / -1;
position: relative;
margin-top: 32px;
padding-top: 24px;
text-align: center;
}

.arch-diagram__return::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
border-top: 1px dashed var(--ed-border);
}

.arch-diagram__return span {
color: var(--ed-body);
font-family: var(--font-mono);
font-size: 10px;
line-height: 16px;
letter-spacing: .12em;
text-transform: uppercase;
}

@media (max-width: 900px) {
.arch-diagram {
grid-template-columns: 1fr;
gap: 8px;
}

.arch-diagram__link {
padding: 8px 0;
}

.arch-diagram__link::after {
width: 0;
height: 28px;
border-top: 0;
border-left: 1px dashed rgba(52, 194, 160, .8);
}
}

/* ---------- Flotas: El problema (5 cards, sin números, sin hover) ---------- */
#page-motor-fleets .pgrid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 24px;
}

#page-motor-fleets .pgrid .pcard,
#page-motor-fleets .pgrid .pcard:hover {
transform: none !important;
transition: none !important;
cursor: default;
}

#page-motor-fleets .pgrid .pcard h3 {
margin-top: 0 !important;
}

#page-motor-fleets .pgrid .pcard .sn {
display: none !important;
}

/* ---------- Flotas: Soluciones (label top-right, sin icono) ---------- */
#page-motor-fleets .vgrid .vcard {
position: relative;
padding: 24px !important;
padding-right: 108px !important;
}

#page-motor-fleets .vgrid .vcard .tag {
position: absolute;
top: 24px;
right: 24px;
margin: 0;
color: var(--ed-accent) !important;
font-family: var(--font-mono);
font-size: 10px;
letter-spacing: .14em;
text-transform: uppercase;
}

#page-motor-fleets .vgrid .vcard h3 {
margin: 0 !important;
}

#page-motor-fleets .vgrid .vcard p {
margin-top: 8px !important;
color: var(--ed-body) !important;
}

@media (max-width: 1100px) {
#page-motor-fleets .pgrid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

@media (max-width: 720px) {
#page-motor-fleets .pgrid {
grid-template-columns: 1fr;
}

#page-motor-fleets .vgrid .vcard {
padding-right: 24px !important;
}

#page-motor-fleets .vgrid .vcard .tag {
position: static;
display: block;
margin-bottom: 10px;
}
}
