/* ==========================================================================
   Estilos propios de la versión estática (se cargan después de custom.css)
   ========================================================================== */



/* Accesibilidad: foco visible */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
.reasons figure:focus-visible, .wk-slideshow .next:focus-visible, .wk-slideshow .prev:focus-visible {
    outline: 2px solid #ffbf00;
    outline-offset: 2px;
}
/* Las tarjetas de "20 razones" y "Equipo" también muestran el panel con el teclado */
.uk-overlay-hover:focus .uk-overlay-panel:not(.uk-ignore),
.uk-overlay-hover:focus-within .uk-overlay-panel:not(.uk-ignore) {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}
.uk-overlay-hover:focus .uk-overlay-background:not(.uk-ignore) { background: rgba(0, 0, 0, 0.5); }

/* ---------- Formulario de contacto ---------- */
.pedido_win { padding: 30px 30px 25px; }
.pedido_win .page-header { border-bottom: 1px solid #fff; margin: 0 0 25px; padding-bottom: 20px; }
.pedido_win .page-header h1 {
    font-family: monseL, Arial, sans-serif;
    font-weight: normal;
    color: #fff;
    text-align: center;
    margin: 0;
}

.msw-form { text-align: left; font-family: oswaldL, Arial, sans-serif; color: #fff; }
.msw-field { display: flex; align-items: flex-start; margin-bottom: 6px; }
.msw-field > label {
    flex: 0 0 50%;
    padding: 6px 10px 0 0;
    font-size: 12pt;
    color: #fff;
    box-sizing: border-box;
}
.msw-control { flex: 1 1 50%; min-width: 0; }
.msw-form input[type="text"], .msw-form input[type="email"], .msw-form input[type="tel"], .msw-form textarea {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: oswaldL, Arial, sans-serif;
    font-size: 11pt;
    line-height: 1.4;
    box-shadow: none;
    transition: background-color .2s, border-color .2s;
}
.msw-form textarea { resize: vertical; min-height: 110px; }
.msw-form input:focus, .msw-form textarea:focus { background-color: rgba(0, 0, 0, 0.8); border-color: #0090d6; outline: none; }
.msw-req { color: #ffbf00; }
.msw-error { display: block; color: #ffb3a8; font-size: 10pt; min-height: 0; }
.msw-has-error input, .msw-has-error textarea { border-color: #ef3e33; }
.msw-form-alert {
    margin: 0 0 15px;
    padding: 10px 12px;
    background: rgba(239, 62, 51, 0.85);
    color: #fff;
    font-size: 11pt;
}

/* Honeypot: fuera de pantalla (no display:none para no delatarlo) */
.msw-hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.msw-check { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 12px 0 0; font-size: 11pt; color: #ddd; }
.msw-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 10px 0 0; accent-color: #0090d6; cursor: pointer; }
.msw-check label { flex: 1 1 0; cursor: pointer; line-height: 1.4; }
.msw-check .msw-error { flex: 0 0 100%; padding-left: 28px; }
.msw-check.msw-has-error label { color: #ffb3a8; }
.msw-form a, .pedido_win .msw-form a { color: #d8b508; font-size: inherit; text-decoration: underline; }

.msw-actions { text-align: right; margin: 18px 0 0; }
.msw-form .btn.guardar {
    display: inline-block;
    padding: 8px 32px;
    border: 0;
    border-radius: 0;
    background: #0090d6;
    color: #fff;
    font-family: monseM, Arial, sans-serif;
    font-size: 12pt;
    text-transform: uppercase;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .2s;
}
.msw-form .btn.guardar:hover, .msw-form .btn.guardar:focus { background: #006ea3; }
.msw-form .btn.guardar[disabled] { opacity: .6; cursor: wait; }
.msw-noscript { background: rgba(239, 62, 51, 0.85); padding: 8px 10px; }

.msw-gdpr { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .3); padding-top: 10px; font-size: 9pt; line-height: 1.35; color: #ccc; }
.msw-gdpr-title { margin: 0 0 6px; font-weight: bold; color: #fff; }
.msw-gdpr table { width: 100%; border-collapse: collapse; }
.msw-gdpr th, .msw-gdpr td { padding: 3px 6px 3px 0; vertical-align: top; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.msw-gdpr th { width: 30%; color: #fff; font-weight: normal; }

@media (max-width: 767px) {
    .pedido_win { padding: 20px 15px; }
    .msw-field { display: block; }
    .msw-field > label { display: block; padding: 0 0 3px; }
}

/* ---------- Pie ---------- */
.msw-legal-links { margin-bottom: 15px; }
.msw-legal-links a { color: #0090d6; }
.msw-legal-links span { color: #bbb; margin: 0 6px; }

/* ---------- Aviso de cookies ---------- */
.msw-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10010;
    background: rgba(20, 20, 20, 0.97);
    color: #fff;
    font-family: monseL, Arial, sans-serif;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .3);
}
.msw-cookie-banner[hidden], .msw-cookie-panel[hidden] { display: none !important; }
.msw-cookie-inner { max-width: 1200px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.msw-cookie-text { flex: 1 1 480px; font-size: 14px; line-height: 1.5; }
.msw-cookie-text p { margin: 0; }
.msw-cookie-title { font-family: monseM, Arial, sans-serif; font-size: 17px; margin: 0 0 4px !important; color: #fff; }
.msw-cookie-banner a, .msw-cookie-panel a { color: #4fc3ff; text-decoration: underline; }
.msw-cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.msw-btn {
    min-width: 130px;
    padding: 9px 18px;
    border: 2px solid #0090d6;
    border-radius: 0;
    background: #0090d6;
    color: #fff;
    font-family: monseM, Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.msw-btn:hover, .msw-btn:focus { background: #006ea3; border-color: #006ea3; }

.msw-cookie-panel {
    position: fixed;
    inset: 0;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 10020;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.msw-cookie-dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    color: #444;
    padding: 28px 28px 20px;
    font-family: monseL, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    outline: none;
}
.msw-cookie-dialog .msw-cookie-title { color: #0090d6; font-size: 20px; margin-bottom: 15px !important; }
.msw-cookie-dialog a { color: #0090d6; }
.msw-cookie-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; color: #777; cursor: pointer; }
.msw-cookie-cat { border: 1px solid #e5e5e5; padding: 12px 14px; margin-bottom: 10px; }
.msw-cookie-cat p { margin: 6px 0 0; font-size: 13px; }
.msw-cookie-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.msw-cookie-cat-head label { margin: 0; cursor: pointer; }
.msw-cookie-always { font-size: 12px; color: #0a8a3a; }
.msw-cookie-dialog .msw-cookie-buttons { margin-top: 18px; justify-content: flex-end; }
.msw-cookie-dialog .msw-btn { min-width: 0; }
.msw-cookie-more { margin: 12px 0 0; font-size: 12px; text-align: right; }

/* Interruptor accesible para las cookies analíticas */
.msw-switch {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    flex: 0 0 auto;
    width: 46px;
    height: 24px;
    margin: 0;
    border-radius: 12px;
    background: #bbb;
    cursor: pointer;
    transition: background-color .2s;
}
.msw-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}
.msw-switch:checked { background: #0090d6; }
.msw-switch:checked::after { transform: translateX(22px); }

@media (max-width: 640px) {
    .msw-cookie-inner { padding: 14px 16px; gap: 12px; }
    .msw-cookie-text { flex-basis: 100%; font-size: 13px; }
    .msw-cookie-buttons { width: 100%; flex-wrap: nowrap; gap: 6px; }
    .msw-btn { flex: 1 1 0; min-width: 0; padding: 9px 4px; font-size: 13px; }
}

/* Evita el desplazamiento horizontal en móviles (los textos del slider del tema original desbordaban) */

@media (max-width: 767px) {
    body { overflow-x: hidden; }
    .wk-slideshow-katana .caption .mslide0 { width: 90% !important; }
}

/* ---------- Páginas interiores (legales y agradecimiento) ---------- */
.msw-page {
    background: #fff;
    padding: 140px 0 60px;
}
.msw-page .msw-page-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: monseL, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #555;
}
.msw-page h1 { font-family: monseM, Arial, sans-serif; color: #0090d6; font-size: 34px; line-height: 1.2; margin: 0 0 10px; }
.msw-page h2 { font-family: monseM, Arial, sans-serif; color: #0090d6; font-size: 21px; line-height: 1.3; margin: 32px 0 10px; }
.msw-page h3 { font-family: monseM, Arial, sans-serif; color: #444; font-size: 17px; margin: 22px 0 8px; }
.msw-page .msw-updated { color: #999; font-size: 13px; margin-bottom: 25px; }
.msw-page table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 14px; }
.msw-page th, .msw-page td { border: 1px solid #e3e3e3; padding: 8px 10px; text-align: left; vertical-align: top; }
.msw-page th { background: #f5f9fc; color: #333; }
.msw-page ul { padding-left: 22px; }
.msw-page a { color: #0090d6; }
.msw-page .msw-back { margin-top: 30px; }
.msw-table-scroll { overflow-x: auto; }
@media (max-width: 767px) {
    .msw-page { padding-top: 110px; }
    .msw-page h1 { font-size: 26px; }
}
