/**
 * Sell Property Form Component - Dark Mode Premium
 * Layout simétrico con grid - Todo visible sin scroll
 */

/* ============================================
   SECCIÓN PRINCIPAL - GRID LAYOUT
   ============================================ */

.sell-form-section {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: #0d0d0d;
}

.sell-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.sell-form-container--single {
    grid-template-columns: minmax(320px, 640px);
    justify-content: center;
}

/* ============================================
   COLUMNA IZQUIERDA - FORMULARIO
   ============================================ */

.sell-form-left {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 36px;
    transition: all 0.3s ease;
}

.sell-form-left:hover {
    border-color: rgba(249, 115, 22, 0.3);
}

.sell-form-container--single .sell-form-left {
    position: relative;
    overflow: hidden;
    border-color: rgba(249, 115, 22, 0.2);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.sell-form-container--single .sell-form-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.16), transparent 38%),
        radial-gradient(circle at bottom left, rgba(251, 191, 36, 0.08), transparent 30%);
    pointer-events: none;
}

.sell-form-container--single .sell-form-content {
    position: relative;
    z-index: 1;
}

.sell-form-title {
    font-size: 1.625rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.sell-form-title .text-accent {
    color: #f97316;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}

.sell-form-subtitle {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.sell-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 0.8125rem;
}

.form-input {
    background: #111111;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    border-radius: 8px;
    padding: 12px 14px;
    width: 100%;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-input option {
    color: #111827;
    background: #ffffff;
}

.form-input option:disabled {
    color: #6b7280;
}

.form-input:focus {
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    background: #0d0d0d;
}

.form-input::placeholder {
    color: #6b7280;
}

.btn-submit {
    margin-top: 0.5rem;
    background: #f97316;
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
    padding: 14px;
    border-radius: 10px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
}

.btn-submit:hover {
    background: #ea6c0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

/* ============================================
   COLUMNA DERECHA - 3 ELEMENTOS APILADOS
   ============================================ */

.sell-form-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   ELEMENTO 1: TRUST BAR
   ============================================ */

.trust-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 16px 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.trust-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.trust-number {
    font-size: 1rem;
    font-weight: 800;
    color: #f97316;
    line-height: 1.2;
}

.trust-label {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.2;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: #2a2a2a;
    justify-self: center;
}

/* ============================================
   ELEMENTO 2: TABLA COMPARATIVA
   ============================================ */

.comparison-table {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.comparison-table thead tr {
    background: #111;
}

.comparison-table thead th {
    padding: 12px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9ca3af;
}

.comparison-table thead th:first-child {
    width: 35%;
    text-align: left;
}

.comparison-table thead .col-fastpaw {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.comparison-table thead .col-traditional {
    color: #6b7280;
}

.comparison-table tbody tr {
    border-top: 1px solid #2a2a2a;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody td {
    padding: 11px 16px;
    font-size: 0.85rem;
}

.comparison-table tbody .row-label {
    color: #9ca3af;
    font-weight: 600;
    text-align: left;
}

.comparison-table tbody .col-fastpaw {
    background: rgba(249, 115, 22, 0.08);
    color: #f97316;
    font-weight: 600;
    text-align: center;
}

.comparison-table tbody .col-traditional {
    color: #6b7280;
    text-align: center;
}

.check-icon,
.x-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

/* ============================================
   ELEMENTO 3: TESTIMONIO
   ============================================ */

.testimonial-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px 24px;
}

.quote-mark {
    color: #f97316;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

.testimonial-text {
    color: #d1d5db;
    font-style: italic;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-name {
    color: #f97316;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-location {
    color: #6b7280;
    font-size: 0.75rem;
}

.stars {
    color: #f97316;
    font-size: 0.75rem;
    margin-left: auto;
}

/* ============================================
   ELEMENTOS DE INFO DE CONTACTO (GLASS CARDS)
   ============================================ */

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-glass-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-glass-card:hover {
    border-color: rgba(249, 115, 22, 0.4);
    background: #1e1e1e;
    transform: translateX(4px);
}

.info-glass-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: #f97316;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-glass-card:hover::after {
    opacity: 1;
}

.info-glass-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.info-glass-icon {
    font-size: 1.25rem;
}

.info-glass-title {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #f97316;
    margin: 0;
}

.info-glass-text {
    font-size: 0.9375rem;
    color: #d1d5db;
    line-height: 1.6;
    margin: 0;
}

.info-glass-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-glass-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
}

.info-glass-item svg {
    width: 20px;
    height: 20px;
    color: #f97316;
    flex-shrink: 0;
}

.info-glass-item a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.info-glass-item a:hover {
    color: #f97316;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .sell-form-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .sell-form-left {
        padding: 32px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .sell-form-section {
        padding: 24px 16px;
    }
    
    .sell-form-container {
        gap: 20px;
    }
    
    .sell-form-left {
        padding: 24px;
    }
    
    .sell-form-title {
        font-size: 1.375rem;
    }
    
    .sell-form-subtitle {
        font-size: 0.8125rem;
    }
    
    /* Trust bar en móvil */
    .trust-bar {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .trust-item {
        justify-content: flex-start;
    }
    
    .trust-divider {
        width: 100%;
        height: 1px;
    }
    
    /* Tabla en móvil */
    .comparison-table table {
        font-size: 0.75rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
    
    .check-icon,
    .x-icon {
        width: 14px;
        height: 14px;
    }
    
    /* Testimonio en móvil */
    .testimonial-card {
        padding: 16px 20px;
    }
    
    .quote-mark {
        font-size: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .sell-form-section {
        padding: 20px 16px;
    }
    
    .sell-form-left {
        padding: 20px;
    }
    
    .sell-form-title {
        font-size: 1.25rem;
    }
    
    .form-input {
        padding: 11px 12px;
        font-size: 0.8125rem;
    }
    
    .btn-submit {
        padding: 12px;
        font-size: 0.875rem;
    }
    
    .trust-number {
        font-size: 0.9375rem;
    }
    
    .trust-label {
        font-size: 0.6875rem;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sell-form-left {
    animation: fadeInUp 0.5s ease-out;
}

.trust-bar {
    animation: fadeInUp 0.5s ease-out 0.1s backwards;
}

.comparison-table {
    animation: fadeInUp 0.5s ease-out 0.15s backwards;
}

.testimonial-card {
    animation: fadeInUp 0.5s ease-out 0.2s backwards;
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .sell-form-left,
    .trust-bar,
    .comparison-table,
    .testimonial-card {
        animation: none;
    }
    
    .btn-submit:hover {
        transform: none;
    }
}

.form-input:focus-visible,
.btn-submit:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}
