/*
 * CONTACTO.CSS — Aseagro Vanguardia — Dark Tech Premium
 * Estilos específicos para la página de Contacto Split Layout
 */

 body.page-template-template-contacto {
    background: #0a0f1a;
    color: #fff;
    min-height: 100vh;
}



/* ========================================================
   VARIABLES LOCALES
   ======================================================== */
.contacto-page {
    --ctc-green: #8BC53F;
    --ctc-blue: #0D5C8C;
    --ctc-border: rgba(255, 255, 255, 0.1);
}

/* ========================================================
   SPLIT LAYOUT
   ======================================================== */
.ctc-split {
    display: flex;
    min-height: 100vh;
    padding-top: 80px; /* offset header */
}

.ctc-info, .ctc-form-wrap {
    flex: 1;
    padding: 6rem 4rem;
}

/* ========================================================
   LEFT: INFO BOX
   ======================================================== */
.ctc-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 0% 50%, rgba(13,92,140,0.1) 0%, transparent 70%);
}

.ctc-info::after {
    content: '';
    position: absolute;
    right: 0; top: 10%; bottom: 10%; width: 1px;
    background: linear-gradient(to bottom, transparent, var(--ctc-border), transparent);
}

.ctc-info h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.ctc-info h1 span {
    color: #8BC53F;
    background: linear-gradient(135deg, #8BC53F, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@supports not (background-clip: text) {
    .ctc-info h1 span {
        color: #8BC53F;
        background: none;
    }
}

.ctc-info > p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 4rem;
    max-width: 500px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.ctc-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ctc-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.ctc-item__icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: rgba(139,197,63,0.1);
    border: 1px solid rgba(139,197,63,0.2);
    display: flex;
    align-items: center; justify-content: center;
    color: var(--ctc-green);
    flex-shrink: 0;
}

.ctc-item__icon svg {
    width: 24px; height: 24px;
}

.ctc-item__text h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.ctc-item__text p {
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 500;
}

/* ========================================================
   RIGHT: FORM
   ======================================================== */
.ctc-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ctc-form-wrap::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139,197,63,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.ctc-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.ctc-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--ctc-green), transparent);
    opacity: 0.5;
}

.ctc-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.ctc-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.ctc-form input,
.ctc-form textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    color: #fff;
    font-family: var(--font-base);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.ctc-form input:focus,
.ctc-form textarea:focus {
    outline: none;
    border-color: var(--ctc-green);
    box-shadow: 0 0 15px rgba(139,197,63,0.15);
    background: rgba(0,0,0,0.5);
}

.ctc-form textarea {
    resize: vertical;
    min-height: 120px;
}

.ctc-submit {
    width: 100%;
    background: #8BC53F;
    color: #060c14;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: block;
    text-align: center;
    letter-spacing: 0.02em;
}

.ctc-submit:hover {
    background: #9add45;
    box-shadow: 0 0 20px rgba(139,197,63,0.4);
    transform: translateY(-2px);
}

/* ========================================================
   ALERT MESSAGES
   ======================================================== */
.ctc-alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: none;
}
.ctc-alert.success {
    display: block;
    background: rgba(139,197,63,0.1);
    border: 1px solid var(--ctc-green);
    color: var(--ctc-green);
}
.ctc-alert.error {
    display: block;
    background: rgba(255,50,50,0.1);
    border: 1px solid #ff3232;
    color: #ff3232;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 992px) {
    .ctc-split {
        flex-direction: column;
    }
    .ctc-info::after {
        display: none;
    }
    .ctc-info {
        padding: 4rem 2rem 2rem;
        text-align: center;
    }
    .ctc-info > p {
        margin: 0 auto 3rem;
    }
    .ctc-details {
        align-items: center;
    }
    .ctc-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .ctc-form-wrap {
        padding: 2rem;
    }
}
