/* ============================================================
   SII - SISTEMA DE CONTACTO / ADMINISTRACION
   Paleta institucional:
   Amarillo  #FFED02
   Azul      #233D8E
   Apoyo     #CACCD2
   Negro     #111111
   ============================================================ */

:root{
    --sii-yellow:#FFED02;
    --sii-blue:#233D8E;
    --sii-blue-dark:#172B68;
    --sii-blue-soft:#EEF2FF;
    --sii-gray:#CACCD2;
    --sii-gray-light:#F5F6F8;
    --sii-white:#FFFFFF;
    --sii-black:#111111;
    --sii-text:#202633;
    --sii-muted:#667085;
    --sii-border:#D9DDE5;
    --sii-success:#16794C;
    --sii-danger:#B42318;
    --radius:14px;
    --shadow:0 10px 30px rgba(35,61,142,.10);
    --shadow-hover:0 16px 38px rgba(35,61,142,.16);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
    font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
    color:var(--sii-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(255,237,2,.18), transparent 28%),
        radial-gradient(circle at 90% 90%, rgba(35,61,142,.12), transparent 32%),
        linear-gradient(135deg,#F7F8FA 0%,#ECEEF2 100%);
    margin:0;
    padding:40px 20px;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

body::before{
    content:"";
    position:fixed;
    z-index:-1;
    top:0;
    left:0;
    right:0;
    height:6px;
    background:linear-gradient(90deg,var(--sii-yellow) 0 28%,var(--sii-blue) 28% 100%);
}

.container{
    width:100%;
    max-width:560px;
    background:var(--sii-white);
    padding:42px;
    border:1px solid rgba(202,204,210,.85);
    border-radius:18px;
    box-shadow:var(--shadow);
    box-sizing:border-box;
    position:relative;
    overflow:hidden;
}

.container::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:7px;
    background:linear-gradient(90deg,var(--sii-yellow) 0 30%,var(--sii-blue) 30% 100%);
}

h1{
    color:var(--sii-blue);
    font-size:28px;
    line-height:1.2;
    margin:0 0 24px;
    font-weight:750;
    letter-spacing:-.4px;
    border-bottom:1px solid var(--sii-gray);
    padding-bottom:14px;
}

h2{
    color:var(--sii-blue);
}

.muted{
    color:var(--sii-muted);
    line-height:1.55;
    margin-top:-10px;
    margin-bottom:25px;
}

.brand-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
}

.brand-row::after{
    content:"";
    display:block;
}

.admin-link,.back-link{
    color:var(--sii-blue);
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
    padding:8px 10px;
    border-radius:8px;
    transition:.2s ease;
}

.admin-link:hover,.back-link:hover{
    color:var(--sii-black);
    background:rgba(255,237,2,.55);
}

/* ---------------- FORMULARIOS ---------------- */

.form-group{margin-bottom:20px}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:700;
    color:var(--sii-blue-dark);
    font-size:14px;
}

.form-group input,
.form-group textarea{
    width:100%;
    padding:13px 15px;
    border:2px solid var(--sii-gray);
    border-radius:9px;
    box-sizing:border-box;
    font-family:inherit;
    font-size:15px;
    color:var(--sii-black);
    background:#FBFCFD;
    box-shadow:inset 0 1px 2px rgba(17,17,17,.03);
    transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,transform .2s ease;
}

.form-group textarea{
    min-height:145px;
    resize:vertical;
    line-height:1.5;
}

.form-group input:hover,
.form-group textarea:hover{
    border-color:#AEB3BF;
    background:#fff;
}

.form-group input:focus,
.form-group textarea:focus{
    outline:none;
    border-color:var(--sii-blue);
    background:#fff;
    box-shadow:0 0 0 4px rgba(35,61,142,.11);
}

.form-group input::placeholder,
.form-group textarea::placeholder{
    color:#98A0AE;
}

button{
    background:var(--sii-blue);
    color:#fff;
    padding:13px 24px;
    border:0;
    border-radius:9px;
    cursor:pointer;
    font-family:inherit;
    font-size:15px;
    font-weight:750;
    width:100%;
    box-shadow:0 6px 16px rgba(35,61,142,.22);
    transition:background .2s ease,box-shadow .2s ease,transform .2s ease;
}

