/* ============================================================================
   Datos de Contacto - Diseño Bento con contexto de moto + formulario
   Usado en: datos_contacto.html
   ============================================================================ */

body.contacto-body {
    background: #0c1324;
    color: #dce1fb;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Glass panel base */
.glass-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(67, 71, 77, 0.4);
}

/* Success banner (verificado identidad) */
.contacto-success-banner {
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    width: 100%;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: #10B981;
    font-family: 'Inter', monospace;
    font-size: 0.875rem;
    font-weight: 500;
}

.contacto-success-banner .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 18px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Layout principal */
.contacto-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

/* Ambient glow */
.contacto-ambient-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(176, 200, 235, 0.05);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

/* Header */
.contacto-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 42rem;
}

.contacto-header h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    line-height: 2.5rem;
    letter-spacing: -0.01em;
    font-weight: 600;
    color: #dce1fb;
    margin: 0;
}

@media (max-width: 640px) {
    .contacto-header h1 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.contacto-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #c4c6ce;
    margin: 0;
}

/* Progress Bar */
.contacto-progress {
    width: 100%;
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contacto-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #c4c6ce;
}

.contacto-progress-track {
    width: 100%;
    height: 0.5rem;
    background: #2e3447;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.contacto-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to right, #4F46E5, #9333EA);
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
    transition: width 0.4s ease;
}

/* Two column bento layout */
.contacto-grid {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 900px) {
    .contacto-grid {
        grid-template-columns: 4fr 8fr;
    }
}

.contacto-left-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Card de Selección Actual (moto) */
.moto-context-card {
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s;
}

.moto-context-card::before {
    content: '';
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 8rem;
    height: 8rem;
    background: #0a2540;
    filter: blur(48px);
    opacity: 0.5;
    transition: opacity 0.3s;
    pointer-events: none;
}

.moto-context-card:hover::before {
    opacity: 0.8;
}

.moto-context-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #dce1fb;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(67, 71, 77, 0.5);
    position: relative;
    z-index: 1;
}

.moto-context-image {
    width: 100%;
    height: 10rem;
    border-radius: 0.5rem;
    background: #070d1f;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.moto-context-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.moto-context-image-placeholder {
    color: rgba(196, 198, 206, 0.4);
}

.moto-context-image-placeholder .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 64px;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.moto-context-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.moto-context-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #c4c6ce;
    text-transform: uppercase;
}

.moto-context-name {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #dce1fb;
}

.moto-context-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.moto-context-meta-info {
    font-family: 'Inter', monospace;
    font-size: 0.8125rem;
    color: #c4c6ce;
    letter-spacing: 0.01em;
}

.moto-context-meta-price {
    font-family: 'Inter', monospace;
    font-size: 0.8125rem;
    color: #b0c8eb;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Right column: Form */
.contacto-form-container {
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

@media (min-width: 640px) {
    .contacto-form-container {
        padding: 2rem;
    }
}

.contacto-form-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: #dce1fb;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contacto-form-title .material-symbols-outlined {
    color: #10B981;
    font-family: 'Material Symbols Outlined';
    font-size: 24px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.contacto-field-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #c4c6ce;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacto-field-optional {
    color: #8e9198;
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}

.contacto-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.contacto-input-icon {
    position: absolute;
    left: 1rem;
    color: #43474d;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    z-index: 1;
}

.contacto-input-icon .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.contacto-input {
    width: 100%;
    background: #151b2d;
    border: 1px solid #43474d;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem 0.75rem 3rem;
    color: #dce1fb;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contacto-input::placeholder {
    color: rgba(196, 198, 206, 0.5);
}

.contacto-input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 1px #10B981;
}

.contacto-input.optional:focus {
    border-color: #b0c8eb;
    box-shadow: 0 0 0 1px #b0c8eb;
}

.contacto-field-hint {
    font-size: 0.75rem;
    color: rgba(196, 198, 206, 0.7);
    margin: 0;
    padding-left: 0.25rem;
}

/* Grid para teléfonos */
.contacto-phones-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contacto-phones-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Divider */
.contacto-divider {
    border: none;
    border-top: 1px solid rgba(67, 71, 77, 0.3);
    margin: 0.5rem 0;
}

/* Buttons */
.contacto-actions {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .contacto-actions {
        flex-direction: row;
    }
}

.btn-contacto-back {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #43474d;
    background: transparent;
    color: #c4c6ce;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-contacto-back:hover {
    background: #2e3447;
    color: #dce1fb;
    text-decoration: none;
}

.btn-contacto-back .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.btn-contacto-primary {
    width: 100%;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    background: #10B981;
    color: #070d1f;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.btn-contacto-primary:hover {
    background: #34d399;
    color: #070d1f;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.btn-contacto-primary:active {
    transform: translateY(0);
}

.btn-contacto-primary .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

@media (min-width: 640px) {
    .btn-contacto-back,
    .btn-contacto-primary {
        width: auto;
    }
}
