* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #f4f6f7;
    color: #2c3e42;
    line-height: 1.6;
    font-family: 'Quicksand', Arial, Helvetica, sans-serif;
    padding: 0 1.5em;
}

ul {
    list-style: none;
    padding: 0;
}

/* HEADER */
.page-header {
    text-align: center;
    padding: 2.5em 1em 1.5em;
}

.page-header .eyebrow {
    display: inline-block;
    color: #008b9a;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8em;
    margin-bottom: .5em;
}

.logo {
    text-align: center;
    font-size: 2.4em;
    margin: 0;
    color: #2c3e42;
    font-weight: 700;
}

.logo span {
    color: #008b9a;
}

.page-header .subtitle {
    max-width: 640px;
    margin: .75em auto 0;
    color: #5b6b70;
    font-size: 1em;
}

/* PROCEDIMIENTO DE RECLAMOS (columna lateral) */
.procedure-panel {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    border: 1px solid #e6ebec;
    padding: 1.6em;
    align-self: start;
}

.procedure-panel__title {
    margin: 0 0 1em;
    color: #2c3e42;
    font-size: 1.1em;
    font-weight: 700;
}

.procedure-panel__block {
    margin-bottom: 1.3em;
}

.procedure-panel__block:last-child {
    margin-bottom: 0;
}

.procedure-panel__block h3 {
    margin: 0 0 .5em;
    color: #008b9a;
    font-size: .95em;
    font-weight: 700;
}

.procedure-panel__block p {
    margin: 0 0 .6em;
    color: #5b6b70;
    font-size: .92em;
}

.procedure-panel__block ol,
.procedure-panel__list {
    margin: 0;
    padding-left: 1.2em;
    color: #5b6b70;
    font-size: .92em;
}

.procedure-panel__block ol li,
.procedure-panel__list li {
    padding: .15em 0;
}

.procedure-panel__list {
    list-style: disc;
}

/* LAYOUT */
.contact-wrapper {
    max-width: 1170px;
    margin: 0 auto 3em;
    display: grid;
    gap: 1.5em;
}

.contact-wrapper[hidden] {
    display: none;
}

.contact-wrapper--3col {
    max-width: 1600px;
}

/* TARJETA DEL FORMULARIO */
.contact-form {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    overflow: hidden;
    border: 1px solid #e6ebec;
    align-self: start;
}

.mgr-card-header {
    display: flex;
    align-items: center;
    gap: .6em;
    background: #008b9a;
    color: #fff;
    padding: 1em 1.4em;
    line-height: 1.3;
}

.mgr-card-header i {
    font-size: 1.2em;
}

.mgr-card-header .mgr-card-title {
    font-weight: 700;
    font-size: 1.05em;
}

.mgr-card-header .mgr-card-badge {
    margin-left: auto;
    background: rgba(255, 255, 255, .18);
    padding: .3em .8em;
    border-radius: 999px;
    font-size: .72em;
    text-transform: uppercase;
    letter-spacing: .05em;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-volver {
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    padding: .3em .4em;
    margin: -.3em -.4em -.3em 0;
    line-height: 1;
    border-radius: 6px;
    flex-shrink: 0;
}

.btn-volver:hover {
    background: rgba(255, 255, 255, .15);
}

/* PANTALLA DE SELECCIÓN: RECLAMO O REQUERIMIENTO */
.seleccion-tramite {
    max-width: 640px;
    margin: 1.5em auto 3.5em;
    text-align: center;
}

.seleccion-tramite__ayuda {
    font-size: 1.15em;
    font-weight: 700;
    color: #2c3e42;
    margin-bottom: 1.6em;
}

.seleccion-tramite__opciones {
    display: flex;
    gap: 1.8em;
    justify-content: center;
    flex-wrap: wrap;
}

.seleccion-tramite__tarjeta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8em;
    width: 240px;
    height: 180px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    transition: transform .15s ease-out, box-shadow .15s ease-out;
}

.seleccion-tramite__tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.seleccion-tramite__tarjeta i {
    font-size: 2.6em;
}