button:hover{
    background:var(--sii-blue-dark);
    box-shadow:0 9px 22px rgba(35,61,142,.28);
    transform:translateY(-1px);
}

button:active{transform:translateY(0)}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

/* ---------------- ALERTAS ---------------- */

.alert-success{
    background:#ECFDF3;
    color:var(--sii-success);
    border:1px solid #A6E5C5;
    border-left:5px solid var(--sii-yellow);
    padding:13px 16px;
    border-radius:9px;
    margin-bottom:20px;
    font-size:14px;
    font-weight:600;
}

.alert-error{
    background:#FFF4F2;
    color:var(--sii-danger);
    border:1px solid #F2C4BE;
    border-left:5px solid var(--sii-danger);
    padding:13px 16px;
    border-radius:9px;
    margin-bottom:20px;
    font-size:14px;
}

/* ============================================================
   ADMINISTRACION
   ============================================================ */

.admin-body{
    display:block;
    padding:0;
    min-height:100vh;
    background:
        radial-gradient(circle at 85% 5%,rgba(255,237,2,.13),transparent 25%),
        linear-gradient(135deg,#F5F6F8 0%,#ECEEF2 100%);
}

.admin-shell{
    min-height:100vh;
    width:100%;
}

.admin-header{
    background:var(--sii-white);
    border-top:6px solid var(--sii-yellow);
    border-bottom:1px solid var(--sii-gray);
    min-height:78px;
    padding:0 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    box-shadow:0 3px 14px rgba(35,61,142,.08);
}

.admin-header > div{
    position:relative;
    padding-left:16px;
}

.admin-header > div::before{
    content:"";
    position:absolute;
    left:0;
    top:3px;
    bottom:3px;
    width:4px;
    border-radius:4px;
    background:var(--sii-blue);
}

.admin-header strong{
    color:var(--sii-blue);
    display:block;
    font-size:18px;
    font-weight:800;
}

.admin-header span{
    color:var(--sii-muted);
    font-size:13px;
    display:block;
    margin-top:3px;
}

.admin-header nav{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    align-items:center;
}

.admin-header nav a{
    color:var(--sii-blue);
    text-decoration:none;
    font-weight:700;
    font-size:14px;
    padding:9px 12px;
    border-radius:8px;
    transition:.2s ease;
}

.admin-header nav a:hover{
    color:var(--sii-black);
    background:rgba(255,237,2,.65);
}

.admin-header nav a:last-child{
    background:var(--sii-blue);
    color:#fff;
    margin-left:5px;
}

.admin-header nav a:last-child:hover{
    background:var(--sii-blue-dark);
    color:#fff;
}

.admin-content{
    width:min(1200px,92%);
    margin:34px auto 60px;
}

.admin-content > h1{
    margin-bottom:22px;
    padding-bottom:13px;
    border-bottom:2px solid var(--sii-gray);
}

.stats{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    margin-bottom:26px;
}

.stat-card,
.panel{
    background:var(--sii-white);
    border:2px solid var(--sii-gray);
    border-radius:16px;
    box-shadow:var(--shadow);
}

.stat-card{
    padding:25px;
    position:relative;
    overflow:hidden;
    transition:.2s ease;
}

.stat-card:hover{
    transform:translateY(-2px);
    box-shadow:var(--shadow-hover);
}

.stat-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    width:6px;
    background:var(--sii-yellow);
}

.stat-card:nth-child(2)::before{
    background:var(--sii-blue);
}

.stat-card span{
    color:var(--sii-muted);
    display:block;
    margin-bottom:9px;
    font-size:14px;
    font-weight:650;
}

.stat-card strong{
    font-size:34px;
    color:var(--sii-blue);
    line-height:1;
}

.panel{
    padding:25px;
    overflow:hidden;
}

.panel-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.panel-heading h1,
.panel-heading h2{
    border:0;
    padding:0;
    margin:0;
    color:var(--sii-blue);
}

.panel-heading h1{font-size:25px}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    background:var(--sii-blue);
    color:#fff !important;
    text-decoration:none;
    padding:10px 15px;
    border-radius:9px;
    font-weight:750;
    font-size:14px;
    border:0;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(35,61,142,.18);
    transition:.2s ease;
}

