/* Contrast corrections for static content and dynamically rendered states. */
body.home-page #cotizador .order-summary-total { border: 0; border-top: 1px solid #ffffff16; border-radius: 0; background: transparent; box-shadow: none; padding: 20px 0 8px; }
/* Comfortable reading sizes throughout the homepage. */
body.home-page { font-size: 16px; }
body.home-page header nav[aria-label="Main navigation"] .nav-pill { font-size: 12px; }
body.home-page .intro-eyebrow, body.home-page .process-eyebrow,
body.home-page :is(#servicios, #cotizador) > div > .text-center > span { font-size: 12px; }
body.home-page .home-intro .intro-description { font-size: 16px; line-height: 1.85; }
body.home-page #inicio .home-intro .hero-cta { font-size: 14px; }
body.home-page #inicio .home-intro .hero-trust-stat > p:last-child { font-size: 12px; line-height: 1.5; }
body.home-page .intro-stream-note strong { font-size: 13px; }
body.home-page .intro-stream-note small { font-size: 12px; }
body.home-page .intro-art-label { font-size: 11px; }
body.home-page :is(#servicios, #cotizador) > div > .text-center > p,
body.home-page .process-heading > p { font-size: 16px; }
body.home-page #servicios .service-card p { font-size: 15px; }
body.home-page #servicios .service-card ul { font-size: 14px; line-height: 1.8; }
body.home-page #servicios .service-card > .flex-1 > div:first-child > span { font-size: 11px; }
body.home-page #servicios .service-card > .flex-1 > div:last-child > span { font-size: 14px; }
body.home-page .calculator-service-tabs .calc-tab-btn[data-tab] { font-size: 14px; }
body.home-page #cotizador .config-section-heading p,
body.home-page #cotizador #panel-mesos .mesos-promo-copy { font-size: 14px; line-height: 1.8; }
body.home-page #cotizador :is(.mesos-hours-pill, .package-price-pill) { font-size: 13px; }
body.home-page #cotizador :is(.mesos-slider-markers, .mesos-session-note-copy,
 .leveling-option-card > p, .boss-service-guide-card > p, .boss-pilot-note-content p) { font-size: 13px; line-height: 1.7; }
body.home-page #cotizador :is(.boss-service-guide-price, .order-summary-badge) { font-size: 12px; }
body.home-page #cotizador #summary-details-list > li { font-size: 14px; line-height: 1.65; }
body.home-page #cotizador #summary-details-list :is(label, select) { font-size: 12px; }
body.home-page #cotizador .order-summary-header > div > div > p { font-size: 11px; }
body.home-page #cotizador .order-submit-button { font-size: 15px; }
body.home-page #cotizador .order-summary-panel > p:last-child { font-size: 12px; line-height: 1.8; }
body.home-page .process-card > p { font-size: 15px; line-height: 1.8; }
body.home-page .process-card > a, body.home-page .process-detail,
body.home-page .process-bottom { font-size: 14px; }
body.home-page #resenas .text-center.mb-8 > p { font-size: 15px; }
body.home-page #resenas .rv-quote { font-size: 15px; line-height: 1.8; }
body.home-page #resenas .rv-user small, body.home-page #resenas .rv-foot { font-size: 12px; }
body.home-page #resenas .rv-head { flex-wrap: wrap; }
body.home-page footer#contacto :is(p, ul) { font-size: 14px; line-height: 1.85; }
body.home-page footer#contacto h4 { font-size: 15px; }
body.home-page footer#contacto + div { font-size: 12px; }
@media (max-width: 760px) {
  body.home-page .calculator-service-tabs .calc-tab-btn[data-tab] { font-size: 13px; }
  body.home-page #cotizador :is(.mesos-hours-pill, .package-price-pill) { white-space: normal; }
  body.home-page #cotizador .leveling-option-card > div:first-child { flex-wrap: wrap; }
  body.home-page .intro-art-label { letter-spacing: .12em; }
}
/* Override the original homepage button backgrounds, which use !important. */
body.home-page #inicio .home-intro a.hero-cta:first-child { background: #b9b1f1 !important; color: #19172a !important; border: 1px solid #b9b1f1; }
body.home-page #inicio .home-intro a.hero-cta:first-child:hover { background: #cec7ff !important; }
body.home-page #inicio .home-intro a.hero-cta:last-child { background: #242238 !important; color: #eeeaff !important; border: 1px solid #777092; }
body.home-page #inicio .home-intro a.hero-cta:last-child:hover { background: #34304d !important; border-color: #b9b1f1; }
body.home-page #cotizador .calculator-service-tabs .calc-tab-btn.active-tab { color: #1d1b30 !important; }
body.home-page #cotizador #summary-details-list > li { background: #191727; color: #cbc9e2; border: 1px solid #383550; box-shadow: none; }
body.home-page #summary-details-list .summary-detail-check { background: #2f2c48; color: #c4c0e9; }
body.home-page #cotizador #summary-details-list :is([class~="text-[#766a7c]"], [class~="text-[#7e60bf]"]) { color: #aeabcd !important; }
body.home-page #cotizador .boss-pilot-toggle .boss-pilot-switch { background: #656187; }
body.home-page #cotizador .boss-pilot-toggle.is-enabled .boss-pilot-switch { background: #aaa4dd; }
body.home-page #cotizador :is(.boss-service-guide-price, .boss-service-guide-icon, .boss-pilot-note-icon) { background: #2d2b40; border-color: #4a4767; color: #cbc9e2; }
body.home-page #cotizador #panel-mesos .mesos-session-live { color: #cbc9e2 !important; }
body.home-page #cotizador #panel-mesos .mesos-session-live > span { background: #aaa4dd; }
body.home-page #cotizador #panel-mesos .mesos-session-note-icon { background: #29273e; border-color: #4a4767; color: #cbc9e2 !important; }
body.home-page #cotizador .order-submit-button:disabled { opacity: 1; background: #302e43; border-color: #514e6e; color: #b6b3cd; }
body.home-page :is(.intro-art-label, .intro-stream-note small, .process-bottom) { color: #a4a1be; }
body.home-page footer#contacto + div { color: #a5a2bc; }

/* The login and client portal retain their light backgrounds. */
body.light-portal { color-scheme: light; }
body.light-portal :is([class~="text-amber-200"], [class~="text-amber-300"]) { color: #79500b; }
body.light-portal :is([class~="text-rose-200"], [class~="text-rose-300"]) { color: #a01d40; }
body.light-portal :is([class~="text-emerald-200"], [class~="text-emerald-300"], [class~="text-[#51cf66]"]) { color: #246333; }
body.light-portal :is([class~="text-indigo-200"], [class~="text-indigo-300"], [class~="text-violet-200"], [class~="text-violet-300"], [class~="text-[#8c7ae6]"]) { color: #604496; }
body.light-portal [class~="bg-[#8c7ae6]/20"][class~="text-white"] { color: #48316d; }
body.light-portal :is([class~="bg-[#68c737]"], [class~="bg-[#7ed957]"], [class~="bg-[#f4833b]"]) { color: #25321d; }
body.light-portal [class~="bg-[#5865F2]"] { color: #fff; }
body.light-portal :is(#btn-login, #btn-register) { color: #fff; background: #5145ad; }
body.light-portal :is(#btn-login, #btn-register):hover { background: #443994; }
body.light-portal [class~="text-[#8a7a9a]"] { color: #665473; }
body.light-portal :is(input, select, textarea) { color-scheme: light; }
body.light-portal :is(input, textarea)::placeholder { color: #70637c; opacity: 1; }

/* Worker and administration pages use dark surfaces. */
body.dark-portal { color-scheme: dark; }
body.dark-portal :is([class~="text-slate-500"], [class~="text-slate-600"]) { color: #a3b1c6; }
body.dark-portal :is(input, select, textarea) { color-scheme: dark; }
body.dark-portal option { background: #111322; color: #edf0f7; }
body.dark-portal :is(input, textarea)::placeholder { color: #a3b1c6; opacity: 1; }
body.dark-portal :is(button, input):disabled { opacity: 1; color: #bac2d1; background-color: #303343; }


/* Preserve Tailwind visibility when the CDN is unavailable. */
.hidden { display: none !important; }