.seleccion-tramite__tarjeta--requerimiento {
    background: linear-gradient(160deg, #F38120, #d96c10);
}

.seleccion-tramite__tarjeta--reclamo {
    background: linear-gradient(160deg, #e0413a, #b8281f);
}

/* FORMULARIO DE REGISTRO */
.reclamo-form {
    padding: 1.6em;
}

.reclamo-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    margin-bottom: 1em;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: .4em;
    position: relative;
    margin-bottom: 1em;
}

.reclamo-form__grid .campo {
    margin-bottom: 0;
}

.campo label {
    font-size: .88em;
    font-weight: 700;
    color: #2c3e42;
}

.campo input,
.campo select,
.campo textarea {
    padding: .65em .8em;
    border: 1px solid #dbe2e4;
    border-radius: 8px;
    font-family: inherit;
    font-size: .95em;
    color: #2c3e42;
    background: #fff;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
    outline: none;
    border-color: #008b9a;
    box-shadow: 0 0 0 3px rgba(0, 139, 154, .12);
}

.campo textarea {
    resize: vertical;
}

.campo__ayuda {
    margin: 0;
    font-size: .8em;
    color: #8a9599;
}

/* SECCIONES DEL FORMULARIO */
.reclamo-form__seccion {
    margin: 1.6em 0 1em;
    padding-bottom: .5em;
    border-bottom: 1px solid #eef1f2;
    font-size: 1em;
    font-weight: 700;
    color: #2c3e42;
}

.reclamo-form__seccion:first-child {
    margin-top: 0;
}

/* PERSONA JURÍDICA RELACIONADA AL REMITENTE */
.bloque-opcional {
    background: #f7fafb;
    border: 1px solid #e6ebec;
    border-radius: 10px;
    padding: 1.2em;
    margin-bottom: 1em;
}

.bloque-opcional__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
}

.bloque-opcional__header h4 {
    margin: 0;
    font-size: .95em;
    color: #2c3e42;
}

.btn-quitar {
    background: #fdecea;
    color: #b02a26;
    border: 1px solid #f5c2c0;
    border-radius: 6px;
    padding: .4em .8em;
    font-size: .82em;
    cursor: pointer;
}

.btn-agregar-juridica {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    background: #2c3e42;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: .7em 1.1em;
    font-size: .88em;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 1em;
}

.btn-agregar-juridica:hover {
    background: #008b9a;
}

/* MEDIO DE NOTIFICACIÓN */
.medio-notificacion {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7em;
    margin-top: .6em;
}

.medio-notificacion__opcion {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5em;
    border: 1.5px solid #dbe2e4;
    border-radius: 10px;
    padding: 1em .8em;
    font-size: .88em;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease-out, background-color .15s ease-out;
}

.medio-notificacion__opcion i {
    font-size: 1.4em;
    color: #8a9599;
}

.medio-notificacion__opcion:has(input:checked) {
    border-color: #008b9a;
    background: #f0f7f8;
}

.medio-notificacion__opcion:has(input:checked) i {
    color: #008b9a;
}

.medio-notificacion__opcion input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.medio-notificacion__opcion strong {
    color: #2c3e42;
    font-size: .95em;
}

.medio-notificacion__opcion span {
    display: block;
    font-weight: 400;
    color: #8a9599;
    font-size: .85em;
}

@media(min-width: 560px) {
    .medio-notificacion {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* BUSCADOR DE UBICACIÓN */
.ubicacion-buscador {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6em;
}

.ubicacion-buscador__acciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6em;
}

.btn-secundario,
.btn-detalle {
    border: 0;
    border-radius: 8px;
    padding: .65em 1em;
    font-size: .85em;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
}

.btn-secundario {
    background: #2c3e42;
    color: #fff;
}

.btn-secundario:hover {
    background: #008b9a;
}

.btn-detalle {
    background: #F38120;
    color: #fff;
}

.btn-detalle:hover {
    background: #d96c10;
}

@media(min-width: 560px) {
    .ubicacion-buscador {
        grid-template-columns: 1fr auto;
        align-items: start;
    }

    .ubicacion-buscador__acciones {
        grid-template-columns: auto auto;
    }
}

/* AUTOCOMPLETADO DE CIUDAD */
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: #fff;
    border: 1px solid #dbe2e4;
    border-radius: 8px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    margin-top: .25em;
}

