/* ============================================
   AIA Consultores – Inicio: Sección Contacto
   Layout tipo arquitectura (sillón + boceto + form)
   Paleta: Azul #030083 | Naranja #fe7f00 | Gris #d9d9d9 | Celeste #51d1f6
   ============================================ */

/* ===== SECTION WRAPPER ===== */
.inicio-contacto-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: 0;
}

.inicio-contacto-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* ===== LEFT COLUMN: Images (Chair + Sketch) ===== */
.inicio-contacto-images {
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Architectural sketch as background */
.inicio-contacto-sketch {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 85%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    z-index: 1;
    opacity: 0.6;
    transition: transform 0.15s ease-out;
    will-change: transform;
    filter: contrast(0.85) brightness(1.05);
}

.inicio-contacto-sketch.idle {
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Chair/furniture image on top */
.inicio-contacto-furniture {
    position: relative;
    z-index: 2;
    width: 72%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    margin-left: -5%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
    animation: furnitureFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

@keyframes furnitureFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RIGHT COLUMN: CTA + Form ===== */
.inicio-contacto-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 60px 48px 60px 24px;
    animation: rightColFadeIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

@keyframes rightColFadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* CTA Title */
.inicio-contacto-cta {
    padding-left: 4px;
}

.inicio-contacto-title {
    
    font-size: 2.4rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 14px;
}

.inicio-contacto-title .ic-highlight {
    color: #fe7f00;
}

.inicio-contacto-subtitle {
    
    font-size: 0.82rem;
    font-weight: 700;
    color: #fe7f00;
    letter-spacing: 2.5px;
    margin: 0;
}

/* Dark Form Card */
.inicio-form-card {
    background: #1c1c1c;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Subtle accent line on top */
.inicio-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fe7f00, #51d1f6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.inicio-form-card:hover::before {
    opacity: 1;
}

/* Form inputs */
.ic-form-group {
    margin-bottom: 20px;
}

.ic-input {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    
    font-size: 0.92rem;
    color: #ffffff;
    transition: border-color 0.3s ease;
    outline: none;
}

.ic-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.ic-input:focus {
    border-bottom-color: #fe7f00;
}

/* Select */
select.ic-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fe7f00'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 16px;
}

select.ic-input option {
    background: #2a2a2a;
    color: #fff;
}

/* Submit button */
.ic-btn-submit {
    width: auto;
    margin-top: 8px;
    padding: 14px 36px;
    background: #fe7f00;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 20px rgba(254, 127, 0, 0.3);
}

.ic-btn-submit:hover {
    background: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(254, 127, 0, 0.4);
}

.ic-btn-whatsapp {
    width: auto;
    margin-top: 8px;
    padding: 14px 36px;
    background: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.ic-btn-whatsapp:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.ic-btn-submit:active {
    transform: translateY(0);
}

.ic-btn-submit i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.ic-btn-submit:hover i {
    transform: translateX(4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .inicio-contacto-layout {
        gap: 20px;
    }

    .inicio-contacto-title {
        font-size: 2rem;
    }

    .inicio-contacto-right {
        padding: 40px 32px 40px 16px;
    }

    .inicio-contacto-furniture {
        width: 65%;
    }
}

@media (max-width: 768px) {
    .inicio-contacto-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .inicio-contacto-images {
        min-height: 350px;
        order: 1;
    }

    .inicio-contacto-right {
        order: 2;
        padding: 32px 24px 48px;
    }

    .inicio-contacto-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .inicio-contacto-subtitle {
        text-align: center;
    }

    .inicio-contacto-cta {
        text-align: center;
    }

    .inicio-form-card {
        padding: 28px 24px;
    }

    .ic-btn-submit {
        width: 100%;
        justify-content: center;
    }

    .inicio-contacto-furniture {
        width: 55%;
        margin-left: 0;
    }

    .inicio-contacto-sketch {
        width: 75%;
        right: 0;
    }
}

@media (max-width: 480px) {
    .inicio-contacto-images {
        min-height: 280px;
    }

    .inicio-contacto-title {
        font-size: 1.5rem;
    }

    .inicio-contacto-right {
        padding: 24px 16px 40px;
    }

    .inicio-form-card {
        padding: 24px 18px;
    }
}
