/* 2026-10-22 -- Agregados a la página original de GLI (css/styles.css no se tocó):
   formulario que ya envía, avisos, página «Solicita tu cotización» y botón de WhatsApp. */

.nav a.actual { color: var(--naranja); }

/* ---------------------------------------------------------- formularios */
.form-enviado {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-left: 4px solid #178754;
    background: #eaf7f0;
    color: #0f5c38;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
}
.form-status.mal { color: #b42318; font-weight: 600; }
.campo-error { display: block; margin-top: 4px; color: #b42318; font-size: 12px; font-weight: 600; }
.campo-error:empty { display: none; }
.input-validation-error { border-color: #b42318 !important; }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------- Solicita tu cotización */
.cot-hero {
    background: linear-gradient(120deg, var(--azul-oscuro), var(--azul));
    color: #fff;
    text-align: center;
    padding: 46px 20px 40px;
}
.cot-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); letter-spacing: .5px; }
.cot-hero p { margin: 0; opacity: .85; }
.cot-solicitud { padding-top: 46px; }
.cot-pasos { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 14px; }
.cot-pasos li { display: flex; gap: 14px; align-items: center; color: #fff; font-weight: 600; font-size: 15px; }
.cot-pasos li span {
    flex: 0 0 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--naranja); color: #fff; font-size: 13px; font-weight: 800;
}
.cot-cargas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.contact-pro-field label.cot-carga {
    display: flex !important; align-items: center; gap: 8px; margin: 0 !important;
    border: 1px solid #d9dee8; border-radius: 6px; padding: 10px 11px;
    font-size: 13px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important;
    color: #373435 !important; cursor: pointer; background: #fff;
}
.contact-pro-field label.cot-carga input {
    width: 16px !important; height: 16px !important; padding: 0 !important; margin: 0 !important; flex: 0 0 16px;
    accent-color: var(--naranja);
}
.contact-pro-field label.cot-carga:has(input:checked) { border-color: var(--naranja); background: #fff7ec; }
.cot-nota { margin: 14px 0 0; font-size: 12px; color: #6b7280; }
@media (max-width: 700px) { .cot-cargas { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------- versión y WhatsApp */
.version-sitio { opacity: .55; font-size: 11px; }
.wa-flotante {
    position: fixed; right: 18px; bottom: 18px; z-index: 50;
    width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center;
    background: #25D366; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.25);
}

/* 2026-11-11 -- Ruben: "el botón al final de solicitar información ... para poder ingresar ahí al sistema GLI".
   Va junto a «Solicitar información», en naranja GLI para que no se confunda con él. */
.header .btn-header.btn-sistema { background: #F89E32 !important; margin-left: 8px; }
.header .btn-header.btn-sistema:hover { background: #e98d21 !important; }
@media (max-width: 900px) { .header .btn-header.btn-sistema { margin-left: 0; } }

/* 2026-11-11 -- Ruben: "que los textos de Grupo Logístico Internacional y Operador Logístico sean de la misma
   altura que el logotipo". logo-gli-linea.png ya no trae aire alrededor y es mas ancho (4.8 : 1), por eso
   se fija por altura y se suelta el max-width de 270px del logo anterior. */
.header img.gli-logo-oficial { height: 58px !important; width: auto !important; max-width: none !important; }
@media (max-width: 900px) { .header img.gli-logo-oficial { height: 46px !important; } }
@media (max-width: 600px) { .header img.gli-logo-oficial { height: 38px !important; } }
/* 2026-11-11 -- Ruben: "deja el botón más chico y nada más ponle ingresar". */
.header .btn-header.btn-sistema { min-height: 34px !important; padding: 0 14px !important; font-size: .85rem !important; }

/* ---------------------------------------------------------------
   2026-11-11 -- Ruben: "se puede armar para poner todo lo que son los requisitos para la importación y la
   exportación" / "Sigue con todo". Página /requisitos: pestañas sin JavaScript (radio + label),
   acordeones <details>, etiquetas "Ley" / "GLI".
   --------------------------------------------------------------- */
.req { padding: 48px 0 64px; background: #f6f6fa; }
.req .container { max-width: 980px; }
.req-intro { font-size: 1.02rem; line-height: 1.7; color: #373435; margin: 0 0 26px; }
.req-chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.req-ley { background: #424274; color: #fff; }
.req-gli { background: #F89E32; color: #fff; }
.req-tabs { display: flex; flex-wrap: wrap; }
.req-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.req-tabs > label {
    flex: 1; text-align: center; padding: 16px 10px; cursor: pointer; font-weight: 700; font-size: 1.05rem;
    background: #e6e6ef; color: #424274; border-radius: 10px 10px 0 0; margin-right: 6px; letter-spacing: .5px;
}
.req-tabs > label:last-of-type { margin-right: 0; }
.req-tabs > input:checked + label { background: #424274; color: #fff; }
.req-tabs > input:focus-visible + label { outline: 3px solid #F89E32; outline-offset: 2px; }
.req-panel { display: none; width: 100%; background: #fff; border-radius: 0 0 12px 12px; padding: 28px 30px 32px; box-shadow: 0 6px 24px rgba(55,52,53,.08); }
#tab-impo:checked ~ #panel-impo, #tab-expo:checked ~ #panel-expo { display: block; }
.req-panel h2 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; color: #424274; margin: 30px 0 12px; }
.req-panel h2:first-child { margin-top: 4px; }
.req-panel h2 span { width: 34px; height: 34px; border-radius: 50%; background: #F89E32; color: #fff; display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; }
.req-nota { font-size: .9rem; color: #6b6a6c; margin: 0 0 12px; }
.req-acordeon { border: 1px solid #e3e3ec; border-radius: 10px; margin-bottom: 10px; background: #fff; }
.req-acordeon summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: #373435; list-style: none; }
.req-acordeon summary::-webkit-details-marker { display: none; }
.req-acordeon summary::before { content: "+"; display: inline-block; width: 18px; color: #F89E32; font-weight: 800; }
.req-acordeon[open] summary::before { content: "–"; }
.req-acordeon > ul, .req-acordeon > p { margin: 0 18px 14px 36px; color: #4a494b; line-height: 1.65; }
.req-acordeon > ul { padding-left: 18px; }
.req-acordeon li { margin-bottom: 6px; }
.req-check { list-style: none; padding: 0; margin: 0; }
.req-check li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px dashed #e3e3ec; color: #4a494b; }
.req-check li::before { content: "✓"; position: absolute; left: 6px; top: 8px; color: #27795b; font-weight: 800; }
.req-cta { margin: 34px 0 18px; text-align: center; background: #424274; color: #fff; border-radius: 12px; padding: 30px 22px; }
.req-cta h2 { margin: 0 0 6px; color: #fff; }
.req-cta p { margin: 0 0 16px; opacity: .9; }
.req-cta-botones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.req-cta .req-btn-sec { border-color: #fff; color: #fff; }
.req-cta .req-correos { margin: 16px 0 0; font-size: .9rem; }
.req-cta .req-correos a { color: #F89E32; }
.req-faq summary { font-size: 1.05rem; }
.req-faq > p { margin-left: 18px; }
.req-aviso { font-size: .8rem; color: #6b6a6c; line-height: 1.6; margin-top: 18px; }
.req-aviso a { color: #424274; }
@media (max-width: 600px) {
    .req { padding: 30px 0 44px; }
    .req-panel { padding: 20px 16px 24px; }
    .req-acordeon > ul, .req-acordeon > p { margin-left: 18px; }
}
.req-portal { margin: 0 0 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.req-portal span { font-size: .9rem; opacity: .9; }
.req-portal span a { color: #F89E32; font-weight: 700; }
.req-btn-grande { min-height: 54px !important; padding: 0 34px !important; font-size: 1.08rem; }

/* ---------------------------------------------------------------
   2026-11-11 -- Ruben: "para que puedan subir los documentos ... Debe de darse de alta como usuario".
   Portal de clientes: /portal/registro, /portal/entrar y /portal (subir documentos).
   --------------------------------------------------------------- */
.portal { padding: 40px 16px 64px; background: #f6f6fa; }
.portal-caja { max-width: 820px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 30px 32px 34px; box-shadow: 0 6px 24px rgba(55,52,53,.08); }
.portal-angosta { max-width: 460px; }
.portal-ancha { max-width: 1000px; }
.portal-caja h2 { margin: 0 0 4px; color: #424274; }
.portal-sub { margin: 0 0 18px; color: #6b6a6c; font-size: .93rem; }
.portal-sub a { color: #dd8619; font-weight: 700; }
.portal-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.portal-campo { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.portal-campos .portal-campo { margin-bottom: 0; }
.portal-campo label { font-weight: 700; font-size: .88rem; color: #373435; }
.portal-campo input { border: 1px solid #d6d6e2; border-radius: 8px; padding: 11px 12px; font-size: 1rem; font-family: inherit; }
.portal-campo input:focus { outline: none; border-color: #424274; box-shadow: 0 0 0 3px rgba(66,66,116,.15); }
.portal-campo small { color: #6b6a6c; font-size: .78rem; }
.portal-msg { color: #b0332a; font-size: .8rem; }
.portal-acepto { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 6px; font-size: .88rem; color: #4a494b; line-height: 1.5; }
.portal-acepto input { margin-top: 4px; }
.portal-boton { margin-top: 16px; width: 100%; font-size: 1.02rem; }
.portal-alerta { border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: .93rem; }
.portal-ok { background: #eaf5f0; color: #1d5a43; border: 1px solid #27795b; }
.portal-error { background: #fdeceb; color: #8e2c21; border: 1px solid #c0392b; }
.portal-barra { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.portal-salir { white-space: nowrap; color: #424274; font-weight: 700; font-size: .9rem; }
.portal-avance { margin: 6px 0 22px; }
.portal-avance-barra { height: 10px; background: #ececf3; border-radius: 10px; overflow: hidden; }
.portal-avance-barra span { display: block; height: 100%; background: linear-gradient(90deg, #dd8619, #F89E32); border-radius: 10px; }
.portal-avance p { margin: 8px 0 0; font-size: .9rem; color: #4a494b; }
.portal-docs { display: flex; flex-direction: column; gap: 12px; }
.portal-doc { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
              border: 1px solid #e3e3ec; border-left: 5px solid #c9c9d6; border-radius: 10px; padding: 14px 16px; }
.portal-doc-ok { border-left-color: #27795b; background: #f6fbf8; }
.portal-doc-revision { border-left-color: #F89E32; }
.portal-doc-mal { border-left-color: #c0392b; background: #fdf6f5; }
.portal-doc-info { flex: 1; min-width: 240px; }
.portal-doc h3 { margin: 0 0 3px; font-size: 1rem; color: #373435; }
.portal-doc p { margin: 0 0 6px; font-size: .85rem; color: #6b6a6c; }
.portal-estado { font-size: .84rem; font-weight: 700; color: #424274; }
.portal-estado a { color: #424274; font-weight: 400; }
.portal-doc-ok .portal-estado { color: #27795b; }
.portal-doc-mal .portal-estado { color: #b0332a; }
.portal-nota { margin-top: 6px; font-size: .85rem; color: #8e2c21; }
.portal-subir { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.portal-subir input[type=file] { font-size: .85rem; max-width: 260px; }
.portal-subir .btn { min-height: 40px; padding: 0 18px; }
@media (max-width: 700px) {
    .portal-caja { padding: 22px 16px 26px; }
    .portal-campos { grid-template-columns: 1fr; }
    .portal-barra { flex-direction: column; }
}
/* 2026-11-11 -- Ruben: "ahí debe tener la liga del formato ... Para que lo descargue, lo llene y nos lo regrese". */
.portal-formato { display: inline-block; margin: 0 0 8px; font-size: .86rem; font-weight: 700; color: #dd8619; }
.portal-rechazos { margin: 8px 0 0 18px; padding: 0; }
.portal-rechazos a { color: #8e2c21; font-weight: 700; }
.req a[download] { color: #dd8619; font-weight: 700; }
.req-formatos { margin: 34px 0 0; background: #fff; border-radius: 12px; padding: 24px 26px; box-shadow: 0 6px 24px rgba(55,52,53,.08); }
.req-formatos h2 { margin: 0 0 6px; color: #424274; font-size: 1.25rem; }
.req-formatos p { margin: 0 0 14px; color: #4a494b; }
.req-formatos-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.req-formatos-lista a { display: flex; flex-direction: column; gap: 4px; border: 1px solid #e3e3ec; border-left: 5px solid #F89E32;
                        border-radius: 10px; padding: 14px 16px; text-decoration: none; color: #373435; }
.req-formatos-lista a:hover { background: #fff8f0; }
.req-formatos-lista a b::before { content: "⬇ "; color: #F89E32; }
.req-formatos-lista span { font-size: .8rem; color: #6b6a6c; font-weight: 400; }