.autocomplete-list li {
    padding: .6em .8em;
    font-size: .9em;
    cursor: pointer;
}

.autocomplete-list li:hover {
    background: #f0f7f8;
}

/* MODAL DE BÚSQUEDA DETALLADA DE UBICACIÓN */
.modal-ubicacion {
    position: fixed;
    inset: 0;
    background: rgba(44, 62, 66, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1em;
}

.modal-ubicacion[hidden] {
    display: none;
}

.modal-ubicacion__contenido {
    background: #fff;
    border-radius: 12px;
    padding: 1.6em;
    max-width: 640px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}

.modal-ubicacion__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .6em;
}

.modal-ubicacion__header h4 {
    margin: 0;
    font-size: 1.05em;
    color: #2c3e42;
}

.btn-cerrar-modal {
    background: none;
    border: 0;
    font-size: 1.1em;
    color: #8a9599;
    cursor: pointer;
}

.modal-ubicacion__ayuda {
    font-size: .85em;
    color: #5b6b70;
    margin: 0 0 1.2em;
}

.modal-ubicacion__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8em;
    margin-bottom: 1.2em;
}

.modal-ubicacion__grid select {
    padding: .65em .8em;
    border: 1px solid #dbe2e4;
    border-radius: 8px;
    font-family: inherit;
    font-size: .92em;
    background: #fff;
}

.modal-ubicacion__grid select:disabled {
    background: #f4f6f7;
    color: #b7c0c2;
}

.btn-utilizar-ubicacion {
    width: 100%;
    background: #008b9a;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: .8em;
    font-size: .92em;
    font-weight: 700;
    cursor: pointer;
}

.btn-utilizar-ubicacion:disabled {
    background: #c7d0d2;
    cursor: not-allowed;
}

/* CAPTCHA */
.campo--captcha {
    align-items: center;
}

/* MENSAJE DE RESULTADO */
.mensaje-resultado {
    padding: .9em 1em;
    border-radius: 8px;
    font-size: .92em;
    margin-bottom: 1em;
}

.mensaje-resultado--exito {
    background: #e4f7ee;
    color: #146c43;
    border: 1px solid #b8e6cf;
}

.mensaje-resultado--error {
    background: #fdecea;
    color: #b02a26;
    border: 1px solid #f5c2c0;
}

/* BOTÓN DE ENVÍO */
#btnEnviar {
    width: 100%;
    background: #F38120;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: .9em;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    cursor: pointer;
    transition: background-color .2s ease-out;
}

#btnEnviar:hover,
#btnEnviar:focus {
    background: #008b9a;
}

#btnEnviar:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* SIDEBAR */
.contact-info {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    border: 1px solid #e6ebec;
    padding: 1.8em;
    align-self: start;
}

.contact-info h4 {
    margin: 0 0 1em;
    color: #2c3e42;
    font-size: 1.15em;
    font-weight: 700;
}

.contact-info ul {
    margin: 0 0 1.4em;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    gap: .6em;
    padding: .5em 0;
}

.contact-info a {
    text-decoration: none;
    color: #2c3e42;
    display: block;
}

.contact-info a:hover {
    color: #008b9a;
}

.contact-info ul i {
    width: 1.4em;
    text-align: center;
    color: #F38120;
}

.contact-info .info-block {
    border-top: 1px solid #eef1f2;
    padding-top: 1.2em;
    margin-top: 1.2em;
    color: #5b6b70;
    font-size: .92em;
}

/* LARGE SIZE */
@media(min-width: 700px) {
    .reclamo-form__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(min-width: 900px) {
    body {
        padding: 0 4em;
    }

    .contact-wrapper {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }

    .contact-wrapper--3col {
        grid-template-columns: 1fr 2.8fr 1fr;
    }
}

@media(min-width: 1300px) {
    body {
        padding: 0 2.5em;
    }
}

@media(max-width: 480px) {
    .page-header {
        padding-top: 1.5em;
    }

    .logo {
        font-size: 1.8em;
    }
}
