/* Contacto Section Styles */
.section-cta {
    padding: 6rem 0;
}

.contacto-panel {
    background: rgba(13, 18, 38, 0.6);
    border: 1px solid #1d2547;
    border-radius: 28px;
    padding: 72px 32px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.glow-bg-top-indigo {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91,91,240,0.28) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.glow-bg-bottom-cyan {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34,211,238,0.18) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.contacto-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.contacto-desc {
    font-size: 1.125rem;
    color: #9aa3c7;
    max-width: 560px;
}

/* Actions & Buttons */
.contacto-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.whatsapp-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.whatsapp-btn:hover {
    box-shadow: 0 0 20px rgba(91,91,240,0.5);
}

.wa-icon {
    position: relative; z-index: 1;
}

.wa-halo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(91,91,240, 0.7);
    animation: pulse-halo 2.6s infinite cubic-bezier(0.66, 0, 0, 1);
    z-index: 0;
}

@keyframes pulse-halo {
    to {
        box-shadow: 0 0 0 30px rgba(91,91,240, 0);
    }
}

.btn-outline-cyan {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    transition: all 0.3s;
}

.btn-outline-cyan:hover, .btn-outline-cyan[aria-expanded="true"] {
    background: rgba(34, 211, 238, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Form Accordion */
.form-accordion-grid {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-accordion-grid.expanded {
    grid-template-rows: 1fr;
}

.form-accordion-content {
    overflow: hidden;
}

.contacto-form {
    background: #0a0e1e;
    border: 1px solid #1d2547;
    border-radius: 16px;
    padding: 24px;
    text-align: left;
}

.form-group {
    margin-bottom: 16px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.2);
}

.form-control.error {
    border-color: #ff5f56;
    background: rgba(255, 95, 86, 0.05);
}

.btn-cyan {
    background: var(--secondary);
    color: #070914;
    border: none;
    font-weight: 700;
}

.btn-cyan:hover {
    background: #1cb5cc;
}

.btn-block {
    width: 100%;
}

.hidden {
    display: none !important;
}

/* Success Message */
.contacto-success {
    background: rgba(46, 230, 166, 0.1);
    border: 1px solid rgba(46, 230, 166, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    color: var(--success);
    animation: fade-in 0.5s ease forwards;
}

.success-icon {
    margin-bottom: 16px;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
