* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Campton', 'Arial', sans-serif;
    background: #000000;
    color: #FFFFFF;
}

.wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    background: #000000;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
}

/* ============================================
   SECCIÓN IMAGEN (IZQUIERDA)
   ============================================ */

.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #000000;
    position: relative;
    flex: 1;
    min-height: 100vh;
}

.main-image {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5)) contrast(1.8) brightness(1.05) saturate(1.1);
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.splash-cdc {
    display: none;
}

/* ============================================
   SECCIÓN FORMULARIO (DERECHA)
   ============================================ */

.form-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px;
    background: #000000;
    flex: 1;
    min-height: 100vh;
    gap: 8px;
}

.logo-header {
    margin-bottom: 5px;
    margin-top: 5px;
    text-align: center;
}

.logo-svg {
    height: 120px;
    width: auto;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)) brightness(1.1) contrast(1.1);
}

/* ============================================
   FORMULARIO
   ============================================ */

form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ============================================
   CUADRO 1: NOMBRE Y TELEFONO
   ============================================ */

.box-fields {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 16px;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    padding: 16px 22px;
    border: 2px solid #333333;
    border-radius: 16px;
    font-size: 15px;
    color: #FFFFFF;
    background: #2a2a2a;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
    width: 100%;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus {
    border-color: #FFFFFF;
}

/* ============================================
   CHECKBOX + TEXTO (FUERA)
   ============================================ */

.checkbox-section {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 500px;
    padding: 0 40px;
}

.checkbox-section input[type="checkbox"] {
    width: 28px;
    height: 28px;
    min-width: 28px;
    cursor: pointer;
    border: 2px solid #666666;
    border-radius: 8px;
    background: #2a2a2a;
    appearance: none;
    transition: all 0.3s;
}

.checkbox-section input[type="checkbox"]:checked {
    background: #FFFFFF;
}

.checkbox-text {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

/* ============================================
   CUADRO 2: BOTÓN
   ============================================ */

.box-button {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 0;
    display: flex;
}

.box-button button {
    width: 100%;
    padding: 20px;
    background: #1a1a1a;
    color: #FFFFFF;
    border: 2px solid #333333;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.box-button button:hover {
    background: #2a2a2a;
    border-color: #FFFFFF;
}

.box-button button:active {
    transform: scale(0.98);
}

/* ============================================
   BOTÓN ADMIN
   ============================================ */

.admin-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: #000000;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.admin-button:hover {
    background: #333333;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .wrapper {
        flex-direction: column;
    }

    .image-section {
        min-height: 50vh;
    }

    .form-section {
        min-height: 50vh;
    }

    .logo-svg {
        height: 50px;
    }

    form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .image-section {
        padding: 40px 20px;
    }

    .form-section {
        padding: 40px 20px;
    }

    .logo-svg {
        height: 40px;
        margin-bottom: 20px;
    }

    .box-fields {
        border-radius: 20px;
        padding: 30px;
        gap: 20px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input {
        padding: 14px 16px;
        font-size: 14px;
    }

    .checkbox-section {
        gap: 14px;
    }

    .checkbox-text {
        font-size: 14px;
    }

    .box-button button {
        font-size: 16px;
        padding: 18px;
    }
}