.btn:hover{
    background:var(--sii-blue-dark);
    transform:translateY(-1px);
    filter:none;
}

.btn.secondary{
    background:#6B7280;
}

.btn.secondary:hover{
    background:#4B5563;
}

.btn.danger{
    background:#B42318;
}

.btn.danger:hover{
    background:#8F1D14;
}

.btn.small{
    padding:7px 10px;
    font-size:12px;
    box-shadow:none;
}

.table-wrap{
    width:100%;
    overflow-x:auto;
    border:2px solid var(--sii-gray);
    border-radius:10px;
}

table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

th{
    background:var(--sii-blue);
    color:#fff;
    padding:13px 12px;
    text-align:left;
    font-size:13px;
    font-weight:750;
    border-bottom:3px solid var(--sii-yellow);
    white-space:nowrap;
}

td{
    padding:13px 12px;
    border-bottom:1px solid #E5E7EB;
    vertical-align:top;
    font-size:14px;
}

tbody tr:nth-child(even) td{
    background:#FAFBFC;
}

tbody tr:hover td{
    background:#FFFDE0;
}

tbody tr:last-child td{
    border-bottom:0;
}

.message-cell{
    min-width:260px;
    max-width:430px;
    white-space:normal;
    line-height:1.5;
}

.status{
    display:inline-block;
    padding:5px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
}

.status.active{
    background:#E6F7EE;
    color:#16794C;
    border:1px solid #B7E6CD;
}

.status.inactive{
    background:#FFF0EE;
    color:#B42318;
    border:1px solid #F3C1BA;
}

.actions{
    white-space:nowrap;
}

.form-panel{
    max-width:700px;
}

.form-panel form{
    max-width:100%;
}

.checkbox{
    display:flex;
    gap:9px;
    align-items:center;
    margin:15px 0 22px;
    color:var(--sii-blue-dark);
    font-weight:650;
}

.checkbox input{
    width:18px;
    height:18px;
    accent-color:var(--sii-blue);
}

/* ---------------- LOGIN ADMIN ---------------- */

.admin-login{
    max-width:470px;
}

.admin-login h1{
    margin-bottom:12px;
}

.admin-login form{
    margin-top:26px;
}

.admin-login button{
    margin-top:4px;
}

.admin-login .back-link{
    display:inline-block;
    margin-top:20px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width:700px){
    body{
        padding:24px 12px;
        align-items:flex-start;
    }

    .container{
        margin-top:12px;
        padding:32px 22px;
        border-radius:15px;
    }

    .form-grid,
    .stats{
        grid-template-columns:1fr;
    }

    .brand-row{
        flex-direction:column;
        gap:8px;
    }

    .admin-header{
        align-items:flex-start;
        flex-direction:column;
        padding:18px 5%;
        gap:14px;
    }

    .admin-header nav{
        width:100%;
    }

    .admin-header nav a{
        padding:8px 9px;
    }

    .admin-header nav a:last-child{
        margin-left:0;
    }

    .admin-content{
        width:94%;
        margin:22px auto 45px;
    }

    .panel,
    .stat-card{
        padding:19px;
    }

    .panel-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .panel-heading .btn{
        width:100%;
    }

    .table-wrap{
        border-radius:8px;
    }
}


/* Campos institucionales SII: borde de 2px en todos los campos */
.form-group input,
.form-group textarea,
.form-group select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
    border-width: 2px !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
input:focus,
textarea:focus,
select:focus {
    border-width: 2px !important;
}

/* ============================================================
   MEJORAS SELECT + CAMPOS AJUSTADOS (Cédula / Teléfono / Correo)
   ============================================================ */

.form-group select,
.select-wrap select {
    width: 100%;
    padding: 13px 42px 13px 15px;
    border: 2px solid var(--sii-gray);
    border-radius: 9px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--sii-black);
    background: #FBFCFD;
    box-shadow: inset 0 1px 2px rgba(17,17,17,.03);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid var(--sii-blue);
    border-bottom: 2.5px solid var(--sii-blue);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    transition: border-color .2s ease;
}

.form-group select:hover,
.select-wrap select:hover {
    border-color: #AEB3BF;
    background: #fff;
}

