/* Solo ajustes del servicio. Colores, fuentes, tarjetas y controles proceden del CSS del sitio. */
.rol-page section[id], .rol-page footer[id] { scroll-margin-top: 6rem; }
.rol-page :focus-visible { outline: 3px solid var(--steel-blue); outline-offset: 4px; }
.rol-skip { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .75rem 1rem; background: var(--sec-light); transform: translateY(-150%); }
.rol-skip:focus { transform: none; }
.rol-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rol-page .hero-title { max-width: 42rem; }
.rol-hero-subtitle { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 700; color: #e2e8f0; }
.rol-hero .hero-lead { margin-top: 1rem; }
.rol-hero-media { padding: 0; overflow: hidden; border-radius: .75rem; background: #fff; }
.rol-hero-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.rol-hero-media figcaption { padding: .75rem 1rem; color: #475569; font-size: .75rem; border-top: 1px solid #e2e8f0; }
.rol-scroll { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.5rem; color: #bae6fd; font-size: .875rem; }
:is(.rol-photo, .rol-contain) { min-width: 0; }
:is(.rol-photo, .rol-contain) img { width: 100%; aspect-ratio: 3 / 2; border-radius: .75rem; object-fit: cover; }
:is(.rol-photo, .rol-contain).rol-contain img { object-fit: contain; background: #fff; }
.rol-caption { margin-top: .75rem; font-size: .75rem; line-height: 1.6; color: #64748b; }
html.dark .rol-caption { color: #94a3b8; }
.rol-application-img { width: 100%; aspect-ratio: 8 / 5; border-radius: .5rem; object-fit: cover; }
.rol-application-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; font-size: .875rem; font-weight: 600; color: var(--steel-blue); }
.rol-application-link:hover { text-decoration: underline; text-underline-offset: .25rem; }
html.dark .rol-application-link { color: #7dd3fc; }
.rol-strengths { display: grid; gap: 1rem; margin-top: 1.5rem; }
.rol-strengths li { display: flex; align-items: flex-start; gap: .75rem; }
.rol-strengths li::before { content: '✓'; flex-shrink: 0; color: var(--steel-blue); font-weight: 800; }
html.dark .rol-strengths li::before { color: #7dd3fc; }
.rol-strengths strong { display: block; }
.rol-strengths p { margin-top: .25rem; }
.rol-note { padding-left: 1rem; border-left: 3px solid var(--steel-blue); }
.rol-process { display: grid; gap: 1.5rem; margin-top: 2.5rem; list-style: none; counter-reset: step; }
.rol-step { position: relative; counter-increment: step; }
.rol-step::before { content: '0' counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .25rem; background: #f0f9ff; color: var(--steel-blue); font-weight: 800; }
html.dark .rol-step::before { background: rgba(255,255,255,.05); color: #7dd3fc; }
.rol-gallery { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.rol-gallery figure { min-width: 0; }
.rol-gallery a { display: block; overflow: hidden; border-radius: .75rem; background: #fff; }
.rol-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.rol-gallery .rol-gallery-machine img { object-fit: contain; }
.rol-gallery .rol-gallery-detail img { object-fit: cover; object-position: 45% 55%; transform: scale(1.7); }
@media (hover: hover) {
    .rol-gallery a:hover img { transform: scale(1.035); }
    .rol-gallery .rol-gallery-detail a:hover img { transform: scale(1.8); }
}
.rol-gallery figcaption { margin-top: .75rem; font-size: .875rem; font-weight: 600; }
.rol-gallery figcaption span { display: block; margin-top: .25rem; font-size: .75rem; font-weight: 400; color: #64748b; }
html.dark .rol-gallery figcaption span { color: #94a3b8; }
.rol-field-wide { grid-column: 1 / -1; }
.rol-page fieldset { min-width: 0; }
.rol-page .form-input, .rol-page .select-input, .rol-page .textarea-input { min-width: 0; max-width: 100%; }
.rol-required-note { font-size: .75rem; color: #64748b; }
html.dark .rol-required-note { color: #94a3b8; }
.rol-file-input { display: block; width: 100%; margin-top: 1rem; font-size: .875rem; }
.rol-file-input::file-selector-button { border: 1px solid #cbd5e1; border-radius: .25rem; background: var(--sec-light); color: inherit; padding: .75rem; margin-right: .75rem; cursor: pointer; }
.rol-file-list { list-style: none; padding: 0; }
.rol-file-list .attachment-row { margin-top: .5rem; }
.rol-file-error:empty { display: none; }
.rol-submit-status { margin-top: 1rem; }
.rol-submit-status:empty { display: none; }
.rol-submit-status[data-state="success"] { color: #047857; background: #ecfdf5; border-radius: .5rem; padding: 1rem; }
.rol-submit-status[data-state="error"] { color: #b91c1c; background: #fef2f2; border-radius: .5rem; padding: 1rem; }
html.dark .rol-submit-status[data-state="success"] { color: #6ee7b7; background: rgba(16,185,129,.1); }
html.dark .rol-submit-status[data-state="error"] { color: #fca5a5; background: rgba(239,68,68,.1); }
.rol-page button:disabled { cursor: wait; opacity: .7; }
.rol-aside-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 1.25rem; color: #bae6fd; font-size: .875rem; font-weight: 700; }
.rol-cta .hero-actions { justify-content: center; }
.rol-cta { text-align: center; }
.rol-credits { max-width: 80rem; margin: 1.5rem auto 0; padding-inline: 1rem; font-size: .75rem; color: #94a3b8; }
.rol-credits summary { cursor: pointer; min-height: 44px; display: list-item; }
.rol-credits p { margin-top: .75rem; }
.rol-credits a { text-decoration: underline; text-underline-offset: .2rem; }
.rol-lightbox { width: min(1000px, calc(100% - 32px)); max-height: 90svh; border: 1px solid var(--sec-border); border-radius: .75rem; padding: 1.5rem; background: var(--sec-light); color: inherit; overflow: auto; margin: auto; }
.rol-lightbox::backdrop { background: rgba(2,6,23,.85); }
.rol-lightbox img { width: 100%; max-height: 65svh; object-fit: contain; background: #fff; }
.rol-lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.rol-lightbox-top button { padding: .75rem; border-radius: .25rem; background: var(--sec-alt); }
.rol-menu-toggle { display: none; }
.rol-page :is(.nav-link, .nav-dropdown-btn)[aria-current="page"] { color: var(--steel-blue); }
html.dark .rol-page :is(.nav-link, .nav-dropdown-btn)[aria-current="page"] { color: #7dd3fc; }
@media (min-width: 640px) {
    .rol-gallery, .rol-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rol-credits { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
    .rol-process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rol-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rol-credits { padding-inline: 2rem; }
}
@media (max-width: 1023px) {
    .rol-page .site-links { gap: .875rem; }
    .rol-page .site-brand span { font-size: .875rem; }
}
@media (max-width: 767px) {
    .rol-menu-toggle { display: inline-flex; min-height: 44px; align-items: center; padding: .5rem .75rem; border: 1px solid var(--sec-border); border-radius: .25rem; font-size: .75rem; }
    .rol-page .site-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem; background: var(--sec-light); border-bottom: 1px solid var(--sec-border); max-height: calc(100svh - 5rem); overflow-y: auto; }
    .rol-page .site-links.rol-menu-open { display: grid; gap: .25rem; }
    .rol-page .site-links > a, .rol-page .nav-dropdown-btn { display: flex; align-items: center; min-height: 44px; width: 100%; }
    .rol-page .nav-dropdown-menu { position: static; width: 100%; box-shadow: none; padding: 0; }
    .rol-page .site-brand { gap: .5rem; }
    .rol-page .site-brand span { font-size: .75rem; }
    .rol-page .site-menu { gap: .5rem; }
    .rol-page .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
    .rol-page .quotation-card { padding: 1.25rem; }
    .rol-page:not(.rol-enhanced) .rol-menu-toggle { display: none; }
    .rol-page:not(.rol-enhanced) .site-nav { height: auto; min-height: 5rem; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; }
    .rol-page:not(.rol-enhanced) .site-menu { flex-wrap: wrap; }
    .rol-page:not(.rol-enhanced) .site-links { display: flex; position: static; flex-wrap: wrap; padding: 0; border: 0; max-height: none; }
    .rol-page:not(.rol-enhanced) .nav-dropdown-menu { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .page-document:has(.rol-page) { scroll-behavior: auto; }
    .rol-page *, .rol-page *::before, .rol-page *::after { animation: none !important; transition: none !important; }
}
