:root {
  --navy: #0a2342;
  --navy-dark: #08182e;
  --cream: #faf7f0;
  --paper: #fffdf9;
  --gold: #b08a4a;
  --gold-light: #d7ba7e;
  --warm: #6b6357;
  --ink: #29261b;
  --line: rgba(10, 35, 66, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Manrope, system-ui, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-template-part { margin: 0; }
.content-shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 100px 0; }
.content-shell > .wp-block-post-title:first-child,
.content-shell > .wp-block-query-title:first-child,
.content-shell > h1:first-child { font-size: clamp(48px, 6vw, 76px); }
.legal-shell { width: min(calc(100% - 48px), 920px); padding: 96px 0 120px; }
.legal-eyebrow { margin-bottom: 18px; }
.legal-title { max-width: 820px; font-size: clamp(50px, 6vw, 72px); line-height: .98; }
.legal-content { max-width: none; margin-top: 48px; border-top: 2px solid var(--gold); background: var(--paper); color: var(--warm); padding: clamp(32px, 5vw, 64px); box-shadow: 0 24px 60px -52px rgba(8,24,46,.7); }
.legal-content > .elementor { margin: 0; }
.legal-content .elementor-section,
.legal-content .elementor-container,
.legal-content .elementor-column,
.legal-content .elementor-widget-wrap,
.legal-content .elementor-widget,
.legal-content .elementor-widget-container { width: 100%; max-width: none; margin: 0; padding: 0; }
.legal-content .elementor-widget-text-editor .elementor-widget-container > h1:first-of-type { display: none; }
.legal-content h2 { margin: 56px 0 18px; font-size: clamp(31px, 4vw, 40px); line-height: 1.08; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 34px 0 13px; font-size: 18px; }
.legal-content p,
.legal-content li { color: var(--warm); font-size: 15px; line-height: 1.78; }
.legal-content p { margin: 0 0 18px; }
.legal-content ul,
.legal-content ol { margin: 0 0 24px; padding-left: 23px; }
.legal-content li + li { margin-top: 8px; }
.legal-content strong { color: var(--navy); font-weight: 700; }
.legal-content a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-content a:hover { text-decoration-thickness: 2px; }
.legal-content code { border-radius: 2px; background: #f1ede4; color: var(--navy); padding: 2px 5px; font: 400 .88em/1.5 "DM Mono", monospace; }
.legal-content hr { height: 1px; margin: 42px 0; border: 0; background: var(--line); }
.legal-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 13px; }
.legal-content th,
.legal-content td { min-width: 150px; border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.legal-content th { background: #f1ede4; color: var(--navy); }
.article-shell .post-meta { color: var(--warm); font: 500 11px/1.4 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.archive-card { border-top: 1px solid var(--line); padding: 34px 0; }
.archive-card .wp-block-post-title { margin: 0 0 12px; }
.archive-card .wp-block-post-date { color: var(--warm); font: 500 10px/1.4 "DM Mono", monospace; letter-spacing: .08em; }
.error-shell { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); background: white; color: var(--navy); padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.eyebrow { margin: 0 0 22px; color: var(--gold); font: 500 11px/1.4 "DM Mono", monospace; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; color: var(--navy); font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.025em; }
h1 { max-width: 700px; font-size: clamp(55px, 6.3vw, 84px); line-height: .97; }
h2 { font-size: clamp(43px, 5vw, 66px); line-height: 1.01; }
h2 em { color: var(--warm); font-weight: 400; }
h3 { margin: 0; color: var(--navy); font-size: 21px; line-height: 1.25; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border: 1px solid var(--navy); border-radius: 3px; background: var(--navy); color: white; padding: 13px 22px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: var(--navy-dark); transform: translateY(-1px); }
.button-small { min-height: 44px; padding: 9px 16px; white-space: nowrap; }
.button-gold { border-color: var(--gold-light); background: var(--gold-light); color: var(--navy-dark); }
.button-gold:hover { background: #e2c991; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 13px; font-weight: 700; text-underline-offset: 5px; }
.text-link span { color: var(--gold); font-size: 17px; }

.site-header-shell,
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(250,247,240,.95); backdrop-filter: blur(12px); }
.site-header-shell .site-header { position: static; border-bottom: 0; background: transparent; backdrop-filter: none; }
.admin-bar .site-header-shell,
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; min-height: 90px; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex-shrink: 0; flex-direction: column; color: var(--navy); text-decoration: none; }
.brand-image { width: 188px; }
.brand-image img { display: block; width: 100%; height: auto; }
.brand-name { display: flex; align-items: center; gap: 8px; font-size: 22px; line-height: 1; letter-spacing: -.04em; }
.brand-name span { color: var(--warm); font-weight: 400; }
.brand-name strong { font-weight: 700; }
.brand-name i { width: 1px; height: 25px; background: var(--gold); }
.brand-descriptor { margin-top: 8px; color: var(--warm); font: 500 7px/1 "DM Mono", monospace; letter-spacing: .23em; text-transform: uppercase; }
.main-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 23px; }
.main-nav a { color: var(--navy); font-size: 11px; font-weight: 600; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 7px; }
.menu-button, .mobile-nav { display: none; }

.hero { overflow: hidden; padding: 92px 0 104px; background: radial-gradient(circle at 83% 32%, rgba(176,138,74,.09), transparent 27%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(470px, .98fr); align-items: center; gap: 65px; }
.hero-lead { max-width: 630px; margin: 32px 0 34px; color: var(--warm); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.route-line { display: flex; gap: 0; margin: 39px 0 0; padding: 0; list-style: none; color: var(--navy); font: 500 10px/1 "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.route-line li { padding: 0 15px; border-right: 1px solid var(--gold); }
.route-line li:first-child { padding-left: 0; }
.route-line li:last-child { border: 0; }
.certification-names { display: flex; flex-wrap: wrap; gap: 7px 22px; margin: 16px 0 0; color: var(--warm); font: 400 8px/1.45 "DM Mono", monospace; letter-spacing: .025em; }
.certification-names span { white-space: nowrap; }
.certification-names b { margin-right: 5px; color: var(--gold); font-weight: 500; }

.product-system { position: relative; min-height: 510px; }
.product-books { position: absolute; z-index: 2; top: -10px; left: 50%; width: 108%; transform: translateX(-50%); }
.product-books-image { display: block; width: 100%; max-width: none; height: auto; }
.product-caption { position: absolute; right: 3%; bottom: 0; color: var(--warm); font: 400 8px/1 "DM Mono", monospace; letter-spacing: .16em; }

.route-section { border-top: 1px solid var(--line); background: var(--paper); }
.section-heading { margin-bottom: 60px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.split-heading > p { max-width: 440px; margin: 0 0 7px; color: var(--warm); }
.routes { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; }
.routes article { min-height: 235px; border-top: 2px solid var(--gold); background: var(--cream); padding: 31px 29px; }
.route-number { color: var(--gold); font: 500 10px/1 "DM Mono", monospace; }
.routes h3 { margin: 34px 0 14px; font-family: "Instrument Serif", serif; font-size: 35px; font-weight: 400; }
.routes p { margin: 0; color: var(--warm); font-size: 13px; }
.route-connector { height: 1px; background: var(--gold); }
.legal-note { margin: 32px 0 0; color: var(--warm); font-size: 11px; text-align: center; }

.pack-section { background: radial-gradient(circle at 18% 10%, rgba(255,255,255,.06), transparent 28%), var(--navy-dark); color: white; }
.pack-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; }
.pack-section h2 { color: white; }
.pack-section h2 em { color: var(--gold-light); }
.eyebrow-light { color: var(--gold-light); }
.pack-intro { max-width: 470px; margin: 27px 0; color: #c9d3de; }
.price-line { display: flex; align-items: baseline; gap: 13px; margin: 38px 0 25px; }
.price-line strong { font-family: "Instrument Serif", serif; font-size: 56px; font-weight: 400; line-height: 1; }
.price-line span { color: #c9d3de; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.contents-list { margin: 0; padding: 0; list-style: none; }
.contents-list li { display: flex; gap: 21px; border-top: 1px solid rgba(255,255,255,.18); padding: 21px 0; }
.contents-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.contents-list span { padding-top: 4px; color: var(--gold-light); font: 500 10px/1 "DM Mono", monospace; }
.contents-list b, .contents-list small { display: block; }
.contents-list b { font-size: 15px; }
.contents-list small { margin-top: 5px; color: #aebac8; font-size: 11px; }

.decision-section { background: var(--cream); }
.centered { text-align: center; }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.decision-card { border: 1px solid var(--line); background: var(--paper); padding: 38px; }
.decision-visual { min-height: 220px; margin: -38px -38px 36px; background: #f1ede4; padding: 30px; color: var(--navy); }
.decision-visual > span { font: 500 9px/1 "DM Mono", monospace; letter-spacing: .16em; }
.score-ring { display: grid; width: 88px; height: 88px; margin: 27px auto 25px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; box-shadow: inset 0 0 0 8px #f1ede4, inset 0 0 0 9px rgba(10,35,66,.15); font-family: "Instrument Serif", serif; font-size: 48px; }
.bar { height: 6px; max-width: 290px; margin: 12px auto; background: rgba(10,35,66,.11); }
.bar i { display: block; width: 72%; height: 100%; background: var(--navy); }
.bar.short i { width: 48%; background: var(--gold); }
.book-visual { position: relative; overflow: hidden; background: var(--navy); color: var(--gold-light); }
.exam-sheet { display: grid; width: 230px; grid-template-columns: 1fr 1fr; gap: 10px 60px; margin: 25px auto 0; background: white; color: var(--navy); padding: 24px 29px; box-shadow: 25px 22px 0 rgba(255,255,255,.08); transform: rotate(-3deg); }
.exam-sheet i { font: normal 10px "DM Mono", monospace; }
.exam-sheet b { color: #5e7a66; }
.decision-card h3 { max-width: 470px; font-family: "Instrument Serif", serif; font-size: 37px; font-weight: 400; }
.decision-card > p:not(.eyebrow) { min-height: 78px; color: var(--warm); font-size: 14px; }

.authority-section { background: var(--paper); }
.authority-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 100px; }
.portrait-frame { position: relative; display: flex; width: min(100%, 390px); min-height: 480px; isolation: isolate; align-items: flex-end; justify-content: center; overflow: hidden; justify-self: center; margin: 0; }
.portrait-frame::before, .portrait-frame::after { position: absolute; z-index: 0; pointer-events: none; content: ""; }
.portrait-frame::before { inset: 30px 0 0 28px; background: linear-gradient(145deg, #e8e2d7, #f6f1e8); }
.portrait-frame::after { top: 74px; bottom: 58px; left: 14px; width: 1px; background: rgba(176,138,74,.72); }
.portrait-frame img { position: relative; z-index: 1; display: block; width: auto; max-width: 100%; height: 490px; object-fit: contain; object-position: center bottom; }
.authority-copy .lead { margin: 30px 0; color: var(--warm); font-size: 17px; }
.authority-actions { display: flex; flex-wrap: wrap; gap: 24px; }
.credentials { margin: 0 0 32px; padding: 0; list-style: none; }
.credentials li { border-top: 1px solid var(--line); padding: 13px 0; color: var(--navy); font-size: 13px; font-weight: 600; }
.credentials li::before { margin-right: 12px; color: var(--gold); content: "✓"; }
.independence-note { margin-top: 65px; border-left: 2px solid var(--gold); color: var(--warm); padding: 9px 18px; font-size: 11px; }

.testimonials-section { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonials-grid article { min-height: 300px; border: 1px solid var(--line); background: var(--paper); padding: 31px; }
.quote { color: var(--gold); font-family: "Instrument Serif", serif; font-size: 67px; line-height: .6; }
.testimonials-grid article > p { min-height: 125px; color: var(--navy); font-family: "Instrument Serif", serif; font-size: 23px; line-height: 1.3; }
.testimonials-grid footer { border-top: 1px solid var(--line); padding-top: 19px; }
.testimonials-grid b, .testimonials-grid small { display: block; }
.testimonials-grid b { color: var(--navy); font-size: 11px; }
.testimonials-grid small { margin-top: 5px; color: var(--warm); font-size: 9px; }
.centered-link { margin: 38px auto 0; justify-content: center; }

.resources-section { background: var(--paper); }
.resource-links { border-top: 1px solid var(--line); }
.resource-links a { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; border-bottom: 1px solid var(--line); padding: 25px 6px; color: var(--navy); text-decoration: none; }
.resource-links span { color: var(--gold); font: 500 10px "DM Mono", monospace; }
.resource-links b { font-family: "Instrument Serif", serif; font-size: 28px; font-weight: 400; }
.resource-links i { color: var(--gold); font-style: normal; }
.resource-links a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.faq-section { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.faq-list { border-top: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 35px 22px 0; color: var(--navy); font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::after { position: absolute; right: 4px; color: var(--gold); content: "+"; font: 400 25px "Instrument Serif", serif; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 22px; color: var(--warm); font-size: 13px; }
.faq-route-list { display: grid; gap: 10px; margin: -6px 0 20px; padding: 0; list-style: none; }
.faq-route-list li { padding: 10px 12px; border-left: 2px solid var(--gold); background: rgba(255, 255, 255, 0.34); color: var(--warm); font-size: 12px; }
.faq-route-list strong,
.faq-route-list span { display: block; }
.faq-route-list strong { margin-bottom: 2px; color: var(--navy); font-size: 12px; }

.closing-section { padding: 105px 0; background: var(--navy); color: white; text-align: center; }
.closing-section h2 { color: white; }
.closing-section h2 em { color: var(--gold-light); }
.closing-actions { display: flex; align-items: center; justify-content: center; gap: 27px; margin-top: 37px; }
.text-link-light { color: white; }

.site-footer { padding: 66px 0 28px; background: var(--navy-dark); color: #bac5d0; }
.footer-grid { display: grid; grid-template-columns: .8fr 1.2fr auto; align-items: start; gap: 65px; }
.brand-light .brand-name strong, .brand-light .brand-name span { color: white; }
.brand-light .brand-descriptor { color: #aab7c5; }
.footer-brand { width: 196px; margin-top: -17px; }
.footer-grid p { max-width: 380px; margin: 0; font-size: 12px; }
.footer-grid nav { display: flex; gap: 17px; }
.footer-grid nav a { font-size: 10px; }
.copyright { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 23px; font: 400 8px "DM Mono", monospace; letter-spacing: .12em; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-inner > .button-small { margin-left: auto; }
  .menu-button { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); background: transparent; }
  .menu-button > span:not(.sr-only) { width: 18px; height: 1px; background: var(--navy); }
  .mobile-nav { position: absolute; top: 90px; right: 0; left: 0; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); background: var(--cream); padding: 10px 24px 24px; }
  .mobile-nav:not([hidden]) { display: flex; }
  .mobile-nav a:not(.button) { border-bottom: 1px solid var(--line); padding: 13px 0; font-size: 13px; text-decoration: none; }
  .mobile-nav .button { margin-top: 18px; }
  .hero-grid { grid-template-columns: 1fr 430px; gap: 25px; }
  .product-system { transform: scale(.9); transform-origin: center right; }
}

@media (max-width: 850px) {
  .section { padding: 85px 0; }
  .hero { padding-top: 70px; }
  .hero-grid, .pack-grid, .authority-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .product-system { width: min(100%, 540px); margin-inline: auto; transform: none; }
  .split-heading { grid-template-columns: 1fr; gap: 28px; }
  .routes { grid-template-columns: 1fr; gap: 0; }
  .route-connector { width: 1px; height: 30px; margin-left: 50%; }
  .pack-grid { gap: 65px; }
  .decision-grid { grid-template-columns: 1fr; }
  .authority-grid { gap: 55px; }
  .portrait-frame { width: min(100%, 380px); min-height: 450px; }
  .portrait-frame img { height: 455px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid article { min-height: 240px; }
  .testimonials-grid article > p { min-height: auto; }
  .faq-grid { gap: 45px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { width: 188px; margin-top: -14px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 70px 0; }
  .header-inner { min-height: 74px; }
  .brand-name { font-size: 19px; }
  .brand-descriptor { font-size: 6px; }
  .header-inner > .button-small { display: none; }
  .menu-button { margin-left: auto; }
  .mobile-nav { top: 74px; }
  .content-shell { width: min(calc(100% - 32px), var(--max)); padding: 70px 0; }
  .legal-shell { width: min(calc(100% - 32px), 920px); padding: 62px 0 80px; }
  .legal-title { font-size: 47px; }
  .legal-content { margin-top: 34px; padding: 28px 22px; }
  .legal-content h2 { margin-top: 44px; font-size: 31px; }
  .legal-content h3 { font-size: 17px; }
  .legal-content p,
  .legal-content li { font-size: 14px; line-height: 1.72; }
  .hero { padding: 54px 0 65px; }
  h1 { font-size: 51px; }
  h2 { font-size: 43px; }
  .hero-lead { margin: 25px 0; font-size: 16px; }
  .hero-actions, .closing-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button, .closing-actions .button { width: 100%; }
  .hero-actions .text-link, .closing-actions .text-link { justify-content: center; min-height: 48px; }
  .route-line { flex-wrap: wrap; gap: 10px 0; }
  .route-line li { padding: 0 9px; font-size: 8px; }
  .certification-names { flex-direction: column; gap: 4px; margin-top: 14px; font-size: 7.5px; }
  .product-system { min-height: 0; aspect-ratio: 1063 / 966; }
  .product-books { top: 0; width: 100%; }
  .product-caption { display: none; }
  .section-heading { margin-bottom: 42px; }
  .routes article { min-height: auto; padding: 26px 24px; }
  .routes h3 { margin-top: 24px; }
  .pack-grid { gap: 52px; }
  .price-line strong { font-size: 48px; }
  .pack-section .button { width: 100%; }
  .decision-card { padding: 25px; }
  .decision-visual { min-height: 190px; margin: -25px -25px 27px; padding: 24px; }
  .decision-card h3 { font-size: 32px; }
  .decision-card > p:not(.eyebrow) { min-height: auto; }
  .portrait-frame { width: min(100%, 340px); min-height: 390px; }
  .portrait-frame::before { inset: 24px 0 0 22px; }
  .portrait-frame::after { top: 58px; bottom: 46px; left: 10px; }
  .portrait-frame img { height: 395px; }
  .independence-note { margin-top: 45px; }
  .testimonials-grid article { padding: 26px; }
  .resource-links a { grid-template-columns: 42px 1fr auto; }
  .resource-links b { font-size: 21px; }
  .closing-section { padding: 78px 0; }
}

@media (max-width: 782px) {
  .admin-bar .site-header-shell,
  .admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Commercial coherence layer — 0.1.31.
 * Keeps the proven legacy page structures while bringing their visible
 * language into the approved Alberto Bernat 2026 system.
 */
.commercial-shell,
.commercial-shell > .wp-block-post-content,
.commercial-shell > .wp-block-post-content > * {
  width: 100%;
  max-width: none !important;
  margin-block: 0 !important;
}

body.ab2026 .commercial-shell .pk-landing {
  --pk-blue: var(--navy);
  --pk-blue-deep: var(--navy-dark);
  --pk-blue-ink: var(--navy);
  --pk-blue-light: var(--gold-light);
  --pk-blue-soft: #f1ede4;
  --pk-green: var(--navy);
  --pk-green-deep: var(--navy-dark);
  --pk-yellow: var(--gold-light);
  --pk-text: var(--ink);
  --pk-muted: var(--warm);
  --pk-soft: var(--cream);
  --pk-soft-2: var(--paper);
  --pk-border: var(--line);
  --pk-border-soft: var(--line);
  --pk-radius: 3px;
  --pk-radius-sm: 3px;
  --pk-shadow: 0 18px 50px -44px rgba(8, 24, 46, .65);
  --pk-shadow-lg: 0 28px 65px -45px rgba(8, 24, 46, .78);
}

body.ab2026 .commercial-shell .me-wrap {
  --me-blue: var(--navy);
  --me-blue-deep: var(--navy-dark);
  --me-blue-ink: var(--navy);
  --me-blue-light: var(--gold-light);
  --me-blue-soft: #f1ede4;
  --me-green: var(--navy);
  --me-green-deep: var(--navy-dark);
  --me-yellow: var(--gold-light);
  --me-text: var(--ink);
  --me-muted: var(--warm);
  --me-soft: var(--cream);
  --me-soft-2: var(--paper);
  --me-border: var(--line);
  --me-border-soft: var(--line);
  --me-radius: 3px;
  --me-radius-sm: 3px;
  --me-shadow: 0 18px 50px -44px rgba(8, 24, 46, .65);
  --me-shadow-lg: 0 28px 65px -45px rgba(8, 24, 46, .78);
}

body.ab2026 .commercial-shell .mt-landing {
  --mt-blue: var(--navy);
  --mt-blue-deep: var(--navy-dark);
  --mt-blue-ink: var(--navy);
  --mt-blue-light: var(--gold-light);
  --mt-blue-soft: #f1ede4;
  --mt-green: var(--navy);
  --mt-green-deep: var(--navy-dark);
  --mt-yellow: var(--gold-light);
  --mt-text: var(--ink);
  --mt-muted: var(--warm);
  --mt-soft: var(--cream);
  --mt-soft-2: var(--paper);
  --mt-border: var(--line);
  --mt-border-soft: var(--line);
  --mt-radius: 3px;
  --mt-radius-sm: 3px;
  --mt-shadow: 0 18px 50px -44px rgba(8, 24, 46, .65);
  --mt-shadow-lg: 0 28px 65px -45px rgba(8, 24, 46, .78);
}

body.ab2026 .commercial-shell .ex-landing {
  --ex-blue: var(--navy);
  --ex-blue-deep: var(--navy-dark);
  --ex-blue-ink: var(--navy);
  --ex-blue-light: var(--gold-light);
  --ex-blue-soft: #f1ede4;
  --ex-green: var(--navy);
  --ex-green-deep: var(--navy-dark);
  --ex-yellow: var(--gold-light);
  --ex-text: var(--ink);
  --ex-muted: var(--warm);
  --ex-soft: var(--cream);
  --ex-border: var(--line);
  --ex-border-soft: var(--line);
  --ex-radius: 3px;
  --ex-radius-sm: 3px;
  --ex-shadow: 0 18px 50px -44px rgba(8, 24, 46, .65);
  --ex-shadow-lg: 0 28px 65px -45px rgba(8, 24, 46, .78);
}

body.ab2026 .commercial-shell .sm-page {
  --sm-primary: var(--navy);
  --sm-primary-dark: var(--navy-dark);
  --sm-cta: var(--navy);
  --sm-cta-dark: var(--navy-dark);
  --sm-bg: var(--cream);
  --sm-bg-soft: var(--paper);
  --sm-bg-tint: #f1ede4;
  --sm-ink: var(--ink);
  --sm-ink-strong: var(--navy);
  --sm-ink-muted: var(--warm);
  --sm-line: var(--line);
  --sm-line-strong: rgba(176, 138, 74, .45);
  --sm-radius: 3px;
}

body.ab2026 .commercial-shell :is(.pk-landing, .mt-landing, .ex-landing, .me-wrap, .sm-page),
body.ab2026 .commercial-shell .wp-block-post-content {
  background: var(--cream);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
}

body.ab2026 .commercial-shell :is(.pk-landing, .mt-landing, .ex-landing, .me-wrap, .sm-page) :is(h1, h2),
body.ab2026 .commercial-shell :is(.te-hero, .te-section, .te-sales, .te-related, .te-cta-box) :is(h1, h2) {
  color: var(--navy);
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.025em;
}

body.ab2026 .commercial-shell :is(.pk-landing, .mt-landing, .ex-landing, .me-wrap, .sm-page) :is(h3, h4),
body.ab2026 .commercial-shell :is(.te-section, .te-sales, .te-related) :is(h3, h4) {
  color: var(--navy);
  font-family: Manrope, system-ui, sans-serif;
}

body.ab2026 .commercial-shell :is(.pk-hero, .mt-hero, .ex-hero, .me-hero, .sm-hero, .te-hero) {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 84% 22%, rgba(176, 138, 74, .11), transparent 29%), var(--cream);
}

body.ab2026 .commercial-shell :is(.pk-hero, .mt-hero, .ex-hero, .me-hero, .sm-hero, .te-hero)::before {
  background: none;
}

body.ab2026 .commercial-shell :is(.pk-hero, .mt-hero, .ex-hero, .me-hero, .sm-hero, .te-hero) h1,
body.ab2026 .commercial-shell .me-title {
  color: var(--navy);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(50px, 5.7vw, 76px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.03em;
}

body.ab2026 .commercial-shell :is(.pk-hero-sub, .pk-hero-text, .mt-hero-sub, .mt-hero-text, .ex-hero-sub, .ex-hero-text, .me-hero-sub, .me-sub, .sm-hero-sub, .sm-hero-text, .te-hero p) {
  color: var(--warm);
}

body.ab2026 .commercial-shell :is(.pk-badge, .mt-badge, .ex-badge, .me-hero-badge, .sm-hero-tag, .pk-section-eyebrow, .mt-section-eyebrow, .ex-section-eyebrow, .me-label, .sm-eyebrow) {
  border: 1px solid rgba(176, 138, 74, .45);
  border-radius: 999px;
  background: rgba(255, 253, 249, .58);
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/*
 * Editorial section labels follow the open eyebrow used on the front page.
 * Functional chips (categories, filters and states) retain their capsule.
 */
body.ab2026 .commercial-shell :is(.te-kicker, .te-label) {
  display: block;
  width: auto;
  max-width: none;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--gold);
  font: 500 11px/1.4 "DM Mono", monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/*
 * Simulator sections may keep their full-width background, but their
 * editorial content and card groups follow the canonical site grid.
 */
body.ab2026 .commercial-shell :is(.te-section, .te-related) > * {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

/*
 * The simulator guidance is an editorial annotation, not an application
 * alert. Keep the copy, remove the inherited cyan panel and return it to the
 * open navy/cream/gold language used across the site.
 */
body.ab2026 .commercial-shell .te-note {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  margin-top: 34px;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid rgba(176, 138, 74, .5);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.ab2026 .commercial-shell .te-note::before {
  color: var(--gold);
  content: "Recomendación de uso";
  font: 500 10px/1.5 "DM Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.ab2026 .commercial-shell .te-note p {
  max-width: 780px;
  margin: 0;
  color: var(--warm);
  font-size: 14px;
  line-height: 1.75;
}

/*
 * The route summary belongs to the editorial hierarchy of the hero. Remove
 * the inherited app-like card stack and present the three routes as a clear,
 * numbered reading list.
 */
body.ab2026 .commercial-shell .te-diagnostic-card {
  counter-reset: te-route;
  padding: 0;
  border: 0;
  border-top: 2px solid var(--gold);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.ab2026 .commercial-shell .te-diagnostic-card > h2 {
  margin: 23px 0 9px;
  color: var(--navy);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(34px, 3vw, 43px);
  font-weight: 400;
  line-height: 1;
}

body.ab2026 .commercial-shell .te-diagnostic-card > p {
  margin: 0 0 24px;
  color: var(--warm);
  font-size: 15px;
  line-height: 1.7;
}

body.ab2026 .commercial-shell .te-diagnostic-card .te-level-option {
  counter-increment: te-route;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 4px 18px;
  margin: 0;
  padding: 19px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.ab2026 .commercial-shell .te-diagnostic-card .te-level-option:last-child {
  border-bottom: 1px solid var(--line);
}

body.ab2026 .commercial-shell .te-diagnostic-card .te-level-option::before {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 4px;
  color: var(--gold);
  content: counter(te-route, decimal-leading-zero);
  font: 500 10px/1.4 "DM Mono", monospace;
  letter-spacing: .08em;
}

body.ab2026 .commercial-shell .te-diagnostic-card .te-level-option strong,
body.ab2026 .commercial-shell .te-diagnostic-card .te-level-option span {
  grid-column: 2;
}

body.ab2026 .commercial-shell .te-diagnostic-card .te-level-option strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.4;
}

body.ab2026 .commercial-shell .te-diagnostic-card .te-level-option span {
  color: var(--warm);
  font-size: 13px;
  line-height: 1.65;
}

/*
 * Result summaries are functional cards, but their inherited cold-blue fill
 * belongs to the previous interface. Keep the grouping and return the surface
 * to the warm paper/navy/gold system.
 */
body.ab2026 .commercial-shell .te-result {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: none;
}

body.ab2026 .commercial-shell .te-result strong {
  color: var(--navy);
}

body.ab2026 .commercial-shell .te-result span {
  color: var(--warm);
}

/*
 * Itinerary and process cards share the same functional family as the result
 * summaries. Remove the remaining legacy full border/shadow treatment so all
 * seven items use one warm, restrained component.
 */
body.ab2026 .commercial-shell div.te-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: none;
}

body.ab2026 .commercial-shell div.te-item strong {
  color: var(--navy);
}

body.ab2026 .commercial-shell div.te-item span {
  color: var(--warm);
}

/*
 * Related resources are editorial recommendations, not application cards.
 * Preserve the three-column scan while removing the inherited boxed panels
 * and cyan pills from the previous visual system.
 */
body.ab2026 .commercial-shell .te-related-grid {
  gap: 0 34px;
}

body.ab2026 .commercial-shell a.te-related-card {
  position: relative;
  min-height: 0;
  padding: 22px 0 26px;
  border: 0;
  border-top: 2px solid var(--gold);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

body.ab2026 .commercial-shell a.te-related-card .te-related-tag {
  display: block;
  width: fit-content;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font: 500 10px/1.4 "DM Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.ab2026 .commercial-shell a.te-related-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.45;
}

body.ab2026 .commercial-shell a.te-related-card p {
  margin: 0;
  color: var(--warm);
  font-size: 13px;
  line-height: 1.7;
}

body.ab2026 .commercial-shell a.te-related-card::after {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(176, 138, 74, .62);
  color: var(--navy);
  content: "Ver recurso ↗";
  font: 700 12px/1.4 Manrope, system-ui, sans-serif;
  letter-spacing: .01em;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}

body.ab2026 .commercial-shell a.te-related-card:hover h3 {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

body.ab2026 .commercial-shell a.te-related-card:hover::after,
body.ab2026 .commercial-shell a.te-related-card:focus-visible::after {
  border-bottom-color: var(--gold);
  color: var(--gold);
  transform: translateX(3px);
}

body.ab2026 .commercial-shell a.te-related-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 7px;
}

body.ab2026 .commercial-shell :is(.pk-btn, .mt-btn, .ex-btn, .me-btn, .sm-btn, .te-btn, .abco-button) {
  min-height: 52px;
  border-radius: 3px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

body.ab2026 .commercial-shell :is(.pk-btn-primary, .mt-btn-primary, .ex-btn-primary, .me-btn-green, .sm-btn--green, .sm-actions--hero .sm-btn--blue, .te-btn-green, .te-btn-diagnostic, .te-sales-card a, .abco-button) {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff !important;
  box-shadow: none;
}

body.ab2026 .commercial-shell :is(.pk-btn-primary, .mt-btn-primary, .ex-btn-primary, .me-btn-green, .sm-btn--green, .sm-actions--hero .sm-btn--blue, .te-btn-green, .te-btn-diagnostic, .te-sales-card a, .abco-button):hover {
  border-color: var(--navy-dark);
  background: var(--navy-dark);
  color: #fff !important;
  box-shadow: none;
}

body.ab2026 .commercial-shell :is(.pk-btn-secondary, .pk-btn-outline, .mt-btn-secondary, .mt-btn-outline, .ex-btn-secondary, .ex-btn-outline, .me-btn-white, .sm-btn--blue, .te-btn-white, .abco-button--secondary) {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy) !important;
  box-shadow: none;
}

body.ab2026 .commercial-shell :is(.pk-section-alt, .mt-section-alt, .ex-section-alt, .me-faq-bg, .te-sales, .sm-section--soft, .sm-section--tint) {
  background: var(--paper);
}

body.ab2026 .commercial-shell :is(.pk-card, .pk-flow-step, .pk-pricecard, .pk-compare-item, .pk-related-card, .mt-card, .mt-format, .mt-profile, .mt-pricecard, .mt-compare-item, .mt-related-card, .ex-card, .ex-compare-item, .ex-related-card, .me-combo-card, .te-feature, .te-item, .te-sales-card, .te-related-card, .sm-card, .abco-card) {
  border-color: var(--line);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 0 20px 55px -50px rgba(8, 24, 46, .72);
}

body.ab2026 .commercial-shell :is(.pk-cta-final, .mt-cta-final, .ex-cta-final, .me-cta, .te-cta-box) {
  background: radial-gradient(circle at 82% 18%, rgba(215, 186, 126, .16), transparent 34%), var(--navy);
  color: #fff;
}

body.ab2026 .commercial-shell :is(.pk-cta-final, .mt-cta-final, .ex-cta-final, .me-cta, .te-cta-box) :is(h2, h3) {
  color: #fff;
}

body.ab2026 .commercial-shell .te-cta-box .te-btn-green {
  border: 1px solid var(--gold-light);
  background: var(--gold-light);
  color: var(--navy-dark) !important;
}

body.ab2026 .commercial-shell .te-cta-box .te-btn-green:hover {
  border-color: #e2c991;
  background: #e2c991;
  color: var(--navy-dark) !important;
}

body.ab2026 .commercial-shell .te-cta-box .te-btn-white {
  border: 1px solid rgba(255, 255, 255, .68);
  background: transparent;
  color: #fff !important;
}

body.ab2026 .commercial-shell .te-cta-box .te-btn-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
  color: #fff !important;
}

body.ab2026 .commercial-shell :is(.pk-cover-frame, .mt-cover-frame, .ex-cover-frame) {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.ab2026 .commercial-shell .pk-cover-img[src*="ab-hero-pack-pareja-libros"] {
  width: min(100%, 590px);
  height: auto;
  margin-inline: auto;
}

body.ab2026 .commercial-shell :is(.pk-disclaimer, .mt-disclaimer, .ex-disclaimer, .te-disclaimer, .ab-commercial-legal) {
  border-color: var(--line);
  background: var(--paper);
  color: var(--warm);
}

@media (max-width: 850px) {
  body.ab2026 .commercial-shell :is(.pk-hero, .mt-hero, .ex-hero, .me-hero, .sm-hero, .te-hero) h1,
  body.ab2026 .commercial-shell .me-title {
    font-size: clamp(44px, 11vw, 62px);
  }
}

@media (max-width: 600px) {
  body.ab2026 .commercial-shell :is(.pk-hero, .mt-hero, .ex-hero, .me-hero, .sm-hero, .te-hero) {
    padding-top: 54px;
    padding-bottom: 60px;
  }

  body.ab2026 .commercial-shell :is(.pk-btn, .mt-btn, .ex-btn, .me-btn, .sm-btn, .te-btn, .abco-button) {
    width: 100%;
    white-space: normal;
  }

  body.ab2026 .commercial-shell .te-note {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 28px;
    padding-top: 14px;
  }

  body.ab2026 .commercial-shell .te-related-grid {
    gap: 0;
  }

  body.ab2026 .commercial-shell a.te-related-card {
    padding-block: 20px 22px;
  }
}

/*
 * Commercial materials need hierarchy, not five equal calls to action. Feature
 * the Pack, complete the remaining 2 × 2 grid and reuse the warm editorial
 * surface with a restrained gold rule and no legacy card shadow.
 */
body.ab2026 .commercial-shell .te-sales {
  background: var(--cream);
}

body.ab2026 .commercial-shell .te-sales-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.ab2026 .commercial-shell .te-sales-card {
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: none;
}

body.ab2026 .commercial-shell .te-sales-card:first-child {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: center;
  column-gap: 32px;
}

body.ab2026 .commercial-shell .te-sales-card:not(:first-child) a {
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: transparent !important;
  color: var(--navy) !important;
  box-shadow: none;
}

body.ab2026 .commercial-shell .te-sales-card:not(:first-child) a:hover {
  border-color: var(--navy-dark);
  background: var(--navy-dark) !important;
  color: #fff !important;
}

body.ab2026 .commercial-shell .te-sales-card:first-child a {
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  background: var(--gold-light) !important;
  color: var(--navy-dark) !important;
}

body.ab2026 .commercial-shell .te-sales-card:first-child a:hover {
  border-color: #e2c991;
  background: #e2c991 !important;
  color: var(--navy-dark) !important;
}

body.ab2026 .commercial-shell .te-sales-card a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  body.ab2026 .commercial-shell .te-sales-cards {
    grid-template-columns: 1fr;
  }

  body.ab2026 .commercial-shell .te-sales-card:first-child {
    grid-column: auto;
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  body.ab2026 .commercial-shell .te-sales-card:first-child a {
    width: 100%;
  }
}

/*
 * Final simulator audit: intermediate headings belong to the same editorial
 * hierarchy as the front page. Residual cool surfaces and blue-grey body copy
 * return to the canonical cream, paper, navy and warm-neutral system.
 */
body.ab2026 .commercial-shell .te-title {
  color: var(--navy);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
}

body.ab2026 .commercial-shell :is(.te-text, .te-sales-card p) {
  color: var(--warm);
}

body.ab2026 .commercial-shell .te-sales {
  border-top: 1px solid var(--line);
}

body.ab2026 .commercial-shell .te-related {
  background: var(--paper);
}