.form-group select:focus,
.select-wrap select:focus {
    outline: none;
    border-color: var(--sii-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(35,61,142,.11);
}

.select-wrap:focus-within::after {
    border-color: var(--sii-blue-dark);
}

/* Campos numéricos ajustados al ancho real del contenido */
.input-cedula {
    max-width: 220px;
    letter-spacing: 1.5px;
    font-variant-numeric: tabular-nums;
    font-family: "Segoe UI", Consolas, "Courier New", monospace;
    font-size: 16px;
    font-weight: 600;
}

#telefono {
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

.input-ajustado {
    max-width: 100%;
}

/* Placeholder más suave en select cuando no hay valor */
.form-group select:invalid,
.select-wrap select:invalid {
    color: #98A0AE;
    font-weight: 500;
}

.form-group select option {
    color: var(--sii-black);
    font-weight: 600;
    padding: 8px;
}

.form-group select option[value=""] {
    color: #98A0AE;
    font-weight: 500;
}

@media (max-width: 520px) {
    .input-cedula {
        max-width: 100%;
    }
}

/* ============================================================
   MODAL DETALLE DE MENSAJE (Admin)
   ============================================================ */

.row-clickable {
    cursor: pointer;
    transition: background .15s ease;
}
.row-clickable:hover {
    background: rgba(35,61,142,.06) !important;
}
.row-clickable:active {
    background: rgba(255,237,2,.25) !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(23, 43, 104, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--sii-white);
    border-radius: 16px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(35,61,142,.28);
    border: 1px solid var(--sii-gray);
    transform: translateY(12px) scale(.98);
    transition: transform .25s ease;
}
.modal-overlay.is-open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--sii-gray);
    background: linear-gradient(90deg, rgba(255,237,2,.25) 0 28%, rgba(35,61,142,.06) 28% 100%);
}
.modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--sii-blue);
    font-weight: 750;
}

.modal-close {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: var(--sii-muted);
    cursor: pointer;
    padding: 0 6px;
    border-radius: 6px;
    width: auto;
    box-shadow: none;
    transition: color .15s, background .15s;
}
.modal-close:hover {
    color: var(--sii-danger);
    background: rgba(180,35,24,.08);
    transform: none;
    box-shadow: none;
}

.modal-body {
    padding: 22px;
    overflow-y: auto;
    flex: 1;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}
.modal-field.modal-full {
    grid-column: 1 / -1;
}
.modal-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--sii-blue-dark);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 4px;
}
.modal-value {
    display: block;
    font-size: 15px;
    color: var(--sii-text);
    word-break: break-word;
}
.modal-mensaje {
    background: var(--sii-gray-light);
    border: 1px solid var(--sii-border);
    border-radius: 10px;
    padding: 14px 16px;
    white-space: pre-wrap;
    line-height: 1.55;
    max-height: 220px;
    overflow-y: auto;
}
.modal-ua {
    font-size: 14px;
    color: var(--sii-text);
    word-break: normal;
}

.modal-footer {
    padding: 14px 22px 18px;
    border-top: 1px solid var(--sii-gray);
    display: flex;
    justify-content: flex-end;
}
.btn-modal-cerrar {
    background: var(--sii-blue);
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    width: auto;
    box-shadow: 0 4px 12px rgba(35,61,142,.2);
    transition: background .2s, transform .15s;
}
.btn-modal-cerrar:hover {
    background: var(--sii-blue-dark);
    transform: translateY(-1px);
}

@media (max-width: 560px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
    .modal-box {
        max-height: 95vh;
    }
}


/* ============================================================
   BRAND HEADER - Hogar CREA Dominicano, INC.
   Entre las líneas superiores del contenedor
   ============================================================ */

.brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: -8px 0 18px;
    padding: 12px 0 16px;
    border-bottom: 1px solid var(--sii-gray);
}

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(35,61,142,.18);
    border: 2px solid var(--sii-yellow);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand-text strong {
    color: var(--sii-blue);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.brand-row h1 {
    margin-top: 4px;
}

@media (max-width: 480px) {
    .brand-logo {
        width: 44px;
        height: 44px;
    }
    .brand-text strong {
        font-size: 14px;
    }
}


/* ============================================================
   ESTADO NUEVO / ATENDIDO + SEGUIMIENTO
   ============================================================ */

.badge-nuevo {
    display: inline-block;
    background: #B42318;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: .3px;
    white-space: nowrap;
}

.badge-atendido {
    display: inline-block;
    background: #16794C;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: .3px;
    white-space: nowrap;
}

.stat-nuevo::before { background: #B42318 !important; }
.stat-atendido::before { background: #16794C !important; }
.stat-nuevo strong { color: #B42318; }
.stat-atendido strong { color: #16794C; }

.seguimiento-box {
    margin-top: 22px;
    padding: 18px;
    background: var(--sii-gray-light);
    border: 1px solid var(--sii-border);
    border-radius: 12px;
    border-left: 5px solid var(--sii-yellow);
}

.seguimiento-title {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--sii-blue);
    font-weight: 750;
}

.seguimiento-box textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--sii-gray);
    border-radius: 9px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 90px;
    box-sizing: border-box;
    background: #fff;
}

.seguimiento-box textarea:focus {
    outline: none;
    border-color: var(--sii-blue);
    box-shadow: 0 0 0 3px rgba(35,61,142,.12);
}

.seguimiento-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.btn-guardar-obs {
    background: var(--sii-blue);
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    width: auto;
    box-shadow: 0 3px 10px rgba(35,61,142,.2);
}

.btn-guardar-obs:hover {
    background: var(--sii-blue-dark);
}

.btn-marcar-atendido {
    background: #16794C;
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    width: auto;
    box-shadow: 0 3px 10px rgba(22,121,76,.25);
}

.btn-marcar-atendido:hover {
    background: #0f5c39;
}

.btn-marcar-nuevo {
    background: #B42318;
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    width: auto;
    box-shadow: 0 3px 10px rgba(180,35,24,.25);
}

.btn-marcar-nuevo:hover {
    background: #8f1b13;
}

.btn-marcar-atendido.is-active,
.btn-marcar-nuevo.is-active {
    outline: 3px solid rgba(255,237,2,.85);
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .seguimiento-actions {
        flex-direction: column;
    }
    .seguimiento-actions button {
        width: 100%;
    }
}


/* ============================================================
   FORMULARIO PUBLICO - AJUSTE VISUAL PRODUCCION v2
   ============================================================ */
body:not(.admin-body) .container {
    max-width: 760px;
    padding: 46px 48px;
    margin: 0 auto;
}
body:not(.admin-body) .brand-header {
    margin: 0 0 28px;
    padding: 0 0 22px;
    border-bottom: 1px solid #e4e7ec;
}
body:not(.admin-body) .brand-logo {
    width: 66px; height: 66px;
}
body:not(.admin-body) .brand-text strong {
    font-size: 19px;
}
body:not(.admin-body) .brand-row {
    margin-bottom: 25px;
}
body:not(.admin-body) .brand-row h1 {
    font-size: 34px;
    margin: 0 0 9px;
    padding: 0;
    border: 0;
}
body:not(.admin-body) .brand-row .muted {
    margin: 0;
    font-size: 15px;
}
body:not(.admin-body) #formContacto {
    background: #fff;
}
body:not(.admin-body) .form-group {
    margin-bottom: 22px;
}
body:not(.admin-body) .form-group label {
    font-size: 14px;
    margin-bottom: 8px;
}
body:not(.admin-body) .form-group input,
body:not(.admin-body) .form-group select,
body:not(.admin-body) .form-group textarea {
    min-height: 50px;
    border: 1px solid #cfd5df;
    border-radius: 10px;
    background: #fff;
    padding: 13px 15px;
}
body:not(.admin-body) .form-group textarea { min-height: 150px; }
body:not(.admin-body) .form-group select { width:100%; font:inherit; color:var(--sii-text); appearance:auto; }
body:not(.admin-body) button[type="submit"] {
    min-height: 52px;
    border-radius: 10px;
    font-size: 16px;
    letter-spacing: .1px;
}
@media (max-width: 700px) {
    body:not(.admin-body) { padding: 20px 12px; align-items:flex-start; }
    body:not(.admin-body) .container { padding: 30px 22px; margin: 10px auto; }
    body:not(.admin-body) .form-grid { grid-template-columns: 1fr; gap: 0; }
    body:not(.admin-body) .brand-row h1 { font-size: 28px; }
}
